@microsoft/agents-activity
Version:
Microsoft 365 Agents SDK for JavaScript. Activity Protocol serialization and deserialization.
31 lines (30 loc) • 772 B
TypeScript
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { z } from 'zod';
/**
* Enum representing delivery modes.
*/
export declare enum DeliveryModes {
/**
* Represents the normal delivery mode.
*/
Normal = "normal",
/**
* Represents a notification delivery mode.
*/
Notification = "notification",
/**
* Represents a delivery mode where replies are expected.
*/
ExpectReplies = "expectReplies",
/**
* Represents an ephemeral delivery mode.
*/
Ephemeral = "ephemeral"
}
/**
* Zod schema for validating a DeliveryModes enum.
*/
export declare const deliveryModesZodSchema: z.ZodEnum<["normal", "notification", "expectReplies", "ephemeral"]>;