@imbue-ai/detent 1.15.2 → 1.16.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.
- package/dist/src/schemas/generatedBuiltinSchemas.d.ts.map +1 -1
- package/dist/src/schemas/generatedBuiltinSchemas.js +244 -91
- package/dist/src/schemas/generatedBuiltinSchemas.js.map +1 -1
- package/dist/tests/builtinSchemas.test.js +196 -0
- package/dist/tests/builtinSchemas.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatedBuiltinSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/generatedBuiltinSchemas.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"generatedBuiltinSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/generatedBuiltinSchemas.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CA2gS5E,CAAC"}
|
|
@@ -7270,13 +7270,11 @@ export const generatedBuiltinSchemas = {
|
|
|
7270
7270
|
]
|
|
7271
7271
|
},
|
|
7272
7272
|
"slack-api": {
|
|
7273
|
-
"$comment": "Any interaction with
|
|
7273
|
+
"$comment": "Any interaction with Slack, including file downloads.",
|
|
7274
7274
|
"properties": {
|
|
7275
7275
|
"domain": {
|
|
7276
|
-
"
|
|
7277
|
-
|
|
7278
|
-
"files.slack.com"
|
|
7279
|
-
]
|
|
7276
|
+
"type": "string",
|
|
7277
|
+
"pattern": "^([a-z0-9-]+\\.)*slack\\.com$"
|
|
7280
7278
|
}
|
|
7281
7279
|
},
|
|
7282
7280
|
"required": [
|
|
@@ -7284,17 +7282,34 @@ export const generatedBuiltinSchemas = {
|
|
|
7284
7282
|
]
|
|
7285
7283
|
},
|
|
7286
7284
|
"slack-read-all": {
|
|
7287
|
-
"$comment": "All read operations across
|
|
7285
|
+
"$comment": "All read operations across Slack: messages, conversations, users, files, reactions, search, pins, bookmarks, and the Later view.",
|
|
7288
7286
|
"anyOf": [
|
|
7289
7287
|
{
|
|
7290
7288
|
"type": "object",
|
|
7291
7289
|
"properties": {
|
|
7292
7290
|
"domain": {
|
|
7293
|
-
"
|
|
7291
|
+
"type": "string",
|
|
7292
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7293
|
+
},
|
|
7294
|
+
"path": {
|
|
7295
|
+
"type": "string",
|
|
7296
|
+
"pattern": "^/api/(auth\\.(test|teams\\.list)|api\\.test|team\\.(info|profile\\.get)|bots\\.info|chat\\.(getPermalink|scheduledMessages\\.list)|drafts\\.list|conversations\\.(genericInfo|history|info|list|listConnectInvites|listPrefs|members|replies|requestSharedInvite\\.list|view)|client\\.[A-Za-z0-9.]+|threads\\.getView|subscriptions\\.thread\\.(get|getView)|users\\.(channelSections\\.list|conversations|counts|discoverableContacts\\.lookup|getPresence|identity|info|list|lookupByEmail|prefs\\.get|priority\\.list|profile\\.get)|usergroups\\.(list|users\\.list)|dnd\\.(info|teamInfo)|files\\.(info|list|remote\\.(info|list))|canvases\\.sections\\.lookup|reactions\\.(get|list)|emoji\\.list|search\\.[A-Za-z0-9.]+|pins\\.list|bookmarks\\.list|reminders\\.(info|list)|saved\\.list|stars\\.list)$"
|
|
7297
|
+
}
|
|
7298
|
+
},
|
|
7299
|
+
"required": [
|
|
7300
|
+
"domain",
|
|
7301
|
+
"path"
|
|
7302
|
+
]
|
|
7303
|
+
},
|
|
7304
|
+
{
|
|
7305
|
+
"type": "object",
|
|
7306
|
+
"properties": {
|
|
7307
|
+
"domain": {
|
|
7308
|
+
"const": "edgeapi.slack.com"
|
|
7294
7309
|
},
|
|
7295
7310
|
"path": {
|
|
7296
7311
|
"type": "string",
|
|
7297
|
-
"pattern": "^/
|
|
7312
|
+
"pattern": "^/cache/[^/]+/(permissions/info|channels/(info|membership|search)|huddles/info|users/(counts|info|list|search)|emojis/info)$"
|
|
7298
7313
|
}
|
|
7299
7314
|
},
|
|
7300
7315
|
"required": [
|
|
@@ -7321,14 +7336,15 @@ export const generatedBuiltinSchemas = {
|
|
|
7321
7336
|
]
|
|
7322
7337
|
},
|
|
7323
7338
|
"slack-write-all": {
|
|
7324
|
-
"$comment": "All write operations across
|
|
7339
|
+
"$comment": "All write operations across Slack: sending messages, managing conversations, updating profiles, uploading files, and modifying reactions, pins, bookmarks, and the Later view. Does not include deleting channels or inviting and deactivating users.",
|
|
7325
7340
|
"properties": {
|
|
7326
7341
|
"domain": {
|
|
7327
|
-
"
|
|
7342
|
+
"type": "string",
|
|
7343
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7328
7344
|
},
|
|
7329
7345
|
"path": {
|
|
7330
7346
|
"type": "string",
|
|
7331
|
-
"pattern": "^/api/(auth\\.revoke|chat\\.(appendStream|delete|deleteScheduledMessage|meMessage|postEphemeral|postMessage|scheduleMessage|startStream|stopStream|unfurl|update)|conversations\\.(acceptSharedInvite|approveSharedInvite|archive|canvasCreate|close|create|declineSharedInvite|externalInvitePermissions\\.set|invite|inviteShared|join|kick|leave|mark|open|rename|requestSharedInvite\\.(approve|deny)|setPurpose|setTopic|unarchive)|users\\.(
|
|
7347
|
+
"pattern": "^/api/(auth\\.revoke|chat\\.(appendStream|command|delete|deleteScheduledMessage|meMessage|postEphemeral|postMessage|scheduleMessage|startStream|stopStream|unfurl|update)|drafts\\.(create|delete|update)|conversations\\.(acceptSharedInvite|approveSharedInvite|archive|canvasCreate|canvases\\.create|close|create|declineSharedInvite|externalInvitePermissions\\.set|invite|inviteShared|join|kick|leave|mark|open|rename|requestSharedInvite\\.(approve|deny)|setPurpose|setTopic|unarchive)|subscriptions\\.thread\\.(add|mark|remove)|users\\.(deletePhoto|prefs\\.set|profile\\.set|setActive|setPhoto|setPresence)|usergroups\\.(create|disable|enable|update|users\\.update)|dnd\\.(endDnd|endSnooze|setSnooze)|files\\.(comments\\.delete|completeUploadExternal|delete|edit|getUploadURLExternal|remote\\.(add|remove|share|update)|revokePublicURL|share|sharedPublicURL|upload)|canvases\\.(access\\.(delete|set)|create|delete|edit)|reactions\\.(add|remove)|pins\\.(add|remove)|bookmarks\\.(add|edit|remove)|reminders\\.(add|complete|delete)|saved\\.(add|clearCompleted|delete|update)|stars\\.(add|remove))$"
|
|
7332
7348
|
}
|
|
7333
7349
|
},
|
|
7334
7350
|
"required": [
|
|
@@ -7337,26 +7353,49 @@ export const generatedBuiltinSchemas = {
|
|
|
7337
7353
|
]
|
|
7338
7354
|
},
|
|
7339
7355
|
"slack-auth-read": {
|
|
7340
|
-
"$comment": "Check authentication status and
|
|
7341
|
-
"
|
|
7342
|
-
|
|
7343
|
-
"
|
|
7356
|
+
"$comment": "Check authentication status and read basic workspace info.",
|
|
7357
|
+
"anyOf": [
|
|
7358
|
+
{
|
|
7359
|
+
"type": "object",
|
|
7360
|
+
"properties": {
|
|
7361
|
+
"domain": {
|
|
7362
|
+
"type": "string",
|
|
7363
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7364
|
+
},
|
|
7365
|
+
"path": {
|
|
7366
|
+
"type": "string",
|
|
7367
|
+
"pattern": "^/api/(auth\\.(test|teams\\.list)|api\\.test|team\\.(info|profile\\.get)|bots\\.info)$"
|
|
7368
|
+
}
|
|
7369
|
+
},
|
|
7370
|
+
"required": [
|
|
7371
|
+
"domain",
|
|
7372
|
+
"path"
|
|
7373
|
+
]
|
|
7344
7374
|
},
|
|
7345
|
-
|
|
7346
|
-
"type": "
|
|
7347
|
-
"
|
|
7375
|
+
{
|
|
7376
|
+
"type": "object",
|
|
7377
|
+
"properties": {
|
|
7378
|
+
"domain": {
|
|
7379
|
+
"const": "edgeapi.slack.com"
|
|
7380
|
+
},
|
|
7381
|
+
"path": {
|
|
7382
|
+
"type": "string",
|
|
7383
|
+
"pattern": "^/cache/[^/]+/(permissions/info)$"
|
|
7384
|
+
}
|
|
7385
|
+
},
|
|
7386
|
+
"required": [
|
|
7387
|
+
"domain",
|
|
7388
|
+
"path"
|
|
7389
|
+
]
|
|
7348
7390
|
}
|
|
7349
|
-
},
|
|
7350
|
-
"required": [
|
|
7351
|
-
"domain",
|
|
7352
|
-
"path"
|
|
7353
7391
|
]
|
|
7354
7392
|
},
|
|
7355
7393
|
"slack-auth-write": {
|
|
7356
7394
|
"$comment": "Revoke authentication tokens.",
|
|
7357
7395
|
"properties": {
|
|
7358
7396
|
"domain": {
|
|
7359
|
-
"
|
|
7397
|
+
"type": "string",
|
|
7398
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7360
7399
|
},
|
|
7361
7400
|
"path": {
|
|
7362
7401
|
"type": "string",
|
|
@@ -7369,14 +7408,15 @@ export const generatedBuiltinSchemas = {
|
|
|
7369
7408
|
]
|
|
7370
7409
|
},
|
|
7371
7410
|
"slack-chat-read": {
|
|
7372
|
-
"$comment": "Get message permalinks and list scheduled messages.",
|
|
7411
|
+
"$comment": "Get message permalinks and list scheduled messages and drafts.",
|
|
7373
7412
|
"properties": {
|
|
7374
7413
|
"domain": {
|
|
7375
|
-
"
|
|
7414
|
+
"type": "string",
|
|
7415
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7376
7416
|
},
|
|
7377
7417
|
"path": {
|
|
7378
7418
|
"type": "string",
|
|
7379
|
-
"pattern": "^/api/chat\\.(getPermalink|scheduledMessages\\.list)$"
|
|
7419
|
+
"pattern": "^/api/(chat\\.(getPermalink|scheduledMessages\\.list)|drafts\\.list)$"
|
|
7380
7420
|
}
|
|
7381
7421
|
},
|
|
7382
7422
|
"required": [
|
|
@@ -7385,14 +7425,15 @@ export const generatedBuiltinSchemas = {
|
|
|
7385
7425
|
]
|
|
7386
7426
|
},
|
|
7387
7427
|
"slack-chat-write": {
|
|
7388
|
-
"$comment": "Send, update, delete, and
|
|
7428
|
+
"$comment": "Send, update, delete, schedule, and draft messages, and run slash commands.",
|
|
7389
7429
|
"properties": {
|
|
7390
7430
|
"domain": {
|
|
7391
|
-
"
|
|
7431
|
+
"type": "string",
|
|
7432
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7392
7433
|
},
|
|
7393
7434
|
"path": {
|
|
7394
7435
|
"type": "string",
|
|
7395
|
-
"pattern": "^/api/chat\\.(appendStream|delete|deleteScheduledMessage|meMessage|postEphemeral|postMessage|scheduleMessage|startStream|stopStream|unfurl|update)$"
|
|
7436
|
+
"pattern": "^/api/(chat\\.(appendStream|command|delete|deleteScheduledMessage|meMessage|postEphemeral|postMessage|scheduleMessage|startStream|stopStream|unfurl|update)|drafts\\.(create|delete|update))$"
|
|
7396
7437
|
}
|
|
7397
7438
|
},
|
|
7398
7439
|
"required": [
|
|
@@ -7401,30 +7442,53 @@ export const generatedBuiltinSchemas = {
|
|
|
7401
7442
|
]
|
|
7402
7443
|
},
|
|
7403
7444
|
"slack-conversations-read": {
|
|
7404
|
-
"$comment": "Read
|
|
7405
|
-
"
|
|
7406
|
-
|
|
7407
|
-
"
|
|
7445
|
+
"$comment": "Read conversations: history, details, members, threads, and unread counts.",
|
|
7446
|
+
"anyOf": [
|
|
7447
|
+
{
|
|
7448
|
+
"type": "object",
|
|
7449
|
+
"properties": {
|
|
7450
|
+
"domain": {
|
|
7451
|
+
"type": "string",
|
|
7452
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7453
|
+
},
|
|
7454
|
+
"path": {
|
|
7455
|
+
"type": "string",
|
|
7456
|
+
"pattern": "^/api/(conversations\\.(genericInfo|history|info|list|listConnectInvites|listPrefs|members|replies|requestSharedInvite\\.list|view)|client\\.[A-Za-z0-9.]+|threads\\.getView|subscriptions\\.thread\\.(get|getView))$"
|
|
7457
|
+
}
|
|
7458
|
+
},
|
|
7459
|
+
"required": [
|
|
7460
|
+
"domain",
|
|
7461
|
+
"path"
|
|
7462
|
+
]
|
|
7408
7463
|
},
|
|
7409
|
-
|
|
7410
|
-
"type": "
|
|
7411
|
-
"
|
|
7464
|
+
{
|
|
7465
|
+
"type": "object",
|
|
7466
|
+
"properties": {
|
|
7467
|
+
"domain": {
|
|
7468
|
+
"const": "edgeapi.slack.com"
|
|
7469
|
+
},
|
|
7470
|
+
"path": {
|
|
7471
|
+
"type": "string",
|
|
7472
|
+
"pattern": "^/cache/[^/]+/(channels/(info|membership|search)|huddles/info)$"
|
|
7473
|
+
}
|
|
7474
|
+
},
|
|
7475
|
+
"required": [
|
|
7476
|
+
"domain",
|
|
7477
|
+
"path"
|
|
7478
|
+
]
|
|
7412
7479
|
}
|
|
7413
|
-
},
|
|
7414
|
-
"required": [
|
|
7415
|
-
"domain",
|
|
7416
|
-
"path"
|
|
7417
7480
|
]
|
|
7418
7481
|
},
|
|
7419
7482
|
"slack-conversations-write": {
|
|
7420
|
-
"$comment": "Create, archive, rename, and manage conversations, including membership,
|
|
7483
|
+
"$comment": "Create, archive, rename, and manage conversations, including membership, topics, read markers, and followed threads.",
|
|
7421
7484
|
"properties": {
|
|
7422
7485
|
"domain": {
|
|
7423
|
-
"
|
|
7486
|
+
"type": "string",
|
|
7487
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7424
7488
|
},
|
|
7425
7489
|
"path": {
|
|
7426
7490
|
"type": "string",
|
|
7427
|
-
"pattern": "^/api/conversations\\.(acceptSharedInvite|approveSharedInvite|archive|canvasCreate|close|create|declineSharedInvite|externalInvitePermissions\\.set|invite|inviteShared|join|kick|leave|mark|open|rename|requestSharedInvite\\.(approve|deny)|setPurpose|setTopic|unarchive)$"
|
|
7491
|
+
"pattern": "^/api/(conversations\\.(acceptSharedInvite|approveSharedInvite|archive|canvasCreate|canvases\\.create|close|create|declineSharedInvite|externalInvitePermissions\\.set|invite|inviteShared|join|kick|leave|mark|open|rename|requestSharedInvite\\.(approve|deny)|setPurpose|setTopic|unarchive)|subscriptions\\.thread\\.(add|mark|remove))$"
|
|
7428
7492
|
}
|
|
7429
7493
|
},
|
|
7430
7494
|
"required": [
|
|
@@ -7433,30 +7497,53 @@ export const generatedBuiltinSchemas = {
|
|
|
7433
7497
|
]
|
|
7434
7498
|
},
|
|
7435
7499
|
"slack-users-read": {
|
|
7436
|
-
"$comment": "Read user profiles, presence,
|
|
7437
|
-
"
|
|
7438
|
-
|
|
7439
|
-
"
|
|
7500
|
+
"$comment": "Read user profiles, presence, preferences, and user groups, and look up users.",
|
|
7501
|
+
"anyOf": [
|
|
7502
|
+
{
|
|
7503
|
+
"type": "object",
|
|
7504
|
+
"properties": {
|
|
7505
|
+
"domain": {
|
|
7506
|
+
"type": "string",
|
|
7507
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7508
|
+
},
|
|
7509
|
+
"path": {
|
|
7510
|
+
"type": "string",
|
|
7511
|
+
"pattern": "^/api/(users\\.(channelSections\\.list|conversations|counts|discoverableContacts\\.lookup|getPresence|identity|info|list|lookupByEmail|prefs\\.get|priority\\.list|profile\\.get)|usergroups\\.(list|users\\.list)|dnd\\.(info|teamInfo))$"
|
|
7512
|
+
}
|
|
7513
|
+
},
|
|
7514
|
+
"required": [
|
|
7515
|
+
"domain",
|
|
7516
|
+
"path"
|
|
7517
|
+
]
|
|
7440
7518
|
},
|
|
7441
|
-
|
|
7442
|
-
"type": "
|
|
7443
|
-
"
|
|
7519
|
+
{
|
|
7520
|
+
"type": "object",
|
|
7521
|
+
"properties": {
|
|
7522
|
+
"domain": {
|
|
7523
|
+
"const": "edgeapi.slack.com"
|
|
7524
|
+
},
|
|
7525
|
+
"path": {
|
|
7526
|
+
"type": "string",
|
|
7527
|
+
"pattern": "^/cache/[^/]+/(users/(counts|info|list|search))$"
|
|
7528
|
+
}
|
|
7529
|
+
},
|
|
7530
|
+
"required": [
|
|
7531
|
+
"domain",
|
|
7532
|
+
"path"
|
|
7533
|
+
]
|
|
7444
7534
|
}
|
|
7445
|
-
},
|
|
7446
|
-
"required": [
|
|
7447
|
-
"domain",
|
|
7448
|
-
"path"
|
|
7449
7535
|
]
|
|
7450
7536
|
},
|
|
7451
7537
|
"slack-users-write": {
|
|
7452
|
-
"$comment": "Update user presence and
|
|
7538
|
+
"$comment": "Update user profiles, presence, preferences, and user groups.",
|
|
7453
7539
|
"properties": {
|
|
7454
7540
|
"domain": {
|
|
7455
|
-
"
|
|
7541
|
+
"type": "string",
|
|
7542
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7456
7543
|
},
|
|
7457
7544
|
"path": {
|
|
7458
7545
|
"type": "string",
|
|
7459
|
-
"pattern": "^/api/users\\.(
|
|
7546
|
+
"pattern": "^/api/(users\\.(deletePhoto|prefs\\.set|profile\\.set|setActive|setPhoto|setPresence)|usergroups\\.(create|disable|enable|update|users\\.update)|dnd\\.(endDnd|endSnooze|setSnooze))$"
|
|
7460
7547
|
}
|
|
7461
7548
|
},
|
|
7462
7549
|
"required": [
|
|
@@ -7465,17 +7552,18 @@ export const generatedBuiltinSchemas = {
|
|
|
7465
7552
|
]
|
|
7466
7553
|
},
|
|
7467
7554
|
"slack-files-read": {
|
|
7468
|
-
"$comment": "List
|
|
7555
|
+
"$comment": "List, inspect, and download files and canvases.",
|
|
7469
7556
|
"anyOf": [
|
|
7470
7557
|
{
|
|
7471
7558
|
"type": "object",
|
|
7472
7559
|
"properties": {
|
|
7473
7560
|
"domain": {
|
|
7474
|
-
"
|
|
7561
|
+
"type": "string",
|
|
7562
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7475
7563
|
},
|
|
7476
7564
|
"path": {
|
|
7477
7565
|
"type": "string",
|
|
7478
|
-
"pattern": "^/api/files\\.(info|list|remote\\.(info|list))$"
|
|
7566
|
+
"pattern": "^/api/(files\\.(info|list|remote\\.(info|list))|canvases\\.sections\\.lookup)$"
|
|
7479
7567
|
}
|
|
7480
7568
|
},
|
|
7481
7569
|
"required": [
|
|
@@ -7502,14 +7590,15 @@ export const generatedBuiltinSchemas = {
|
|
|
7502
7590
|
]
|
|
7503
7591
|
},
|
|
7504
7592
|
"slack-files-write": {
|
|
7505
|
-
"$comment": "Upload, delete, and share files
|
|
7593
|
+
"$comment": "Upload, edit, delete, and share files and canvases.",
|
|
7506
7594
|
"properties": {
|
|
7507
7595
|
"domain": {
|
|
7508
|
-
"
|
|
7596
|
+
"type": "string",
|
|
7597
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7509
7598
|
},
|
|
7510
7599
|
"path": {
|
|
7511
7600
|
"type": "string",
|
|
7512
|
-
"pattern": "^/api/files\\.(completeUploadExternal|delete|getUploadURLExternal|remote\\.(add|remove|share|update)|revokePublicURL|sharedPublicURL)$"
|
|
7601
|
+
"pattern": "^/api/(files\\.(comments\\.delete|completeUploadExternal|delete|edit|getUploadURLExternal|remote\\.(add|remove|share|update)|revokePublicURL|share|sharedPublicURL|upload)|canvases\\.(access\\.(delete|set)|create|delete|edit))$"
|
|
7513
7602
|
}
|
|
7514
7603
|
},
|
|
7515
7604
|
"required": [
|
|
@@ -7518,30 +7607,53 @@ export const generatedBuiltinSchemas = {
|
|
|
7518
7607
|
]
|
|
7519
7608
|
},
|
|
7520
7609
|
"slack-reactions-read": {
|
|
7521
|
-
"$comment": "List
|
|
7522
|
-
"
|
|
7523
|
-
|
|
7524
|
-
"
|
|
7610
|
+
"$comment": "List emoji reactions and custom emoji.",
|
|
7611
|
+
"anyOf": [
|
|
7612
|
+
{
|
|
7613
|
+
"type": "object",
|
|
7614
|
+
"properties": {
|
|
7615
|
+
"domain": {
|
|
7616
|
+
"type": "string",
|
|
7617
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7618
|
+
},
|
|
7619
|
+
"path": {
|
|
7620
|
+
"type": "string",
|
|
7621
|
+
"pattern": "^/api/(reactions\\.(get|list)|emoji\\.list)$"
|
|
7622
|
+
}
|
|
7623
|
+
},
|
|
7624
|
+
"required": [
|
|
7625
|
+
"domain",
|
|
7626
|
+
"path"
|
|
7627
|
+
]
|
|
7525
7628
|
},
|
|
7526
|
-
|
|
7527
|
-
"type": "
|
|
7528
|
-
"
|
|
7629
|
+
{
|
|
7630
|
+
"type": "object",
|
|
7631
|
+
"properties": {
|
|
7632
|
+
"domain": {
|
|
7633
|
+
"const": "edgeapi.slack.com"
|
|
7634
|
+
},
|
|
7635
|
+
"path": {
|
|
7636
|
+
"type": "string",
|
|
7637
|
+
"pattern": "^/cache/[^/]+/(emojis/info)$"
|
|
7638
|
+
}
|
|
7639
|
+
},
|
|
7640
|
+
"required": [
|
|
7641
|
+
"domain",
|
|
7642
|
+
"path"
|
|
7643
|
+
]
|
|
7529
7644
|
}
|
|
7530
|
-
},
|
|
7531
|
-
"required": [
|
|
7532
|
-
"domain",
|
|
7533
|
-
"path"
|
|
7534
7645
|
]
|
|
7535
7646
|
},
|
|
7536
7647
|
"slack-reactions-write": {
|
|
7537
7648
|
"$comment": "Add or remove emoji reactions.",
|
|
7538
7649
|
"properties": {
|
|
7539
7650
|
"domain": {
|
|
7540
|
-
"
|
|
7651
|
+
"type": "string",
|
|
7652
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7541
7653
|
},
|
|
7542
7654
|
"path": {
|
|
7543
7655
|
"type": "string",
|
|
7544
|
-
"pattern": "^/api/reactions\\.(add|remove)$"
|
|
7656
|
+
"pattern": "^/api/(reactions\\.(add|remove))$"
|
|
7545
7657
|
}
|
|
7546
7658
|
},
|
|
7547
7659
|
"required": [
|
|
@@ -7550,14 +7662,15 @@ export const generatedBuiltinSchemas = {
|
|
|
7550
7662
|
]
|
|
7551
7663
|
},
|
|
7552
7664
|
"slack-search": {
|
|
7553
|
-
"$comment": "Search messages, files, and
|
|
7665
|
+
"$comment": "Search messages, files, channels, and people.",
|
|
7554
7666
|
"properties": {
|
|
7555
7667
|
"domain": {
|
|
7556
|
-
"
|
|
7668
|
+
"type": "string",
|
|
7669
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7557
7670
|
},
|
|
7558
7671
|
"path": {
|
|
7559
7672
|
"type": "string",
|
|
7560
|
-
"pattern": "^/api/search\\.
|
|
7673
|
+
"pattern": "^/api/search\\.[A-Za-z0-9.]+$"
|
|
7561
7674
|
}
|
|
7562
7675
|
},
|
|
7563
7676
|
"required": [
|
|
@@ -7569,7 +7682,8 @@ export const generatedBuiltinSchemas = {
|
|
|
7569
7682
|
"$comment": "List pinned messages in a conversation.",
|
|
7570
7683
|
"properties": {
|
|
7571
7684
|
"domain": {
|
|
7572
|
-
"
|
|
7685
|
+
"type": "string",
|
|
7686
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7573
7687
|
},
|
|
7574
7688
|
"path": {
|
|
7575
7689
|
"type": "string",
|
|
@@ -7585,11 +7699,12 @@ export const generatedBuiltinSchemas = {
|
|
|
7585
7699
|
"$comment": "Pin or unpin messages in a conversation.",
|
|
7586
7700
|
"properties": {
|
|
7587
7701
|
"domain": {
|
|
7588
|
-
"
|
|
7702
|
+
"type": "string",
|
|
7703
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7589
7704
|
},
|
|
7590
7705
|
"path": {
|
|
7591
7706
|
"type": "string",
|
|
7592
|
-
"pattern": "^/api/pins\\.(add|remove)$"
|
|
7707
|
+
"pattern": "^/api/(pins\\.(add|remove))$"
|
|
7593
7708
|
}
|
|
7594
7709
|
},
|
|
7595
7710
|
"required": [
|
|
@@ -7601,7 +7716,8 @@ export const generatedBuiltinSchemas = {
|
|
|
7601
7716
|
"$comment": "List bookmarks in a conversation.",
|
|
7602
7717
|
"properties": {
|
|
7603
7718
|
"domain": {
|
|
7604
|
-
"
|
|
7719
|
+
"type": "string",
|
|
7720
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7605
7721
|
},
|
|
7606
7722
|
"path": {
|
|
7607
7723
|
"type": "string",
|
|
@@ -7617,11 +7733,12 @@ export const generatedBuiltinSchemas = {
|
|
|
7617
7733
|
"$comment": "Add, edit, or remove bookmarks.",
|
|
7618
7734
|
"properties": {
|
|
7619
7735
|
"domain": {
|
|
7620
|
-
"
|
|
7736
|
+
"type": "string",
|
|
7737
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7621
7738
|
},
|
|
7622
7739
|
"path": {
|
|
7623
7740
|
"type": "string",
|
|
7624
|
-
"pattern": "^/api/bookmarks\\.(add|edit|remove)$"
|
|
7741
|
+
"pattern": "^/api/(bookmarks\\.(add|edit|remove))$"
|
|
7625
7742
|
}
|
|
7626
7743
|
},
|
|
7627
7744
|
"required": [
|
|
@@ -7630,14 +7747,15 @@ export const generatedBuiltinSchemas = {
|
|
|
7630
7747
|
]
|
|
7631
7748
|
},
|
|
7632
7749
|
"slack-reminders-read": {
|
|
7633
|
-
"$comment": "List and inspect reminders.",
|
|
7750
|
+
"$comment": "List and inspect reminders. A subset of slack-later-read.",
|
|
7634
7751
|
"properties": {
|
|
7635
7752
|
"domain": {
|
|
7636
|
-
"
|
|
7753
|
+
"type": "string",
|
|
7754
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7637
7755
|
},
|
|
7638
7756
|
"path": {
|
|
7639
7757
|
"type": "string",
|
|
7640
|
-
"pattern": "^/api/reminders\\.(info|list)$"
|
|
7758
|
+
"pattern": "^/api/(reminders\\.(info|list))$"
|
|
7641
7759
|
}
|
|
7642
7760
|
},
|
|
7643
7761
|
"required": [
|
|
@@ -7646,14 +7764,49 @@ export const generatedBuiltinSchemas = {
|
|
|
7646
7764
|
]
|
|
7647
7765
|
},
|
|
7648
7766
|
"slack-reminders-write": {
|
|
7649
|
-
"$comment": "Create, complete, or delete reminders.",
|
|
7767
|
+
"$comment": "Create, complete, or delete reminders. A subset of slack-later-write.",
|
|
7650
7768
|
"properties": {
|
|
7651
7769
|
"domain": {
|
|
7652
|
-
"
|
|
7770
|
+
"type": "string",
|
|
7771
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7772
|
+
},
|
|
7773
|
+
"path": {
|
|
7774
|
+
"type": "string",
|
|
7775
|
+
"pattern": "^/api/(reminders\\.(add|complete|delete))$"
|
|
7776
|
+
}
|
|
7777
|
+
},
|
|
7778
|
+
"required": [
|
|
7779
|
+
"domain",
|
|
7780
|
+
"path"
|
|
7781
|
+
]
|
|
7782
|
+
},
|
|
7783
|
+
"slack-later-read": {
|
|
7784
|
+
"$comment": "List and inspect reminders and saved items (the Later view).",
|
|
7785
|
+
"properties": {
|
|
7786
|
+
"domain": {
|
|
7787
|
+
"type": "string",
|
|
7788
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7789
|
+
},
|
|
7790
|
+
"path": {
|
|
7791
|
+
"type": "string",
|
|
7792
|
+
"pattern": "^/api/(reminders\\.(info|list)|saved\\.list|stars\\.list)$"
|
|
7793
|
+
}
|
|
7794
|
+
},
|
|
7795
|
+
"required": [
|
|
7796
|
+
"domain",
|
|
7797
|
+
"path"
|
|
7798
|
+
]
|
|
7799
|
+
},
|
|
7800
|
+
"slack-later-write": {
|
|
7801
|
+
"$comment": "Create, update, complete, or delete reminders and saved items (the Later view).",
|
|
7802
|
+
"properties": {
|
|
7803
|
+
"domain": {
|
|
7804
|
+
"type": "string",
|
|
7805
|
+
"pattern": "^(?!files\\.|edgeapi\\.)([a-z0-9-]+\\.)*slack\\.com$"
|
|
7653
7806
|
},
|
|
7654
7807
|
"path": {
|
|
7655
7808
|
"type": "string",
|
|
7656
|
-
"pattern": "^/api/reminders\\.(add|complete|delete)$"
|
|
7809
|
+
"pattern": "^/api/(reminders\\.(add|complete|delete)|saved\\.(add|clearCompleted|delete|update)|stars\\.(add|remove))$"
|
|
7657
7810
|
}
|
|
7658
7811
|
},
|
|
7659
7812
|
"required": [
|