UNPKG

@microsoft/agents-hosting-teams

Version:

Microsoft 365 Agents SDK for JavaScript

18 lines 632 B
"use strict"; /** * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.onBehalfOfZodSchema = void 0; const zod_1 = require("zod"); /** * Zod schema for validating OnBehalfOf objects. */ exports.onBehalfOfZodSchema = zod_1.z.object({ itemid: zod_1.z.union([zod_1.z.literal(0), zod_1.z.number()]), mentionType: zod_1.z.union([zod_1.z.string().min(1), zod_1.z.literal('person')]), mri: zod_1.z.string().min(1), displayName: zod_1.z.string().min(1).optional() }); //# sourceMappingURL=onBehalfOf.js.map