@atproto/api 0.20.33 → 0.20.35

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 (26) hide show
  1. package/CHANGELOG.md +18 -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 +164 -6
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +89 -3
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/notification/listNotifications.d.ts +2 -0
  11. package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/notification/listNotifications.js.map +1 -1
  13. package/dist/client/types/app/bsky/video/defs.d.ts +2 -0
  14. package/dist/client/types/app/bsky/video/defs.d.ts.map +1 -1
  15. package/dist/client/types/app/bsky/video/defs.js.map +1 -1
  16. package/dist/client/types/com/atproto/server/describeServer.d.ts +2 -0
  17. package/dist/client/types/com/atproto/server/describeServer.d.ts.map +1 -1
  18. package/dist/client/types/com/atproto/server/describeServer.js.map +1 -1
  19. package/dist/client/types/tools/ozone/report/closeReports.d.ts +34 -0
  20. package/dist/client/types/tools/ozone/report/closeReports.d.ts.map +1 -0
  21. package/dist/client/types/tools/ozone/report/closeReports.js +14 -0
  22. package/dist/client/types/tools/ozone/report/closeReports.js.map +1 -0
  23. package/dist/client/types/tools/ozone/report/createActivity.d.ts +4 -2
  24. package/dist/client/types/tools/ozone/report/createActivity.d.ts.map +1 -1
  25. package/dist/client/types/tools/ozone/report/createActivity.js.map +1 -1
  26. package/package.json +4 -4
