@atproto/api 0.15.7 → 0.15.9

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 (32) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/agent.d.ts +8 -2
  3. package/dist/agent.d.ts.map +1 -1
  4. package/dist/agent.js +4 -2
  5. package/dist/agent.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +68 -6
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +35 -2
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/feed/defs.d.ts +6 -0
  11. package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
  13. package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts +2 -0
  14. package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts.map +1 -1
  15. package/dist/client/types/app/bsky/feed/getFeedSkeleton.js.map +1 -1
  16. package/dist/client/types/app/bsky/feed/like.d.ts +1 -0
  17. package/dist/client/types/app/bsky/feed/like.d.ts.map +1 -1
  18. package/dist/client/types/app/bsky/feed/like.js.map +1 -1
  19. package/dist/client/types/app/bsky/feed/repost.d.ts +1 -0
  20. package/dist/client/types/app/bsky/feed/repost.d.ts.map +1 -1
  21. package/dist/client/types/app/bsky/feed/repost.js.map +1 -1
  22. package/dist/client/types/app/bsky/notification/listNotifications.d.ts +2 -2
  23. package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  24. package/dist/client/types/app/bsky/notification/listNotifications.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/agent.ts +4 -2
  27. package/src/client/lexicons.ts +38 -2
  28. package/src/client/types/app/bsky/feed/defs.ts +6 -0
  29. package/src/client/types/app/bsky/feed/getFeedSkeleton.ts +2 -0
  30. package/src/client/types/app/bsky/feed/like.ts +1 -0
  31. package/src/client/types/app/bsky/feed/repost.ts +1 -0
  32. package/src/client/types/app/bsky/notification/listNotifications.ts +3 -1
@@ -6000,6 +6000,11 @@ exports.schemaDict = {
6000
6000
  description: 'Context provided by feed generator that may be passed back alongside interactions.',
6001
6001
  maxLength: 2000,
6002
6002
  },
6003
+ reqId: {
6004
+ type: 'string',
6005
+ description: 'Unique identifier per request that may be passed back alongside interactions.',
6006
+ maxLength: 100,
6007
+ },
6003
6008
  },
6004
6009
  },
6005
6010
  replyRef: {
@@ -6037,6 +6042,14 @@ exports.schemaDict = {
6037
6042
  type: 'ref',
6038
6043
  ref: 'lex:app.bsky.actor.defs#profileViewBasic',
6039
6044
  },
6045
+ uri: {
6046
+ type: 'string',
6047
+ format: 'at-uri',
6048
+ },
6049
+ cid: {
6050
+ type: 'string',
6051
+ format: 'cid',
6052
+ },
6040
6053
  indexedAt: {
6041
6054
  type: 'string',
6042
6055
  format: 'datetime',
@@ -6293,6 +6306,11 @@ exports.schemaDict = {
6293
6306
  description: 'Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton.',
6294
6307
  maxLength: 2000,
6295
6308
  },
6309
+ reqId: {
6310
+ type: 'string',
6311
+ description: 'Unique identifier per request that may be passed back alongside interactions.',
6312
+ maxLength: 100,
6313
+ },
6296
6314
  },
6297
6315
  },
6298
6316
  requestLess: {
@@ -6824,6 +6842,11 @@ exports.schemaDict = {
6824
6842
  ref: 'lex:app.bsky.feed.defs#skeletonFeedPost',
6825
6843
  },
6826
6844
  },
6845
+ reqId: {
6846
+ type: 'string',
6847
+ description: 'Unique identifier per request that may be passed back alongside interactions.',
6848
+ maxLength: 100,
6849
+ },
6827
6850
  },
6828
6851
  },
6829
6852
  },
@@ -7305,6 +7328,10 @@ exports.schemaDict = {
7305
7328
  type: 'string',
7306
7329
  format: 'datetime',
7307
7330
  },
7331
+ via: {
7332
+ type: 'ref',
7333
+ ref: 'lex:com.atproto.repo.strongRef',
7334
+ },
7308
7335
  },
7309
7336
  },
7310
7337
  },
@@ -7508,6 +7535,10 @@ exports.schemaDict = {
7508
7535
  type: 'string',
7509
7536
  format: 'datetime',
7510
7537
  },
7538
+ via: {
7539
+ type: 'ref',
7540
+ ref: 'lex:com.atproto.repo.strongRef',
7541
+ },
7511
7542
  },
7512
7543
  },
7513
7544
  },
@@ -7519,7 +7550,7 @@ exports.schemaDict = {
7519
7550
  defs: {
7520
7551
  main: {
7521
7552
  type: 'query',
7522
- description: 'Find posts matching search criteria, returning views of those posts.',
7553
+ description: 'Find posts matching search criteria, returning views of those posts. Note that this API endpoint may require authentication (eg, not public) for some service providers and implementations.',
7523
7554
  parameters: {
7524
7555
  type: 'params',
7525
7556
  required: ['q'],
@@ -9499,7 +9530,7 @@ exports.schemaDict = {
9499
9530
  },
9500
9531
  reason: {
9501
9532
  type: 'string',
9502
- description: "Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', 'starterpack-joined', 'verified', and 'unverified'.",
9533
+ description: 'The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.',
9503
9534
  knownValues: [
9504
9535
  'like',
9505
9536
  'repost',
@@ -9510,6 +9541,8 @@ exports.schemaDict = {
9510
9541
  'starterpack-joined',
9511
9542
  'verified',
9512
9543
  'unverified',
9544
+ 'like-via-repost',
9545
+ 'repost-via-repost',
9513
9546
  ],
9514
9547
  },
9515
9548
  reasonSubject: {