@atproto/api 0.20.28 → 0.20.30

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 (29) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/client/index.d.ts +3 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +5 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +130 -24
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +65 -13
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/graph/searchStarterPacksV2.d.ts +29 -0
  11. package/dist/client/types/app/bsky/graph/searchStarterPacksV2.d.ts.map +1 -0
  12. package/dist/client/types/app/bsky/graph/searchStarterPacksV2.js +14 -0
  13. package/dist/client/types/app/bsky/graph/searchStarterPacksV2.js.map +1 -0
  14. package/dist/client/types/tools/ozone/queue/createQueue.d.ts +2 -2
  15. package/dist/client/types/tools/ozone/queue/createQueue.d.ts.map +1 -1
  16. package/dist/client/types/tools/ozone/queue/createQueue.js.map +1 -1
  17. package/dist/client/types/tools/ozone/queue/defs.d.ts +2 -2
  18. package/dist/client/types/tools/ozone/queue/defs.d.ts.map +1 -1
  19. package/dist/client/types/tools/ozone/queue/defs.js.map +1 -1
  20. package/dist/client/types/tools/ozone/queue/listQueues.d.ts +1 -1
  21. package/dist/client/types/tools/ozone/queue/listQueues.d.ts.map +1 -1
  22. package/dist/client/types/tools/ozone/queue/listQueues.js.map +1 -1
  23. package/dist/client/types/tools/ozone/report/defs.d.ts +2 -0
  24. package/dist/client/types/tools/ozone/report/defs.d.ts.map +1 -1
  25. package/dist/client/types/tools/ozone/report/defs.js.map +1 -1
  26. package/dist/client/types/tools/ozone/report/queryReports.d.ts +2 -2
  27. package/dist/client/types/tools/ozone/report/queryReports.d.ts.map +1 -1
  28. package/dist/client/types/tools/ozone/report/queryReports.js.map +1 -1
  29. package/package.json +3 -3
@@ -6824,6 +6824,58 @@ export const schemaDict = {
6824
6824
  },
6825
6825
  },
6826
6826
  },
