@microsoft/agents-a365-notifications package

Interfaces

AgentNotificationActivity

Vertegenwoordigt een geparseerde agentmeldingsactiviteit met sterk getypte meldingsgegevens.

EmailReference

Vertegenwoordigt een e-mailmeldingsentiteit.

EmailResponse

Vertegenwoordigt een e-mailantwoordentiteit die moet worden teruggestuurd.

WpxComment

Vertegenwoordigt een meldingsentiteit voor Word (WPX).

Type-aliassen

AgentNotificationHandler

Typedefinitie voor een agentmeldingshandlerfunctie. Verwerkt agentmeldingsactiviteiten met sterk getypte meldingsgegevens.

Enums

NotificationType

Opsomming van de typen meldingen die kunnen worden ontvangen.

Functies

createAgentNotificationActivity(Activity)

Hiermee maakt u een wrapper voor een agentmeldingsactiviteit.

createEmailReference(string, string, string)

De functie Factory voor het maken van een EmailReference-entiteit.

createEmailResponse(string)

De functie Factory voor het maken van een EmailResponse-entiteit.

createEmailResponseActivity(string)

Hiermee maakt u een activiteit met een e-mailresponse-entiteit

createWpxComment(string, string, string, string)

De functie Factory voor het maken van een WpxComment-entiteit.

isEmailReference(Entity)

Typ guard om te controleren of een entiteit een EmailReference is.

isWpxComment(Entity)

Type guard om te controleren of een entiteit een WpxComment is.

Variabelen

AGENTS_CHANNEL

Kanaal- en subkanaalconstanten voor agentmeldingen.

AGENTS_EMAIL_SUBCHANNEL
AGENTS_EXCEL_SUBCHANNEL
AGENTS_POWERPOINT_SUBCHANNEL
AGENTS_WORD_SUBCHANNEL
AGENT_LIFECYCLE

Levenscyclusconstanten voor agentmeldingen.

EMAIL_NOTIFICATION_TYPE

De naam van het entiteitstype voor e-mailmeldingen.

EMAIL_RESPONSE_TYPE

De naam van het entiteitstype voor e-mailantwoorden.

USER_CREATED_LIFECYCLE_EVENT
USER_DELETED_LIFECYCLE_EVENT
USER_WORKLOAD_ONBOARDING_LIFECYCLE_EVENT
WPX_COMMENT_TYPE

De naam van het entiteitstype voor WPX-opmerkingen.

Functiedetails

createAgentNotificationActivity(Activity)

Hiermee maakt u een wrapper voor een agentmeldingsactiviteit.

function createAgentNotificationActivity(activity: Activity): AgentNotificationActivity

Parameters

activity
Activity

De activiteit

Retouren

Een agentmeldingsactiviteit

createEmailReference(string, string, string)

De functie Factory voor het maken van een EmailReference-entiteit.

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

Parameters

id

string

conversationId

string

htmlBody

string

Retouren

createEmailResponse(string)

De functie Factory voor het maken van een EmailResponse-entiteit.

function createEmailResponse(htmlBody?: string): EmailResponse

Parameters

htmlBody

string

Retouren

createEmailResponseActivity(string)

Hiermee maakt u een activiteit met een e-mailresponse-entiteit

function createEmailResponseActivity(emailResponseHtmlBody?: string): Activity

Parameters

emailResponseHtmlBody

string

(Optioneel) De HTML-hoofdtekstinhoud voor het e-mailantwoord

Retouren

Een berichtactiviteit met de entiteit EmailResponse

createWpxComment(string, string, string, string)

De functie Factory voor het maken van een WpxComment-entiteit.

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

Parameters

odataId

string

documentId

string

initiatingCommentId

string

subjectCommentId

string

Retouren

isEmailReference(Entity)

Typ guard om te controleren of een entiteit een EmailReference is.

function isEmailReference(entity: Entity): entity

Parameters

entity
Entity

Retouren

entity

isWpxComment(Entity)

Type guard om te controleren of een entiteit een WpxComment is.

function isWpxComment(entity: Entity): entity

Parameters

entity
Entity

Retouren

entity

Variabele details

AGENTS_CHANNEL

Kanaal- en subkanaalconstanten voor agentmeldingen.

AGENTS_CHANNEL: "agents"

Type

"agents"

AGENTS_EMAIL_SUBCHANNEL

AGENTS_EMAIL_SUBCHANNEL: "agents:email"

Type

"agents:email"

AGENTS_EXCEL_SUBCHANNEL

AGENTS_EXCEL_SUBCHANNEL: "agents:excel"

Type

"agents:excel"

AGENTS_POWERPOINT_SUBCHANNEL

AGENTS_POWERPOINT_SUBCHANNEL: "agents:powerpoint"

Type

"agents:powerpoint"

AGENTS_WORD_SUBCHANNEL

AGENTS_WORD_SUBCHANNEL: "agents:word"

Type

"agents:word"

AGENT_LIFECYCLE

Levenscyclusconstanten voor agentmeldingen.

AGENT_LIFECYCLE: "agentlifecycle"

Type

"agentlifecycle"

EMAIL_NOTIFICATION_TYPE

De naam van het entiteitstype voor e-mailmeldingen.

EMAIL_NOTIFICATION_TYPE: "emailNotification"

Type

"emailNotification"

EMAIL_RESPONSE_TYPE

De naam van het entiteitstype voor e-mailantwoorden.

EMAIL_RESPONSE_TYPE: "emailResponse"

Type

"emailResponse"

USER_CREATED_LIFECYCLE_EVENT

USER_CREATED_LIFECYCLE_EVENT: "agenticuseridentitycreated"

Type

"agenticuseridentitycreated"

USER_DELETED_LIFECYCLE_EVENT

USER_DELETED_LIFECYCLE_EVENT: "agenticuserdeleted"

Type

"agenticuserdeleted"

USER_WORKLOAD_ONBOARDING_LIFECYCLE_EVENT

USER_WORKLOAD_ONBOARDING_LIFECYCLE_EVENT: "agenticuserworkloadonboardingupdated"

Type

"agenticuserworkloadonboardingupdated"

WPX_COMMENT_TYPE

De naam van het entiteitstype voor WPX-opmerkingen.

WPX_COMMENT_TYPE: "WpxComment"

Type

"WpxComment"