@atproto/api 0.6.24-next.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/LICENSE.txt +7 -0
  3. package/definitions/labels.json +6 -0
  4. package/definitions/locale/en/labels.json +14 -0
  5. package/definitions/moderation-behaviors.d.ts +1 -0
  6. package/definitions/post-moderation-behaviors.json +118 -0
  7. package/definitions/profile-moderation-behaviors.json +48 -0
  8. package/dist/client/index.d.ts +12 -0
  9. package/dist/client/lexicons.d.ts +147 -12
  10. package/dist/client/types/app/bsky/feed/defs.d.ts +1 -7
  11. package/dist/client/types/app/bsky/graph/defs.d.ts +1 -0
  12. package/dist/client/types/com/atproto/admin/defs.d.ts +2 -0
  13. package/dist/client/types/com/atproto/admin/deleteAccount.d.ts +17 -0
  14. package/dist/client/types/com/atproto/temp/importRepo.d.ts +16 -0
  15. package/dist/client/types/com/atproto/temp/pushBlob.d.ts +15 -0
  16. package/dist/client/types/com/atproto/temp/transferAccount.d.ts +48 -0
  17. package/dist/index.js +656 -353
  18. package/dist/index.js.map +3 -3
  19. package/dist/moderation/types.d.ts +1 -1
  20. package/docs/labels.md +16 -0
  21. package/docs/moderation-behaviors/posts.md +159 -92
  22. package/docs/moderation-behaviors/profiles.md +68 -0
  23. package/package.json +17 -20
  24. package/scripts/docs/labels.mjs +27 -27
  25. package/scripts/docs/post-moderation-behaviors.mjs +43 -48
  26. package/src/client/index.ts +52 -0
  27. package/src/client/lexicons.ts +170 -13
  28. package/src/client/types/app/bsky/feed/defs.ts +1 -18
  29. package/src/client/types/app/bsky/graph/defs.ts +1 -0
  30. package/src/client/types/com/atproto/admin/defs.ts +2 -0
  31. package/src/client/types/com/atproto/admin/deleteAccount.ts +32 -0
  32. package/src/client/types/com/atproto/temp/importRepo.ts +33 -0
  33. package/src/client/types/com/atproto/temp/pushBlob.ts +32 -0
  34. package/src/client/types/com/atproto/temp/transferAccount.ts +92 -0
  35. package/src/moderation/accumulator.ts +5 -0
  36. package/src/moderation/const/label-groups.ts +6 -1
  37. package/src/moderation/const/labels.ts +31 -0
  38. package/src/moderation/types.ts +1 -1
  39. package/tests/util/moderation-behavior.ts +4 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atproto/api
2
2
 
3
+ ## 0.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1937](https://github.com/bluesky-social/atproto/pull/1937) [`45352f9b`](https://github.com/bluesky-social/atproto/commit/45352f9b6d02aa405be94e9102424d983912ca5d) Thanks [@pfrazee](https://github.com/pfrazee)! - Add the !no-unauthenticated label to the moderation SDK
8
+
9
+ ## 0.6.24
10
+
11
+ ### Patch Changes
12
+
13
+ - [#1912](https://github.com/bluesky-social/atproto/pull/1912) [`378fc613`](https://github.com/bluesky-social/atproto/commit/378fc6132f621ca517897c9467ed5bba134b3776) Thanks [@devinivy](https://github.com/devinivy)! - Contains breaking lexicon changes: removing legacy com.atproto admin endpoints, making uri field required on app.bsky list views.
14
+
15
+ - Updated dependencies [[`3c0ef382`](https://github.com/bluesky-social/atproto/commit/3c0ef382c12a413cc971ae47ffb341236c545f60)]:
16
+ - @atproto/syntax@0.1.5
17
+ - @atproto/lexicon@0.3.1
18
+ - @atproto/xrpc@0.4.1
19
+
3
20
  ## 0.6.23
4
21
 
5
22
  ### 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.
@@ -20,6 +20,12 @@
20
20
  "preferences": ["warn"],
21
21
  "flags": [],
22
22
  "onwarn": "blur"
23
+ },
24
+ {
25
+ "id": "!no-unauthenticated",
26
+ "preferences": ["hide"],
27
+ "flags": ["no-override", "unauthed"],
28
+ "onwarn": "blur"
23
29
  }
24
30
  ]
25
31
  },
