@atproto/api 0.15.16 → 0.15.18

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 (38) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/client/index.d.ts +105 -3
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +154 -9
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +390 -82
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +199 -42
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/actor/defs.d.ts +9 -0
  11. package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/actor/defs.js +9 -0
  13. package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
  14. package/dist/client/types/app/bsky/notification/declaration.d.ts +13 -0
  15. package/dist/client/types/app/bsky/notification/declaration.d.ts.map +1 -0
  16. package/dist/client/types/app/bsky/notification/declaration.js +16 -0
  17. package/dist/client/types/app/bsky/notification/declaration.js.map +1 -0
  18. package/dist/client/types/app/bsky/notification/defs.d.ts +15 -0
  19. package/dist/client/types/app/bsky/notification/defs.d.ts.map +1 -1
  20. package/dist/client/types/app/bsky/notification/defs.js +18 -0
  21. package/dist/client/types/app/bsky/notification/defs.js.map +1 -1
  22. package/dist/client/types/app/bsky/notification/listActivitySubscriptions.d.ts +25 -0
  23. package/dist/client/types/app/bsky/notification/listActivitySubscriptions.d.ts.map +1 -0
  24. package/dist/client/types/app/bsky/notification/listActivitySubscriptions.js +11 -0
  25. package/dist/client/types/app/bsky/notification/listActivitySubscriptions.js.map +1 -0
  26. package/dist/client/types/app/bsky/notification/putActivitySubscription.d.ts +28 -0
  27. package/dist/client/types/app/bsky/notification/putActivitySubscription.d.ts.map +1 -0
  28. package/dist/client/types/app/bsky/notification/putActivitySubscription.js +11 -0
  29. package/dist/client/types/app/bsky/notification/putActivitySubscription.js.map +1 -0
  30. package/package.json +2 -2
  31. package/src/client/index.ts +435 -9
  32. package/src/client/lexicons.ts +207 -43
  33. package/src/client/types/app/bsky/actor/defs.ts +23 -0
  34. package/src/client/types/app/bsky/notification/declaration.ts +32 -0
  35. package/src/client/types/app/bsky/notification/defs.ts +37 -0
  36. package/src/client/types/app/bsky/notification/listActivitySubscriptions.ts +44 -0
  37. package/src/client/types/app/bsky/notification/putActivitySubscription.ts +46 -0
  38. package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atproto/api
2
2
 
3
+ ## 0.15.18
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3995](https://github.com/bluesky-social/atproto/pull/3995) [`e3e31b2b9`](https://github.com/bluesky-social/atproto/commit/e3e31b2b9bf8c4de6b2d7fa992c3b3795686ea72) Thanks [@mozzius](https://github.com/mozzius)! - Add put method to record utility classes
8
+
9
+ ## 0.15.17
10
+
11
+ ### Patch Changes
12
+
13
+ - [#3990](https://github.com/bluesky-social/atproto/pull/3990) [`6cd120206`](https://github.com/bluesky-social/atproto/commit/6cd12020657bfb5f87e97cd16e4abb379b64f60b) Thanks [@rafaelbsky](https://github.com/rafaelbsky)! - Add activity subscription lexicons
14
+
3
15
  ## 0.15.16
4
16
 
5
17
  ### Patch Changes
@@ -104,8 +104,8 @@ import * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGene
104
104
  import * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton.js';
105
105
  import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.js';
106
106
  import * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.js';
107
- import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js';
108
107
  import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js';
108
+ import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js';
109
109
  import * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.js';
110
110
  import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.js';
111
111
  import * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds.js';
@@ -147,9 +147,12 @@ import * as AppBskyGraphUnmuteThread from './types/app/bsky/graph/unmuteThread.j
147
147
  import * as AppBskyGraphVerification from './types/app/bsky/graph/verification.js';
148
148
  import * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.js';
149
149
  import * as AppBskyLabelerService from './types/app/bsky/labeler/service.js';
150
+ import * as AppBskyNotificationDeclaration from './types/app/bsky/notification/declaration.js';
150
151
  import * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js';
151
152
  import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js';
153
+ import * as AppBskyNotificationListActivitySubscriptions from './types/app/bsky/notification/listActivitySubscriptions.js';
152
154
  import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js';
155
+ import * as AppBskyNotificationPutActivitySubscription from './types/app/bsky/notification/putActivitySubscription.js';
153
156
  import * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js';
154
157
  import * as AppBskyNotificationPutPreferencesV2 from './types/app/bsky/notification/putPreferencesV2.js';
155
158
  import * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush.js';
@@ -353,8 +356,8 @@ export * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGene
353
356
  export * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton.js';
354
357
  export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.js';
355
358
  export * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.js';
356
- export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js';
357
359
  export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js';
360
+ export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js';
358
361
  export * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.js';
359
362
  export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.js';
360
363
  export * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds.js';
@@ -398,10 +401,13 @@ export * as AppBskyGraphVerification from './types/app/bsky/graph/verification.j
398
401
  export * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs.js';
399
402
  export * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.js';
400
403
  export * as AppBskyLabelerService from './types/app/bsky/labeler/service.js';
404
+ export * as AppBskyNotificationDeclaration from './types/app/bsky/notification/declaration.js';
401
405
  export * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js';
402
406
  export * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js';
403
407
  export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js';
408
+ export * as AppBskyNotificationListActivitySubscriptions from './types/app/bsky/notification/listActivitySubscriptions.js';
404
409
  export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js';
410
+ export * as AppBskyNotificationPutActivitySubscription from './types/app/bsky/notification/putActivitySubscription.js';
405
411
  export * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js';
406
412
  export * as AppBskyNotificationPutPreferencesV2 from './types/app/bsky/notification/putPreferencesV2.js';
407
413
  export * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush.js';
@@ -631,6 +637,10 @@ export declare class ComAtprotoLexiconSchemaRecord {
631
637
  uri: string;
632
638
  cid: string;
633
639
  }>;
640
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<ComAtprotoLexiconSchema.Record>, headers?: Record<string, string>): Promise<{
641
+ uri: string;
642
+ cid: string;
643
+ }>;
634
644
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
635
645
  }
