UNPKG

@microsoft/agents-hosting-teams

Version:

Microsoft 365 Agents SDK for JavaScript

50 lines (49 loc) 1.34 kB
/** * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ import { z } from 'zod'; import { ChannelInfo } from './channelInfo'; /** * Represents settings for Teams channel data. */ export interface TeamsChannelDataSettings { /** * The selected channel information. */ selectedChannel?: ChannelInfo; /** * Additional properties. */ [properties: string]: unknown; } /** * Zod schema for validating TeamsChannelDataSettings objects. */ export declare const teamsChannelDataSettingsZodSchema: z.ZodObject<{ selectedChannel: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type?: string | undefined; id?: string | undefined; name?: string | undefined; }, { type?: string | undefined; id?: string | undefined; name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { selectedChannel?: { type?: string | undefined; id?: string | undefined; name?: string | undefined; } | undefined; }, { selectedChannel?: { type?: string | undefined; id?: string | undefined; name?: string | undefined; } | undefined; }>;