6827
+ AppBskyGraphSearchStarterPacksV2: {
6828
+ lexicon: 1,
6829
+ id: 'app.bsky.graph.searchStarterPacksV2',
6830
+ defs: {
6831
+ main: {
6832
+ type: 'query',
6833
+ description: 'Find starter packs matching search criteria. Does not require auth.',
6834
+ parameters: {
6835
+ type: 'params',
6836
+ required: ['q'],
6837
+ properties: {
6838
+ q: {
6839
+ type: 'string',
6840
+ description: 'Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
6841
+ },
6842
+ limit: {
6843
+ type: 'integer',
6844
+ minimum: 1,
6845
+ maximum: 100,
6846
+ default: 25,
6847
+ },
6848
+ cursor: {
6849
+ type: 'string',
6850
+ },
6851
+ },
6852
+ },
6853
+ output: {
6854
+ encoding: 'application/json',
6855
+ schema: {
6856
+ type: 'object',
6857
+ required: ['starterPacks'],
6858
+ properties: {
6859
+ cursor: {
6860
+ type: 'string',
6861
+ },
6862
+ hitsTotal: {
6863
+ type: 'integer',
6864
+ description: 'Estimated total number of matching hits. May be rounded or truncated.',
6865
+ },
6866
+ starterPacks: {
6867
+ type: 'array',
6868
+ items: {
6869
+ type: 'ref',
6870
+ ref: 'lex:app.bsky.graph.defs#starterPackView',
6871
+ },
6872
+ },
6873
+ },
6874
+ },
6875
+ },
6876
+ },
6877
+ },
6878
+ },
6827
6879
  AppBskyGraphStarterpack: {
6828
6880
  lexicon: 1,
6829
6881
  id: 'app.bsky.graph.starterpack',
@@ -22178,12 +22230,12 @@ export const schemaDict = {
22178
22230
  defs: {
22179
22231
  main: {
22180
22232
  type: 'procedure',
22181
- description: 'Create a new moderation queue. Will fail if the queue configuration conflicts with an existing queue.',
22233
+ description: "Create a new moderation queue. A queue can have optional matching criteria that ozone's queue router will use to match reports. A queue with no criteria must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`.",
22182
22234
  input: {
22183
22235
  encoding: 'application/json',
22184
22236
  schema: {
22185
22237
  type: 'object',
22186
- required: ['name', 'subjectTypes', 'reportTypes'],
22238
+ required: ['name'],
22187
22239
  properties: {
22188
22240
  name: {
22189
22241
  type: 'string',
@@ -22191,10 +22243,9 @@ export const schemaDict = {
22191
22243
  },
22192
22244
  subjectTypes: {
22193
22245
  type: 'array',
22194
- minLength: 1,
22195
22246
  items: {
22196
22247
  type: 'string',
22197
- knownValues: ['account', 'record', 'message'],
22248
+ knownValues: ['account', 'record', 'message', 'conversation'],
22198
22249
  },
22199
22250
  description: 'Subject types this queue accepts',
22200
22251
  },
@@ -22208,7 +22259,6 @@ export const schemaDict = {
22208
22259
  items: {
22209
22260
  type: 'string',
22210
22261
  },
22211
- minLength: 1,
22212
22262
  maxLength: 25,
22213
22263
  description: 'Report reason types (fully qualified NSIDs)',
22214
22264
  },
@@ -22250,8 +22300,6 @@ export const schemaDict = {
22250
22300
  required: [
22251
22301
  'id',
22252
22302
  'name',
22253
- 'subjectTypes',
22254
- 'reportTypes',
22255
22303
  'createdBy',
22256
22304
  'createdAt',
22257
22305
  'updatedAt',
@@ -22269,10 +22317,9 @@ export const schemaDict = {
22269
22317
  },
22270
22318
  subjectTypes: {
22271
22319
  type: 'array',
22272
- minLength: 1,
22273
22320
  items: {
22274
22321
  type: 'string',
22275
- knownValues: ['account', 'record', 'message'],
22322
+ knownValues: ['account', 'record', 'message', 'conversation'],
22276
22323
  },
22277
22324
  description: 'Subject types this queue accepts.',
22278
22325
  },
@@ -22286,7 +22333,6 @@ export const schemaDict = {
22286
22333
  items: {
22287
22334
  type: 'string',
22288
22335
  },
22289
- minLength: 1,
22290
22336
  description: 'Report reason types this queue accepts (fully qualified NSIDs)',
22291
22337
  },
22292
22338
  description: {
@@ -22511,7 +22557,7 @@ export const schemaDict = {
22511
22557
  },
22512
22558
  subjectType: {
22513
22559
  type: 'string',
22514
- description: "Filter queues that handle this subject type ('account' or 'record').",
22560
+ description: "Filter queues that handle this subject type ('account', 'record', 'message', or 'conversation').",
22515
22561
  },
22516
22562
  collection: {
22517
22563
  type: 'string',
@@ -23156,6 +23202,11 @@ export const schemaDict = {
23156
23202
  type: 'boolean',
23157
23203
  description: 'Whether this report is muted. A report is muted if the reporter was muted or the subject was muted at the time the report was created.',
23158
23204
  },
23205
+ isAutomated: {
23206
+ type: 'boolean',
23207
+ default: false,
23208
+ description: 'Whether this report was emitted by automated tooling.',
23209
+ },
23159
23210
  },
23160
23211
  },
23161
23212
  queueActivity: {
@@ -23804,8 +23855,8 @@ export const schemaDict = {
23804
23855
  },
23805
23856
  subjectType: {
23806
23857
  type: 'string',
23807
- description: 'If specified, reports of the given type (account or record) will be returned.',
23808
- knownValues: ['account', 'record'],
23858
+ description: 'If specified, reports of the given subject type will be returned.',
23859
+ knownValues: ['account', 'record', 'message', 'conversation'],
23809
23860
  },
23810
23861
  collections: {
23811
23862
  type: 'array',
@@ -25890,6 +25941,7 @@ export const ids = {
25890
25941
  AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList',
25891
25942
  AppBskyGraphMuteThread: 'app.bsky.graph.muteThread',
25892
25943
  AppBskyGraphSearchStarterPacks: 'app.bsky.graph.searchStarterPacks',
25944
+ AppBskyGraphSearchStarterPacksV2: 'app.bsky.graph.searchStarterPacksV2',
25893
25945
  AppBskyGraphStarterpack: 'app.bsky.graph.starterpack',
25894
25946
  AppBskyGraphUnmuteActor: 'app.bsky.graph.unmuteActor',
25895
25947
  AppBskyGraphUnmuteActorList: 'app.bsky.graph.unmuteActorList',