Skip to content

TF- Jmap method for aibot #3799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

AlaeMghirbi
Copy link

No description provided.

Copy link
Member

Choose a reason for hiding this comment

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

should move all the ai_bot into ai_bot module

hoangdat
hoangdat previously approved these changes Jun 16, 2025
part 'suggest_reply_method.g.dart';

@AccountIdConverter()
@PropertiesConverter()
Copy link
Member

Choose a reason for hiding this comment

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

why we need it?

@JsonSerializable(explicitToJson: true)
class SuggestReplyMethod extends MethodRequiringAccountId {
static final capabilityIdentifier =
CapabilityIdentifier(Uri.parse('com.linagora.tmail:params:jmap:aibot'));
Copy link
Member

Choose a reason for hiding this comment

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

should constant 'com.linagora.tmail:params:jmap:aibot'

static final capabilityIdentifier =
CapabilityIdentifier(Uri.parse(aibotCapability));

final String emailId;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
final String emailId;
final EmailId emailId;

import 'package:tmail_ui_user/features/aibot/domain/repository/aibot_repository.dart';
import 'package:tmail_ui_user/features/aibot/domain/state/suggest_reply_state.dart';

class AiBotSuggestReply {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
class AiBotSuggestReply {
class AiBotSuggestReplyInteractor {

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