UNPKG

@microsoft/agents-hosting-extensions-teams

Version:

Microsoft 365 Agents SDK for JavaScript. Teams extensions

40 lines (39 loc) 994 B
/** * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ import { z } from 'zod'; import { ChannelTypes } from './channelTypes'; /** * Represents information about a channel. */ export interface ChannelInfo { /** * The ID of the channel. */ id?: string; /** * The name of the channel. */ name?: string; /** * The type of the channel. */ type?: ChannelTypes; } /** * Zod schema for validating ChannelInfo objects. */ export declare const channelInfoZodSchema: z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodEnum<["standard", "private", "shared"]>>; }, "strip", z.ZodTypeAny, { id?: string | undefined; name?: string | undefined; type?: "private" | "shared" | "standard" | undefined; }, { id?: string | undefined; name?: string | undefined; type?: "private" | "shared" | "standard" | undefined; }>;