@atproto/pds 0.4.162 → 0.4.164

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 (34) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/lexicon/index.d.ts +9 -4
  3. package/dist/lexicon/index.d.ts.map +1 -1
  4. package/dist/lexicon/index.js +15 -8
  5. package/dist/lexicon/index.js.map +1 -1
  6. package/dist/lexicon/lexicons.d.ts +427 -259
  7. package/dist/lexicon/lexicons.d.ts.map +1 -1
  8. package/dist/lexicon/lexicons.js +250 -134
  9. package/dist/lexicon/lexicons.js.map +1 -1
  10. package/dist/lexicon/types/{app/bsky/unspecced → com/atproto/temp}/checkHandleAvailability.d.ts +6 -6
  11. package/dist/lexicon/types/com/atproto/temp/checkHandleAvailability.d.ts.map +1 -0
  12. package/dist/lexicon/types/{app/bsky/unspecced → com/atproto/temp}/checkHandleAvailability.js +1 -1
  13. package/dist/lexicon/types/com/atproto/temp/checkHandleAvailability.js.map +1 -0
  14. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +6 -0
  15. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  16. package/dist/lexicon/types/tools/ozone/moderation/defs.js +7 -1
  17. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  18. package/dist/lexicon/types/tools/ozone/moderation/getAccountTimeline.d.ts +41 -0
  19. package/dist/lexicon/types/tools/ozone/moderation/getAccountTimeline.d.ts.map +1 -0
  20. package/dist/lexicon/types/tools/ozone/moderation/getAccountTimeline.js +25 -0
  21. package/dist/lexicon/types/tools/ozone/moderation/getAccountTimeline.js.map +1 -0
  22. package/dist/pipethrough.js +1 -0
  23. package/dist/pipethrough.js.map +1 -1
  24. package/package.json +8 -8
  25. package/src/lexicon/index.ts +43 -24
  26. package/src/lexicon/lexicons.ts +264 -143
  27. package/src/lexicon/types/{app/bsky/unspecced → com/atproto/temp}/checkHandleAvailability.ts +4 -4
  28. package/src/lexicon/types/tools/ozone/moderation/defs.ts +7 -0
  29. package/src/lexicon/types/tools/ozone/moderation/getAccountTimeline.ts +102 -0
  30. package/src/pipethrough.ts +1 -0
  31. package/tests/crud.test.ts +7 -3
  32. package/tsconfig.build.tsbuildinfo +1 -1
  33. package/dist/lexicon/types/app/bsky/unspecced/checkHandleAvailability.d.ts.map +0 -1
  34. package/dist/lexicon/types/app/bsky/unspecced/checkHandleAvailability.js.map +0 -1
@@ -4048,6 +4048,92 @@ export declare const schemaDict: {
4048
4048
  };
4049
4049
  };
4050
4050
  };
4051
+ readonly ComAtprotoTempCheckHandleAvailability: {
4052
+ readonly lexicon: 1;
4053
+ readonly id: "com.atproto.temp.checkHandleAvailability";
4054
+ readonly defs: {
4055
+ readonly main: {
4056
+ readonly type: "query";
4057
+ readonly description: "Checks whether the provided handle is available. If the handle is not available, available suggestions will be returned. Optional inputs will be used to generate suggestions.";
4058
+ readonly parameters: {
4059
+ readonly type: "params";
4060
+ readonly required: ["handle"];
4061
+ readonly properties: {
4062
+ readonly handle: {
4063
+ readonly type: "string";
4064
+ readonly format: "handle";
4065
+ readonly description: "Tentative handle. Will be checked for availability or used to build handle suggestions.";
4066
+ };
4067
+ readonly email: {
4068
+ readonly type: "string";
4069
+ readonly description: "User-provided email. Might be used to build handle suggestions.";
4070
+ };
4071
+ readonly birthDate: {
4072
+ readonly type: "string";
4073
+ readonly format: "datetime";
4074
+ readonly description: "User-provided birth date. Might be used to build handle suggestions.";
4075
+ };
4076
+ };
4077
+ };
4078
+ readonly output: {
4079
+ readonly encoding: "application/json";
4080
+ readonly schema: {
4081
+ readonly type: "object";
4082
+ readonly required: ["handle", "result"];
4083
+ readonly properties: {
4084
+ readonly handle: {
4085
+ readonly type: "string";
4086
+ readonly format: "handle";
4087
+ readonly description: "Echo of the input handle.";
4088
+ };
4089
+ readonly result: {
4090
+ readonly type: "union";
4091
+ readonly refs: ["lex:com.atproto.temp.checkHandleAvailability#resultAvailable", "lex:com.atproto.temp.checkHandleAvailability#resultUnavailable"];
4092
+ };
4093
+ };
4094
+ };
4095
+ };
4096
+ readonly errors: [{
4097
+ readonly name: "InvalidEmail";
4098
+ readonly description: "An invalid email was provided.";
4099
+ }];
4100
+ };
4101
+ readonly resultAvailable: {
4102
+ readonly type: "object";
4103
+ readonly description: "Indicates the provided handle is available.";
4104
+ readonly properties: {};
4105
+ };
4106
+ readonly resultUnavailable: {
4107
+ readonly type: "object";
4108
+ readonly description: "Indicates the provided handle is unavailable and gives suggestions of available handles.";
4109
+ readonly required: ["suggestions"];
4110
+ readonly properties: {
4111
+ readonly suggestions: {
4112
+ readonly type: "array";
4113
+ readonly description: "List of suggested handles based on the provided inputs.";
4114
+ readonly items: {
4115
+ readonly type: "ref";
4116
+ readonly ref: "lex:com.atproto.temp.checkHandleAvailability#suggestion";
4117
+ };
4118
+ };
4119
+ };
4120
+ };
4121
+ readonly suggestion: {
4122
+ readonly type: "object";
4123
+ readonly required: ["handle", "method"];
4124
+ readonly properties: {
4125
+ readonly handle: {
4126
+ readonly type: "string";
4127
+ readonly format: "handle";
4128
+ };
4129
+ readonly method: {
4130
+ readonly type: "string";
4131
+ readonly description: "Method used to build this suggestion. Should be considered opaque to clients. Can be used for metrics.";
4132
+ };
4133
+ };
4134
+ };
4135
+ };
4136
+ };
4051
4137
  readonly ComAtprotoTempCheckSignupQueue: {
4052
4138
  readonly lexicon: 1;
4053
4139
  readonly id: "com.atproto.temp.checkSignupQueue";
@@ -6689,47 +6775,6 @@ export declare const schemaDict: {
6689
6775
  };
6690
6776
  };
