@microsoft/agents-a365-notifications package

ממשקים

AgentNotificationActivity

מייצג פעילות הודעות של סוכן שנותן ניתוח עם נתוני הודעות שהוקלידו בצורה חזקה.

EmailReference

מייצג ישות של הודעת דואר אלקטרוני.

EmailResponse

מייצג ישות תגובה לדואר אלקטרוני שיש לשלוח בחזרה.

WpxComment

מייצג ישות Word הערות (WPX).

כינויי סוג

AgentNotificationHandler

הגדרת סוג עבור פונקציית מטפל בהודעות סוכן. טיפול בפעילויות של הודעות סוכן עם נתוני הודעות שהוקלידו בצורה חזקה.

ערכי Enum

NotificationType

Enum המייצג את סוגי ההודעות שניתן לקבל.

פונקציות

createAgentNotificationActivity(Activity)

יוצר עטיפת עבור פעילות של הודעות סוכן.

createEmailReference(string, string, string)

הפונקציה Factory ליצירת ישות EmailReference.

createEmailResponse(string)

הפונקציה Factory כדי ליצור ישות EmailResponse.

createEmailResponseActivity(string)

יצירת פעילות עם ישות של EmailResponse

createWpxComment(string, string, string, string)

הפונקציה Factory ליצירת ישות WpxComment.

isEmailReference(Entity)

הקלד guard כדי לבדוק אם ישות היא EmailReference.

isWpxComment(Entity)

הקלד guard כדי לבדוק אם ישות היא 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)

הפונקציה Factory ליצירת ישות EmailReference.

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

פרמטרים

id

string

conversationId

string

htmlBody

string

החזרות

createEmailResponse(string)

הפונקציה Factory כדי ליצור ישות 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)

הפונקציה Factory ליצירת ישות WpxComment.

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

פרמטרים

odataId

string

documentId

string

initiatingCommentId

string

subjectCommentId

string

החזרות

isEmailReference(Entity)

הקלד guard כדי לבדוק אם ישות היא EmailReference.

function isEmailReference(entity: Entity): entity

פרמטרים

entity
Entity

החזרות

entity

isWpxComment(Entity)

הקלד guard כדי לבדוק אם ישות היא 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"