@atproto/api 0.32.2 → 0.32.3

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @atproto/api
2
2
 
3
+ ## 0.32.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#5947](https://github.com/bluesky-social/atproto/pull/5947) [`57ac20d`](https://github.com/bluesky-social/atproto/commit/57ac20d8f387707e66fc88cdf57ff88b76678331) Thanks [@foysalit](https://github.com/foysalit)! - Include current account and record status in moderation inbox report details.
8
+ - Updated dependencies [[`b9b1ca7`](https://github.com/bluesky-social/atproto/commit/b9b1ca7f176b93d12e39685799c5f2e1f9a63be7)]:
9
+ - @atproto/syntax@0.7.8
10
+ - @atproto/common-web@0.5.18
11
+ - @atproto/lexicon@0.7.20
12
+ - @atproto/xrpc@0.8.19
13
+
3
14
  ## 0.32.2
4
15
 
5
16
  ### Patch Changes
@@ -21726,6 +21726,16 @@ export declare const schemaDict: {
21726
21726
  readonly type: 'unknown';
21727
21727
  readonly description: 'Raw record JSON for the subject, when the subject is a record and the record is available.';
21728
21728
  };
21729
+ readonly accountStatus: {
21730
+ readonly type: 'ref';
21731
+ readonly ref: 'lex:tools.ozone.inbox.getReport#accountStatus';
21732
+ readonly description: "Current status of the reported account or record owner, independent of the report's resolution.";
21733
+ };
21734
+ readonly subjectStatus: {
21735
+ readonly type: 'ref';
21736
+ readonly ref: 'lex:tools.ozone.inbox.getReport#recordStatus';
21737
+ readonly description: 'Current status of a reported record, when known.';
21738
+ };
21729
21739
  readonly status: {
21730
21740
  readonly type: 'string';
21731
21741
  readonly knownValues: ["pending", "resolved"];
@@ -21740,6 +21750,36 @@ export declare const schemaDict: {
21740
21750
  };
21741
21751
  };
21742
21752
  };
21753
+ readonly accountStatus: {
21754
+ readonly type: 'object';
21755
+ readonly required: ["enforcement"];
21756
+ readonly properties: {
21757
+ readonly enforcement: {
21758
+ readonly type: 'string';
21759
+ readonly knownValues: ["none", "suspended", "takendown"];
21760
+ readonly description: 'Current enforcement by this moderation service.';
21761
+ };
21762
+ readonly hosting: {
21763
+ readonly type: 'string';
21764
+ readonly knownValues: ["active", "deleted", "deactivated", "suspended", "takendown"];
21765
+ readonly description: 'Last known account hosting state, omitted when unknown.';
21766
+ };
21767
+ };
21768
+ };
21769
+ readonly recordStatus: {
21770
+ readonly type: 'object';
21771
+ readonly required: ["takendown"];
21772
+ readonly properties: {
21773
+ readonly takendown: {
21774
+ readonly type: 'boolean';
21775
+ readonly description: 'Whether this moderation service has taken down the record.';
21776
+ };
21777
+ readonly deleted: {
21778
+ readonly type: 'boolean';
21779
+ readonly description: 'Whether the record has been deleted by its repository, omitted when unknown.';
21780
+ };
21781
+ };
21782
+ };
21743
21783
  readonly resolutionView: {
21744
21784
  readonly type: 'object';
21745
21785
  readonly required: ["outcome", "resolvedAt"];
@@ -50337,6 +50377,16 @@ export declare const schemas: ({
50337
50377
  readonly type: 'unknown';
50338
50378
  readonly description: 'Raw record JSON for the subject, when the subject is a record and the record is available.';
50339
50379
  };
50380
+ readonly accountStatus: {
50381
+ readonly type: 'ref';
50382
+ readonly ref: 'lex:tools.ozone.inbox.getReport#accountStatus';
50383
+ readonly description: "Current status of the reported account or record owner, independent of the report's resolution.";
50384
+ };
50385
+ readonly subjectStatus: {
50386
+ readonly type: 'ref';
50387
+ readonly ref: 'lex:tools.ozone.inbox.getReport#recordStatus';
50388
+ readonly description: 'Current status of a reported record, when known.';
50389
+ };
50340
50390
  readonly status: {
50341
50391
  readonly type: 'string';
50342
50392
  readonly knownValues: ["pending", "resolved"];
@@ -50351,6 +50401,36 @@ export declare const schemas: ({
50351
50401
  };
50352
50402
  };
50353
50403
  };
50404
+ readonly accountStatus: {
50405
+ readonly type: 'object';
50406
+ readonly required: ["enforcement"];
50407
+ readonly properties: {
50408
+ readonly enforcement: {
50409
+ readonly type: 'string';
50410
+ readonly knownValues: ["none", "suspended", "takendown"];
50411
+ readonly description: 'Current enforcement by this moderation service.';
50412
+ };
50413
+ readonly hosting: {
50414
+ readonly type: 'string';
50415
+ readonly knownValues: ["active", "deleted", "deactivated", "suspended", "takendown"];
50416
+ readonly description: 'Last known account hosting state, omitted when unknown.';
50417
+ };
50418
+ };
50419
+ };
50420
+ readonly recordStatus: {
50421
+ readonly type: 'object';
50422
+ readonly required: ["takendown"];
50423
+ readonly properties: {
50424
+ readonly takendown: {
50425
+ readonly type: 'boolean';
50426
+ readonly description: 'Whether this moderation service has taken down the record.';
50427
+ };
50428
+ readonly deleted: {
50429
+ readonly type: 'boolean';
50430
+ readonly description: 'Whether the record has been deleted by its repository, omitted when unknown.';
50431
+ };
50432
+ };
50433
+ };
50354
50434
  readonly resolutionView: {
50355
50435
  readonly type: 'object';
50356
50436
  readonly required: ["outcome", "resolvedAt"];