@atproto/api 0.28.0 → 0.29.0

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 (37) 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 +304 -10
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +155 -5
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/tools/ozone/moderation/defs.d.ts +2 -0
  11. package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  12. package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
  13. package/dist/client/types/tools/ozone/queue/createQueue.d.ts +5 -1
  14. package/dist/client/types/tools/ozone/queue/createQueue.d.ts.map +1 -1
  15. package/dist/client/types/tools/ozone/queue/createQueue.js.map +1 -1
  16. package/dist/client/types/tools/ozone/queue/defs.d.ts +5 -1
  17. package/dist/client/types/tools/ozone/queue/defs.d.ts.map +1 -1
  18. package/dist/client/types/tools/ozone/queue/defs.js.map +1 -1
  19. package/dist/client/types/tools/ozone/safelink/addRule.d.ts +5 -0
  20. package/dist/client/types/tools/ozone/safelink/addRule.d.ts.map +1 -1
  21. package/dist/client/types/tools/ozone/safelink/addRule.js +7 -0
  22. package/dist/client/types/tools/ozone/safelink/addRule.js.map +1 -1
  23. package/dist/client/types/tools/ozone/safelink/defs.d.ts +5 -1
  24. package/dist/client/types/tools/ozone/safelink/defs.d.ts.map +1 -1
  25. package/dist/client/types/tools/ozone/safelink/defs.js.map +1 -1
  26. package/dist/client/types/tools/ozone/safelink/removeRule.d.ts +2 -0
  27. package/dist/client/types/tools/ozone/safelink/removeRule.d.ts.map +1 -1
  28. package/dist/client/types/tools/ozone/safelink/removeRule.js.map +1 -1
  29. package/dist/client/types/tools/ozone/safelink/syncSource.d.ts +40 -0
  30. package/dist/client/types/tools/ozone/safelink/syncSource.d.ts.map +1 -0
  31. package/dist/client/types/tools/ozone/safelink/syncSource.js +21 -0
  32. package/dist/client/types/tools/ozone/safelink/syncSource.js.map +1 -0
  33. package/dist/client/types/tools/ozone/safelink/updateRule.d.ts +5 -0
  34. package/dist/client/types/tools/ozone/safelink/updateRule.d.ts.map +1 -1
  35. package/dist/client/types/tools/ozone/safelink/updateRule.js +7 -0
  36. package/dist/client/types/tools/ozone/safelink/updateRule.js.map +1 -1
  37. package/package.json +4 -4
@@ -21925,6 +21925,11 @@ export declare const schemaDict: {
21925
21925
  readonly type: 'integer';
21926
21926
  readonly description: "Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity.";
21927
21927
  };
21928
+ readonly strikeExpiresAt: {
21929
+ readonly type: 'string';
21930
+ readonly format: 'datetime';
21931
+ readonly description: 'When the strike should expire. If not provided, the strike never expires.';
21932
+ };
21928
21933
  };
21929
21934
  };
