@microsoft/agents-a365-notifications package

Interfaces

AgentNotificationActivity

Representa una actividad de notificación del agente analizado con datos de notificación fuertemente tipados.

EmailReference

Representa una entidad de notificación por correo electrónico.

EmailResponse

Representa una entidad de respuesta de correo electrónico que se va a devolver.

WpxComment

Representa una entidad de notificación de comentarios de Word (WPX).

Alias de tipos

AgentNotificationHandler

Definición de tipo para una función del controlador de notificaciones del agente. Controla las actividades de notificación del agente con datos de notificación fuertemente tipados.

Enumeraciones

NotificationType

Enumeración que representa los tipos de notificaciones que se pueden recibir.

Funciones

createAgentNotificationActivity(Activity)

Crea un contenedor para una actividad de notificación del agente.

createEmailReference(string, string, string)

Función factory para crear una entidad EmailReference.

createEmailResponse(string)

Función factory para crear una entidad EmailResponse.

createEmailResponseActivity(string)

Crea una actividad con una entidad EmailResponse.

createWpxComment(string, string, string, string)

Función factory para crear una entidad WpxComment.

isEmailReference(Entity)

Escriba guard para comprobar si una entidad es emailReference.

isWpxComment(Entity)

Escriba guard para comprobar si una entidad es wpxComment.

Variables

AGENT_LIFECYCLE

Constantes del ciclo de vida de las notificaciones del agente.

AGENTS_CHANNEL

Constantes de canal y subcanal para las notificaciones del agente.

AGENTS_EMAIL_SUBCHANNEL
AGENTS_EXCEL_SUBCHANNEL
AGENTS_POWERPOINT_SUBCHANNEL
AGENTS_WORD_SUBCHANNEL
EMAIL_NOTIFICATION_TYPE

Nombre del tipo de entidad para las notificaciones por correo electrónico.

EMAIL_RESPONSE_TYPE

Nombre del tipo de entidad para las respuestas de correo electrónico.

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

Nombre del tipo de entidad para los comentarios de WPX.

Detalles de la función

createAgentNotificationActivity(Activity)

Crea un contenedor para una actividad de notificación del agente.

function createAgentNotificationActivity(activity: Activity): AgentNotificationActivity

Parámetros

activity
Activity

La actividad

Devoluciones

Una actividad de notificación del agente

createEmailReference(string, string, string)

Función factory para crear una entidad EmailReference.

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

Parámetros

id

string

conversationId

string

htmlBody

string

Devoluciones

createEmailResponse(string)

Función factory para crear una entidad EmailResponse.

function createEmailResponse(htmlBody?: string): EmailResponse

Parámetros

htmlBody

string

Devoluciones

createEmailResponseActivity(string)

Crea una actividad con una entidad EmailResponse.

function createEmailResponseActivity(emailResponseHtmlBody?: string): Activity

Parámetros

emailResponseHtmlBody

string

(Opcional) El contenido del cuerpo HTML para la respuesta de correo electrónico

Devoluciones

Actividad de mensaje que contiene la entidad EmailResponse

createWpxComment(string, string, string, string)

Función factory para crear una entidad WpxComment.

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

Parámetros

odataId

string

documentId

string

initiatingCommentId

string

subjectCommentId

string

Devoluciones

isEmailReference(Entity)

Escriba guard para comprobar si una entidad es emailReference.

function isEmailReference(entity: Entity): entity is EmailReference

Parámetros

entity
Entity

Devoluciones

entity is EmailReference

isWpxComment(Entity)

Escriba guard para comprobar si una entidad es wpxComment.

function isWpxComment(entity: Entity): entity is WpxComment

Parámetros

entity
Entity

Devoluciones

entity is WpxComment

Detalles de variables

AGENT_LIFECYCLE

Constantes del ciclo de vida de las notificaciones del agente.

AGENT_LIFECYCLE: "agentlifecycle"

Tipo

"agentlifecycle"

AGENTS_CHANNEL

Constantes de canal y subcanal para las notificaciones del agente.

AGENTS_CHANNEL: "agents"

Tipo

"agents"

AGENTS_EMAIL_SUBCHANNEL

AGENTS_EMAIL_SUBCHANNEL: "agents:email"

Tipo

"agents:email"

AGENTS_EXCEL_SUBCHANNEL

AGENTS_EXCEL_SUBCHANNEL: "agents:excel"

Tipo

"agents:excel"

AGENTS_POWERPOINT_SUBCHANNEL

AGENTS_POWERPOINT_SUBCHANNEL: "agents:powerpoint"

Tipo

"agents:powerpoint"

AGENTS_WORD_SUBCHANNEL

AGENTS_WORD_SUBCHANNEL: "agents:word"

Tipo

"agents:word"

EMAIL_NOTIFICATION_TYPE

Nombre del tipo de entidad para las notificaciones por correo electrónico.

EMAIL_NOTIFICATION_TYPE: "emailNotification"

Tipo

"emailNotification"

EMAIL_RESPONSE_TYPE

Nombre del tipo de entidad para las respuestas de correo electrónico.

EMAIL_RESPONSE_TYPE: "emailResponse"

Tipo

"emailResponse"

USER_CREATED_LIFECYCLE_EVENT

USER_CREATED_LIFECYCLE_EVENT: "agenticuseridentitycreated"

Tipo

"agenticuseridentitycreated"

USER_DELETED_LIFECYCLE_EVENT

USER_DELETED_LIFECYCLE_EVENT: "agenticuserdeleted"

Tipo

"agenticuserdeleted"

USER_DISABLED_LIFECYCLE_EVENT

USER_DISABLED_LIFECYCLE_EVENT: "agenticuserdisabled"

Tipo

"agenticuserdisabled"

USER_ENABLED_LIFECYCLE_EVENT

USER_ENABLED_LIFECYCLE_EVENT: "agenticuserenabled"

Tipo

"agenticuserenabled"

USER_MANAGER_UPDATED_LIFECYCLE_EVENT

USER_MANAGER_UPDATED_LIFECYCLE_EVENT: "agenticusermanagerupdated"

Tipo

"agenticusermanagerupdated"

USER_UNDELETED_LIFECYCLE_EVENT

USER_UNDELETED_LIFECYCLE_EVENT: "agenticuserundeleted"

Tipo

"agenticuserundeleted"

USER_UPDATED_LIFECYCLE_EVENT

USER_UPDATED_LIFECYCLE_EVENT: "agenticuseridentityupdated"

Tipo

"agenticuseridentityupdated"

USER_WORKLOAD_ONBOARDING_LIFECYCLE_EVENT

USER_WORKLOAD_ONBOARDING_LIFECYCLE_EVENT: "agenticuserworkloadonboardingupdated"

Tipo

"agenticuserworkloadonboardingupdated"

WPX_COMMENT_TYPE

Nombre del tipo de entidad para los comentarios de WPX.

WPX_COMMENT_TYPE: "WpxComment"

Tipo

"WpxComment"