6691
6777
  };
6692
- readonly AppBskyFeedGetPosts: {
6693
- readonly lexicon: 1;
6694
- readonly id: "app.bsky.feed.getPosts";
6695
- readonly defs: {
6696
- readonly main: {
6697
- readonly type: "query";
6698
- readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
6699
- readonly parameters: {
6700
- readonly type: "params";
6701
- readonly required: ["uris"];
6702
- readonly properties: {
6703
- readonly uris: {
6704
- readonly type: "array";
6705
- readonly description: "List of post AT-URIs to return hydrated views for.";
6706
- readonly items: {
6707
- readonly type: "string";
6708
- readonly format: "at-uri";
6709
- };
6710
- readonly maxLength: 25;
6711
- };
6712
- };
6713
- };
6714
- readonly output: {
6715
- readonly encoding: "application/json";
6716
- readonly schema: {
6717
- readonly type: "object";
6718
- readonly required: ["posts"];
6719
- readonly properties: {
6720
- readonly posts: {
6721
- readonly type: "array";
6722
- readonly items: {
6723
- readonly type: "ref";
6724
- readonly ref: "lex:app.bsky.feed.defs#postView";
6725
- };
6726
- };
6727
- };
6728
- };
6729
- };
6730
- };
6731
- };
6732
- };
6733
6778
  readonly AppBskyFeedGetPostThread: {
6734
6779
  readonly lexicon: 1;
6735
6780
  readonly id: "app.bsky.feed.getPostThread";
@@ -6785,6 +6830,47 @@ export declare const schemaDict: {
6785
6830
  };
6786
6831
  };
6787
6832
  };
6833
+ readonly AppBskyFeedGetPosts: {
6834
+ readonly lexicon: 1;
6835
+ readonly id: "app.bsky.feed.getPosts";
6836
+ readonly defs: {
6837
+ readonly main: {
6838
+ readonly type: "query";
6839
+ readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
6840
+ readonly parameters: {
6841
+ readonly type: "params";
6842
+ readonly required: ["uris"];
6843
+ readonly properties: {
6844
+ readonly uris: {
6845
+ readonly type: "array";
6846
+ readonly description: "List of post AT-URIs to return hydrated views for.";
6847
+ readonly items: {
6848
+ readonly type: "string";
6849
+ readonly format: "at-uri";
6850
+ };
6851
+ readonly maxLength: 25;
6852
+ };
6853
+ };
6854
+ };
6855
+ readonly output: {
6856
+ readonly encoding: "application/json";
6857
+ readonly schema: {
6858
+ readonly type: "object";
6859
+ readonly required: ["posts"];
6860
+ readonly properties: {
6861
+ readonly posts: {
6862
+ readonly type: "array";
6863
+ readonly items: {
6864
+ readonly type: "ref";
6865
+ readonly ref: "lex:app.bsky.feed.defs#postView";
6866
+ };
6867
+ };
6868
+ };
6869
+ };
6870
+ };
6871
+ };
6872
+ };
6873
+ };
6788
6874
  readonly AppBskyFeedGetQuotes: {
6789
6875
  readonly lexicon: 1;
6790
6876
  readonly id: "app.bsky.feed.getQuotes";
@@ -9749,92 +9835,6 @@ export declare const schemaDict: {
9749
9835
  };
9750
9836
  };
