@microsoft/agents-copilotstudio-client
Version:
Microsoft Copilot Studio Client for JavaScript. Copilot Studio Client.
29 lines (28 loc) • 977 B
TypeScript
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Represents the settings required to establish a connection to Copilot Studio.
*/
export declare class ConnectionSettings {
/** The client ID of the application. */
appClientId: string;
/** The tenant ID of the application. */
tenantId: string;
/** The environment ID of the application. */
environmentId: string;
/** The cloud environment of the application. */
cloud: string;
/** The custom Power Platform cloud URL, if any. */
customPowerPlatformCloud?: string;
/** The identifier of the agent. */
agentIdentifier?: string;
/** The type of the Copilot agent. */
copilotAgentType?: string;
}
/**
* Loads the connection settings for Copilot Studio from environment variables.
* @returns The connection settings.
*/
export declare const loadCopilotStudioConnectionSettingsFromEnv: () => ConnectionSettings;