@microsoft/agents-hosting-teams
Version:
Microsoft 365 Agents SDK for JavaScript
39 lines (38 loc) • 884 B
TypeScript
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
* Licensed under the MIT License.
*/
import { z } from 'zod';
/**
* Represents information about a team.
*/
export interface TeamInfo {
/**
* The ID of the team.
*/
id?: string;
/**
* The name of the team.
*/
name?: string;
/**
* The Azure Active Directory group ID of the team.
*/
aadGroupId?: string;
}
/**
* Zod schema for validating TeamInfo objects.
*/
export declare const teamInfoZodSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodString>;
name: z.ZodOptional<z.ZodString>;
aadGroupId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id?: string | undefined;
name?: string | undefined;
aadGroupId?: string | undefined;
}, {
id?: string | undefined;
name?: string | undefined;
aadGroupId?: string | undefined;
}>;