9751
9837
  };
9752
- readonly AppBskyUnspeccedCheckHandleAvailability: {
9753
- readonly lexicon: 1;
9754
- readonly id: "app.bsky.unspecced.checkHandleAvailability";
9755
- readonly defs: {
9756
- readonly main: {
9757
- readonly type: "query";
9758
- readonly description: "Checks whether the provided handle is available. If the handle is not available, available suggestions will be returned. Optional inputs will be used to generate suggestions.";
9759
- readonly parameters: {
9760
- readonly type: "params";
9761
- readonly required: ["handle"];
9762
- readonly properties: {
9763
- readonly handle: {
9764
- readonly type: "string";
9765
- readonly format: "handle";
9766
- readonly description: "Tentative handle. Will be checked for availability or used to build handle suggestions.";
9767
- };
9768
- readonly email: {
9769
- readonly type: "string";
9770
- readonly description: "User-provided email. Might be used to build handle suggestions.";
9771
- };
9772
- readonly birthDate: {
9773
- readonly type: "string";
9774
- readonly format: "datetime";
9775
- readonly description: "User-provided birth date. Might be used to build handle suggestions.";
9776
- };
9777
- };
9778
- };
9779
- readonly output: {
9780
- readonly encoding: "application/json";
9781
- readonly schema: {
9782
- readonly type: "object";
9783
- readonly required: ["handle", "result"];
9784
- readonly properties: {
9785
- readonly handle: {
9786
- readonly type: "string";
9787
- readonly format: "handle";
9788
- readonly description: "Echo of the input handle.";
9789
- };
9790
- readonly result: {
9791
- readonly type: "union";
9792
- readonly refs: ["lex:app.bsky.unspecced.checkHandleAvailability#resultAvailable", "lex:app.bsky.unspecced.checkHandleAvailability#resultUnavailable"];
9793
- };
9794
- };
9795
- };
9796
- };
9797
- readonly errors: [{
9798
- readonly name: "InvalidEmail";
9799
- readonly description: "An invalid email was provided.";
9800
- }];
9801
- };
9802
- readonly resultAvailable: {
9803
- readonly type: "object";
9804
- readonly description: "Indicates the provided handle is available.";
9805
- readonly properties: {};
9806
- };
9807
- readonly resultUnavailable: {
9808
- readonly type: "object";
9809
- readonly description: "Indicates the provided handle is unavailable and gives suggestions of available handles.";
9810
- readonly required: ["suggestions"];
9811
- readonly properties: {
9812
- readonly suggestions: {
9813
- readonly type: "array";
9814
- readonly description: "List of suggested handles based on the provided inputs.";
9815
- readonly items: {
9816
- readonly type: "ref";
9817
- readonly ref: "lex:app.bsky.unspecced.checkHandleAvailability#suggestion";
9818
- };
9819
- };
9820
- };
9821
- };
9822
- readonly suggestion: {
9823
- readonly type: "object";
9824
- readonly required: ["handle", "method"];
9825
- readonly properties: {
9826
- readonly handle: {
9827
- readonly type: "string";
9828
- readonly format: "handle";
9829
- };
9830
- readonly method: {
9831
- readonly type: "string";
9832
- readonly description: "Method used to build this suggestion. Should be considered opaque to clients. Can be used for metrics.";
9833
- };
9834
- };
9835
- };
9836
- };
9837
- };
9838
9838
  readonly AppBskyUnspeccedDefs: {
9839
9839
  readonly lexicon: 1;
9840
9840
  readonly id: "app.bsky.unspecced.defs";
@@ -13869,6 +13869,18 @@ export declare const schemaDict: {
13869
13869
  };
13870
13870
  };
13871
13871
  };
13872
+ readonly timelineEventPlcCreate: {
13873
+ readonly type: "token";
13874
+ readonly description: "Moderation event timeline event for a PLC create operation";
13875
+ };
13876
+ readonly timelineEventPlcOperation: {
13877
+ readonly type: "token";
13878
+ readonly description: "Moderation event timeline event for generic PLC operation";
13879
+ };
13880
+ readonly timelineEventPlcTombstone: {
13881
+ readonly type: "token";
13882
+ readonly description: "Moderation event timeline event for a PLC tombstone operation";
13883
+ };
13872
13884
  };
13873
13885
  };
13874
13886
  readonly ToolsOzoneModerationEmitEvent: {
@@ -13930,6 +13942,78 @@ export declare const schemaDict: {
13930
13942
  };
13931
13943
  };
13932
13944
  };