@@ -2229,6 +2229,7 @@ export const schemaDict = {
2229
2229
  properties: {
2230
2230
  id: {
2231
2231
  type: 'string',
2232
+ format: 'tid',
2232
2233
  description: 'The ID of the created draft.',
2233
2234
  },
2234
2235
  },
@@ -7689,6 +7690,11 @@ export const schemaDict = {
7689
7690
  record: {
7690
7691
  type: 'unknown',
7691
7692
  },
7693
+ starterPack: {
7694
+ description: 'The starter pack associated with this notification. Present when the notification is for a follow originating from a starter pack.',
7695
+ type: 'ref',
7696
+ ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
7697
+ },
7692
7698
  isRead: {
7693
7699
  type: 'boolean',
7694
7700
  },
@@ -9834,6 +9840,17 @@ export const schemaDict = {
9834
9840
  error: {
9835
9841
  type: 'string',
9836
9842
  },
9843
+ failureCode: {
9844
+ type: 'string',
9845
+ description: 'A machine-readable code for why the video processing job failed.',
9846
+ knownValues: [
9847
+ 'validation_failure',
9848
+ 'encoding_failure',
9849
+ 'pds_upload_failure',
9850
+ 'pds_upload_unsupported_blob_size',
9851
+ 'generic_failure',
9852
+ ],
9853
+ },
9837
9854
  message: {
9838
9855
  type: 'string',
9839
9856
  },
@@ -17320,6 +17337,10 @@ export const schemaDict = {
17320
17337
  type: 'boolean',
17321
17338
  description: 'If true, a phone verification token must be supplied to create an account on this instance.',
17322
17339
  },
17340
+ blobUploadLimit: {
17341
+ type: 'integer',
17342
+ description: 'Maximum size of a blob that can be uploaded via com.atproto.repo.uploadBlob, in bytes.',
17343
+ },
17323
17344
  availableUserDomains: {
17324
17345
  type: 'array',
17325
17346
  description: 'List of domain suffixes that can be used in account handles.',
@@ -22819,6 +22840,66 @@ export const schemaDict = {
22819
22840
  },
22820
22841
  },
22821
22842
  },
22843
+ ToolsOzoneReportCloseReports: {
22844
+ lexicon: 1,
22845
+ id: 'tools.ozone.report.closeReports',
22846
+ defs: {
22847
+ main: {
22848
+ type: 'procedure',
22849
+ description: 'Close all reports on a subject matching the given criteria. Reports whose current status does not permit a transition to closed are skipped silently. Intended for automated flows that resolve reports without taking action on the subject.',
22850
+ input: {
22851
+ encoding: 'application/json',
22852
+ schema: {
22853
+ type: 'object',
22854
+ required: ['subject'],
22855
+ properties: {
22856
+ subject: {
22857
+ type: 'string',
22858
+ format: 'uri',
22859
+ description: 'Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.',
22860
+ },
22861
+ reportTypes: {
22862
+ type: 'array',
22863
+ items: {
22864
+ type: 'string',
22865
+ },
22866
+ description: 'If specified, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted, all non-closed reports on the subject are targeted.',
22867
+ },
22868
+ internalNote: {
22869
+ type: 'string',
22870
+ description: 'Optional moderator-only note recorded on each close activity. Not visible to reporters.',
22871
+ },
22872
+ isAutomated: {
22873
+ type: 'boolean',
22874
+ description: 'Set true when this action is triggered by an automated process. Defaults to false.',
22875
+ default: false,
22876
+ },
22877
+ },
22878
+ },
22879
+ },
22880
+ output: {
22881
+ encoding: 'application/json',
22882
+ schema: {
22883
+ type: 'object',
22884
+ required: ['closedCount', 'reportIds'],
22885
+ properties: {
22886
+ closedCount: {
22887
+ type: 'integer',
22888
+ description: 'Number of reports that were transitioned to closed.',
22889
+ },
22890
+ reportIds: {
22891
+ type: 'array',
22892
+ items: {
22893
+ type: 'integer',
22894
+ },
22895
+ description: 'IDs of the reports that were closed.',
22896
+ },
22897
+ },
22898
+ },
22899
+ },
22900
+ },
22901
+ },
22902
+ },
22822
22903
  ToolsOzoneReportCreateActivity: {
22823
22904
  lexicon: 1,
22824
22905
  id: 'tools.ozone.report.createActivity',
@@ -22830,11 +22911,15 @@ export const schemaDict = {
22830
22911
  encoding: 'application/json',
22831
22912
  schema: {
22832
22913
  type: 'object',
22833
- required: ['reportId', 'activity'],
22914
+ required: ['activity'],
22834
22915
  properties: {
22835
22916
  reportId: {
22836
22917
  type: 'integer',
22837
- description: 'ID of the report to record activity on',
22918
+ description: 'ID of the report to record activity on. Exactly one of reportId or eventId must be provided.',
22919
+ },
22920
+ eventId: {
22921
+ type: 'integer',
22922
+ description: 'ID of the report moderation event. Resolves to the report created from that event. Exactly one of reportId or eventId must be provided.',
22838
22923
  },
22839
22924
  activity: {
22840
22925
  type: 'union',
@@ -22880,7 +22965,7 @@ export const schemaDict = {
22880
22965
  errors: [
22881
22966
  {
22882
22967
  name: 'ReportNotFound',
22883
- description: 'No report exists with the given reportId',
22968
+ description: 'No report exists with the given reportId or eventId',
22884
22969
  },
22885
22970
  {
22886
22971
  name: 'InvalidStateTransition',
@@ -26213,6 +26298,7 @@ export const ids = {
26213
26298
  ToolsOzoneQueueUnassignModerator: 'tools.ozone.queue.unassignModerator',
26214
26299
  ToolsOzoneQueueUpdateQueue: 'tools.ozone.queue.updateQueue',
26215
26300
  ToolsOzoneReportAssignModerator: 'tools.ozone.report.assignModerator',
26301
+ ToolsOzoneReportCloseReports: 'tools.ozone.report.closeReports',
26216
26302
  ToolsOzoneReportCreateActivity: 'tools.ozone.report.createActivity',
26217
26303
  ToolsOzoneReportDefs: 'tools.ozone.report.defs',
26218
26304
  ToolsOzoneReportGetAssignments: 'tools.ozone.report.getAssignments',