636
646
  export declare class ComAtprotoModerationNS {
@@ -758,6 +768,10 @@ export declare class AppBskyActorProfileRecord {
758
768
  uri: string;
759
769
  cid: string;
760
770
  }>;
771
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyActorProfile.Record>, headers?: Record<string, string>): Promise<{
772
+ uri: string;
773
+ cid: string;
774
+ }>;
761
775
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
762
776
  }
763
777
  export declare class AppBskyActorStatusRecord {
@@ -779,6 +793,10 @@ export declare class AppBskyActorStatusRecord {
779
793
  uri: string;
780
794
  cid: string;
781
795
  }>;
796
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyActorStatus.Record>, headers?: Record<string, string>): Promise<{
797
+ uri: string;
798
+ cid: string;
799
+ }>;
782
800
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
783
801
  }
784
802
  export declare class AppBskyEmbedNS {
@@ -804,8 +822,8 @@ export declare class AppBskyFeedNS {
804
822
  getFeedSkeleton(params?: AppBskyFeedGetFeedSkeleton.QueryParams, opts?: AppBskyFeedGetFeedSkeleton.CallOptions): Promise<AppBskyFeedGetFeedSkeleton.Response>;
805
823
  getLikes(params?: AppBskyFeedGetLikes.QueryParams, opts?: AppBskyFeedGetLikes.CallOptions): Promise<AppBskyFeedGetLikes.Response>;
806
824
  getListFeed(params?: AppBskyFeedGetListFeed.QueryParams, opts?: AppBskyFeedGetListFeed.CallOptions): Promise<AppBskyFeedGetListFeed.Response>;
807
- getPosts(params?: AppBskyFeedGetPosts.QueryParams, opts?: AppBskyFeedGetPosts.CallOptions): Promise<AppBskyFeedGetPosts.Response>;
808
825
  getPostThread(params?: AppBskyFeedGetPostThread.QueryParams, opts?: AppBskyFeedGetPostThread.CallOptions): Promise<AppBskyFeedGetPostThread.Response>;
826
+ getPosts(params?: AppBskyFeedGetPosts.QueryParams, opts?: AppBskyFeedGetPosts.CallOptions): Promise<AppBskyFeedGetPosts.Response>;
809
827
  getQuotes(params?: AppBskyFeedGetQuotes.QueryParams, opts?: AppBskyFeedGetQuotes.CallOptions): Promise<AppBskyFeedGetQuotes.Response>;
810
828
  getRepostedBy(params?: AppBskyFeedGetRepostedBy.QueryParams, opts?: AppBskyFeedGetRepostedBy.CallOptions): Promise<AppBskyFeedGetRepostedBy.Response>;
811
829
  getSuggestedFeeds(params?: AppBskyFeedGetSuggestedFeeds.QueryParams, opts?: AppBskyFeedGetSuggestedFeeds.CallOptions): Promise<AppBskyFeedGetSuggestedFeeds.Response>;
@@ -832,6 +850,10 @@ export declare class AppBskyFeedGeneratorRecord {
832
850
  uri: string;
833
851
  cid: string;
834
852
  }>;
853
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyFeedGenerator.Record>, headers?: Record<string, string>): Promise<{
854
+ uri: string;
855
+ cid: string;
856
+ }>;
835
857
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
836
858
  }