13945
+ readonly ToolsOzoneModerationGetAccountTimeline: {
13946
+ readonly lexicon: 1;
13947
+ readonly id: "tools.ozone.moderation.getAccountTimeline";
13948
+ readonly defs: {
13949
+ readonly main: {
13950
+ readonly type: "query";
13951
+ readonly description: "Get timeline of all available events of an account. This includes moderation events, account history and did history.";
13952
+ readonly parameters: {
13953
+ readonly type: "params";
13954
+ readonly required: ["did"];
13955
+ readonly properties: {
13956
+ readonly did: {
13957
+ readonly type: "string";
13958
+ readonly format: "did";
13959
+ };
13960
+ };
13961
+ };
13962
+ readonly output: {
13963
+ readonly encoding: "application/json";
13964
+ readonly schema: {
13965
+ readonly type: "object";
13966
+ readonly required: ["timeline"];
13967
+ readonly properties: {
13968
+ readonly timeline: {
13969
+ readonly type: "array";
13970
+ readonly items: {
13971
+ readonly type: "ref";
13972
+ readonly ref: "lex:tools.ozone.moderation.getAccountTimeline#timelineItem";
13973
+ };
13974
+ };
13975
+ };
13976
+ };
13977
+ };
13978
+ readonly errors: [{
13979
+ readonly name: "RepoNotFound";
13980
+ }];
13981
+ };
13982
+ readonly timelineItem: {
13983
+ readonly type: "object";
13984
+ readonly required: ["day", "summary"];
13985
+ readonly properties: {
13986
+ readonly day: {
13987
+ readonly type: "string";
13988
+ };
13989
+ readonly summary: {
13990
+ readonly type: "array";
13991
+ readonly items: {
13992
+ readonly type: "ref";
13993
+ readonly ref: "lex:tools.ozone.moderation.getAccountTimeline#timelineItemSummary";
13994
+ };
13995
+ };
13996
+ };
13997
+ };
13998
+ readonly timelineItemSummary: {
13999
+ readonly type: "object";
14000
+ readonly required: ["eventSubjectType", "eventType", "count"];
14001
+ readonly properties: {
14002
+ readonly eventSubjectType: {
14003
+ readonly type: "string";
14004
+ readonly knownValues: ["account", "record", "chat"];
14005
+ };
14006
+ readonly eventType: {
14007
+ readonly type: "string";
14008
+ readonly knownValues: ["tools.ozone.moderation.defs#modEventTakedown", "tools.ozone.moderation.defs#modEventReverseTakedown", "tools.ozone.moderation.defs#modEventComment", "tools.ozone.moderation.defs#modEventReport", "tools.ozone.moderation.defs#modEventLabel", "tools.ozone.moderation.defs#modEventAcknowledge", "tools.ozone.moderation.defs#modEventEscalate", "tools.ozone.moderation.defs#modEventMute", "tools.ozone.moderation.defs#modEventUnmute", "tools.ozone.moderation.defs#modEventMuteReporter", "tools.ozone.moderation.defs#modEventUnmuteReporter", "tools.ozone.moderation.defs#modEventEmail", "tools.ozone.moderation.defs#modEventResolveAppeal", "tools.ozone.moderation.defs#modEventDivert", "tools.ozone.moderation.defs#modEventTag", "tools.ozone.moderation.defs#accountEvent", "tools.ozone.moderation.defs#identityEvent", "tools.ozone.moderation.defs#recordEvent", "tools.ozone.moderation.defs#modEventPriorityScore", "tools.ozone.moderation.defs#ageAssuranceEvent", "tools.ozone.moderation.defs#ageAssuranceOverrideEvent", "tools.ozone.moderation.defs#timelineEventPlcCreate", "tools.ozone.moderation.defs#timelineEventPlcOperation", "tools.ozone.moderation.defs#timelineEventPlcTombstone", "tools.ozone.hosting.getAccountHistory#accountCreated", "tools.ozone.hosting.getAccountHistory#emailConfirmed", "tools.ozone.hosting.getAccountHistory#passwordUpdated", "tools.ozone.hosting.getAccountHistory#handleUpdated"];
14009
+ };
14010
+ readonly count: {
14011
+ readonly type: "integer";
14012
+ };
14013
+ };
14014
+ };
14015
+ };
14016
+ };
13933
14017
  readonly ToolsOzoneModerationGetEvent: {
13934
14018
  readonly lexicon: 1;
13935
14019
  readonly id: "tools.ozone.moderation.getEvent";
@@ -20218,11 +20302,96 @@ export declare const schemas: ({
20218
20302
  };
20219
20303
  };
20220
20304
  };
