@microsoft/agents-hosting-extensions-teams
Version:
Microsoft 365 Agents SDK for JavaScript. Teams extensions
50 lines (49 loc) • 1.49 kB
TypeScript
/**
* 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.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;
}>>;
}, "strip", z.ZodTypeAny, {
selectedChannel?: {
id?: string | undefined;
name?: string | undefined;
type?: "private" | "shared" | "standard" | undefined;
} | undefined;
}, {
selectedChannel?: {
id?: string | undefined;
name?: string | undefined;
type?: "private" | "shared" | "standard" | undefined;
} | undefined;
}>;