@twentyhq/teams 1.1.2 → 1.2.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 (50) hide show
  1. package/dependencies/yarn.lock +723 -3
  2. package/manifest.json +46 -29
  3. package/package.json +4 -2
  4. package/src/features/chat/logic-functions/teams-activities-enqueue.mjs +366 -152
  5. package/src/features/chat/logic-functions/teams-activities-enqueue.mjs.map +4 -4
  6. package/src/features/chat/logic-functions/teams-activities-enqueue.ts +1 -1
  7. package/src/features/chat/logic-functions/teams-activities-resolver.mjs +500 -40
  8. package/src/features/chat/logic-functions/teams-activities-resolver.mjs.map +4 -4
  9. package/src/features/chat/logic-functions/teams-activities-resolver.ts +13 -2
  10. package/src/features/chat/logic-functions/teams-list-unlinked-users.mjs +95 -61
  11. package/src/features/chat/logic-functions/teams-list-unlinked-users.mjs.map +4 -4
  12. package/src/features/chat/logic-functions/teams-match-user-links.mjs +105 -86
  13. package/src/features/chat/logic-functions/teams-match-user-links.mjs.map +4 -4
  14. package/src/features/chat/logic-functions/teams-register-connection.mjs +119 -101
  15. package/src/features/chat/logic-functions/teams-register-connection.mjs.map +4 -4
  16. package/src/features/chat/logic-functions/teams-register-connection.ts +1 -1
  17. package/src/features/chat/logic-functions/teams-search-users.mjs +96 -62
  18. package/src/features/chat/logic-functions/teams-search-users.mjs.map +4 -4
  19. package/src/features/chat/logic-functions/teams-set-user-link.mjs +88 -54
  20. package/src/features/chat/logic-functions/teams-set-user-link.mjs.map +4 -4
  21. package/src/features/chat/logic-functions/teams-tenant-release.mjs +72 -41
  22. package/src/features/chat/logic-functions/teams-tenant-release.mjs.map +4 -4
  23. package/src/features/transcripts/logic-functions/teams-count-transcript-history.mjs +99 -68
  24. package/src/features/transcripts/logic-functions/teams-count-transcript-history.mjs.map +4 -4
  25. package/src/features/transcripts/logic-functions/teams-import-transcript-history.mjs +99 -68
  26. package/src/features/transcripts/logic-functions/teams-import-transcript-history.mjs.map +4 -4
  27. package/src/features/transcripts/logic-functions/teams-import-transcript.mjs +96 -65
  28. package/src/features/transcripts/logic-functions/teams-import-transcript.mjs.map +4 -4
  29. package/src/features/transcripts/logic-functions/teams-list-organizer-transcripts.mjs +89 -58
  30. package/src/features/transcripts/logic-functions/teams-list-organizer-transcripts.mjs.map +4 -4
  31. package/src/features/transcripts/logic-functions/teams-sync-transcript.mjs +96 -65
  32. package/src/features/transcripts/logic-functions/teams-sync-transcript.mjs.map +4 -4
  33. package/src/features/transcripts/logic-functions/teams-transcript-history-count.mjs +0 -1
  34. package/src/features/transcripts/logic-functions/teams-transcript-history-count.mjs.map +2 -2
  35. package/src/features/transcripts/logic-functions/teams-transcript-history-import.mjs +0 -1
  36. package/src/features/transcripts/logic-functions/teams-transcript-history-import.mjs.map +2 -2
  37. package/src/features/transcripts/logic-functions/teams-transcript-history-status.mjs +0 -1
  38. package/src/features/transcripts/logic-functions/teams-transcript-history-status.mjs.map +2 -2
  39. package/src/features/transcripts/logic-functions/teams-transcripts-webhook.mjs +104 -73
  40. package/src/features/transcripts/logic-functions/teams-transcripts-webhook.mjs.map +4 -4
  41. package/src/features/transcripts/logic-functions/teams-uninstall.mjs +72 -41
  42. package/src/features/transcripts/logic-functions/teams-uninstall.mjs.map +4 -4
  43. package/src/front-components/settings.front-component.mjs +113 -113
  44. package/src/front-components/settings.front-component.mjs.map +4 -4
  45. package/src/logic-functions/teams-health-check.mjs +46 -25
  46. package/src/logic-functions/teams-health-check.mjs.map +4 -4
  47. package/src/logic-functions/teams-health-check.ts +21 -6
  48. package/src/logic-functions/teams-post-install.mjs +1270 -0
  49. package/src/logic-functions/teams-post-install.mjs.map +7 -0
  50. package/src/logic-functions/teams-post-install.ts +15 -0
@@ -32,7 +32,7 @@ export default defineLogicFunction({
32
32
  universalIdentifier: TEAMS_ACTIVITIES_ENQUEUE_UNIVERSAL_IDENTIFIER,
33
33
  name: 'teams-activities-enqueue',
34
34
  description:
35
- 'Receives a verified Microsoft Teams message activity from the activities route, in the workspace that claimed its tenant. When chat is enabled, records it as a Teams Assistant Request, once per conversation and activity id, then answers it: matches the sender to a workspace member by email, runs the Teams Assistant agent as that member and posts the answer back to the conversation.',
35
+ 'Receives a verified Microsoft Teams message or install activity from the activities route, in the workspace that claimed its tenant. Posts a welcome when the bot is installed, the help text for help, hi and bare mentions, and a notice when chat is turned off. Otherwise, when chat is enabled, records the message as a Teams Assistant Request, once per conversation and activity id, then answers it: matches the sender to a workspace member by email, runs the Teams Assistant agent as that member and posts the answer back to the conversation.',
36
36
  timeoutSeconds: TEAMS_ASSISTANT_REQUEST_TIMEOUT_SECONDS,
37
37
  handler: teamsActivitiesEnqueueHandler,
38
38
  });