@microsoft/agents-hosting-teams
Version:
Microsoft 365 Agents SDK for JavaScript
24 lines (20 loc) • 405 B
text/typescript
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
* Licensed under the MIT License.
*/
import { z } from 'zod'
/**
* Represents information about a tenant.
*/
export interface TenantInfo {
/**
* The ID of the tenant.
*/
id?: string
}
/**
* Zod schema for validating TenantInfo objects.
*/
export const tenantInfoZodSchema = z.object({
id: z.string().min(1).optional()
})