@microsoft/agents-activity
Version:
Microsoft 365 Agents SDK for JavaScript. Activity Protocol serialization and deserialization.
27 lines (26 loc) • 614 B
TypeScript
/**
* 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"
}
/**
* Zod schema for validating role types.
*/
export declare const roleTypeZodSchema: z.ZodEnum<["user", "bot", "skill"]>;