837
859
  export declare class AppBskyFeedLikeRecord {
@@ -853,6 +875,10 @@ export declare class AppBskyFeedLikeRecord {
853
875
  uri: string;
854
876
  cid: string;
855
877
  }>;
878
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyFeedLike.Record>, headers?: Record<string, string>): Promise<{
879
+ uri: string;
880
+ cid: string;
881
+ }>;
856
882
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
857
883
  }
858
884
  export declare class AppBskyFeedPostRecord {
@@ -874,6 +900,10 @@ export declare class AppBskyFeedPostRecord {
874
900
  uri: string;
875
901
  cid: string;
876
902
  }>;
903
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyFeedPost.Record>, headers?: Record<string, string>): Promise<{
904
+ uri: string;
905
+ cid: string;
906
+ }>;
877
907
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
878
908
  }
879
909
  export declare class AppBskyFeedPostgateRecord {
@@ -895,6 +925,10 @@ export declare class AppBskyFeedPostgateRecord {
895
925
  uri: string;
896
926
  cid: string;
897
927
  }>;
928
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyFeedPostgate.Record>, headers?: Record<string, string>): Promise<{
929
+ uri: string;
930
+ cid: string;
931
+ }>;
898
932
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
899
933
  }
900
934
  export declare class AppBskyFeedRepostRecord {
@@ -916,6 +950,10 @@ export declare class AppBskyFeedRepostRecord {
916
950
  uri: string;
917
951
  cid: string;
918
952
  }>;
953
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyFeedRepost.Record>, headers?: Record<string, string>): Promise<{
954
+ uri: string;
955
+ cid: string;
956
+ }>;
919
957
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
920
958
  }
921
959
  export declare class AppBskyFeedThreadgateRecord {
@@ -937,6 +975,10 @@ export declare class AppBskyFeedThreadgateRecord {
937
975
  uri: string;
938
976
  cid: string;
939
977
  }>;
978
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyFeedThreadgate.Record>, headers?: Record<string, string>): Promise<{
979
+ uri: string;
980
+ cid: string;
981
+ }>;
940
982
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
941
983
  }
942
984
  export declare class AppBskyGraphNS {
@@ -990,6 +1032,10 @@ export declare class AppBskyGraphBlockRecord {
990
1032
  uri: string;
991
1033
  cid: string;
992
1034
  }>;
1035
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyGraphBlock.Record>, headers?: Record<string, string>): Promise<{
1036
+ uri: string;
1037
+ cid: string;
1038
+ }>;
993
1039
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
994
1040
  }
995
1041
  export declare class AppBskyGraphFollowRecord {
@@ -1011,6 +1057,10 @@ export declare class AppBskyGraphFollowRecord {
1011
1057
  uri: string;
1012
1058
  cid: string;
1013
1059
  }>;
1060
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyGraphFollow.Record>, headers?: Record<string, string>): Promise<{
1061
+ uri: string;
1062
+ cid: string;
1063
+ }>;
1014
1064
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1015
1065
  }
1016
1066
  export declare class AppBskyGraphListRecord {
@@ -1032,6 +1082,10 @@ export declare class AppBskyGraphListRecord {
1032
1082
  uri: string;
1033
1083
  cid: string;
1034
1084
  }>;
1085
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyGraphList.Record>, headers?: Record<string, string>): Promise<{
1086
+ uri: string;
1087
+ cid: string;
1088
+ }>;
1035
1089
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1036
1090
  }
1037
1091
  export declare class AppBskyGraphListblockRecord {
@@ -1053,6 +1107,10 @@ export declare class AppBskyGraphListblockRecord {
1053
1107
  uri: string;
1054
1108
  cid: string;
1055
1109
  }>;
1110
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyGraphListblock.Record>, headers?: Record<string, string>): Promise<{
1111
+ uri: string;
1112
+ cid: string;
1113
+ }>;
1056
1114
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1057
1115
  }
1058
1116
  export declare class AppBskyGraphListitemRecord {
@@ -1074,6 +1132,10 @@ export declare class AppBskyGraphListitemRecord {
1074
1132
  uri: string;
1075
1133
  cid: string;
1076
1134
  }>;
1135
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyGraphListitem.Record>, headers?: Record<string, string>): Promise<{
1136
+ uri: string;
1137
+ cid: string;
1138
+ }>;
1077
1139
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1078
1140
  }
1079
1141
  export declare class AppBskyGraphStarterpackRecord {
@@ -1095,6 +1157,10 @@ export declare class AppBskyGraphStarterpackRecord {
1095
1157
  uri: string;
1096
1158
  cid: string;
1097
1159
  }>;
1160
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyGraphStarterpack.Record>, headers?: Record<string, string>): Promise<{
1161
+ uri: string;
1162
+ cid: string;
1163
+ }>;
1098
1164
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1099
1165
  }
