@microsoft/agents-hosting-teams
Version:
Microsoft 365 Agents SDK for JavaScript
29 lines (28 loc) • 811 B
TypeScript
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
* Licensed under the MIT License.
*/
import { TaskModuleResponse } from '../task/taskModuleResponse';
import { AgentConfigAuth } from './agentConfigAuth';
import { CacheInfo } from './cacheInfo';
/**
* Represents the configuration response configuration which can be either AgentConfigAuth or TaskModuleResponse.
*/
export type ConfigResponseConfig = AgentConfigAuth | TaskModuleResponse;
/**
* Represents the configuration response.
*/
export interface ConfigResponse {
/**
* Optional cache information.
*/
cacheInfo?: CacheInfo;
/**
* The configuration response configuration.
*/
config: ConfigResponseConfig;
/**
* The type of response, which is 'config'.
*/
responseType: 'config';
}