@microsoft/agents-hosting-extensions-teams
Version:
Microsoft 365 Agents SDK for JavaScript. Teams extensions
32 lines (31 loc) • 726 B
TypeScript
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
* Licensed under the MIT License.
*/
import { z } from 'zod';
/**
* Represents a parameter for a messaging extension query.
*/
export interface MessagingExtensionParameter {
/**
* The name of the parameter.
*/
name?: string;
/**
* The value of the parameter.
*/
value?: any;
}
/**
* Zod schema for validating MessagingExtensionParameter.
*/
export declare const messagingExtensionParameterZodSchema: z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
value: z.ZodOptional<z.ZodAny>;
}, "strip", z.ZodTypeAny, {
value?: any;
name?: string | undefined;
}, {
value?: any;
name?: string | undefined;
}>;