@atproto/pds 0.4.162 → 0.4.163

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.
@@ -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";
@@ -20227,6 +20227,91 @@ export declare const schemas: ({
20227
20227
  };
20228
20228
  };
20229
20229
  };
20230
+ } | {
20231
+ readonly lexicon: 1;
20232
+ readonly id: "com.atproto.temp.checkHandleAvailability";
20233
+ readonly defs: {
20234
+ readonly main: {
20235
+ readonly type: "query";
20236
+ 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.";
20237
+ readonly parameters: {
20238
+ readonly type: "params";
20239
+ readonly required: ["handle"];
20240
+ readonly properties: {
20241
+ readonly handle: {
20242
+ readonly type: "string";
20243
+ readonly format: "handle";
20244
+ readonly description: "Tentative handle. Will be checked for availability or used to build handle suggestions.";
20245
+ };
20246
+ readonly email: {
20247
+ readonly type: "string";
20248
+ readonly description: "User-provided email. Might be used to build handle suggestions.";
20249
+ };
20250
+ readonly birthDate: {
20251
+ readonly type: "string";
20252
+ readonly format: "datetime";
20253
+ readonly description: "User-provided birth date. Might be used to build handle suggestions.";
20254
+ };
20255
+ };
20256
+ };
20257
+ readonly output: {
20258
+ readonly encoding: "application/json";
20259
+ readonly schema: {
20260
+ readonly type: "object";
20261
+ readonly required: ["handle", "result"];
20262
+ readonly properties: {
20263
+ readonly handle: {
20264
+ readonly type: "string";
20265
+ readonly format: "handle";
20266
+ readonly description: "Echo of the input handle.";
20267
+ };
20268
+ readonly result: {
20269
+ readonly type: "union";
20270
+ readonly refs: ["lex:com.atproto.temp.checkHandleAvailability#resultAvailable", "lex:com.atproto.temp.checkHandleAvailability#resultUnavailable"];
20271
+ };
20272
+ };
20273
+ };
20274
+ };
20275
+ readonly errors: [{
20276
+ readonly name: "InvalidEmail";
20277
+ readonly description: "An invalid email was provided.";
20278
+ }];
20279
+ };
20280
+ readonly resultAvailable: {
20281
+ readonly type: "object";
20282
+ readonly description: "Indicates the provided handle is available.";
20283
+ readonly properties: {};
20284
+ };
20285
+ readonly resultUnavailable: {
20286
+ readonly type: "object";
20287
+ readonly description: "Indicates the provided handle is unavailable and gives suggestions of available handles.";
20288
+ readonly required: ["suggestions"];
20289
+ readonly properties: {
20290
+ readonly suggestions: {
20291
+ readonly type: "array";
20292
+ readonly description: "List of suggested handles based on the provided inputs.";
20293
+ readonly items: {
20294
+ readonly type: "ref";
20295
+ readonly ref: "lex:com.atproto.temp.checkHandleAvailability#suggestion";
20296
+ };
20297
+ };
20298
+ };
20299
+ };
20300
+ readonly suggestion: {
20301
+ readonly type: "object";
20302
+ readonly required: ["handle", "method"];
20303
+ readonly properties: {
20304
+ readonly handle: {
20305
+ readonly type: "string";
20306
+ readonly format: "handle";
20307
+ };
20308
+ readonly method: {
20309
+ readonly type: "string";
20310
+ readonly description: "Method used to build this suggestion. Should be considered opaque to clients. Can be used for metrics.";
20311
+ };
20312
+ };
20313
+ };
20314
+ };
20230
20315
  } | {
20231
20316
  readonly lexicon: 1;
20232
20317
  readonly id: "com.atproto.temp.checkSignupQueue";
@@ -22837,46 +22922,6 @@ export declare const schemas: ({
22837
22922
  }];
22838
22923
  };
22839
22924
  };
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
22925
  } | {
22881
22926
  readonly lexicon: 1;
22882
22927
  readonly id: "app.bsky.feed.getPostThread";
@@ -22931,6 +22976,46 @@ export declare const schemas: ({
22931
22976
  }];
22932
22977
  };
22933
22978
  };
