@atproto/api 0.13.14 → 0.13.16
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 +29 -0
- package/dist/agent.d.ts +2 -2
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +15 -9
- package/dist/agent.js.map +1 -1
- package/dist/client/index.d.ts +15 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +34 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +362 -1
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +406 -5
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts +1 -0
- package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.d.ts +60 -4
- package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.js +50 -0
- package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +10 -0
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
- package/dist/client/types/tools/ozone/setting/defs.d.ts +20 -0
- package/dist/client/types/tools/ozone/setting/defs.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/setting/defs.js +15 -0
- package/dist/client/types/tools/ozone/setting/defs.js.map +1 -0
- package/dist/client/types/tools/ozone/setting/listOptions.d.ts +31 -0
- package/dist/client/types/tools/ozone/setting/listOptions.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/setting/listOptions.js +7 -0
- package/dist/client/types/tools/ozone/setting/listOptions.js.map +1 -0
- package/dist/client/types/tools/ozone/setting/removeOptions.d.ts +27 -0
- package/dist/client/types/tools/ozone/setting/removeOptions.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/setting/removeOptions.js +7 -0
- package/dist/client/types/tools/ozone/setting/removeOptions.js.map +1 -0
- package/dist/client/types/tools/ozone/setting/upsertOption.d.ts +32 -0
- package/dist/client/types/tools/ozone/setting/upsertOption.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/setting/upsertOption.js +7 -0
- package/dist/client/types/tools/ozone/setting/upsertOption.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/rich-text/rich-text.d.ts.map +1 -1
- package/dist/rich-text/rich-text.js +11 -4
- package/dist/rich-text/rich-text.js.map +1 -1
- package/package.json +5 -5
- package/src/agent.ts +19 -4
- package/src/client/index.ts +54 -0
- package/src/client/lexicons.ts +417 -5
- package/src/client/types/chat/bsky/convo/defs.ts +1 -0
- package/src/client/types/tools/ozone/moderation/defs.ts +132 -2
- package/src/client/types/tools/ozone/moderation/emitEvent.ts +3 -0
- package/src/client/types/tools/ozone/moderation/queryStatuses.ts +10 -0
- package/src/client/types/tools/ozone/setting/defs.ts +37 -0
- package/src/client/types/tools/ozone/setting/listOptions.ts +42 -0
- package/src/client/types/tools/ozone/setting/removeOptions.ts +37 -0
- package/src/client/types/tools/ozone/setting/upsertOption.ts +46 -0
- package/src/index.ts +1 -0
- package/src/rich-text/rich-text.ts +17 -7
- package/tests/rich-text.test.ts +44 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/client/lexicons.js
CHANGED
|
@@ -1300,7 +1300,7 @@ exports.schemaDict = {
|
|
|
1300
1300
|
},
|
|
1301
1301
|
rkey: {
|
|
1302
1302
|
type: 'string',
|
|
1303
|
-
maxLength:
|
|
1303
|
+
maxLength: 512,
|
|
1304
1304
|
},
|
|
1305
1305
|
value: {
|
|
1306
1306
|
type: 'unknown',
|
|
@@ -1407,7 +1407,7 @@ exports.schemaDict = {
|
|
|
1407
1407
|
rkey: {
|
|
1408
1408
|
type: 'string',
|
|
1409
1409
|
description: 'The Record Key.',
|
|
1410
|
-
maxLength:
|
|
1410
|
+
maxLength: 512,
|
|
1411
1411
|
},
|
|
1412
1412
|
validate: {
|
|
1413
1413
|
type: 'boolean',
|
|
@@ -1839,7 +1839,7 @@ exports.schemaDict = {
|
|
|
1839
1839
|
rkey: {
|
|
1840
1840
|
type: 'string',
|
|
1841
1841
|
description: 'The Record Key.',
|
|
1842
|
-
maxLength:
|
|
1842
|
+
maxLength: 512,
|
|
1843
1843
|
},
|
|
1844
1844
|
validate: {
|
|
1845
1845
|
type: 'boolean',
|
|
@@ -9601,6 +9601,9 @@ exports.schemaDict = {
|
|
|
9601
9601
|
muted: {
|
|
9602
9602
|
type: 'boolean',
|
|
9603
9603
|
},
|
|
9604
|
+
opened: {
|
|
9605
|
+
type: 'boolean',
|
|
9606
|
+
},
|
|
9604
9607
|
unreadCount: {
|
|
9605
9608
|
type: 'integer',
|
|
9606
9609
|
},
|
|
@@ -10523,6 +10526,9 @@ exports.schemaDict = {
|
|
|
10523
10526
|
'lex:tools.ozone.moderation.defs#modEventResolveAppeal',
|
|
10524
10527
|
'lex:tools.ozone.moderation.defs#modEventDivert',
|
|
10525
10528
|
'lex:tools.ozone.moderation.defs#modEventTag',
|
|
10529
|
+
'lex:tools.ozone.moderation.defs#accountEvent',
|
|
10530
|
+
'lex:tools.ozone.moderation.defs#identityEvent',
|
|
10531
|
+
'lex:tools.ozone.moderation.defs#recordEvent',
|
|
10526
10532
|
],
|
|
10527
10533
|
},
|
|
10528
10534
|
subject: {
|
|
@@ -10587,6 +10593,9 @@ exports.schemaDict = {
|
|
|
10587
10593
|
'lex:tools.ozone.moderation.defs#modEventResolveAppeal',
|
|
10588
10594
|
'lex:tools.ozone.moderation.defs#modEventDivert',
|
|
10589
10595
|
'lex:tools.ozone.moderation.defs#modEventTag',
|
|
10596
|
+
'lex:tools.ozone.moderation.defs#accountEvent',
|
|
10597
|
+
'lex:tools.ozone.moderation.defs#identityEvent',
|
|
10598
|
+
'lex:tools.ozone.moderation.defs#recordEvent',
|
|
10590
10599
|
],
|
|
10591
10600
|
},
|
|
10592
10601
|
subject: {
|
|
@@ -10629,6 +10638,13 @@ exports.schemaDict = {
|
|
|
10629
10638
|
'lex:com.atproto.repo.strongRef',
|
|
10630
10639
|
],
|
|
10631
10640
|
},
|
|
10641
|
+
hosting: {
|
|
10642
|
+
type: 'union',
|
|
10643
|
+
refs: [
|
|
10644
|
+
'lex:tools.ozone.moderation.defs#accountHosting',
|
|
10645
|
+
'lex:tools.ozone.moderation.defs#recordHosting',
|
|
10646
|
+
],
|
|
10647
|
+
},
|
|
10632
10648
|
subjectBlobCids: {
|
|
10633
10649
|
type: 'array',
|
|
10634
10650
|
items: {
|
|
@@ -10860,14 +10876,13 @@ exports.schemaDict = {
|
|
|
10860
10876
|
modEventMuteReporter: {
|
|
10861
10877
|
type: 'object',
|
|
10862
10878
|
description: 'Mute incoming reports from an account',
|
|
10863
|
-
required: ['durationInHours'],
|
|
10864
10879
|
properties: {
|
|
10865
10880
|
comment: {
|
|
10866
10881
|
type: 'string',
|
|
10867
10882
|
},
|
|
10868
10883
|
durationInHours: {
|
|
10869
10884
|
type: 'integer',
|
|
10870
|
-
description: 'Indicates how long the account should remain muted.',
|
|
10885
|
+
description: 'Indicates how long the account should remain muted. Falsy value here means a permanent mute.',
|
|
10871
10886
|
},
|
|
10872
10887
|
},
|
|
10873
10888
|
},
|
|
@@ -10934,6 +10949,82 @@ exports.schemaDict = {
|
|
|
10934
10949
|
},
|
|
10935
10950
|
},
|
|
10936
10951
|
},
|
|
10952
|
+
accountEvent: {
|
|
10953
|
+
type: 'object',
|
|
10954
|
+
description: 'Logs account status related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.',
|
|
10955
|
+
required: ['timestamp', 'active'],
|
|
10956
|
+
properties: {
|
|
10957
|
+
comment: {
|
|
10958
|
+
type: 'string',
|
|
10959
|
+
},
|
|
10960
|
+
active: {
|
|
10961
|
+
type: 'boolean',
|
|
10962
|
+
description: 'Indicates that the account has a repository which can be fetched from the host that emitted this event.',
|
|
10963
|
+
},
|
|
10964
|
+
status: {
|
|
10965
|
+
type: 'string',
|
|
10966
|
+
knownValues: [
|
|
10967
|
+
'unknown',
|
|
10968
|
+
'deactivated',
|
|
10969
|
+
'deleted',
|
|
10970
|
+
'takendown',
|
|
10971
|
+
'suspended',
|
|
10972
|
+
'tombstoned',
|
|
10973
|
+
],
|
|
10974
|
+
},
|
|
10975
|
+
timestamp: {
|
|
10976
|
+
type: 'string',
|
|
10977
|
+
format: 'datetime',
|
|
10978
|
+
},
|
|
10979
|
+
},
|
|
10980
|
+
},
|
|
10981
|
+
identityEvent: {
|
|
10982
|
+
type: 'object',
|
|
10983
|
+
description: 'Logs identity related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.',
|
|
10984
|
+
required: ['timestamp'],
|
|
10985
|
+
properties: {
|
|
10986
|
+
comment: {
|
|
10987
|
+
type: 'string',
|
|
10988
|
+
},
|
|
10989
|
+
handle: {
|
|
10990
|
+
type: 'string',
|
|
10991
|
+
format: 'handle',
|
|
10992
|
+
},
|
|
10993
|
+
pdsHost: {
|
|
10994
|
+
type: 'string',
|
|
10995
|
+
format: 'uri',
|
|
10996
|
+
},
|
|
10997
|
+
tombstone: {
|
|
10998
|
+
type: 'boolean',
|
|
10999
|
+
},
|
|
11000
|
+
timestamp: {
|
|
11001
|
+
type: 'string',
|
|
11002
|
+
format: 'datetime',
|
|
11003
|
+
},
|
|
11004
|
+
},
|
|
11005
|
+
},
|
|
11006
|
+
recordEvent: {
|
|
11007
|
+
type: 'object',
|
|
11008
|
+
description: 'Logs lifecycle event on a record subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.',
|
|
11009
|
+
required: ['timestamp', 'op'],
|
|
11010
|
+
properties: {
|
|
11011
|
+
comment: {
|
|
11012
|
+
type: 'string',
|
|
11013
|
+
},
|
|
11014
|
+
op: {
|
|
11015
|
+
type: 'string',
|
|
11016
|
+
knownValues: ['create', 'update', 'delete'],
|
|
11017
|
+
},
|
|
11018
|
+
cid: {
|
|
11019
|
+
type: 'string',
|
|
11020
|
+
format: 'cid',
|
|
11021
|
+
},
|
|
11022
|
+
timestamp: {
|
|
11023
|
+
type: 'string',
|
|
11024
|
+
format: 'datetime',
|
|
11025
|
+
},
|
|
11026
|
+
},
|
|
11027
|
+
},
|
|
10937
11028
|
repoView: {
|
|
10938
11029
|
type: 'object',
|
|
10939
11030
|
required: [
|
|
@@ -11259,6 +11350,64 @@ exports.schemaDict = {
|
|
|
11259
11350
|
},
|
|
11260
11351
|
},
|
|
11261
11352
|
},
|
|
11353
|
+
accountHosting: {
|
|
11354
|
+
type: 'object',
|
|
11355
|
+
required: ['status'],
|
|
11356
|
+
properties: {
|
|
11357
|
+
status: {
|
|
11358
|
+
type: 'string',
|
|
11359
|
+
knownValues: [
|
|
11360
|
+
'takendown',
|
|
11361
|
+
'suspended',
|
|
11362
|
+
'deleted',
|
|
11363
|
+
'deactivated',
|
|
11364
|
+
'unknown',
|
|
11365
|
+
],
|
|
11366
|
+
},
|
|
11367
|
+
updatedAt: {
|
|
11368
|
+
type: 'string',
|
|
11369
|
+
format: 'datetime',
|
|
11370
|
+
},
|
|
11371
|
+
createdAt: {
|
|
11372
|
+
type: 'string',
|
|
11373
|
+
format: 'datetime',
|
|
11374
|
+
},
|
|
11375
|
+
deletedAt: {
|
|
11376
|
+
type: 'string',
|
|
11377
|
+
format: 'datetime',
|
|
11378
|
+
},
|
|
11379
|
+
deactivatedAt: {
|
|
11380
|
+
type: 'string',
|
|
11381
|
+
format: 'datetime',
|
|
11382
|
+
},
|
|
11383
|
+
reactivatedAt: {
|
|
11384
|
+
type: 'string',
|
|
11385
|
+
format: 'datetime',
|
|
11386
|
+
},
|
|
11387
|
+
},
|
|
11388
|
+
},
|
|
11389
|
+
recordHosting: {
|
|
11390
|
+
type: 'object',
|
|
11391
|
+
required: ['status'],
|
|
11392
|
+
properties: {
|
|
11393
|
+
status: {
|
|
11394
|
+
type: 'string',
|
|
11395
|
+
knownValues: ['deleted', 'unknown'],
|
|
11396
|
+
},
|
|
11397
|
+
updatedAt: {
|
|
11398
|
+
type: 'string',
|
|
11399
|
+
format: 'datetime',
|
|
11400
|
+
},
|
|
11401
|
+
createdAt: {
|
|
11402
|
+
type: 'string',
|
|
11403
|
+
format: 'datetime',
|
|
11404
|
+
},
|
|
11405
|
+
deletedAt: {
|
|
11406
|
+
type: 'string',
|
|
11407
|
+
format: 'datetime',
|
|
11408
|
+
},
|
|
11409
|
+
},
|
|
11410
|
+
},
|
|
11262
11411
|
},
|
|
11263
11412
|
},
|
|
11264
11413
|
ToolsOzoneModerationEmitEvent: {
|
|
@@ -11291,6 +11440,9 @@ exports.schemaDict = {
|
|
|
11291
11440
|
'lex:tools.ozone.moderation.defs#modEventResolveAppeal',
|
|
11292
11441
|
'lex:tools.ozone.moderation.defs#modEventEmail',
|
|
11293
11442
|
'lex:tools.ozone.moderation.defs#modEventTag',
|
|
11443
|
+
'lex:tools.ozone.moderation.defs#accountEvent',
|
|
11444
|
+
'lex:tools.ozone.moderation.defs#identityEvent',
|
|
11445
|
+
'lex:tools.ozone.moderation.defs#recordEvent',
|
|
11294
11446
|
],
|
|
11295
11447
|
},
|
|
11296
11448
|
subject: {
|
|
@@ -11682,6 +11834,33 @@ exports.schemaDict = {
|
|
|
11682
11834
|
format: 'datetime',
|
|
11683
11835
|
description: 'Search subjects reviewed after a given timestamp',
|
|
11684
11836
|
},
|
|
11837
|
+
hostingDeletedAfter: {
|
|
11838
|
+
type: 'string',
|
|
11839
|
+
format: 'datetime',
|
|
11840
|
+
description: 'Search subjects where the associated record/account was deleted after a given timestamp',
|
|
11841
|
+
},
|
|
11842
|
+
hostingDeletedBefore: {
|
|
11843
|
+
type: 'string',
|
|
11844
|
+
format: 'datetime',
|
|
11845
|
+
description: 'Search subjects where the associated record/account was deleted before a given timestamp',
|
|
11846
|
+
},
|
|
11847
|
+
hostingUpdatedAfter: {
|
|
11848
|
+
type: 'string',
|
|
11849
|
+
format: 'datetime',
|
|
11850
|
+
description: 'Search subjects where the associated record/account was updated after a given timestamp',
|
|
11851
|
+
},
|
|
11852
|
+
hostingUpdatedBefore: {
|
|
11853
|
+
type: 'string',
|
|
11854
|
+
format: 'datetime',
|
|
11855
|
+
description: 'Search subjects where the associated record/account was updated before a given timestamp',
|
|
11856
|
+
},
|
|
11857
|
+
hostingStatuses: {
|
|
11858
|
+
type: 'array',
|
|
11859
|
+
items: {
|
|
11860
|
+
type: 'string',
|
|
11861
|
+
},
|
|
11862
|
+
description: 'Search subjects by the status of the associated record/account',
|
|
11863
|
+
},
|
|
11685
11864
|
reviewedBefore: {
|
|
11686
11865
|
type: 'string',
|
|
11687
11866
|
format: 'datetime',
|
|
@@ -12189,6 +12368,224 @@ exports.schemaDict = {
|
|
|
12189
12368
|
},
|
|
12190
12369
|
},
|
|
12191
12370
|
},
|
|
12371
|
+
ToolsOzoneSettingDefs: {
|
|
12372
|
+
lexicon: 1,
|
|
12373
|
+
id: 'tools.ozone.setting.defs',
|
|
12374
|
+
defs: {
|
|
12375
|
+
option: {
|
|
12376
|
+
type: 'object',
|
|
12377
|
+
required: [
|
|
12378
|
+
'key',
|
|
12379
|
+
'value',
|
|
12380
|
+
'did',
|
|
12381
|
+
'scope',
|
|
12382
|
+
'createdBy',
|
|
12383
|
+
'lastUpdatedBy',
|
|
12384
|
+
],
|
|
12385
|
+
properties: {
|
|
12386
|
+
key: {
|
|
12387
|
+
type: 'string',
|
|
12388
|
+
format: 'nsid',
|
|
12389
|
+
},
|
|
12390
|
+
did: {
|
|
12391
|
+
type: 'string',
|
|
12392
|
+
format: 'did',
|
|
12393
|
+
},
|
|
12394
|
+
value: {
|
|
12395
|
+
type: 'unknown',
|
|
12396
|
+
},
|
|
12397
|
+
description: {
|
|
12398
|
+
type: 'string',
|
|
12399
|
+
maxGraphemes: 1024,
|
|
12400
|
+
maxLength: 10240,
|
|
12401
|
+
},
|
|
12402
|
+
createdAt: {
|
|
12403
|
+
type: 'string',
|
|
12404
|
+
format: 'datetime',
|
|
12405
|
+
},
|
|
12406
|
+
updatedAt: {
|
|
12407
|
+
type: 'string',
|
|
12408
|
+
format: 'datetime',
|
|
12409
|
+
},
|
|
12410
|
+
managerRole: {
|
|
12411
|
+
type: 'string',
|
|
12412
|
+
knownValues: [
|
|
12413
|
+
'tools.ozone.team.defs#roleModerator',
|
|
12414
|
+
'tools.ozone.team.defs#roleTriage',
|
|
12415
|
+
'tools.ozone.team.defs#roleAdmin',
|
|
12416
|
+
],
|
|
12417
|
+
},
|
|
12418
|
+
scope: {
|
|
12419
|
+
type: 'string',
|
|
12420
|
+
knownValues: ['instance', 'personal'],
|
|
12421
|
+
},
|
|
12422
|
+
createdBy: {
|
|
12423
|
+
type: 'string',
|
|
12424
|
+
format: 'did',
|
|
12425
|
+
},
|
|
12426
|
+
lastUpdatedBy: {
|
|
12427
|
+
type: 'string',
|
|
12428
|
+
format: 'did',
|
|
12429
|
+
},
|
|
12430
|
+
},
|
|
12431
|
+
},
|
|
12432
|
+
},
|
|
12433
|
+
},
|
|
12434
|
+
ToolsOzoneSettingListOptions: {
|
|
12435
|
+
lexicon: 1,
|
|
12436
|
+
id: 'tools.ozone.setting.listOptions',
|
|
12437
|
+
defs: {
|
|
12438
|
+
main: {
|
|
12439
|
+
type: 'query',
|
|
12440
|
+
description: 'List settings with optional filtering',
|
|
12441
|
+
parameters: {
|
|
12442
|
+
type: 'params',
|
|
12443
|
+
properties: {
|
|
12444
|
+
limit: {
|
|
12445
|
+
type: 'integer',
|
|
12446
|
+
minimum: 1,
|
|
12447
|
+
maximum: 100,
|
|
12448
|
+
default: 50,
|
|
12449
|
+
},
|
|
12450
|
+
cursor: {
|
|
12451
|
+
type: 'string',
|
|
12452
|
+
},
|
|
12453
|
+
scope: {
|
|
12454
|
+
type: 'string',
|
|
12455
|
+
knownValues: ['instance', 'personal'],
|
|
12456
|
+
default: 'instance',
|
|
12457
|
+
},
|
|
12458
|
+
prefix: {
|
|
12459
|
+
type: 'string',
|
|
12460
|
+
description: 'Filter keys by prefix',
|
|
12461
|
+
},
|
|
12462
|
+
keys: {
|
|
12463
|
+
type: 'array',
|
|
12464
|
+
maxLength: 100,
|
|
12465
|
+
items: {
|
|
12466
|
+
type: 'string',
|
|
12467
|
+
format: 'nsid',
|
|
12468
|
+
},
|
|
12469
|
+
description: 'Filter for only the specified keys. Ignored if prefix is provided',
|
|
12470
|
+
},
|
|
12471
|
+
},
|
|
12472
|
+
},
|
|
12473
|
+
output: {
|
|
12474
|
+
encoding: 'application/json',
|
|
12475
|
+
schema: {
|
|
12476
|
+
type: 'object',
|
|
12477
|
+
required: ['options'],
|
|
12478
|
+
properties: {
|
|
12479
|
+
cursor: {
|
|
12480
|
+
type: 'string',
|
|
12481
|
+
},
|
|
12482
|
+
options: {
|
|
12483
|
+
type: 'array',
|
|
12484
|
+
items: {
|
|
12485
|
+
type: 'ref',
|
|
12486
|
+
ref: 'lex:tools.ozone.setting.defs#option',
|
|
12487
|
+
},
|
|
12488
|
+
},
|
|
12489
|
+
},
|
|
12490
|
+
},
|
|
12491
|
+
},
|
|
12492
|
+
},
|
|
12493
|
+
},
|
|
12494
|
+
},
|
|
12495
|
+
ToolsOzoneSettingRemoveOptions: {
|
|
12496
|
+
lexicon: 1,
|
|
12497
|
+
id: 'tools.ozone.setting.removeOptions',
|
|
12498
|
+
defs: {
|
|
12499
|
+
main: {
|
|
12500
|
+
type: 'procedure',
|
|
12501
|
+
description: 'Delete settings by key',
|
|
12502
|
+
input: {
|
|
12503
|
+
encoding: 'application/json',
|
|
12504
|
+
schema: {
|
|
12505
|
+
type: 'object',
|
|
12506
|
+
required: ['keys', 'scope'],
|
|
12507
|
+
properties: {
|
|
12508
|
+
keys: {
|
|
12509
|
+
type: 'array',
|
|
12510
|
+
minLength: 1,
|
|
12511
|
+
maxLength: 200,
|
|
12512
|
+
items: {
|
|
12513
|
+
type: 'string',
|
|
12514
|
+
format: 'nsid',
|
|
12515
|
+
},
|
|
12516
|
+
},
|
|
12517
|
+
scope: {
|
|
12518
|
+
type: 'string',
|
|
12519
|
+
knownValues: ['instance', 'personal'],
|
|
12520
|
+
},
|
|
12521
|
+
},
|
|
12522
|
+
},
|
|
12523
|
+
},
|
|
12524
|
+
output: {
|
|
12525
|
+
encoding: 'application/json',
|
|
12526
|
+
schema: {
|
|
12527
|
+
type: 'object',
|
|
12528
|
+
properties: {},
|
|
12529
|
+
},
|
|
12530
|
+
},
|
|
12531
|
+
},
|
|
12532
|
+
},
|
|
12533
|
+
},
|
|
12534
|
+
ToolsOzoneSettingUpsertOption: {
|
|
12535
|
+
lexicon: 1,
|
|
12536
|
+
id: 'tools.ozone.setting.upsertOption',
|
|
12537
|
+
defs: {
|
|
12538
|
+
main: {
|
|
12539
|
+
type: 'procedure',
|
|
12540
|
+
description: 'Create or update setting option',
|
|
12541
|
+
input: {
|
|
12542
|
+
encoding: 'application/json',
|
|
12543
|
+
schema: {
|
|
12544
|
+
type: 'object',
|
|
12545
|
+
required: ['key', 'scope', 'value'],
|
|
12546
|
+
properties: {
|
|
12547
|
+
key: {
|
|
12548
|
+
type: 'string',
|
|
12549
|
+
format: 'nsid',
|
|
12550
|
+
},
|
|
12551
|
+
scope: {
|
|
12552
|
+
type: 'string',
|
|
12553
|
+
knownValues: ['instance', 'personal'],
|
|
12554
|
+
},
|
|
12555
|
+
value: {
|
|
12556
|
+
type: 'unknown',
|
|
12557
|
+
},
|
|
12558
|
+
description: {
|
|
12559
|
+
type: 'string',
|
|
12560
|
+
maxLength: 2000,
|
|
12561
|
+
},
|
|
12562
|
+
managerRole: {
|
|
12563
|
+
type: 'string',
|
|
12564
|
+
knownValues: [
|
|
12565
|
+
'tools.ozone.team.defs#roleModerator',
|
|
12566
|
+
'tools.ozone.team.defs#roleTriage',
|
|
12567
|
+
'tools.ozone.team.defs#roleAdmin',
|
|
12568
|
+
],
|
|
12569
|
+
},
|
|
12570
|
+
},
|
|
12571
|
+
},
|
|
12572
|
+
},
|
|
12573
|
+
output: {
|
|
12574
|
+
encoding: 'application/json',
|
|
12575
|
+
schema: {
|
|
12576
|
+
type: 'object',
|
|
12577
|
+
required: ['option'],
|
|
12578
|
+
properties: {
|
|
12579
|
+
option: {
|
|
12580
|
+
type: 'ref',
|
|
12581
|
+
ref: 'lex:tools.ozone.setting.defs#option',
|
|
12582
|
+
},
|
|
12583
|
+
},
|
|
12584
|
+
},
|
|
12585
|
+
},
|
|
12586
|
+
},
|
|
12587
|
+
},
|
|
12588
|
+
},
|
|
12192
12589
|
ToolsOzoneSignatureDefs: {
|
|
12193
12590
|
lexicon: 1,
|
|
12194
12591
|
id: 'tools.ozone.signature.defs',
|
|
@@ -12796,6 +13193,10 @@ exports.ids = {
|
|
|
12796
13193
|
ToolsOzoneSetGetValues: 'tools.ozone.set.getValues',
|
|
12797
13194
|
ToolsOzoneSetQuerySets: 'tools.ozone.set.querySets',
|
|
12798
13195
|
ToolsOzoneSetUpsertSet: 'tools.ozone.set.upsertSet',
|
|
13196
|
+
ToolsOzoneSettingDefs: 'tools.ozone.setting.defs',
|
|
13197
|
+
ToolsOzoneSettingListOptions: 'tools.ozone.setting.listOptions',
|
|
13198
|
+
ToolsOzoneSettingRemoveOptions: 'tools.ozone.setting.removeOptions',
|
|
13199
|
+
ToolsOzoneSettingUpsertOption: 'tools.ozone.setting.upsertOption',
|
|
12799
13200
|
ToolsOzoneSignatureDefs: 'tools.ozone.signature.defs',
|
|
12800
13201
|
ToolsOzoneSignatureFindCorrelation: 'tools.ozone.signature.findCorrelation',
|
|
12801
13202
|
ToolsOzoneSignatureFindRelatedAccounts: 'tools.ozone.signature.findRelatedAccounts',
|