20221
- readonly output: {
20222
- readonly encoding: "application/json";
20223
- readonly schema: {
20224
- readonly type: "object";
20225
- readonly properties: {};
20305
+ readonly output: {
20306
+ readonly encoding: "application/json";
20307
+ readonly schema: {
20308
+ readonly type: "object";
20309
+ readonly properties: {};
20310
+ };
20311
+ };
20312
+ };
20313
+ };
20314
+ } | {
20315
+ readonly lexicon: 1;
20316
+ readonly id: "com.atproto.temp.checkHandleAvailability";
20317
+ readonly defs: {
20318
+ readonly main: {
20319
+ readonly type: "query";
20320
+ readonly description: "Checks whether the provided handle is available. If the handle is not available, available suggestions will be returned. Optional inputs will be used to generate suggestions.";
20321
+ readonly parameters: {
20322
+ readonly type: "params";
20323
+ readonly required: ["handle"];
20324
+ readonly properties: {
20325
+ readonly handle: {
20326
+ readonly type: "string";
20327
+ readonly format: "handle";
20328
+ readonly description: "Tentative handle. Will be checked for availability or used to build handle suggestions.";
20329
+ };
20330
+ readonly email: {
20331
+ readonly type: "string";
20332
+ readonly description: "User-provided email. Might be used to build handle suggestions.";
20333
+ };
20334
+ readonly birthDate: {
20335
+ readonly type: "string";
20336
+ readonly format: "datetime";
20337
+ readonly description: "User-provided birth date. Might be used to build handle suggestions.";
20338
+ };
20339
+ };
20340
+ };
20341
+ readonly output: {
20342
+ readonly encoding: "application/json";
20343
+ readonly schema: {
20344
+ readonly type: "object";
20345
+ readonly required: ["handle", "result"];
20346
+ readonly properties: {
20347
+ readonly handle: {
20348
+ readonly type: "string";
20349
+ readonly format: "handle";
20350
+ readonly description: "Echo of the input handle.";
20351
+ };
20352
+ readonly result: {
20353
+ readonly type: "union";
20354
+ readonly refs: ["lex:com.atproto.temp.checkHandleAvailability#resultAvailable", "lex:com.atproto.temp.checkHandleAvailability#resultUnavailable"];
20355
+ };
20356
+ };
20357
+ };
20358
+ };
20359
+ readonly errors: [{
20360
+ readonly name: "InvalidEmail";
20361
+ readonly description: "An invalid email was provided.";
20362
+ }];
20363
+ };
20364
+ readonly resultAvailable: {
20365
+ readonly type: "object";
20366
+ readonly description: "Indicates the provided handle is available.";
20367
+ readonly properties: {};
20368
+ };
20369
+ readonly resultUnavailable: {
20370
+ readonly type: "object";
20371
+ readonly description: "Indicates the provided handle is unavailable and gives suggestions of available handles.";
20372
+ readonly required: ["suggestions"];
20373
+ readonly properties: {
20374
+ readonly suggestions: {
20375
+ readonly type: "array";
20376
+ readonly description: "List of suggested handles based on the provided inputs.";
20377
+ readonly items: {
20378
+ readonly type: "ref";
20379
+ readonly ref: "lex:com.atproto.temp.checkHandleAvailability#suggestion";
20380
+ };
20381
+ };
20382
+ };
20383
+ };
20384
+ readonly suggestion: {
20385
+ readonly type: "object";
20386
+ readonly required: ["handle", "method"];
20387
+ readonly properties: {
20388
+ readonly handle: {
20389
+ readonly type: "string";
20390
+ readonly format: "handle";
20391
+ };
20392
+ readonly method: {
20393
+ readonly type: "string";
20394
+ readonly description: "Method used to build this suggestion. Should be considered opaque to clients. Can be used for metrics.";
20226
20395
  };
20227
20396
  };
20228
20397
  };
@@ -22837,46 +23006,6 @@ export declare const schemas: ({
22837
23006
  }];
22838
23007
  };
22839
23008
  };
22840
- } | {
22841
- readonly lexicon: 1;
22842
- readonly id: "app.bsky.feed.getPosts";
22843
- readonly defs: {
22844
- readonly main: {
22845
- readonly type: "query";
22846
- readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
22847
- readonly parameters: {
22848
- readonly type: "params";
22849
- readonly required: ["uris"];
22850
- readonly properties: {
22851
- readonly uris: {
22852
- readonly type: "array";
22853
- readonly description: "List of post AT-URIs to return hydrated views for.";
22854
- readonly items: {
22855
- readonly type: "string";
22856
- readonly format: "at-uri";
22857
- };
22858
- readonly maxLength: 25;
22859
- };
22860
- };
22861
- };
22862
- readonly output: {
22863
- readonly encoding: "application/json";
22864
- readonly schema: {
22865
- readonly type: "object";
22866
- readonly required: ["posts"];
22867
- readonly properties: {
22868
- readonly posts: {
22869
- readonly type: "array";
22870
- readonly items: {
22871
- readonly type: "ref";
22872
- readonly ref: "lex:app.bsky.feed.defs#postView";
22873
- };
22874
- };
22875
- };
22876
- };
22877
- };
22878
- };
22879
- };
22880
23009
  } | {
22881
23010
  readonly lexicon: 1;
22882
23011
  readonly id: "app.bsky.feed.getPostThread";
@@ -22931,6 +23060,46 @@ export declare const schemas: ({
22931
23060
  }];
22932
23061
  };