21930
21935
  readonly modEventResolveAppeal: {
@@ -24023,7 +24028,7 @@ export declare const schemaDict: {
24023
24028
  readonly defs: {
24024
24029
  readonly main: {
24025
24030
  readonly type: 'procedure';
24026
- readonly 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`.";
24031
+ readonly description: 'Create a new moderation queue. A queue with omitted or empty subjectTypes or reportTypes must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`.';
24027
24032
  readonly input: {
24028
24033
  readonly encoding: 'application/json';
24029
24034
  readonly schema: {
@@ -24045,16 +24050,33 @@ export declare const schemaDict: {
24045
24050
  readonly collection: {
24046
24051
  readonly type: 'string';
24047
24052
  readonly format: 'nsid';
24048
- readonly description: "Collection name for record subjects. Required if subjectTypes includes 'record'.";
24053
+ readonly description: 'Collection name for record subjects. Omit to accept every collection.';
24049
24054
  };
24050
24055
  readonly reportTypes: {
24051
24056
  readonly type: 'array';
24052
24057
  readonly items: {
24053
24058
  readonly type: 'string';
24054
24059
  };
24055
- readonly maxLength: 25;
24056
24060
  readonly description: 'Report reason types (fully qualified NSIDs)';
24057
24061
  };
24062
+ readonly reporterTags: {
24063
+ readonly type: 'array';
24064
+ readonly maxLength: 25;
24065
+ readonly items: {
24066
+ readonly type: 'string';
24067
+ readonly minLength: 1;
24068
+ };
24069
+ readonly description: 'Match any listed tag on the account submitting the report.';
24070
+ };
24071
+ readonly accountTags: {
24072
+ readonly type: 'array';
24073
+ readonly maxLength: 25;
24074
+ readonly items: {
24075
+ readonly type: 'string';
24076
+ readonly minLength: 1;
24077
+ };
24078
+ readonly description: 'Match any of these tags on the account that is being reported against.';
24079
+ };
24058
24080
  readonly description: {
24059
24081
  readonly type: 'string';
24060
24082
  readonly description: 'Optional description of the queue';
@@ -24126,7 +24148,7 @@ export declare const schemaDict: {
24126
24148
  readonly collection: {
24127
24149
  readonly type: 'string';
24128
24150
  readonly format: 'nsid';
24129
- readonly description: "Collection name for record subjects (e.g., 'app.bsky.feed.post')";
24151
+ readonly description: 'Collection name for record subjects. Omit to accept every collection.';
24130
24152
  };
24131
24153
  readonly reportTypes: {
24132
24154
  readonly type: 'array';
@@ -24135,6 +24157,24 @@ export declare const schemaDict: {
24135
24157
  };
24136
24158
  readonly description: 'Report reason types this queue accepts (fully qualified NSIDs)';
24137
24159
  };
24160
+ readonly reporterTags: {
24161
+ readonly type: 'array';
24162
+ readonly maxLength: 25;
24163
+ readonly items: {
24164
+ readonly type: 'string';
24165
+ readonly minLength: 1;
24166
+ };
24167
+ readonly description: 'Match any listed tag on the account submitting the report.';
24168
+ };
24169
+ readonly accountTags: {
24170
+ readonly type: 'array';
24171
+ readonly maxLength: 25;
24172
+ readonly items: {
24173
+ readonly type: 'string';
24174
+ readonly minLength: 1;
24175
+ };
24176
+ readonly description: 'Match tags on the account that is being reported against. For record subjects, use the author account. Match any listed tag.';
24177
+ };
24138
24178
  readonly description: {
24139
24179
  readonly type: 'string';
24140
24180
  readonly description: 'Optional description of the queue';
@@ -26125,6 +26165,12 @@ export declare const schemaDict: {
26125
26165
  readonly type: 'ref';
26126
26166
  readonly ref: 'lex:tools.ozone.safelink.defs#reasonType';
26127
26167
  };
26168
+ readonly source: {
26169
+ readonly type: 'string';
26170
+ readonly maxLength: 128;
26171
+ readonly default: 'ozone/default';
26172
+ readonly description: 'Source of the rule';
26173
+ };
26128
26174
  readonly comment: {
26129
26175
  readonly type: 'string';
26130
26176
  readonly description: 'Optional comment about the decision';
@@ -26150,6 +26196,9 @@ export declare const schemaDict: {
26150
26196
  }, {
26151
26197
  readonly name: 'RuleAlreadyExists';
26152
26198
  readonly description: 'A rule for this URL/domain already exists';
26199
+ }, {
26200
+ readonly name: 'RuleSourceConflict';
26201
+ readonly description: 'A rule for this URL/domain is owned by another source';
26153
26202
  }];
26154
26203
  };
26155
26204
  };
@@ -26187,6 +26236,11 @@ export declare const schemaDict: {
26187
26236
  readonly type: 'ref';
26188
26237
  readonly ref: 'lex:tools.ozone.safelink.defs#reasonType';
26189
26238
  };
26239
+ readonly source: {
26240
+ readonly type: 'string';
26241
+ readonly default: 'ozone/default';
26242
+ readonly description: 'Source of the decision';
26243
+ };
26190
26244
  readonly createdBy: {
26191
26245
  readonly type: 'string';
26192
26246
  readonly format: 'did';
@@ -26220,7 +26274,7 @@ export declare const schemaDict: {
26220
26274
  };
26221
26275
  readonly urlRule: {
26222
26276
  readonly type: 'object';
26223
- readonly description: 'Input for creating a URL safety rule';
26277
+ readonly description: 'An active URL safety rule';
26224
26278
  readonly required: ["url", "pattern", "action", "reason", "createdBy", "createdAt", "updatedAt"];
26225
26279
  readonly properties: {
26226
26280
  readonly url: {
@@ -26239,6 +26293,11 @@ export declare const schemaDict: {
26239
26293
  readonly type: 'ref';
26240
26294
  readonly ref: 'lex:tools.ozone.safelink.defs#reasonType';
26241
26295
  };
26296
+ readonly source: {
26297
+ readonly type: 'string';
26298
+ readonly default: 'ozone/default';
26299
+ readonly description: 'Source of the rule';
26300
+ };
26242
26301
  readonly comment: {
26243
26302
  readonly type: 'string';
26244
26303
  readonly description: 'Optional comment about the decision';
@@ -26431,6 +26490,12 @@ export declare const schemaDict: {
26431
26490
  readonly type: 'ref';
26432
26491
  readonly ref: 'lex:tools.ozone.safelink.defs#patternType';
26433
26492
  };
26493
+ readonly source: {
26494
+ readonly type: 'string';
26495
+ readonly maxLength: 128;
26496
+ readonly default: 'ozone/default';
26497
+ readonly description: 'Source of the rule to remove';
26498
+ };
26434
26499
  readonly comment: {
26435
26500
  readonly type: 'string';
26436
26501
  readonly description: 'Optional comment about why the rule is being removed';
@@ -26457,6 +26522,79 @@ export declare const schemaDict: {
26457
26522
  };
26458
26523
  };
26459
26524
  };
26525
+ readonly ToolsOzoneSafelinkSyncSource: {
26526
+ readonly lexicon: 1;
26527
+ readonly id: 'tools.ozone.safelink.syncSource';
26528
+ readonly defs: {
26529
+ readonly main: {
26530
+ readonly type: 'procedure';
26531
+ readonly description: 'Replace stored rules for one source from a complete snapshot. Existing rules owned by another source remain unchanged.';
26532
+ readonly input: {
26533
+ readonly encoding: 'application/json';
26534
+ readonly schema: {
26535
+ readonly type: 'object';
26536
+ readonly required: ["source", "rules"];
26537
+ readonly properties: {
26538
+ readonly source: {
26539
+ readonly type: 'string';
26540
+ readonly maxLength: 128;
26541
+ readonly description: 'Source whose rules are being synchronized';
26542
+ };
26543
+ readonly rules: {
26544
+ readonly type: 'array';
26545
+ readonly items: {
26546
+ readonly type: 'ref';
26547
+ readonly ref: 'lex:tools.ozone.safelink.syncSource#sourceRule';
26548
+ };
26549
+ };
26550
+ };
26551
+ };
26552
+ };
26553
+ readonly output: {
26554
+ readonly encoding: 'application/json';
26555
+ readonly schema: {
26556
+ readonly type: 'object';
26557
+ readonly required: ["added", "updated", "removed", "events"];
26558
+ readonly properties: {
26559
+ readonly added: {
26560
+ readonly type: 'integer';
26561
+ };
26562
+ readonly updated: {
26563
+ readonly type: 'integer';
26564
+ };
26565
+ readonly removed: {
26566
+ readonly type: 'integer';
26567
+ };
26568
+ readonly events: {
26569
+ readonly type: 'integer';
26570
+ };
26571
+ };
26572
+ };
26573
+ };
26574
+ };
26575
+ readonly sourceRule: {
26576
+ readonly type: 'object';
26577
+ readonly required: ["url", "pattern", "action", "reason"];
26578
+ readonly properties: {
26579
+ readonly url: {
26580
+ readonly type: 'string';
26581
+ };
26582
+ readonly pattern: {
26583
+ readonly type: 'ref';
26584
+ readonly ref: 'lex:tools.ozone.safelink.defs#patternType';
26585
+ };
26586
+ readonly action: {
26587
+ readonly type: 'ref';
26588
+ readonly ref: 'lex:tools.ozone.safelink.defs#actionType';
26589
+ };
26590
+ readonly reason: {
26591
+ readonly type: 'ref';
26592
+ readonly ref: 'lex:tools.ozone.safelink.defs#reasonType';
26593
+ };
26594
+ };
26595
+ };
26596
+ };
26597
+ };
26460
26598
  readonly ToolsOzoneSafelinkUpdateRule: {
26461
26599
  readonly lexicon: 1;
26462
26600
  readonly id: 'tools.ozone.safelink.updateRule';
@@ -26486,6 +26624,12 @@ export declare const schemaDict: {
26486
26624
  readonly type: 'ref';
26487
26625
  readonly ref: 'lex:tools.ozone.safelink.defs#reasonType';
26488
26626
  };
26627
+ readonly source: {
26628
+ readonly type: 'string';
26629
+ readonly maxLength: 128;
26630
+ readonly default: 'ozone/default';
26631
+ readonly description: 'Source of the rule to update';
26632
+ };
26489
26633
  readonly comment: {
26490
26634
  readonly type: 'string';
26491
26635
  readonly description: 'Optional comment about the update';
@@ -26508,6 +26652,9 @@ export declare const schemaDict: {
26508
26652
  readonly errors: [{
26509
26653
  readonly name: 'RuleNotFound';
26510
26654
  readonly description: 'No active rule found for this URL/domain';
26655
+ }, {
26656
+ readonly name: 'RuleSourceConflict';
26657
+ readonly description: 'A rule for this URL/domain is owned by another source';
26511
26658
  }];
26512
26659
  };
26513
26660
  };
@@ -49399,6 +49546,11 @@ export declare const schemas: ({
49399
49546
  readonly type: 'integer';
49400
49547
  readonly description: "Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity.";
49401
49548
  };
49549
+ readonly strikeExpiresAt: {
49550
+ readonly type: 'string';
49551
+ readonly format: 'datetime';
49552
+ readonly description: 'When the strike should expire. If not provided, the strike never expires.';
49553
+ };
49402
49554
  };
49403
49555
  };
49404
49556
  readonly modEventResolveAppeal: {
@@ -51480,7 +51632,7 @@ export declare const schemas: ({
51480
51632
  readonly defs: {
51481
51633
  readonly main: {
51482
51634
  readonly type: 'procedure';
51483
- readonly 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`.";
51635
+ readonly description: 'Create a new moderation queue. A queue with omitted or empty subjectTypes or reportTypes must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`.';
51484
51636
  readonly input: {
51485
51637
  readonly encoding: 'application/json';
51486
51638
  readonly schema: {
@@ -51502,16 +51654,33 @@ export declare const schemas: ({
51502
51654
  readonly collection: {
51503
51655
  readonly type: 'string';
51504
51656
  readonly format: 'nsid';
51505
- readonly description: "Collection name for record subjects. Required if subjectTypes includes 'record'.";
51657
+ readonly description: 'Collection name for record subjects. Omit to accept every collection.';
51506
51658
  };
51507
51659
  readonly reportTypes: {
51508
51660
  readonly type: 'array';
51509
51661
  readonly items: {
51510
51662
  readonly type: 'string';
51511
51663
  };
51512
- readonly maxLength: 25;
51513
51664
  readonly description: 'Report reason types (fully qualified NSIDs)';
51514
51665
  };
51666
+ readonly reporterTags: {
51667
+ readonly type: 'array';
51668
+ readonly maxLength: 25;
51669
+ readonly items: {
51670
+ readonly type: 'string';
51671
+ readonly minLength: 1;
51672
+ };
51673
+ readonly description: 'Match any listed tag on the account submitting the report.';
51674
+ };
51675
+ readonly accountTags: {
51676
+ readonly type: 'array';
51677
+ readonly maxLength: 25;
51678
+ readonly items: {
51679
+ readonly type: 'string';
51680
+ readonly minLength: 1;
51681
+ };
51682
+ readonly description: 'Match any of these tags on the account that is being reported against.';
51683
+ };
51515
51684
  readonly description: {
51516
51685
  readonly type: 'string';
51517
51686
  readonly description: 'Optional description of the queue';
@@ -51582,7 +51751,7 @@ export declare const schemas: ({
51582
51751
  readonly collection: {
51583
51752
  readonly type: 'string';
51584
51753
  readonly format: 'nsid';
51585
- readonly description: "Collection name for record subjects (e.g., 'app.bsky.feed.post')";
51754
+ readonly description: 'Collection name for record subjects. Omit to accept every collection.';
51586
51755
  };
51587
51756
  readonly reportTypes: {
51588
51757
  readonly type: 'array';
@@ -51591,6 +51760,24 @@ export declare const schemas: ({
51591
51760
  };
51592
51761
  readonly description: 'Report reason types this queue accepts (fully qualified NSIDs)';
51593
51762
  };
51763
+ readonly reporterTags: {
51764
+ readonly type: 'array';
51765
+ readonly maxLength: 25;
51766
+ readonly items: {
51767
+ readonly type: 'string';
51768
+ readonly minLength: 1;
51769
+ };
51770
+ readonly description: 'Match any listed tag on the account submitting the report.';
51771
+ };
51772
+ readonly accountTags: {
51773
+ readonly type: 'array';
51774
+ readonly maxLength: 25;
51775
+ readonly items: {
51776
+ readonly type: 'string';
51777
+ readonly minLength: 1;
51778
+ };
51779
+ readonly description: 'Match tags on the account that is being reported against. For record subjects, use the author account. Match any listed tag.';
51780
+ };
51594
51781
  readonly description: {
51595
51782
  readonly type: 'string';
51596
51783
  readonly description: 'Optional description of the queue';
@@ -53559,6 +53746,12 @@ export declare const schemas: ({
53559
53746
  readonly type: 'ref';
53560
53747
  readonly ref: 'lex:tools.ozone.safelink.defs#reasonType';
53561
53748
  };
53749
+ readonly source: {
53750
+ readonly type: 'string';
53751
+ readonly maxLength: 128;
53752
+ readonly default: 'ozone/default';
53753
+ readonly description: 'Source of the rule';
53754
+ };
53562
53755
  readonly comment: {
53563
53756
  readonly type: 'string';
53564
53757
  readonly description: 'Optional comment about the decision';
@@ -53584,6 +53777,9 @@ export declare const schemas: ({
53584
53777
  }, {
53585
53778
  readonly name: 'RuleAlreadyExists';
53586
53779
  readonly description: 'A rule for this URL/domain already exists';
53780
+ }, {
53781
+ readonly name: 'RuleSourceConflict';
53782
+ readonly description: 'A rule for this URL/domain is owned by another source';
53587
53783
  }];
53588
53784
  };
53589
53785
  };
@@ -53620,6 +53816,11 @@ export declare const schemas: ({
53620
53816
  readonly type: 'ref';
53621
53817
  readonly ref: 'lex:tools.ozone.safelink.defs#reasonType';
53622
53818
  };
53819
+ readonly source: {
53820
+ readonly type: 'string';
53821
+ readonly default: 'ozone/default';
53822
+ readonly description: 'Source of the decision';
53823
+ };
53623
53824
  readonly createdBy: {
53624
53825
  readonly type: 'string';
53625
53826
  readonly format: 'did';
@@ -53653,7 +53854,7 @@ export declare const schemas: ({
53653
53854
  };
53654
53855
  readonly urlRule: {
53655
53856
  readonly type: 'object';
53656
- readonly description: 'Input for creating a URL safety rule';
53857
+ readonly description: 'An active URL safety rule';
53657
53858
  readonly required: ["url", "pattern", "action", "reason", "createdBy", "createdAt", "updatedAt"];
53658
53859
  readonly properties: {
53659
53860
  readonly url: {
@@ -53672,6 +53873,11 @@ export declare const schemas: ({
53672
53873
  readonly type: 'ref';
53673
53874
  readonly ref: 'lex:tools.ozone.safelink.defs#reasonType';
53674
53875
  };
53876
+ readonly source: {
53877
+ readonly type: 'string';
53878
+ readonly default: 'ozone/default';
53879
+ readonly description: 'Source of the rule';
53880
+ };
53675
53881
  readonly comment: {
53676
53882
  readonly type: 'string';
53677
53883
  readonly description: 'Optional comment about the decision';
@@ -53861,6 +54067,12 @@ export declare const schemas: ({
53861
54067
  readonly type: 'ref';
53862
54068
  readonly ref: 'lex:tools.ozone.safelink.defs#patternType';
53863
54069
  };
54070
+ readonly source: {
54071
+ readonly type: 'string';
54072
+ readonly maxLength: 128;
54073
+ readonly default: 'ozone/default';
54074
+ readonly description: 'Source of the rule to remove';
54075
+ };
53864
54076
  readonly comment: {
53865
54077
  readonly type: 'string';
53866
54078
  readonly description: 'Optional comment about why the rule is being removed';
@@ -53886,6 +54098,78 @@ export declare const schemas: ({
53886
54098
  }];
53887
54099
  };
53888
54100
  };
54101
+ } | {
54102
+ readonly lexicon: 1;
54103
+ readonly id: 'tools.ozone.safelink.syncSource';
54104
+ readonly defs: {
54105
+ readonly main: {
54106
+ readonly type: 'procedure';
54107
+ readonly description: 'Replace stored rules for one source from a complete snapshot. Existing rules owned by another source remain unchanged.';
54108
+ readonly input: {
54109
+ readonly encoding: 'application/json';
54110
+ readonly schema: {
54111
+ readonly type: 'object';
54112
+ readonly required: ["source", "rules"];
54113
+ readonly properties: {
54114
+ readonly source: {
54115
+ readonly type: 'string';
54116
+ readonly maxLength: 128;
54117
+ readonly description: 'Source whose rules are being synchronized';
54118
+ };
54119
+ readonly rules: {
54120
+ readonly type: 'array';
54121
+ readonly items: {
54122
+ readonly type: 'ref';
54123
+ readonly ref: 'lex:tools.ozone.safelink.syncSource#sourceRule';
54124
+ };
54125
+ };
54126
+ };
54127
+ };
54128
+ };
54129
+ readonly output: {
54130
+ readonly encoding: 'application/json';
54131
+ readonly schema: {
54132
+ readonly type: 'object';
54133
+ readonly required: ["added", "updated", "removed", "events"];
54134
+ readonly properties: {
54135
+ readonly added: {
54136
+ readonly type: 'integer';
54137
+ };
54138
+ readonly updated: {
54139
+ readonly type: 'integer';
54140
+ };
54141
+ readonly removed: {
54142
+ readonly type: 'integer';
54143
+ };
54144
+ readonly events: {
54145
+ readonly type: 'integer';
54146
+ };
54147
+ };
54148
+ };
54149
+ };
54150
+ };
54151
+ readonly sourceRule: {
54152
+ readonly type: 'object';
54153
+ readonly required: ["url", "pattern", "action", "reason"];
54154
+ readonly properties: {
54155
+ readonly url: {
54156
+ readonly type: 'string';
54157
+ };
54158
+ readonly pattern: {
54159
+ readonly type: 'ref';
54160
+ readonly ref: 'lex:tools.ozone.safelink.defs#patternType';
54161
+ };
54162
+ readonly action: {
54163
+ readonly type: 'ref';
54164
+ readonly ref: 'lex:tools.ozone.safelink.defs#actionType';
54165
+ };
54166
+ readonly reason: {
54167
+ readonly type: 'ref';
54168
+ readonly ref: 'lex:tools.ozone.safelink.defs#reasonType';
54169
+ };
54170
+ };
54171
+ };
54172
+ };
53889
54173
  } | {
53890
54174
  readonly lexicon: 1;
53891
54175
  readonly id: 'tools.ozone.safelink.updateRule';
@@ -53915,6 +54199,12 @@ export declare const schemas: ({
53915
54199
  readonly type: 'ref';
53916
54200
  readonly ref: 'lex:tools.ozone.safelink.defs#reasonType';
53917
54201
  };
54202
+ readonly source: {
54203
+ readonly type: 'string';
54204
+ readonly maxLength: 128;
54205
+ readonly default: 'ozone/default';
54206
+ readonly description: 'Source of the rule to update';
54207
+ };
53918
54208
  readonly comment: {
53919
54209
  readonly type: 'string';
53920
54210
  readonly description: 'Optional comment about the update';
@@ -53937,6 +54227,9 @@ export declare const schemas: ({
53937
54227
  readonly errors: [{
53938
54228
  readonly name: 'RuleNotFound';
53939
54229
  readonly description: 'No active rule found for this URL/domain';
54230
+ }, {
54231
+ readonly name: 'RuleSourceConflict';
54232
+ readonly description: 'A rule for this URL/domain is owned by another source';
53940
54233
  }];
53941
54234
  };
53942
54235
  };
@@ -55596,6 +55889,7 @@ export declare const ids: {
55596
55889
  readonly ToolsOzoneSafelinkQueryEvents: 'tools.ozone.safelink.queryEvents';
55597
55890
  readonly ToolsOzoneSafelinkQueryRules: 'tools.ozone.safelink.queryRules';
55598
55891
  readonly ToolsOzoneSafelinkRemoveRule: 'tools.ozone.safelink.removeRule';
55892
+ readonly ToolsOzoneSafelinkSyncSource: 'tools.ozone.safelink.syncSource';
55599
55893
  readonly ToolsOzoneSafelinkUpdateRule: 'tools.ozone.safelink.updateRule';
55600
55894
  readonly ToolsOzoneServerGetCapabilities: 'tools.ozone.server.getCapabilities';
55601
55895
  readonly ToolsOzoneServerGetConfig: 'tools.ozone.server.getConfig';