UNPKG

@microsoft/agents-hosting-teams

Version:

Microsoft 365 Agents SDK for JavaScript

39 lines (38 loc) 1.05 kB
/** * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ import { z } from 'zod'; /** * Represents information about a notification. */ export interface NotificationInfo { /** * Indicates whether the notification is an alert. */ alert?: boolean; /** * Indicates whether the alert is in a meeting. */ alertInMeeting?: boolean; /** * The URL of the external resource. */ externalResourceUrl?: string; } /** * Zod schema for validating NotificationInfo objects. */ export declare const notificationInfoZodSchema: z.ZodObject<{ alert: z.ZodOptional<z.ZodBoolean>; alertInMeeting: z.ZodOptional<z.ZodBoolean>; externalResourceUrl: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { alert?: boolean | undefined; alertInMeeting?: boolean | undefined; externalResourceUrl?: string | undefined; }, { alert?: boolean | undefined; alertInMeeting?: boolean | undefined; externalResourceUrl?: string | undefined; }>;