@microsoft/agents-a365-notifications package

Rozhraní

AgentNotificationActivity

Představuje analyzovanou aktivitu oznámení agenta s daty oznámení silného typu.

EmailReference

Představuje entitu e-mailového oznámení.

EmailResponse

Představuje entitu e-mailové odpovědi, která se má odeslat zpět.

WpxComment

Představuje entitu oznámení o komentáři Word (WPX).

Aliasy typu

AgentNotificationHandler

Definice typu pro funkci obslužné rutiny oznámení agenta Zpracovává aktivity oznámení agenta s daty oznámení silného typu.

Výčty

NotificationType

Výčet představující typy oznámení, které lze přijímat.

Funkce

createAgentNotificationActivity(Activity)

Vytvoří obálku pro aktivitu oznámení agenta.

createEmailReference(string, string, string)

Funkce továrny pro vytvoření entity EmailReference

createEmailResponse(string)

Funkce factory pro vytvoření entity EmailResponse

createEmailResponseActivity(string)

Vytvoří aktivitu s entitou EmailResponse.

createWpxComment(string, string, string, string)

Funkce továrny pro vytvoření entity WpxComment

isEmailReference(Entity)

Chcete-li zkontrolovat, jestli je entita EmailReference, zadejte ochranu.

isWpxComment(Entity)

Ochrana typem, která kontroluje, jestli je entita WpxComment.

Podrobnosti funkce

createAgentNotificationActivity(Activity)

Vytvoří obálku pro aktivitu oznámení agenta.

function createAgentNotificationActivity(activity: Activity): AgentNotificationActivity

Parametry

activity
Activity

Aktivita

Návraty

Aktivita oznámení agenta

createEmailReference(string, string, string)

Funkce továrny pro vytvoření entity EmailReference

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

Parametry

id

string

conversationId

string

htmlBody

string

Návraty

createEmailResponse(string)

Funkce factory pro vytvoření entity EmailResponse

function createEmailResponse(htmlBody?: string): EmailResponse

Parametry

htmlBody

string

Návraty

createEmailResponseActivity(string)

Vytvoří aktivitu s entitou EmailResponse.

function createEmailResponseActivity(emailResponseHtmlBody?: string): Activity

Parametry

emailResponseHtmlBody

string

(Volitelné) Základní obsah HTML pro e-mailovou odpověď

Návraty

Aktivita zprávy obsahující entitu EmailResponse

createWpxComment(string, string, string, string)

Funkce továrny pro vytvoření entity WpxComment

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

Parametry

odataId

string

documentId

string

initiatingCommentId

string

subjectCommentId

string

Návraty

isEmailReference(Entity)

Chcete-li zkontrolovat, jestli je entita EmailReference, zadejte ochranu.

function isEmailReference(entity: Entity): entity is EmailReference

Parametry

entity
Entity

Návraty

entity is EmailReference

isWpxComment(Entity)

Ochrana typem, která kontroluje, jestli je entita WpxComment.

function isWpxComment(entity: Entity): entity is WpxComment

Parametry

entity
Entity

Návraty

entity is WpxComment

Podrobnosti proměnné

AGENT_LIFECYCLE

Konstanty životního cyklu pro oznámení agenta

AGENT_LIFECYCLE: "agentlifecycle"

Typ

"agentlifecycle"

AGENTS_CHANNEL

Konstanty kanálu a dílčího kanálu pro oznámení agenta

AGENTS_CHANNEL: "agents"

Typ

"agents"

AGENTS_EMAIL_SUBCHANNEL

AGENTS_EMAIL_SUBCHANNEL: "agents:email"

Typ

"agents:email"

AGENTS_EXCEL_SUBCHANNEL

AGENTS_EXCEL_SUBCHANNEL: "agents:excel"

Typ

"agents:excel"

AGENTS_POWERPOINT_SUBCHANNEL

AGENTS_POWERPOINT_SUBCHANNEL: "agents:powerpoint"

Typ

"agents:powerpoint"

AGENTS_WORD_SUBCHANNEL

AGENTS_WORD_SUBCHANNEL: "agents:word"

Typ

"agents:word"

EMAIL_NOTIFICATION_TYPE

Název typu entity pro e-mailová oznámení

EMAIL_NOTIFICATION_TYPE: "emailNotification"

Typ

"emailNotification"

EMAIL_RESPONSE_TYPE

Název typu entity pro e-mailové odpovědi.

EMAIL_RESPONSE_TYPE: "emailResponse"

Typ

"emailResponse"

USER_CREATED_LIFECYCLE_EVENT

USER_CREATED_LIFECYCLE_EVENT: "agenticuseridentitycreated"

Typ

"agenticuseridentitycreated"

USER_DELETED_LIFECYCLE_EVENT

USER_DELETED_LIFECYCLE_EVENT: "agenticuserdeleted"

Typ

"agenticuserdeleted"

USER_DISABLED_LIFECYCLE_EVENT

USER_DISABLED_LIFECYCLE_EVENT: "agenticuserdisabled"

Typ

"agenticuserdisabled"

USER_ENABLED_LIFECYCLE_EVENT

USER_ENABLED_LIFECYCLE_EVENT: "agenticuserenabled"

Typ

"agenticuserenabled"

USER_MANAGER_UPDATED_LIFECYCLE_EVENT

USER_MANAGER_UPDATED_LIFECYCLE_EVENT: "agenticusermanagerupdated"

Typ

"agenticusermanagerupdated"

USER_UNDELETED_LIFECYCLE_EVENT

USER_UNDELETED_LIFECYCLE_EVENT: "agenticuserundeleted"

Typ

"agenticuserundeleted"

USER_UPDATED_LIFECYCLE_EVENT

USER_UPDATED_LIFECYCLE_EVENT: "agenticuseridentityupdated"

Typ

"agenticuseridentityupdated"

USER_WORKLOAD_ONBOARDING_LIFECYCLE_EVENT

USER_WORKLOAD_ONBOARDING_LIFECYCLE_EVENT: "agenticuserworkloadonboardingupdated"

Typ

"agenticuserworkloadonboardingupdated"

WPX_COMMENT_TYPE

Název typu entity pro komentáře WPX.

WPX_COMMENT_TYPE: "WpxComment"

Typ

"WpxComment"