@microsoft/agents-a365-notifications package

インターフェイス

AgentNotificationActivity

厳密に型指定された通知データを使用して解析されたエージェント通知アクティビティを表します。

EmailReference

電子メール通知エンティティを表します。

EmailResponse

返信する電子メール応答エンティティを表します。

WpxComment

Word (WPX) コメント通知エンティティを表します。

型エイリアス

AgentNotificationHandler

エージェント通知ハンドラー関数の型定義。 厳密に型指定された通知データを使用してエージェント通知アクティビティを処理します。

列挙型

NotificationType

受信できる通知の種類を表す列挙型。

関数

createAgentNotificationActivity(Activity)

エージェント通知アクティビティのラッパーを作成します。

createEmailReference(string, string, string)

EmailReference エンティティを作成するファクトリ関数。

createEmailResponse(string)

EmailResponse エンティティを作成するファクトリ関数。

createEmailResponseActivity(string)

EmailResponse エンティティを使用してアクティビティを作成します。

createWpxComment(string, string, string, string)

WpxComment エンティティを作成するためのファクトリ関数。

isEmailReference(Entity)

エンティティが EmailReference であるかどうかを確認するガードを入力します。

isWpxComment(Entity)

エンティティが WpxComment であるかどうかを確認するガードを入力します。

変数

AGENTS_CHANNEL

エージェント通知のチャネル定数とサブチャネル定数。

AGENTS_EMAIL_SUBCHANNEL
AGENTS_EXCEL_SUBCHANNEL
AGENTS_POWERPOINT_SUBCHANNEL
AGENTS_WORD_SUBCHANNEL
AGENT_LIFECYCLE

エージェント通知のライフサイクル定数。

EMAIL_NOTIFICATION_TYPE

電子メール通知のエンティティ型名。

EMAIL_RESPONSE_TYPE

電子メール応答のエンティティ型名。

USER_CREATED_LIFECYCLE_EVENT
USER_DELETED_LIFECYCLE_EVENT
USER_WORKLOAD_ONBOARDING_LIFECYCLE_EVENT
WPX_COMMENT_TYPE

WPX コメントのエンティティ型名。

関数の詳細

createAgentNotificationActivity(Activity)

エージェント通知アクティビティのラッパーを作成します。

function createAgentNotificationActivity(activity: Activity): AgentNotificationActivity

パラメーター

activity
Activity

アクティビティ

返品

エージェント通知アクティビティ

createEmailReference(string, string, string)

EmailReference エンティティを作成するファクトリ関数。

function createEmailReference(id?: string, conversationId?: string, htmlBody?: string): EmailReference

パラメーター

id

string

conversationId

string

htmlBody

string

返品

createEmailResponse(string)

EmailResponse エンティティを作成するファクトリ関数。

function createEmailResponse(htmlBody?: string): EmailResponse

パラメーター

htmlBody

string

返品

createEmailResponseActivity(string)

EmailResponse エンティティを使用してアクティビティを作成します。

function createEmailResponseActivity(emailResponseHtmlBody?: string): Activity

パラメーター

emailResponseHtmlBody

string

(省略可能)電子メール応答の HTML 本文の内容

返品

EmailResponse エンティティを含むメッセージ アクティビティ

createWpxComment(string, string, string, string)

WpxComment エンティティを作成するためのファクトリ関数。

function createWpxComment(odataId?: string, documentId?: string, initiatingCommentId?: string, subjectCommentId?: string): WpxComment

パラメーター

odataId

string

documentId

string

initiatingCommentId

string

subjectCommentId

string

返品

isEmailReference(Entity)

エンティティが EmailReference であるかどうかを確認するガードを入力します。

function isEmailReference(entity: Entity): entity

パラメーター

entity
Entity

返品

entity

isWpxComment(Entity)

エンティティが WpxComment であるかどうかを確認するガードを入力します。

function isWpxComment(entity: Entity): entity

パラメーター

entity
Entity

返品

entity

変数の詳細

AGENTS_CHANNEL

エージェント通知のチャネル定数とサブチャネル定数。

AGENTS_CHANNEL: "agents"

"agents"

AGENTS_EMAIL_SUBCHANNEL

AGENTS_EMAIL_SUBCHANNEL: "agents:email"

"agents:email"

AGENTS_EXCEL_SUBCHANNEL

AGENTS_EXCEL_SUBCHANNEL: "agents:excel"

"agents:excel"

AGENTS_POWERPOINT_SUBCHANNEL

AGENTS_POWERPOINT_SUBCHANNEL: "agents:powerpoint"

"agents:powerpoint"

AGENTS_WORD_SUBCHANNEL

AGENTS_WORD_SUBCHANNEL: "agents:word"

"agents:word"

AGENT_LIFECYCLE

エージェント通知のライフサイクル定数。

AGENT_LIFECYCLE: "agentlifecycle"

"agentlifecycle"

EMAIL_NOTIFICATION_TYPE

電子メール通知のエンティティ型名。

EMAIL_NOTIFICATION_TYPE: "emailNotification"

"emailNotification"

EMAIL_RESPONSE_TYPE

電子メール応答のエンティティ型名。

EMAIL_RESPONSE_TYPE: "emailResponse"

"emailResponse"

USER_CREATED_LIFECYCLE_EVENT

USER_CREATED_LIFECYCLE_EVENT: "agenticuseridentitycreated"

"agenticuseridentitycreated"

USER_DELETED_LIFECYCLE_EVENT

USER_DELETED_LIFECYCLE_EVENT: "agenticuserdeleted"

"agenticuserdeleted"

USER_WORKLOAD_ONBOARDING_LIFECYCLE_EVENT

USER_WORKLOAD_ONBOARDING_LIFECYCLE_EVENT: "agenticuserworkloadonboardingupdated"

"agenticuserworkloadonboardingupdated"

WPX_COMMENT_TYPE

WPX コメントのエンティティ型名。

WPX_COMMENT_TYPE: "WpxComment"

"WpxComment"