22979
+ } | {
22980
+ readonly lexicon: 1;
22981
+ readonly id: "app.bsky.feed.getPosts";
22982
+ readonly defs: {
22983
+ readonly main: {
22984
+ readonly type: "query";
22985
+ readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
22986
+ readonly parameters: {
22987
+ readonly type: "params";
22988
+ readonly required: ["uris"];
22989
+ readonly properties: {
22990
+ readonly uris: {
22991
+ readonly type: "array";
22992
+ readonly description: "List of post AT-URIs to return hydrated views for.";
22993
+ readonly items: {
22994
+ readonly type: "string";
22995
+ readonly format: "at-uri";
22996
+ };
22997
+ readonly maxLength: 25;
22998
+ };
22999
+ };
23000
+ };
23001
+ readonly output: {
23002
+ readonly encoding: "application/json";
23003
+ readonly schema: {
23004
+ readonly type: "object";
23005
+ readonly required: ["posts"];
23006
+ readonly properties: {
23007
+ readonly posts: {
23008
+ readonly type: "array";
23009
+ readonly items: {
23010
+ readonly type: "ref";
23011
+ readonly ref: "lex:app.bsky.feed.defs#postView";
23012
+ };
23013
+ };
23014
+ };
23015
+ };
23016
+ };
23017
+ };
23018
+ };
22934
23019
  } | {
22935
23020
  readonly lexicon: 1;
22936
23021
  readonly id: "app.bsky.feed.getQuotes";
@@ -25839,91 +25924,6 @@ export declare const schemas: ({
25839
25924
  };
25840
25925
  };
25841
25926
  };
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
25927
  } | {
25928
25928
  readonly lexicon: 1;
25929
25929
  readonly id: "app.bsky.unspecced.defs";
@@ -32356,6 +32356,7 @@ export declare const ids: {
32356
32356
  readonly ComAtprotoSyncRequestCrawl: "com.atproto.sync.requestCrawl";
32357
32357
  readonly ComAtprotoSyncSubscribeRepos: "com.atproto.sync.subscribeRepos";
32358
32358
  readonly ComAtprotoTempAddReservedHandle: "com.atproto.temp.addReservedHandle";
32359
+ readonly ComAtprotoTempCheckHandleAvailability: "com.atproto.temp.checkHandleAvailability";
32359
32360
  readonly ComAtprotoTempCheckSignupQueue: "com.atproto.temp.checkSignupQueue";
32360
32361
  readonly ComAtprotoTempFetchLabels: "com.atproto.temp.fetchLabels";
32361
32362
  readonly ComAtprotoTempRequestPhoneVerification: "com.atproto.temp.requestPhoneVerification";
@@ -32387,8 +32388,8 @@ export declare const ids: {
32387
32388
  readonly AppBskyFeedGetFeedSkeleton: "app.bsky.feed.getFeedSkeleton";
32388
32389
  readonly AppBskyFeedGetLikes: "app.bsky.feed.getLikes";
32389
32390
  readonly AppBskyFeedGetListFeed: "app.bsky.feed.getListFeed";
32390
- readonly AppBskyFeedGetPosts: "app.bsky.feed.getPosts";
32391
32391
  readonly AppBskyFeedGetPostThread: "app.bsky.feed.getPostThread";
32392
+ readonly AppBskyFeedGetPosts: "app.bsky.feed.getPosts";
32392
32393
  readonly AppBskyFeedGetQuotes: "app.bsky.feed.getQuotes";
32393
32394
  readonly AppBskyFeedGetRepostedBy: "app.bsky.feed.getRepostedBy";
32394
32395
  readonly AppBskyFeedGetSuggestedFeeds: "app.bsky.feed.getSuggestedFeeds";
@@ -32445,7 +32446,6 @@ export declare const ids: {
32445
32446
  readonly AppBskyNotificationUnregisterPush: "app.bsky.notification.unregisterPush";
32446
32447
  readonly AppBskyNotificationUpdateSeen: "app.bsky.notification.updateSeen";
32447
32448
  readonly AppBskyRichtextFacet: "app.bsky.richtext.facet";
32448
- readonly AppBskyUnspeccedCheckHandleAvailability: "app.bsky.unspecced.checkHandleAvailability";
32449
32449
  readonly AppBskyUnspeccedDefs: "app.bsky.unspecced.defs";
32450
32450
  readonly AppBskyUnspeccedGetAgeAssuranceState: "app.bsky.unspecced.getAgeAssuranceState";
32451
32451
  readonly AppBskyUnspeccedGetConfig: "app.bsky.unspecced.getConfig";