22933
23062
  };
23063
+ } | {
23064
+ readonly lexicon: 1;
23065
+ readonly id: "app.bsky.feed.getPosts";
23066
+ readonly defs: {
23067
+ readonly main: {
23068
+ readonly type: "query";
23069
+ readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
23070
+ readonly parameters: {
23071
+ readonly type: "params";
23072
+ readonly required: ["uris"];
23073
+ readonly properties: {
23074
+ readonly uris: {
23075
+ readonly type: "array";
23076
+ readonly description: "List of post AT-URIs to return hydrated views for.";
23077
+ readonly items: {
23078
+ readonly type: "string";
23079
+ readonly format: "at-uri";
23080
+ };
23081
+ readonly maxLength: 25;
23082
+ };
23083
+ };
23084
+ };
23085
+ readonly output: {
23086
+ readonly encoding: "application/json";
23087
+ readonly schema: {
23088
+ readonly type: "object";
23089
+ readonly required: ["posts"];
23090
+ readonly properties: {
23091
+ readonly posts: {
23092
+ readonly type: "array";
23093
+ readonly items: {
23094
+ readonly type: "ref";
23095
+ readonly ref: "lex:app.bsky.feed.defs#postView";
23096
+ };
23097
+ };
23098
+ };
23099
+ };
23100
+ };
23101
+ };
23102
+ };
22934
23103
  } | {
22935
23104
  readonly lexicon: 1;
22936
23105
  readonly id: "app.bsky.feed.getQuotes";
@@ -25839,91 +26008,6 @@ export declare const schemas: ({
25839
26008
  };
25840
26009
  };
25841
26010
  };
25842
- } | {
25843
- readonly lexicon: 1;
25844
- readonly id: "app.bsky.unspecced.checkHandleAvailability";
25845
- readonly defs: {
25846
- readonly main: {
25847
- readonly type: "query";
25848
- readonly description: "Checks whether the provided handle is available. If the handle is not available, available suggestions will be returned. Optional inputs will be used to generate suggestions.";
25849
- readonly parameters: {
25850
- readonly type: "params";
25851
- readonly required: ["handle"];
25852
- readonly properties: {
25853
- readonly handle: {
25854
- readonly type: "string";
25855
- readonly format: "handle";
25856
- readonly description: "Tentative handle. Will be checked for availability or used to build handle suggestions.";
25857
- };
25858
- readonly email: {
25859
- readonly type: "string";
25860
- readonly description: "User-provided email. Might be used to build handle suggestions.";
25861
- };
25862
- readonly birthDate: {
25863
- readonly type: "string";
25864
- readonly format: "datetime";
25865
- readonly description: "User-provided birth date. Might be used to build handle suggestions.";
25866
- };
25867
- };
25868
- };
25869
- readonly output: {
25870
- readonly encoding: "application/json";
25871
- readonly schema: {
25872
- readonly type: "object";
25873
- readonly required: ["handle", "result"];
25874
- readonly properties: {
25875
- readonly handle: {
25876
- readonly type: "string";
25877
- readonly format: "handle";
25878
- readonly description: "Echo of the input handle.";
25879
- };
25880
- readonly result: {
25881
- readonly type: "union";
25882
- readonly refs: ["lex:app.bsky.unspecced.checkHandleAvailability#resultAvailable", "lex:app.bsky.unspecced.checkHandleAvailability#resultUnavailable"];
25883
- };
25884
- };
25885
- };
25886
- };
25887
- readonly errors: [{
25888
- readonly name: "InvalidEmail";
25889
- readonly description: "An invalid email was provided.";
25890
- }];
25891
- };
25892
- readonly resultAvailable: {
25893
- readonly type: "object";
25894
- readonly description: "Indicates the provided handle is available.";
25895
- readonly properties: {};
25896
- };
25897
- readonly resultUnavailable: {
25898
- readonly type: "object";
25899
- readonly description: "Indicates the provided handle is unavailable and gives suggestions of available handles.";
25900
- readonly required: ["suggestions"];
25901
- readonly properties: {
25902
- readonly suggestions: {
25903
- readonly type: "array";
25904
- readonly description: "List of suggested handles based on the provided inputs.";
25905
- readonly items: {
25906
- readonly type: "ref";
25907
- readonly ref: "lex:app.bsky.unspecced.checkHandleAvailability#suggestion";
25908
- };
25909
- };
25910
- };
25911
- };
25912
- readonly suggestion: {
25913
- readonly type: "object";
25914
- readonly required: ["handle", "method"];
25915
- readonly properties: {
25916
- readonly handle: {
25917
- readonly type: "string";
25918
- readonly format: "handle";
25919
- };
25920
- readonly method: {
25921
- readonly type: "string";
25922
- readonly description: "Method used to build this suggestion. Should be considered opaque to clients. Can be used for metrics.";
25923
- };
25924
- };
25925
- };
25926
- };
25927
26011
  } | {
25928
26012
  readonly lexicon: 1;
25929
26013
  readonly id: "app.bsky.unspecced.defs";
@@ -29902,6 +29986,18 @@ export declare const schemas: ({
29902
29986
  };
29903
29987
  };
29904
29988
  };