1100
1166
  export declare class AppBskyGraphVerificationRecord {
@@ -1116,6 +1182,10 @@ export declare class AppBskyGraphVerificationRecord {
1116
1182
  uri: string;
1117
1183
  cid: string;
1118
1184
  }>;
1185
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyGraphVerification.Record>, headers?: Record<string, string>): Promise<{
1186
+ uri: string;
1187
+ cid: string;
1188
+ }>;
1119
1189
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1120
1190
  }
1121
1191
  export declare class AppBskyLabelerNS {
@@ -1143,19 +1213,47 @@ export declare class AppBskyLabelerServiceRecord {
1143
1213
  uri: string;
1144
1214
  cid: string;
1145
1215
  }>;
1216
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyLabelerService.Record>, headers?: Record<string, string>): Promise<{
1217
+ uri: string;
1218
+ cid: string;
1219
+ }>;
1146
1220
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1147
1221
  }
1148
1222
  export declare class AppBskyNotificationNS {
1149
1223
  _client: XrpcClient;
1224
+ declaration: AppBskyNotificationDeclarationRecord;
1150
1225
  constructor(client: XrpcClient);
1151
1226
  getPreferences(params?: AppBskyNotificationGetPreferences.QueryParams, opts?: AppBskyNotificationGetPreferences.CallOptions): Promise<AppBskyNotificationGetPreferences.Response>;
1152
1227
  getUnreadCount(params?: AppBskyNotificationGetUnreadCount.QueryParams, opts?: AppBskyNotificationGetUnreadCount.CallOptions): Promise<AppBskyNotificationGetUnreadCount.Response>;
1228
+ listActivitySubscriptions(params?: AppBskyNotificationListActivitySubscriptions.QueryParams, opts?: AppBskyNotificationListActivitySubscriptions.CallOptions): Promise<AppBskyNotificationListActivitySubscriptions.Response>;
1153
1229
  listNotifications(params?: AppBskyNotificationListNotifications.QueryParams, opts?: AppBskyNotificationListNotifications.CallOptions): Promise<AppBskyNotificationListNotifications.Response>;
1230
+ putActivitySubscription(data?: AppBskyNotificationPutActivitySubscription.InputSchema, opts?: AppBskyNotificationPutActivitySubscription.CallOptions): Promise<AppBskyNotificationPutActivitySubscription.Response>;
1154
1231
  putPreferences(data?: AppBskyNotificationPutPreferences.InputSchema, opts?: AppBskyNotificationPutPreferences.CallOptions): Promise<AppBskyNotificationPutPreferences.Response>;
1155
1232
  putPreferencesV2(data?: AppBskyNotificationPutPreferencesV2.InputSchema, opts?: AppBskyNotificationPutPreferencesV2.CallOptions): Promise<AppBskyNotificationPutPreferencesV2.Response>;
1156
1233
  registerPush(data?: AppBskyNotificationRegisterPush.InputSchema, opts?: AppBskyNotificationRegisterPush.CallOptions): Promise<AppBskyNotificationRegisterPush.Response>;
1157
1234
  updateSeen(data?: AppBskyNotificationUpdateSeen.InputSchema, opts?: AppBskyNotificationUpdateSeen.CallOptions): Promise<AppBskyNotificationUpdateSeen.Response>;
1158
1235
  }
1236
+ export declare class AppBskyNotificationDeclarationRecord {
1237
+ _client: XrpcClient;
1238
+ constructor(client: XrpcClient);
1239
+ list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
1240
+ cursor?: string;
1241
+ records: {
1242
+ uri: string;
1243
+ value: AppBskyNotificationDeclaration.Record;
1244
+ }[];
1245
+ }>;
1246
+ get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
1247
+ uri: string;
1248
+ cid: string;
1249
+ value: AppBskyNotificationDeclaration.Record;
1250
+ }>;
1251
+ create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<AppBskyNotificationDeclaration.Record>, headers?: Record<string, string>): Promise<{
1252
+ uri: string;
1253
+ cid: string;
1254
+ }>;
1255
+ delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1256
+ }
1159
1257
  export declare class AppBskyRichtextNS {
1160
1258
  _client: XrpcClient;
1161
1259
  constructor(client: XrpcClient);
@@ -1227,6 +1325,10 @@ export declare class ChatBskyActorDeclarationRecord {
1227
1325
  uri: string;
1228
1326
  cid: string;
1229
1327
  }>;
1328
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<ChatBskyActorDeclaration.Record>, headers?: Record<string, string>): Promise<{
1329
+ uri: string;
1330
+ cid: string;
1331
+ }>;
1230
1332
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1231
1333
  }
1232
1334
  export declare class ChatBskyConvoNS {