UNPKG

@microsoft/agents-activity

Version:

Microsoft 365 Agents SDK for JavaScript. Activity Protocol serialization and deserialization.

35 lines (34 loc) 819 B
/** * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ import { z } from 'zod'; /** * Enum representing the different role types in a conversation. */ export declare enum RoleTypes { /** * Represents a user in the conversation. */ User = "user", /** * Represents an agent or bot in the conversation. */ Agent = "bot", /** * Represents a skill in the conversation. */ Skill = "skill", /** * Agentic AI - AAI role */ AgenticIdentity = "agenticAppInstance", /** * Agentic AI - AAI role. */ AgenticUser = "agenticUser" } /** * Zod schema for validating role types. */ export declare const roleTypeZodSchema: z.ZodEnum<["user", "bot", "skill", "agenticAppInstance", "agenticUser"]>;