29989
+ readonly timelineEventPlcCreate: {
29990
+ readonly type: "token";
29991
+ readonly description: "Moderation event timeline event for a PLC create operation";
29992
+ };
29993
+ readonly timelineEventPlcOperation: {
29994
+ readonly type: "token";
29995
+ readonly description: "Moderation event timeline event for generic PLC operation";
29996
+ };
29997
+ readonly timelineEventPlcTombstone: {
29998
+ readonly type: "token";
29999
+ readonly description: "Moderation event timeline event for a PLC tombstone operation";
30000
+ };
29905
30001
  };
29906
30002
  } | {
29907
30003
  readonly lexicon: 1;
@@ -29961,6 +30057,77 @@ export declare const schemas: ({
29961
30057
  }];
29962
30058
  };
29963
30059
  };
30060
+ } | {
30061
+ readonly lexicon: 1;
30062
+ readonly id: "tools.ozone.moderation.getAccountTimeline";
30063
+ readonly defs: {
30064
+ readonly main: {
30065
+ readonly type: "query";
30066
+ readonly description: "Get timeline of all available events of an account. This includes moderation events, account history and did history.";
30067
+ readonly parameters: {
30068
+ readonly type: "params";
30069
+ readonly required: ["did"];
30070
+ readonly properties: {
30071
+ readonly did: {
30072
+ readonly type: "string";
30073
+ readonly format: "did";
30074
+ };
30075
+ };
30076
+ };
30077
+ readonly output: {
30078
+ readonly encoding: "application/json";
30079
+ readonly schema: {
30080
+ readonly type: "object";
30081
+ readonly required: ["timeline"];
30082
+ readonly properties: {
30083
+ readonly timeline: {
30084
+ readonly type: "array";
30085
+ readonly items: {
30086
+ readonly type: "ref";
30087
+ readonly ref: "lex:tools.ozone.moderation.getAccountTimeline#timelineItem";
30088
+ };
30089
+ };
30090
+ };
30091
+ };
30092
+ };
30093
+ readonly errors: [{
30094
+ readonly name: "RepoNotFound";
30095
+ }];
30096
+ };
30097
+ readonly timelineItem: {
30098
+ readonly type: "object";
30099
+ readonly required: ["day", "summary"];
30100
+ readonly properties: {
30101
+ readonly day: {
30102
+ readonly type: "string";
30103
+ };
30104
+ readonly summary: {
30105
+ readonly type: "array";
30106
+ readonly items: {
30107
+ readonly type: "ref";
30108
+ readonly ref: "lex:tools.ozone.moderation.getAccountTimeline#timelineItemSummary";
30109
+ };
30110
+ };
30111
+ };
30112
+ };
30113
+ readonly timelineItemSummary: {
30114
+ readonly type: "object";
30115
+ readonly required: ["eventSubjectType", "eventType", "count"];
30116
+ readonly properties: {
30117
+ readonly eventSubjectType: {
30118
+ readonly type: "string";
30119
+ readonly knownValues: ["account", "record", "chat"];
30120
+ };
30121
+ readonly eventType: {
30122
+ readonly type: "string";
30123
+ readonly knownValues: ["tools.ozone.moderation.defs#modEventTakedown", "tools.ozone.moderation.defs#modEventReverseTakedown", "tools.ozone.moderation.defs#modEventComment", "tools.ozone.moderation.defs#modEventReport", "tools.ozone.moderation.defs#modEventLabel", "tools.ozone.moderation.defs#modEventAcknowledge", "tools.ozone.moderation.defs#modEventEscalate", "tools.ozone.moderation.defs#modEventMute", "tools.ozone.moderation.defs#modEventUnmute", "tools.ozone.moderation.defs#modEventMuteReporter", "tools.ozone.moderation.defs#modEventUnmuteReporter", "tools.ozone.moderation.defs#modEventEmail", "tools.ozone.moderation.defs#modEventResolveAppeal", "tools.ozone.moderation.defs#modEventDivert", "tools.ozone.moderation.defs#modEventTag", "tools.ozone.moderation.defs#accountEvent", "tools.ozone.moderation.defs#identityEvent", "tools.ozone.moderation.defs#recordEvent", "tools.ozone.moderation.defs#modEventPriorityScore", "tools.ozone.moderation.defs#ageAssuranceEvent", "tools.ozone.moderation.defs#ageAssuranceOverrideEvent", "tools.ozone.moderation.defs#timelineEventPlcCreate", "tools.ozone.moderation.defs#timelineEventPlcOperation", "tools.ozone.moderation.defs#timelineEventPlcTombstone", "tools.ozone.hosting.getAccountHistory#accountCreated", "tools.ozone.hosting.getAccountHistory#emailConfirmed", "tools.ozone.hosting.getAccountHistory#passwordUpdated", "tools.ozone.hosting.getAccountHistory#handleUpdated"];
30124
+ };
30125
+ readonly count: {
30126
+ readonly type: "integer";
30127
+ };
30128
+ };
30129
+ };
30130
+ };
29964
30131
  } | {
29965
30132
  readonly lexicon: 1;
29966
30133
  readonly id: "tools.ozone.moderation.getEvent";
@@ -32356,6 +32523,7 @@ export declare const ids: {
32356
32523
  readonly ComAtprotoSyncRequestCrawl: "com.atproto.sync.requestCrawl";
32357
32524
  readonly ComAtprotoSyncSubscribeRepos: "com.atproto.sync.subscribeRepos";
32358
32525
  readonly ComAtprotoTempAddReservedHandle: "com.atproto.temp.addReservedHandle";
32526
+ readonly ComAtprotoTempCheckHandleAvailability: "com.atproto.temp.checkHandleAvailability";
32359
32527
  readonly ComAtprotoTempCheckSignupQueue: "com.atproto.temp.checkSignupQueue";
32360
32528
  readonly ComAtprotoTempFetchLabels: "com.atproto.temp.fetchLabels";
32361
32529
  readonly ComAtprotoTempRequestPhoneVerification: "com.atproto.temp.requestPhoneVerification";
@@ -32387,8 +32555,8 @@ export declare const ids: {
32387
32555
  readonly AppBskyFeedGetFeedSkeleton: "app.bsky.feed.getFeedSkeleton";
32388
32556
  readonly AppBskyFeedGetLikes: "app.bsky.feed.getLikes";
32389
32557
  readonly AppBskyFeedGetListFeed: "app.bsky.feed.getListFeed";
32390
- readonly AppBskyFeedGetPosts: "app.bsky.feed.getPosts";
32391
32558
  readonly AppBskyFeedGetPostThread: "app.bsky.feed.getPostThread";
32559
+ readonly AppBskyFeedGetPosts: "app.bsky.feed.getPosts";
32392
32560
  readonly AppBskyFeedGetQuotes: "app.bsky.feed.getQuotes";
32393
32561
  readonly AppBskyFeedGetRepostedBy: "app.bsky.feed.getRepostedBy";
32394
32562
  readonly AppBskyFeedGetSuggestedFeeds: "app.bsky.feed.getSuggestedFeeds";
@@ -32445,7 +32613,6 @@ export declare const ids: {
32445
32613
  readonly AppBskyNotificationUnregisterPush: "app.bsky.notification.unregisterPush";
32446
32614
  readonly AppBskyNotificationUpdateSeen: "app.bsky.notification.updateSeen";
32447
32615
  readonly AppBskyRichtextFacet: "app.bsky.richtext.facet";
32448
- readonly AppBskyUnspeccedCheckHandleAvailability: "app.bsky.unspecced.checkHandleAvailability";
32449
32616
  readonly AppBskyUnspeccedDefs: "app.bsky.unspecced.defs";
32450
32617
  readonly AppBskyUnspeccedGetAgeAssuranceState: "app.bsky.unspecced.getAgeAssuranceState";
32451
32618
  readonly AppBskyUnspeccedGetConfig: "app.bsky.unspecced.getConfig";
@@ -32504,6 +32671,7 @@ export declare const ids: {
32504
32671
  readonly ToolsOzoneHostingGetAccountHistory: "tools.ozone.hosting.getAccountHistory";
32505
32672
  readonly ToolsOzoneModerationDefs: "tools.ozone.moderation.defs";
32506
32673
  readonly ToolsOzoneModerationEmitEvent: "tools.ozone.moderation.emitEvent";
32674
+ readonly ToolsOzoneModerationGetAccountTimeline: "tools.ozone.moderation.getAccountTimeline";
32507
32675
  readonly ToolsOzoneModerationGetEvent: "tools.ozone.moderation.getEvent";
32508
32676
  readonly ToolsOzoneModerationGetRecord: "tools.ozone.moderation.getRecord";
32509
32677
  readonly ToolsOzoneModerationGetRecords: "tools.ozone.moderation.getRecords";