@@ -41,6 +41,20 @@
41
41
  "description": "This content has received a general warning from moderators."
42
42
  }
43
43
  },
44
+ "!no-unauthenticated": {
45
+ "settings": {
46
+ "name": "Sign-in Required",
47
+ "description": "This user has requested that their account only be shown to signed-in users."
48
+ },
49
+ "account": {
50
+ "name": "Sign-in Required",
51
+ "description": "This user has requested that their account only be shown to signed-in users."
52
+ },
53
+ "content": {
54
+ "name": "Sign-in Required",
55
+ "description": "This user has requested that their content only be shown to signed-in users."
56
+ }
57
+ },
44
58
  "dmca-violation": {
45
59
  "settings": {
46
60
  "name": "Copyright Violation",
@@ -41,6 +41,7 @@ export interface ModerationBehaviors {
41
41
  configurations: Record<
42
42
  string,
43
43
  {
44
+ authed?: boolean
44
45
  adultContentEnabled: boolean
45
46
  settings: Record<string, LabelPreference>
46
47
  }
@@ -89,6 +89,9 @@
89
89
  "porn-warn-intolerant-hide": {
90
90
  "adultContentEnabled": true,
91
91
  "settings": { "porn": "warn", "intolerant": "hide" }
92
+ },
93
+ "logged-out": {
94
+ "authed": false
92
95
  }
93
96
  },
94
97
  "scenarios": {
@@ -248,6 +251,121 @@
248
251
  }
249
252
  },
250
253
 
254
+ "Imperative label ('!no-unauthenticated') on post when logged out": {
255
+ "cfg": "logged-out",
256
+ "subject": "post",
257
+ "author": "alice",
258
+ "labels": { "post": ["!no-unauthenticated"] },
259
+ "behaviors": {
260
+ "content": {
261
+ "cause": "label:!no-unauthenticated",
262
+ "filter": true,
263
+ "blur": true,
264
+ "noOverride": true
265
+ }
266
+ }
267
+ },
268
+ "Imperative label ('!no-unauthenticated') on author profile when logged out": {
269
+ "cfg": "logged-out",
270
+ "subject": "post",
271
+ "author": "alice",
272
+ "labels": { "profile": ["!no-unauthenticated"] },
273
+ "behaviors": {
274
+ "avatar": {
275
+ "cause": "label:!no-unauthenticated",
276
+ "blur": true,
277
+ "noOverride": true
278
+ }
279
+ }
280
+ },
281
+ "Imperative label ('!no-unauthenticated') on author account when logged out": {
282
+ "cfg": "logged-out",
283
+ "subject": "post",
284
+ "author": "alice",
285
+ "labels": { "account": ["!no-unauthenticated"] },
286
+ "behaviors": {
287
+ "content": {
288
+ "cause": "label:!no-unauthenticated",
289
+ "filter": true,
290
+ "blur": true,
291
+ "noOverride": true
292
+ },
293
+ "avatar": {
294
+ "cause": "label:!no-unauthenticated",
295
+ "blur": true,
296
+ "noOverride": true
297
+ }
298
+ }
299
+ },
300
+ "Imperative label ('!no-unauthenticated') on quoted post when logged out": {
301
+ "cfg": "logged-out",
302
+ "subject": "post",
303
+ "author": "alice",
304
+ "quoteAuthor": "alice",
305
+ "labels": { "quotedPost": ["!no-unauthenticated"] },
306
+ "behaviors": {
307
+ "content": { "cause": "label:!no-unauthenticated", "filter": true },
308
+ "embed": {
309
+ "cause": "label:!no-unauthenticated",
310
+ "blur": true,
311
+ "noOverride": true
312
+ }
313
+ }
314
+ },
315
+ "Imperative label ('!no-unauthenticated') on quoted author account when logged out": {
316
+ "cfg": "logged-out",
317
+ "subject": "post",
318
+ "author": "alice",
319
+ "quoteAuthor": "alice",
320
+ "labels": { "quotedAccount": ["!no-unauthenticated"] },
321
+ "behaviors": {
322
+ "content": { "cause": "label:!no-unauthenticated", "filter": true },
323
+ "embed": {
324
+ "cause": "label:!no-unauthenticated",
325
+ "blur": true,
326
+ "noOverride": true
327
+ }
328
+ }
329
+ },
330
+
331
+ "Imperative label ('!no-unauthenticated') on post when logged in": {
332
+ "cfg": "none",
333
+ "subject": "post",
334
+ "author": "alice",
335
+ "labels": { "post": ["!no-unauthenticated"] },
336
+ "behaviors": {}
337
+ },
338
+ "Imperative label ('!no-unauthenticated') on author profile when logged in": {
339
+ "cfg": "none",
340
+ "subject": "post",
341
+ "author": "alice",
342
+ "labels": { "profile": ["!no-unauthenticated"] },
343
+ "behaviors": {}
344
+ },
345
+ "Imperative label ('!no-unauthenticated') on author account when logged in": {
346
+ "cfg": "none",
347
+ "subject": "post",
348
+ "author": "alice",
349
+ "labels": { "account": ["!no-unauthenticated"] },
350
+ "behaviors": {}
351
+ },
352
+ "Imperative label ('!no-unauthenticated') on quoted post when logged in": {
353
+ "cfg": "none",
354
+ "subject": "post",
355
+ "author": "alice",
356
+ "quoteAuthor": "alice",
357
+ "labels": { "quotedPost": ["!no-unauthenticated"] },
358
+ "behaviors": {}
359
+ },
360
+ "Imperative label ('!no-unauthenticated') on quoted author account when logged in": {
361
+ "cfg": "none",
362
+ "subject": "post",
363
+ "author": "alice",
364
+ "quoteAuthor": "alice",
365
+ "labels": { "quotedAccount": ["!no-unauthenticated"] },
366
+ "behaviors": {}
367
+ },
368
+
251
369
  "Blur label ('intolerant') on post (hide)": {
252
370
  "cfg": "intolerant-hide",
253
371
  "subject": "post",
@@ -94,6 +94,9 @@
94
94
  },
95
95
  "intolerant-hide-scam-warn": {
96
96
  "settings": { "intolerant": "hide", "scam": "hide" }
97
+ },
98
+ "logged-out": {
99
+ "authed": false
97
100
  }
98
101
  },
