@happyvertical/smrt-messages 0.57.35 → 0.57.37
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/AGENTS.md +1 -0
- package/dist/chunks/{AccountCollection-DCO2f-sh.js → AccountCollection-BglF2RVR.js} +2 -2
- package/dist/chunks/{AccountCollection-DCO2f-sh.js.map → AccountCollection-BglF2RVR.js.map} +1 -1
- package/dist/chunks/{Email-CjNdjSzA.js → Email-DwHtmHAo.js} +3 -3
- package/dist/chunks/{Email-CjNdjSzA.js.map → Email-DwHtmHAo.js.map} +1 -1
- package/dist/chunks/{EmailFolder-3KSOjIAA.js → EmailFolder-BNih5O88.js} +2 -2
- package/dist/chunks/{EmailFolder-3KSOjIAA.js.map → EmailFolder-BNih5O88.js.map} +1 -1
- package/dist/chunks/{Message-BMYm4LJR.js → Message-CvO9mpda.js} +4 -4
- package/dist/chunks/{Message-BMYm4LJR.js.map → Message-CvO9mpda.js.map} +1 -1
- package/dist/chunks/{MessageCollection-DAiGJhzg.js → MessageCollection-DtV_qC86.js} +2 -2
- package/dist/chunks/{MessageCollection-DAiGJhzg.js.map → MessageCollection-DtV_qC86.js.map} +1 -1
- package/dist/chunks/{__smrt-register__-Bnv2fHoi.js → __smrt-register__-DZo-7LsB.js} +2 -2
- package/dist/chunks/{__smrt-register__-Bnv2fHoi.js.map → __smrt-register__-DZo-7LsB.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +153 -10
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +289 -12
- package/dist/models/SlackAccount.d.ts.map +1 -1
- package/dist/models/SlackMessage.d.ts.map +1 -1
- package/dist/recipes.d.ts +204 -0
- package/dist/recipes.d.ts.map +1 -1
- package/dist/smrt-knowledge.json +260 -16
- package/package.json +15 -15
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-messages",
|
|
5
|
-
"packageVersion": "0.57.
|
|
5
|
+
"packageVersion": "0.57.37",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-messages:AccountCollection": {
|
|
8
8
|
"name": "accountcollection",
|
|
@@ -8353,15 +8353,27 @@
|
|
|
8353
8353
|
},
|
|
8354
8354
|
"workspaceId": {
|
|
8355
8355
|
"type": "text",
|
|
8356
|
-
"required": false
|
|
8356
|
+
"required": false,
|
|
8357
|
+
"description": "The identifier of the connected workspace.",
|
|
8358
|
+
"_meta": {
|
|
8359
|
+
"description": "The identifier of the connected workspace."
|
|
8360
|
+
}
|
|
8357
8361
|
},
|
|
8358
8362
|
"workspaceName": {
|
|
8359
8363
|
"type": "text",
|
|
8360
|
-
"required": false
|
|
8364
|
+
"required": false,
|
|
8365
|
+
"description": "The name of the connected workspace.",
|
|
8366
|
+
"_meta": {
|
|
8367
|
+
"description": "The name of the connected workspace."
|
|
8368
|
+
}
|
|
8361
8369
|
},
|
|
8362
8370
|
"botUserId": {
|
|
8363
8371
|
"type": "text",
|
|
8364
|
-
"required": false
|
|
8372
|
+
"required": false,
|
|
8373
|
+
"description": "The bot user your application posts as in this workspace.",
|
|
8374
|
+
"_meta": {
|
|
8375
|
+
"description": "The bot user your application posts as in this workspace."
|
|
8376
|
+
}
|
|
8365
8377
|
}
|
|
8366
8378
|
},
|
|
8367
8379
|
"methods": {
|
|
@@ -8885,36 +8897,68 @@
|
|
|
8885
8897
|
},
|
|
8886
8898
|
"channelId": {
|
|
8887
8899
|
"type": "text",
|
|
8888
|
-
"required": false
|
|
8900
|
+
"required": false,
|
|
8901
|
+
"description": "The identifier of the channel this message is in.",
|
|
8902
|
+
"_meta": {
|
|
8903
|
+
"description": "The identifier of the channel this message is in."
|
|
8904
|
+
}
|
|
8889
8905
|
},
|
|
8890
8906
|
"channelName": {
|
|
8891
8907
|
"type": "text",
|
|
8892
|
-
"required": false
|
|
8908
|
+
"required": false,
|
|
8909
|
+
"description": "The name of the channel this message was posted in.",
|
|
8910
|
+
"_meta": {
|
|
8911
|
+
"description": "The name of the channel this message was posted in."
|
|
8912
|
+
}
|
|
8893
8913
|
},
|
|
8894
8914
|
"slackTs": {
|
|
8895
8915
|
"type": "text",
|
|
8896
|
-
"required": false
|
|
8916
|
+
"required": false,
|
|
8917
|
+
"description": "The workspace's own reference for this message.",
|
|
8918
|
+
"_meta": {
|
|
8919
|
+
"description": "The workspace's own reference for this message."
|
|
8920
|
+
}
|
|
8897
8921
|
},
|
|
8898
8922
|
"slackThreadTs": {
|
|
8899
8923
|
"type": "text",
|
|
8900
|
-
"required": false
|
|
8924
|
+
"required": false,
|
|
8925
|
+
"description": "The workspace's own reference for the thread this message belongs to.",
|
|
8926
|
+
"_meta": {
|
|
8927
|
+
"description": "The workspace's own reference for the thread this message belongs to."
|
|
8928
|
+
}
|
|
8901
8929
|
},
|
|
8902
8930
|
"reactions": {
|
|
8903
8931
|
"type": "text",
|
|
8904
|
-
"required": false
|
|
8932
|
+
"required": false,
|
|
8933
|
+
"description": "The reactions people added to this message.",
|
|
8934
|
+
"_meta": {
|
|
8935
|
+
"description": "The reactions people added to this message."
|
|
8936
|
+
}
|
|
8905
8937
|
},
|
|
8906
8938
|
"isEdited": {
|
|
8907
8939
|
"type": "boolean",
|
|
8908
8940
|
"required": true,
|
|
8909
|
-
"default": false
|
|
8941
|
+
"default": false,
|
|
8942
|
+
"description": "Whether this message was edited after posting.",
|
|
8943
|
+
"_meta": {
|
|
8944
|
+
"description": "Whether this message was edited after posting."
|
|
8945
|
+
}
|
|
8910
8946
|
},
|
|
8911
8947
|
"messageType": {
|
|
8912
8948
|
"type": "text",
|
|
8913
|
-
"required": false
|
|
8949
|
+
"required": false,
|
|
8950
|
+
"description": "The kind of message, such as one from a person or a bot.",
|
|
8951
|
+
"_meta": {
|
|
8952
|
+
"description": "The kind of message, such as one from a person or a bot."
|
|
8953
|
+
}
|
|
8914
8954
|
},
|
|
8915
8955
|
"blocks": {
|
|
8916
8956
|
"type": "text",
|
|
8917
|
-
"required": false
|
|
8957
|
+
"required": false,
|
|
8958
|
+
"description": "The rich layout of the message as the workspace stores it.",
|
|
8959
|
+
"_meta": {
|
|
8960
|
+
"description": "The rich layout of the message as the workspace stores it."
|
|
8961
|
+
}
|
|
8918
8962
|
}
|
|
8919
8963
|
},
|
|
8920
8964
|
"methods": {
|
|
@@ -12321,6 +12365,239 @@
|
|
|
12321
12365
|
"Needs a server because its package depends on @happyvertical/smrt-profiles, @happyvertical/smrt-secrets, @happyvertical/smrt-tenancy, @happyvertical/smrt-users, which do not build for a browser (#3617, #3624, #3626, #3627)."
|
|
12322
12366
|
]
|
|
12323
12367
|
}
|
|
12368
|
+
},
|
|
12369
|
+
{
|
|
12370
|
+
"id": "messages.slack",
|
|
12371
|
+
"className": "SlackRecipe",
|
|
12372
|
+
"label": "Slack",
|
|
12373
|
+
"summary": "Read Slack messages from your connected workspaces.",
|
|
12374
|
+
"synonyms": [
|
|
12375
|
+
"slack",
|
|
12376
|
+
"slack messages",
|
|
12377
|
+
"slack channels",
|
|
12378
|
+
"workspace chat",
|
|
12379
|
+
"team chat"
|
|
12380
|
+
],
|
|
12381
|
+
"models": [
|
|
12382
|
+
"@happyvertical/smrt-messages:SlackMessage",
|
|
12383
|
+
"@happyvertical/smrt-messages:SlackAccount"
|
|
12384
|
+
],
|
|
12385
|
+
"nav": [
|
|
12386
|
+
{
|
|
12387
|
+
"label": "Slack messages",
|
|
12388
|
+
"model": "@happyvertical/smrt-messages:SlackMessage",
|
|
12389
|
+
"icon": "folder",
|
|
12390
|
+
"description": "Read messages from your connected workspaces by channel.",
|
|
12391
|
+
"key": "slack-messages",
|
|
12392
|
+
"noun": "message"
|
|
12393
|
+
},
|
|
12394
|
+
{
|
|
12395
|
+
"label": "Slack workspaces",
|
|
12396
|
+
"model": "@happyvertical/smrt-messages:SlackAccount",
|
|
12397
|
+
"icon": "users",
|
|
12398
|
+
"description": "The workspaces your application is connected to.",
|
|
12399
|
+
"noun": "workspace"
|
|
12400
|
+
}
|
|
12401
|
+
],
|
|
12402
|
+
"requires": [],
|
|
12403
|
+
"group": {
|
|
12404
|
+
"id": "messages",
|
|
12405
|
+
"label": "Messaging",
|
|
12406
|
+
"summary": "Choose email and personal updates independently."
|
|
12407
|
+
},
|
|
12408
|
+
"section": {
|
|
12409
|
+
"id": "messages",
|
|
12410
|
+
"label": "Messaging",
|
|
12411
|
+
"icon": "folder",
|
|
12412
|
+
"description": "Read email and keep up with updates addressed to you."
|
|
12413
|
+
},
|
|
12414
|
+
"options": {
|
|
12415
|
+
"@happyvertical/smrt-messages:SlackMessage": {
|
|
12416
|
+
"fields": {
|
|
12417
|
+
"channelName": {
|
|
12418
|
+
"label": "Channel",
|
|
12419
|
+
"order": 1
|
|
12420
|
+
},
|
|
12421
|
+
"body": {
|
|
12422
|
+
"label": "Message",
|
|
12423
|
+
"order": 2
|
|
12424
|
+
},
|
|
12425
|
+
"threadId": {
|
|
12426
|
+
"label": "Thread",
|
|
12427
|
+
"order": 3
|
|
12428
|
+
},
|
|
12429
|
+
"sendStatus": {
|
|
12430
|
+
"label": "Sent status",
|
|
12431
|
+
"order": 4
|
|
12432
|
+
},
|
|
12433
|
+
"accountId": {
|
|
12434
|
+
"label": "Workspace",
|
|
12435
|
+
"order": 5
|
|
12436
|
+
},
|
|
12437
|
+
"fromName": {
|
|
12438
|
+
"label": "From",
|
|
12439
|
+
"visibility": "advanced"
|
|
12440
|
+
},
|
|
12441
|
+
"fromAddress": {
|
|
12442
|
+
"visibility": "advanced"
|
|
12443
|
+
},
|
|
12444
|
+
"toAddresses": {
|
|
12445
|
+
"visibility": "advanced"
|
|
12446
|
+
},
|
|
12447
|
+
"subject": {
|
|
12448
|
+
"visibility": "advanced"
|
|
12449
|
+
},
|
|
12450
|
+
"date": {
|
|
12451
|
+
"visibility": "advanced"
|
|
12452
|
+
},
|
|
12453
|
+
"isRead": {
|
|
12454
|
+
"visibility": "advanced"
|
|
12455
|
+
},
|
|
12456
|
+
"isFlagged": {
|
|
12457
|
+
"visibility": "advanced"
|
|
12458
|
+
},
|
|
12459
|
+
"isEdited": {
|
|
12460
|
+
"label": "Edited",
|
|
12461
|
+
"visibility": "advanced"
|
|
12462
|
+
},
|
|
12463
|
+
"messageType": {
|
|
12464
|
+
"label": "Message kind",
|
|
12465
|
+
"visibility": "advanced"
|
|
12466
|
+
},
|
|
12467
|
+
"reactions": {
|
|
12468
|
+
"visibility": "advanced"
|
|
12469
|
+
},
|
|
12470
|
+
"hasAttachments": {
|
|
12471
|
+
"visibility": "advanced"
|
|
12472
|
+
},
|
|
12473
|
+
"channelId": {
|
|
12474
|
+
"visibility": "advanced"
|
|
12475
|
+
},
|
|
12476
|
+
"sentAt": {
|
|
12477
|
+
"visibility": "advanced"
|
|
12478
|
+
},
|
|
12479
|
+
"sendError": {
|
|
12480
|
+
"visibility": "advanced"
|
|
12481
|
+
},
|
|
12482
|
+
"scheduledSendAt": {
|
|
12483
|
+
"visibility": "advanced"
|
|
12484
|
+
},
|
|
12485
|
+
"inReplyToMessageId": {
|
|
12486
|
+
"label": "Replying to",
|
|
12487
|
+
"visibility": "advanced"
|
|
12488
|
+
},
|
|
12489
|
+
"personaId": {
|
|
12490
|
+
"visibility": "advanced"
|
|
12491
|
+
},
|
|
12492
|
+
"endpointId": {
|
|
12493
|
+
"visibility": "advanced"
|
|
12494
|
+
},
|
|
12495
|
+
"retryCount": {
|
|
12496
|
+
"visibility": "hidden"
|
|
12497
|
+
},
|
|
12498
|
+
"maxRetries": {
|
|
12499
|
+
"visibility": "hidden"
|
|
12500
|
+
},
|
|
12501
|
+
"size": {
|
|
12502
|
+
"visibility": "hidden"
|
|
12503
|
+
},
|
|
12504
|
+
"correlationId": {
|
|
12505
|
+
"visibility": "hidden"
|
|
12506
|
+
},
|
|
12507
|
+
"slackTs": {
|
|
12508
|
+
"visibility": "hidden"
|
|
12509
|
+
},
|
|
12510
|
+
"slackThreadTs": {
|
|
12511
|
+
"visibility": "hidden"
|
|
12512
|
+
},
|
|
12513
|
+
"blocks": {
|
|
12514
|
+
"visibility": "hidden"
|
|
12515
|
+
},
|
|
12516
|
+
"metadata": {
|
|
12517
|
+
"visibility": "hidden"
|
|
12518
|
+
},
|
|
12519
|
+
"tenantId": {
|
|
12520
|
+
"visibility": "hidden"
|
|
12521
|
+
},
|
|
12522
|
+
"created_at": {
|
|
12523
|
+
"help": "When this message was first recorded."
|
|
12524
|
+
},
|
|
12525
|
+
"updated_at": {
|
|
12526
|
+
"help": "When this message record was last changed."
|
|
12527
|
+
}
|
|
12528
|
+
}
|
|
12529
|
+
},
|
|
12530
|
+
"@happyvertical/smrt-messages:SlackAccount": {
|
|
12531
|
+
"fields": {
|
|
12532
|
+
"name": {
|
|
12533
|
+
"order": 1
|
|
12534
|
+
},
|
|
12535
|
+
"workspaceName": {
|
|
12536
|
+
"label": "Workspace",
|
|
12537
|
+
"order": 2
|
|
12538
|
+
},
|
|
12539
|
+
"isActive": {
|
|
12540
|
+
"label": "Enabled",
|
|
12541
|
+
"order": 3
|
|
12542
|
+
},
|
|
12543
|
+
"lastSyncAt": {
|
|
12544
|
+
"label": "Last checked",
|
|
12545
|
+
"order": 4
|
|
12546
|
+
},
|
|
12547
|
+
"workspaceId": {
|
|
12548
|
+
"visibility": "advanced"
|
|
12549
|
+
},
|
|
12550
|
+
"credentialSecretId": {
|
|
12551
|
+
"visibility": "hidden"
|
|
12552
|
+
},
|
|
12553
|
+
"settings": {
|
|
12554
|
+
"visibility": "hidden"
|
|
12555
|
+
},
|
|
12556
|
+
"botUserId": {
|
|
12557
|
+
"label": "Bot user",
|
|
12558
|
+
"visibility": "advanced"
|
|
12559
|
+
},
|
|
12560
|
+
"providerType": {
|
|
12561
|
+
"visibility": "advanced"
|
|
12562
|
+
},
|
|
12563
|
+
"channelType": {
|
|
12564
|
+
"visibility": "advanced"
|
|
12565
|
+
},
|
|
12566
|
+
"configuration": {
|
|
12567
|
+
"visibility": "advanced"
|
|
12568
|
+
},
|
|
12569
|
+
"tenantId": {
|
|
12570
|
+
"visibility": "hidden"
|
|
12571
|
+
},
|
|
12572
|
+
"created_at": {
|
|
12573
|
+
"help": "When this workspace connection was first recorded."
|
|
12574
|
+
},
|
|
12575
|
+
"updated_at": {
|
|
12576
|
+
"help": "When this workspace connection was last changed."
|
|
12577
|
+
}
|
|
12578
|
+
}
|
|
12579
|
+
}
|
|
12580
|
+
},
|
|
12581
|
+
"help": {
|
|
12582
|
+
"markdown": "## Overview\n\nSlack shows the messages from the workspaces your application is connected to,\nin one place beside your email. Each message keeps the channel it was posted\nin, the thread it belongs to, the reactions people added and whether it was\nedited, so you can catch up on a conversation without opening Slack.\n\n## Tasks\n\nWorkspaces are connected by your application administrator on the server.\nMessages arrive from those connected workspaces; here you read them and see\nwhere each one stands.\n\n### Find a message in a channel\n\n1. Open Slack messages.\n2. Look at the **{field:SlackMessage.channelName}** to find the channel you want.\n3. Open a message to read the **{field:SlackMessage.body}** and see who it is from.\n\n### Follow a thread\n\n1. Open a message that is part of a conversation.\n2. Use its **{field:SlackMessage.threadId}** to find the other messages in the same thread.\n3. Read them oldest first; the **{field:SlackMessage.reactions}** show how people responded.\n\n### See whether a message was changed\n\n1. Open the message.\n2. Check **{field:SlackMessage.isEdited}** to see whether it was edited after it was posted.\n\n### Draft a message\n\n1. Open Slack messages and choose **New**.\n2. Type the **{field:SlackMessage.channelName}** it is for and the **{field:SlackMessage.body}**.\n3. Save. This records the draft; your application sends it through the connected workspace, and the **{field:SlackMessage.sendStatus}** shows where it stands.\n\n### See which workspaces are connected\n\n1. Open Slack workspaces.\n2. Look at the **{field:SlackAccount.workspaceName}** and whether it is **{field:SlackAccount.isActive}**.\n3. Check **{field:SlackAccount.lastSyncAt}** to see when messages were last collected. Connecting or changing a workspace is done by your application administrator, not here.\n",
|
|
12583
|
+
"fieldRefs": [
|
|
12584
|
+
"SlackAccount.isActive",
|
|
12585
|
+
"SlackAccount.lastSyncAt",
|
|
12586
|
+
"SlackAccount.workspaceName",
|
|
12587
|
+
"SlackMessage.body",
|
|
12588
|
+
"SlackMessage.channelName",
|
|
12589
|
+
"SlackMessage.isEdited",
|
|
12590
|
+
"SlackMessage.reactions",
|
|
12591
|
+
"SlackMessage.sendStatus",
|
|
12592
|
+
"SlackMessage.threadId"
|
|
12593
|
+
]
|
|
12594
|
+
},
|
|
12595
|
+
"demo": {
|
|
12596
|
+
"mode": "server",
|
|
12597
|
+
"reasons": [
|
|
12598
|
+
"Needs a server because its package depends on @happyvertical/smrt-profiles, @happyvertical/smrt-secrets, @happyvertical/smrt-tenancy, @happyvertical/smrt-users, which do not build for a browser (#3617, #3624, #3626, #3627)."
|
|
12599
|
+
]
|
|
12600
|
+
}
|
|
12324
12601
|
}
|
|
12325
12602
|
],
|
|
12326
12603
|
"smrtDependencies": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlackAccount.d.ts","sourceRoot":"","sources":["../../src/models/SlackAccount.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,aAAU,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,cAAW,CAAC;AAEpC,qBAMa,YAAa,SAAQ,OAAO;
|
|
1
|
+
{"version":3,"file":"SlackAccount.d.ts","sourceRoot":"","sources":["../../src/models/SlackAccount.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,aAAU,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,cAAW,CAAC;AAEpC,qBAMa,YAAa,SAAQ,OAAO;IAEvC,WAAW,SAAM;IAEjB,aAAa,SAAM;IAInB,SAAS,SAAM;gBAEH,OAAO,GAAE,mBAAwB;IAc7C;;OAEG;IACY,YAAY,IAAI,OAAO,CAAC,sBAAsB,CAAC;CAI/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlackMessage.d.ts","sourceRoot":"","sources":["../../src/models/SlackMessage.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAU,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAW,CAAC;AAEpC,qBAQa,YAAa,SAAQ,OAAO;
|
|
1
|
+
{"version":3,"file":"SlackMessage.d.ts","sourceRoot":"","sources":["../../src/models/SlackMessage.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAU,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAW,CAAC;AAEpC,qBAQa,YAAa,SAAQ,OAAO;IAEvC,SAAS,SAAM;IAEf,WAAW,SAAM;IAEjB,OAAO,SAAM;IAKb,aAAa,SAAM;IAEnB,SAAS,SAAM;IAEf,QAAQ,UAAS;IAIjB,WAAW,SAAM;IAIjB,MAAM,SAAM;gBAEA,OAAO,GAAE,mBAAwB;IAgB7C;;OAEG;IACH,YAAY,IAAI,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IASxE;;OAEG;IACH,SAAS,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE;IAStC;;OAEG;IACH,UAAU,IAAI,OAAO;IAIrB;;OAEG;IACH,iBAAiB,IAAI,MAAM;CAG5B"}
|
package/dist/recipes.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { SmrtRecipe } from '@happyvertical/smrt-core';
|
|
2
2
|
import { Email } from './models/Email.js';
|
|
3
3
|
import { EmailAccount } from './models/EmailAccount.js';
|
|
4
|
+
import { SlackAccount } from './models/SlackAccount.js';
|
|
5
|
+
import { SlackMessage } from './models/SlackMessage.js';
|
|
4
6
|
import { UserNotification } from './models/UserNotification.js';
|
|
5
7
|
/** Email reading and composing with application-owned transport. */
|
|
6
8
|
export declare class MailboxRecipe extends SmrtRecipe {
|
|
@@ -154,4 +156,206 @@ export declare class NotificationsRecipe extends SmrtRecipe {
|
|
|
154
156
|
static nav: never[];
|
|
155
157
|
static help: string;
|
|
156
158
|
}
|
|
159
|
+
/** Slack messages from connected workspaces, read by channel and thread. */
|
|
160
|
+
export declare class SlackRecipe extends SmrtRecipe {
|
|
161
|
+
static id: string;
|
|
162
|
+
static label: string;
|
|
163
|
+
static summary: string;
|
|
164
|
+
static synonyms: string[];
|
|
165
|
+
static group: {
|
|
166
|
+
id: string;
|
|
167
|
+
label: string;
|
|
168
|
+
summary: string;
|
|
169
|
+
};
|
|
170
|
+
static section: {
|
|
171
|
+
id: string;
|
|
172
|
+
label: string;
|
|
173
|
+
icon: string;
|
|
174
|
+
description: string;
|
|
175
|
+
};
|
|
176
|
+
static models: (typeof SlackMessage | typeof SlackAccount)[];
|
|
177
|
+
static nav: ({
|
|
178
|
+
label: string;
|
|
179
|
+
model: typeof SlackMessage;
|
|
180
|
+
key: string;
|
|
181
|
+
icon: string;
|
|
182
|
+
noun: string;
|
|
183
|
+
description: string;
|
|
184
|
+
} | {
|
|
185
|
+
label: string;
|
|
186
|
+
model: typeof SlackAccount;
|
|
187
|
+
icon: string;
|
|
188
|
+
noun: string;
|
|
189
|
+
description: string;
|
|
190
|
+
key?: undefined;
|
|
191
|
+
})[];
|
|
192
|
+
static help: string;
|
|
193
|
+
static options: {
|
|
194
|
+
readonly SlackMessage: {
|
|
195
|
+
readonly fields: {
|
|
196
|
+
readonly channelName: {
|
|
197
|
+
readonly label: "Channel";
|
|
198
|
+
readonly order: 1;
|
|
199
|
+
};
|
|
200
|
+
readonly body: {
|
|
201
|
+
readonly label: "Message";
|
|
202
|
+
readonly order: 2;
|
|
203
|
+
};
|
|
204
|
+
readonly threadId: {
|
|
205
|
+
readonly label: "Thread";
|
|
206
|
+
readonly order: 3;
|
|
207
|
+
};
|
|
208
|
+
readonly sendStatus: {
|
|
209
|
+
readonly label: "Sent status";
|
|
210
|
+
readonly order: 4;
|
|
211
|
+
};
|
|
212
|
+
readonly accountId: {
|
|
213
|
+
readonly label: "Workspace";
|
|
214
|
+
readonly order: 5;
|
|
215
|
+
};
|
|
216
|
+
readonly fromName: {
|
|
217
|
+
readonly label: "From";
|
|
218
|
+
readonly visibility: "advanced";
|
|
219
|
+
};
|
|
220
|
+
readonly fromAddress: {
|
|
221
|
+
readonly visibility: "advanced";
|
|
222
|
+
};
|
|
223
|
+
readonly toAddresses: {
|
|
224
|
+
readonly visibility: "advanced";
|
|
225
|
+
};
|
|
226
|
+
readonly subject: {
|
|
227
|
+
readonly visibility: "advanced";
|
|
228
|
+
};
|
|
229
|
+
readonly date: {
|
|
230
|
+
readonly visibility: "advanced";
|
|
231
|
+
};
|
|
232
|
+
readonly isRead: {
|
|
233
|
+
readonly visibility: "advanced";
|
|
234
|
+
};
|
|
235
|
+
readonly isFlagged: {
|
|
236
|
+
readonly visibility: "advanced";
|
|
237
|
+
};
|
|
238
|
+
readonly isEdited: {
|
|
239
|
+
readonly label: "Edited";
|
|
240
|
+
readonly visibility: "advanced";
|
|
241
|
+
};
|
|
242
|
+
readonly messageType: {
|
|
243
|
+
readonly label: "Message kind";
|
|
244
|
+
readonly visibility: "advanced";
|
|
245
|
+
};
|
|
246
|
+
readonly reactions: {
|
|
247
|
+
readonly visibility: "advanced";
|
|
248
|
+
};
|
|
249
|
+
readonly hasAttachments: {
|
|
250
|
+
readonly visibility: "advanced";
|
|
251
|
+
};
|
|
252
|
+
readonly channelId: {
|
|
253
|
+
readonly visibility: "advanced";
|
|
254
|
+
};
|
|
255
|
+
readonly sentAt: {
|
|
256
|
+
readonly visibility: "advanced";
|
|
257
|
+
};
|
|
258
|
+
readonly sendError: {
|
|
259
|
+
readonly visibility: "advanced";
|
|
260
|
+
};
|
|
261
|
+
readonly scheduledSendAt: {
|
|
262
|
+
readonly visibility: "advanced";
|
|
263
|
+
};
|
|
264
|
+
readonly inReplyToMessageId: {
|
|
265
|
+
readonly label: "Replying to";
|
|
266
|
+
readonly visibility: "advanced";
|
|
267
|
+
};
|
|
268
|
+
readonly personaId: {
|
|
269
|
+
readonly visibility: "advanced";
|
|
270
|
+
};
|
|
271
|
+
readonly endpointId: {
|
|
272
|
+
readonly visibility: "advanced";
|
|
273
|
+
};
|
|
274
|
+
readonly retryCount: {
|
|
275
|
+
readonly visibility: "hidden";
|
|
276
|
+
};
|
|
277
|
+
readonly maxRetries: {
|
|
278
|
+
readonly visibility: "hidden";
|
|
279
|
+
};
|
|
280
|
+
readonly size: {
|
|
281
|
+
readonly visibility: "hidden";
|
|
282
|
+
};
|
|
283
|
+
readonly correlationId: {
|
|
284
|
+
readonly visibility: "hidden";
|
|
285
|
+
};
|
|
286
|
+
readonly slackTs: {
|
|
287
|
+
readonly visibility: "hidden";
|
|
288
|
+
};
|
|
289
|
+
readonly slackThreadTs: {
|
|
290
|
+
readonly visibility: "hidden";
|
|
291
|
+
};
|
|
292
|
+
readonly blocks: {
|
|
293
|
+
readonly visibility: "hidden";
|
|
294
|
+
};
|
|
295
|
+
readonly metadata: {
|
|
296
|
+
readonly visibility: "hidden";
|
|
297
|
+
};
|
|
298
|
+
readonly tenantId: {
|
|
299
|
+
readonly visibility: "hidden";
|
|
300
|
+
};
|
|
301
|
+
readonly created_at: {
|
|
302
|
+
readonly help: "When this message was first recorded.";
|
|
303
|
+
};
|
|
304
|
+
readonly updated_at: {
|
|
305
|
+
readonly help: "When this message record was last changed.";
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
readonly SlackAccount: {
|
|
310
|
+
readonly fields: {
|
|
311
|
+
readonly name: {
|
|
312
|
+
readonly order: 1;
|
|
313
|
+
};
|
|
314
|
+
readonly workspaceName: {
|
|
315
|
+
readonly label: "Workspace";
|
|
316
|
+
readonly order: 2;
|
|
317
|
+
};
|
|
318
|
+
readonly isActive: {
|
|
319
|
+
readonly label: "Enabled";
|
|
320
|
+
readonly order: 3;
|
|
321
|
+
};
|
|
322
|
+
readonly lastSyncAt: {
|
|
323
|
+
readonly label: "Last checked";
|
|
324
|
+
readonly order: 4;
|
|
325
|
+
};
|
|
326
|
+
readonly workspaceId: {
|
|
327
|
+
readonly visibility: "advanced";
|
|
328
|
+
};
|
|
329
|
+
readonly credentialSecretId: {
|
|
330
|
+
readonly visibility: "hidden";
|
|
331
|
+
};
|
|
332
|
+
readonly settings: {
|
|
333
|
+
readonly visibility: "hidden";
|
|
334
|
+
};
|
|
335
|
+
readonly botUserId: {
|
|
336
|
+
readonly label: "Bot user";
|
|
337
|
+
readonly visibility: "advanced";
|
|
338
|
+
};
|
|
339
|
+
readonly providerType: {
|
|
340
|
+
readonly visibility: "advanced";
|
|
341
|
+
};
|
|
342
|
+
readonly channelType: {
|
|
343
|
+
readonly visibility: "advanced";
|
|
344
|
+
};
|
|
345
|
+
readonly configuration: {
|
|
346
|
+
readonly visibility: "advanced";
|
|
347
|
+
};
|
|
348
|
+
readonly tenantId: {
|
|
349
|
+
readonly visibility: "hidden";
|
|
350
|
+
};
|
|
351
|
+
readonly created_at: {
|
|
352
|
+
readonly help: "When this workspace connection was first recorded.";
|
|
353
|
+
};
|
|
354
|
+
readonly updated_at: {
|
|
355
|
+
readonly help: "When this workspace connection was last changed.";
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
}
|
|
157
361
|
//# sourceMappingURL=recipes.d.ts.map
|
package/dist/recipes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipes.d.ts","sourceRoot":"","sources":["../src/recipes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EA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