@microsoft/agents-activity
Version:
Microsoft 365 Agents SDK for JavaScript. Activity Protocol serialization and deserialization.
23 lines (22 loc) • 578 B
TypeScript
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
* Licensed under the MIT License.
*/
import { z } from 'zod';
/**
* Enum expressing the users relationship to the current channel.
*/
export declare enum MembershipTypes {
/**
* The user is a direct member of a channel.
*/
Direct = "direct",
/**
* The user is a member of a channel through a group.
*/
Transitive = "transitive"
}
/**
* Zod schema for validating membership source types.
*/
export declare const membershipTypeZodSchema: z.ZodEnum<["direct", "transitive"]>;