Skip to content

Add helper function to create activity with email response - #59

Merged
Josh Oratz (joratz) merged 9 commits into
mainfrom
users/joratz/createemailresponseactivity
Nov 17, 2025
Merged

Josh Oratz (joratz) merged 9 commits into
mainfrom
users/joratz/createemailresponseactivity

Conversation

@joratz

Copy link
Copy Markdown
Contributor

Porting helper function from .NET to simplify creating an activity for an email response.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new helper function createEmailResponseActivity to simplify the creation of Activity objects containing email response entities, ported from the .NET SDK for consistency across implementations.

Key Changes:

  • Added createEmailResponseActivity helper function that creates an Activity with an EmailResponse entity
  • Updated imports to include the Activity type from @microsoft/agents-activity

Comment thread packages/agents-a365-notifications/src/models/email-response.ts Outdated
Comment thread packages/agents-a365-notifications/src/models/email-response.ts Outdated
Comment thread packages/agents-a365-notifications/src/models/email-response.ts
Comment thread packages/agents-a365-notifications/src/models/email-response.ts
Josh Oratz (joratz) and others added 2 commits November 13, 2025 15:19
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment thread packages/agents-a365-notifications/src/models/email-response.ts Outdated
Comment thread packages/agents-a365-notifications/src/models/email-response.ts Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@joratz
Josh Oratz (joratz) merged commit f871599 into main Nov 17, 2025
7 checks passed
@pontemonti
Johan Broberg (pontemonti) deleted the users/joratz/createemailresponseactivity branch December 5, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants