@microsoft/agents-hosting-extensions-teams
Version:
Microsoft 365 Agents SDK for JavaScript. Teams extensions
46 lines (45 loc) • 1.07 kB
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;
/**
* The tenant ID of the team.
*/
tenantId?: 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>;
tenantId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id?: string | undefined;
name?: string | undefined;
aadGroupId?: string | undefined;
tenantId?: string | undefined;
}, {
id?: string | undefined;
name?: string | undefined;
aadGroupId?: string | undefined;
tenantId?: string | undefined;
}>;