@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 であるかどうかを確認するガードを入力します。

変数

AGENT_LIFECYCLE

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

AGENTS_CHANNEL

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

AGENTS_EMAIL_SUBCHANNEL
AGENTS_EXCEL_SUBCHANNEL
AGENTS_POWERPOINT_SUBCHANNEL
AGENTS_WORD_SUBCHANNEL
EMAIL_NOTIFICATION_TYPE

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

EMAIL_RESPONSE_TYPE

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

USER_CREATED_LIFECYCLE_EVENT
USER_DELETED_LIFECYCLE_EVENT
USER_DISABLED_LIFECYCLE_EVENT
USER_ENABLED_LIFECYCLE_EVENT
USER_MANAGER_UPDATED_LIFECYCLE_EVENT
USER_UNDELETED_LIFECYCLE_EVENT
USER_UPDATED_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 is EmailReference

パラメーター

entity
Entity

戻り値

entity is EmailReference

isWpxComment(Entity)

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

function isWpxComment(entity: Entity): entity is WpxComment

パラメーター

entity
Entity

戻り値

entity is WpxComment

変数の詳細

AGENT_LIFECYCLE

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

AGENT_LIFECYCLE: "agentlifecycle"

型

"agentlifecycle"

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"

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_DISABLED_LIFECYCLE_EVENT

USER_DISABLED_LIFECYCLE_EVENT: "agenticuserdisabled"

型

"agenticuserdisabled"

USER_ENABLED_LIFECYCLE_EVENT

USER_ENABLED_LIFECYCLE_EVENT: "agenticuserenabled"

型

"agenticuserenabled"

USER_MANAGER_UPDATED_LIFECYCLE_EVENT

USER_MANAGER_UPDATED_LIFECYCLE_EVENT: "agenticusermanagerupdated"

型

"agenticusermanagerupdated"

USER_UNDELETED_LIFECYCLE_EVENT

USER_UNDELETED_LIFECYCLE_EVENT: "agenticuserundeleted"

型

"agenticuserundeleted"

USER_UPDATED_LIFECYCLE_EVENT

USER_UPDATED_LIFECYCLE_EVENT: "agenticuseridentityupdated"

型

"agenticuseridentityupdated"

USER_WORKLOAD_ONBOARDING_LIFECYCLE_EVENT

USER_WORKLOAD_ONBOARDING_LIFECYCLE_EVENT: "agenticuserworkloadonboardingupdated"

型

"agenticuserworkloadonboardingupdated"

WPX_COMMENT_TYPE

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

WPX_COMMENT_TYPE: "WpxComment"

型

"WpxComment"