99
102
  "scenarios": {
@@ -161,6 +164,51 @@
161
164
  }
162
165
  },
163
166
 
167
+ "Imperative label ('!no-unauthenticated') on account when logged out": {
168
+ "cfg": "logged-out",
169
+ "subject": "profile",
170
+ "author": "alice",
171
+ "labels": { "account": ["!no-unauthenticated"] },
172
+ "behaviors": {
173
+ "account": {
174
+ "cause": "label:!no-unauthenticated",
175
+ "filter": true,
176
+ "blur": true,
177
+ "noOverride": true
178
+ },
179
+ "avatar": { "blur": true, "noOverride": true }
180
+ }
181
+ },
182
+ "Imperative label ('!no-unauthenticated') on profile when logged out": {
183
+ "cfg": "logged-out",
184
+ "subject": "profile",
185
+ "author": "alice",
186
+ "labels": { "profile": ["!no-unauthenticated"] },
187
+ "behaviors": {
188
+ "profile": {
189
+ "cause": "label:!no-unauthenticated",
190
+ "blur": true,
191
+ "noOverride": true
192
+ },
193
+ "avatar": { "blur": true, "noOverride": true }
194
+ }
195
+ },
196
+
197
+ "Imperative label ('!no-unauthenticated') on account when logged in": {
198
+ "cfg": "none",
199
+ "subject": "profile",
200
+ "author": "alice",
201
+ "labels": { "account": ["!no-unauthenticated"] },
202
+ "behaviors": {}
203
+ },
204
+ "Imperative label ('!no-unauthenticated') on profile when logged in": {
205
+ "cfg": "none",
206
+ "subject": "profile",
207
+ "author": "alice",
208
+ "labels": { "profile": ["!no-unauthenticated"] },
209
+ "behaviors": {}
210
+ },
211
+
164
212
  "Blur label ('intolerant') on account (hide)": {
165
213
  "cfg": "intolerant-hide",
166
214
  "subject": "profile",
@@ -1,4 +1,5 @@
1
1
  import { Client as XrpcClient, ServiceClient as XrpcServiceClient } from '@atproto/xrpc';
2
+ import * as ComAtprotoAdminDeleteAccount from './types/com/atproto/admin/deleteAccount';
2
3
  import * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites';
3
4
  import * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
4
5
  import * as ComAtprotoAdminEmitModerationEvent from './types/com/atproto/admin/emitModerationEvent';
@@ -61,6 +62,9 @@ import * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos';
61
62
  import * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate';
62
63
  import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl';
63
64
  import * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels';
65
+ import * as ComAtprotoTempImportRepo from './types/com/atproto/temp/importRepo';
66
+ import * as ComAtprotoTempPushBlob from './types/com/atproto/temp/pushBlob';
67
+ import * as ComAtprotoTempTransferAccount from './types/com/atproto/temp/transferAccount';
64
68
  import * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences';
65
69
  import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
66
70
  import * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles';
@@ -118,6 +122,7 @@ import * as AppBskyUnspeccedGetTimelineSkeleton from './types/app/bsky/unspecced
118
122
  import * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton';
119
123
  import * as AppBskyUnspeccedSearchPostsSkeleton from './types/app/bsky/unspecced/searchPostsSkeleton';
120
124
  export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs';
125
+ export * as ComAtprotoAdminDeleteAccount from './types/com/atproto/admin/deleteAccount';
121
126
  export * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites';
122
127
  export * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
123
128
  export * as ComAtprotoAdminEmitModerationEvent from './types/com/atproto/admin/emitModerationEvent';
@@ -186,6 +191,9 @@ export * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOf
186
191
  export * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl';
187
192
  export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos';
188
193
  export * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels';
194
+ export * as ComAtprotoTempImportRepo from './types/com/atproto/temp/importRepo';
195
+ export * as ComAtprotoTempPushBlob from './types/com/atproto/temp/pushBlob';
196
+ export * as ComAtprotoTempTransferAccount from './types/com/atproto/temp/transferAccount';
189
197
  export * as AppBskyActorDefs from './types/app/bsky/actor/defs';
190
198
  export * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences';
191
199
  export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
@@ -301,6 +309,7 @@ export declare class AtprotoNS {
301
309
  export declare class AdminNS {
302
310
  _service: AtpServiceClient;
303
311
  constructor(service: AtpServiceClient);
312
+ deleteAccount(data?: ComAtprotoAdminDeleteAccount.InputSchema, opts?: ComAtprotoAdminDeleteAccount.CallOptions): Promise<ComAtprotoAdminDeleteAccount.Response>;
304
313
  disableAccountInvites(data?: ComAtprotoAdminDisableAccountInvites.InputSchema, opts?: ComAtprotoAdminDisableAccountInvites.CallOptions): Promise<ComAtprotoAdminDisableAccountInvites.Response>;
305
314
  disableInviteCodes(data?: ComAtprotoAdminDisableInviteCodes.InputSchema, opts?: ComAtprotoAdminDisableInviteCodes.CallOptions): Promise<ComAtprotoAdminDisableInviteCodes.Response>;
306
315
  emitModerationEvent(data?: ComAtprotoAdminEmitModerationEvent.InputSchema, opts?: ComAtprotoAdminEmitModerationEvent.CallOptions): Promise<ComAtprotoAdminEmitModerationEvent.Response>;
@@ -391,6 +400,9 @@ export declare class TempNS {
391
400
  _service: AtpServiceClient;
392
401
  constructor(service: AtpServiceClient);
393
402
  fetchLabels(params?: ComAtprotoTempFetchLabels.QueryParams, opts?: ComAtprotoTempFetchLabels.CallOptions): Promise<ComAtprotoTempFetchLabels.Response>;
403
+ importRepo(data?: ComAtprotoTempImportRepo.InputSchema, opts?: ComAtprotoTempImportRepo.CallOptions): Promise<ComAtprotoTempImportRepo.Response>;
404
+ pushBlob(data?: ComAtprotoTempPushBlob.InputSchema, opts?: ComAtprotoTempPushBlob.CallOptions): Promise<ComAtprotoTempPushBlob.Response>;
405
+ transferAccount(data?: ComAtprotoTempTransferAccount.InputSchema, opts?: ComAtprotoTempTransferAccount.CallOptions): Promise<ComAtprotoTempTransferAccount.Response>;
394
406
  }
395
407
  export declare class AppNS {
396
408
  _service: AtpServiceClient;
@@ -587,6 +587,9 @@ export declare const schemaDict: {
587
587
  type: string;
588
588
  description: string;
589
589
  properties: {
590
+ comment: {
591
+ type: string;
592
+ };
590
593
  durationInHours: {
591
594
  type: string;
592
595
  description: string;
@@ -636,6 +639,9 @@ export declare const schemaDict: {
636
639
  description: string;
637
640
  required: string[];
638
641
  properties: {
642
+ comment: {
643
+ type: string;
644
+ };
639
645
  createLabelVals: {
640
646
  type: string;
641
647
  items: {
@@ -703,6 +709,29 @@ export declare const schemaDict: {
703
709
  };
704
710
  };
705
711
  };
712
+ ComAtprotoAdminDeleteAccount: {
713
+ lexicon: number;
714
+ id: string;
715
+ defs: {
716
+ main: {
717
+ type: string;
718
+ description: string;
719
+ input: {
720
+ encoding: string;
721
+ schema: {
722
+ type: string;
723
+ required: string[];
724
+ properties: {
725
+ did: {
726
+ type: string;
727
+ format: string;
728
+ };
729
+ };
730
+ };
731
+ };
732
+ };
733
+ };
734
+ };
706
735
  ComAtprotoAdminDisableAccountInvites: {
707
736
  lexicon: number;
708
737
  id: string;
@@ -3650,6 +3679,113 @@ export declare const schemaDict: {
3650
3679
  };
3651
3680
  };
3652
3681
  };
3682
+ ComAtprotoTempImportRepo: {
3683
+ lexicon: number;
3684
+ id: string;
3685
+ defs: {
3686
+ main: {
3687
+ type: string;
3688
+ description: string;
3689
+ parameters: {
3690
+ type: string;
3691
+ required: string[];
3692
+ properties: {
3693
+ did: {
3694
+ type: string;
3695
+ format: string;
3696
+ description: string;
3697
+ };
3698
+ };
3699
+ };
3700
+ input: {
3701
+ encoding: string;
3702
+ };
3703
+ output: {
3704
+ encoding: string;
3705
+ };
3706
+ };
3707
+ };
3708
+ };
3709
+ ComAtprotoTempPushBlob: {
3710
+ lexicon: number;
3711
+ id: string;
3712
+ defs: {
3713
+ main: {
3714
+ type: string;
3715
+ description: string;
3716
+ parameters: {
3717
+ type: string;
3718
+ required: string[];
3719
+ properties: {
3720
+ did: {
3721
+ type: string;
3722
+ format: string;
3723
+ description: string;
3724
+ };
3725
+ };
3726
+ };
3727
+ input: {
3728
+ encoding: string;
3729
+ };
3730
+ };
3731
+ };
3732
+ };
3733
+ ComAtprotoTempTransferAccount: {
3734
+ lexicon: number;
3735
+ id: string;
3736
+ defs: {
3737
+ main: {
3738
+ type: string;
3739
+ description: string;
3740
+ input: {
3741
+ encoding: string;
3742
+ schema: {
3743
+ type: string;
3744
+ required: string[];
3745
+ properties: {
3746
+ handle: {
3747
+ type: string;
3748
+ format: string;
3749
+ };
3750
+ did: {
3751
+ type: string;
3752
+ format: string;
3753
+ };
3754
+ plcOp: {
3755
+ type: string;
3756
+ };
3757
+ };
3758
+ };
3759
+ };
3760
+ output: {
3761
+ encoding: string;
3762
+ schema: {
3763
+ type: string;
3764
+ required: string[];
3765
+ properties: {
3766
+ accessJwt: {
3767
+ type: string;
3768
+ };
3769
+ refreshJwt: {
3770
+ type: string;
3771
+ };
3772
+ handle: {
3773
+ type: string;
3774
+ format: string;
3775
+ };
3776
+ did: {
3777
+ type: string;
3778
+ format: string;
3779
+ };
3780
+ };
3781
+ };
3782
+ };
3783
+ errors: {
3784
+ name: string;
3785
+ }[];
3786
+ };
3787
+ };
3788
+ };
3653
3789
  AppBskyActorDefs: {
3654
3790
  lexicon: number;
3655
3791
  id: string;
@@ -4572,6 +4708,9 @@ export declare const schemaDict: {
4572
4708
  type: string;
4573
4709
  format: string;
4574
4710
  };
4711
+ replyDisabled: {
4712
+ type: string;
4713
+ };
4575
4714
  };
4576
4715
  };
4577
4716
  feedViewPost: {
@@ -4639,10 +4778,6 @@ export declare const schemaDict: {
4639
4778
  refs: string[];
4640
4779
  };
4641
4780
  };
4642
- viewer: {
4643
- type: string;
4644
- ref: string;
4645
- };
4646
4781
  };
4647
4782
  };
4648
4783
  notFoundPost: {
@@ -4691,14 +4826,6 @@ export declare const schemaDict: {
4691
4826
  };
4692
4827
  };
4693
4828
  };
4694
- viewerThreadState: {
4695
- type: string;
4696
- properties: {
4697
- canReply: {
4698
- type: string;
4699
- };
4700
- };
4701
- };
4702
4829
  generatorView: {
4703
4830
  type: string;
4704
4831
  required: string[];
@@ -6011,6 +6138,10 @@ export declare const schemaDict: {
6011
6138
  type: string;
6012
6139
  required: string[];
6013
6140
  properties: {
6141
+ uri: {
6142
+ type: string;
6143
+ format: string;
6144
+ };
6014
6145
  subject: {
6015
6146
  type: string;
6016
6147
  ref: string;
@@ -7213,6 +7344,7 @@ export declare const schemas: LexiconDoc[];
7213
7344
  export declare const lexicons: Lexicons;
7214
7345
  export declare const ids: {
7215
7346
  ComAtprotoAdminDefs: string;
7347
+ ComAtprotoAdminDeleteAccount: string;
7216
7348
  ComAtprotoAdminDisableAccountInvites: string;
7217
7349
  ComAtprotoAdminDisableInviteCodes: string;
7218
7350
  ComAtprotoAdminEmitModerationEvent: string;
@@ -7281,6 +7413,9 @@ export declare const ids: {
7281
7413
  ComAtprotoSyncRequestCrawl: string;
7282
7414
  ComAtprotoSyncSubscribeRepos: string;
7283
7415
  ComAtprotoTempFetchLabels: string;
7416
+ ComAtprotoTempImportRepo: string;
7417
+ ComAtprotoTempPushBlob: string;
7418
+ ComAtprotoTempTransferAccount: string;
7284
7419
  AppBskyActorDefs: string;
7285
7420
  AppBskyActorGetPreferences: string;
7286
7421
  AppBskyActorGetProfile: string;
@@ -30,6 +30,7 @@ export declare function validatePostView(v: unknown): ValidationResult;
30
30
  export interface ViewerState {
31
31
  repost?: string;
32
32
  like?: string;
33
+ replyDisabled?: boolean;
33
34
  [k: string]: unknown;
34
35
  }
35
36
  export declare function isViewerState(v: unknown): v is ViewerState;
@@ -75,7 +76,6 @@ export interface ThreadViewPost {
75
76
  $type: string;
76
77
  [k: string]: unknown;
77
78
  })[];
78
- viewer?: ViewerThreadState;
79
79
  [k: string]: unknown;
80
80
  }
81
81
  export declare function isThreadViewPost(v: unknown): v is ThreadViewPost;
@@ -102,12 +102,6 @@ export interface BlockedAuthor {
102
102
  }
103
103
  export declare function isBlockedAuthor(v: unknown): v is BlockedAuthor;
104
104
  export declare function validateBlockedAuthor(v: unknown): ValidationResult;
105
- export interface ViewerThreadState {
106
- canReply?: boolean;
107
- [k: string]: unknown;
108
- }
109
- export declare function isViewerThreadState(v: unknown): v is ViewerThreadState;
110
- export declare function validateViewerThreadState(v: unknown): ValidationResult;
111
105
  export interface GeneratorView {
112
106
  uri: string;
113
107
  cid: string;
@@ -29,6 +29,7 @@ export interface ListView {
29
29
  export declare function isListView(v: unknown): v is ListView;
30
30
  export declare function validateListView(v: unknown): ValidationResult;
31
31
  export interface ListItemView {
32
+ uri: string;
32
33
  subject: AppBskyActorDefs.ProfileView;
33
34
  [k: string]: unknown;
34
35
  }
@@ -242,6 +242,7 @@ export declare const REVIEWOPEN = "com.atproto.admin.defs#reviewOpen";
242
242
  export declare const REVIEWESCALATED = "com.atproto.admin.defs#reviewEscalated";
243
243
  export declare const REVIEWCLOSED = "com.atproto.admin.defs#reviewClosed";
244
244
  export interface ModEventTakedown {
245
+ comment?: string;
245
246
  durationInHours?: number;
246
247
  [k: string]: unknown;
247
248
  }
@@ -268,6 +269,7 @@ export interface ModEventReport {
268
269
  export declare function isModEventReport(v: unknown): v is ModEventReport;
269
270
  export declare function validateModEventReport(v: unknown): ValidationResult;
270
271
  export interface ModEventLabel {
272
+ comment?: string;
271
273
  createLabelVals: string[];
272
274
  negateLabelVals: string[];
273
275
  [k: string]: unknown;
@@ -0,0 +1,17 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export interface InputSchema {
5
+ did: string;
6
+ [k: string]: unknown;
7
+ }
8
+ export interface CallOptions {
9
+ headers?: Headers;
10
+ qp?: QueryParams;
11
+ encoding: 'application/json';
12
+ }
13
+ export interface Response {
14
+ success: boolean;
15
+ headers: Headers;
16
+ }
17
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,16 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ did: string;
4
+ }
5
+ export declare type InputSchema = string | Uint8Array;
6
+ export interface CallOptions {
7
+ headers?: Headers;
8
+ qp?: QueryParams;
9
+ encoding: 'application/vnd.ipld.car';
10
+ }
11
+ export interface Response {
12
+ success: boolean;
13
+ headers: Headers;
14
+ data: Uint8Array;
15
+ }
16
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,15 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ did: string;
4
+ }
5
+ export declare type InputSchema = string | Uint8Array;
6
+ export interface CallOptions {
7
+ headers?: Headers;
8
+ qp?: QueryParams;
9
+ encoding: string;
10
+ }
11
+ export interface Response {
12
+ success: boolean;
13
+ headers: Headers;
14
+ }
15
+ export declare function toKnownErr(e: any): any;