@microsoft/teams-manifest
Advanced tools
Comparing version 0.1.9-alpha.6c34b48dc.0 to 0.1.9-alpha.7b1522f26.0
import { ConversationStarter } from "./pluginManifest"; | ||
export declare enum DeclarativeCopilotCapabilityName { | ||
WebSearch = "WebSearch", | ||
GraphicArt = "GraphicArt", | ||
CodeInterpreter = "CodeInterpreter", | ||
OneDriveAndSharePoint = "OneDriveAndSharePoint", | ||
GraphConnectors = "GraphConnectors", | ||
EmbeddedKnowledge = "EmbeddedKnowledge" | ||
} | ||
export interface WebSearchCapability { | ||
name: DeclarativeCopilotCapabilityName.WebSearch; | ||
sites?: Site[]; | ||
} | ||
export interface GraphicArtCapability { | ||
name: DeclarativeCopilotCapabilityName.GraphicArt; | ||
[k: string]: unknown; | ||
} | ||
export interface CodeInterpreterCapability { | ||
name: DeclarativeCopilotCapabilityName.CodeInterpreter; | ||
[k: string]: unknown; | ||
} | ||
export interface OneDriveAndSharePointCapability { | ||
name: DeclarativeCopilotCapabilityName.OneDriveAndSharePoint; | ||
items_by_sharepoint_ids?: SharePointIDs[]; | ||
items_by_url?: Site[]; | ||
} | ||
export interface GraphConnectorsCapability { | ||
name: DeclarativeCopilotCapabilityName.GraphConnectors; | ||
connections: Connection[]; | ||
[k: string]: unknown; | ||
} | ||
export interface EmbeddedKnowledgeCapability { | ||
name: DeclarativeCopilotCapabilityName.EmbeddedKnowledge; | ||
files: File[]; | ||
} | ||
export interface DeclarativeCopilotManifestSchema { | ||
@@ -7,25 +41,3 @@ id?: string; | ||
instructions?: string; | ||
capabilities?: ({ | ||
name: "WebSearch"; | ||
[k: string]: unknown; | ||
} | { | ||
name: "GraphicArt"; | ||
[k: string]: unknown; | ||
} | { | ||
name: "CodeInterpreter"; | ||
[k: string]: unknown; | ||
} | { | ||
name: "SharePoint"; | ||
files?: File[]; | ||
sites?: Site[]; | ||
[k: string]: unknown; | ||
} | { | ||
name: "OneDrive"; | ||
files: File[]; | ||
[k: string]: unknown; | ||
} | { | ||
name: "GraphConnectors"; | ||
connections: Connection[]; | ||
[k: string]: unknown; | ||
})[]; | ||
capabilities?: (WebSearchCapability | GraphicArtCapability | CodeInterpreterCapability | OneDriveAndSharePointCapability | GraphConnectorsCapability | EmbeddedKnowledgeCapability)[]; | ||
conversation_starters?: ConversationStarter[]; | ||
@@ -35,3 +47,3 @@ actions?: ActionObject[]; | ||
} | ||
export interface File { | ||
export interface SharePointIDs { | ||
site_id?: string; | ||
@@ -41,8 +53,9 @@ web_id?: string; | ||
unique_id?: string; | ||
} | ||
export interface File { | ||
file_name?: string; | ||
file?: string; | ||
} | ||
export interface Site { | ||
path: string; | ||
site_name: string; | ||
[k: string]: unknown; | ||
url: string; | ||
} | ||
@@ -49,0 +62,0 @@ export interface Connection { |
@@ -5,2 +5,12 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DeclarativeCopilotCapabilityName = void 0; | ||
var DeclarativeCopilotCapabilityName; | ||
(function (DeclarativeCopilotCapabilityName) { | ||
DeclarativeCopilotCapabilityName["WebSearch"] = "WebSearch"; | ||
DeclarativeCopilotCapabilityName["GraphicArt"] = "GraphicArt"; | ||
DeclarativeCopilotCapabilityName["CodeInterpreter"] = "CodeInterpreter"; | ||
DeclarativeCopilotCapabilityName["OneDriveAndSharePoint"] = "OneDriveAndSharePoint"; | ||
DeclarativeCopilotCapabilityName["GraphConnectors"] = "GraphConnectors"; | ||
DeclarativeCopilotCapabilityName["EmbeddedKnowledge"] = "EmbeddedKnowledge"; | ||
})(DeclarativeCopilotCapabilityName = exports.DeclarativeCopilotCapabilityName || (exports.DeclarativeCopilotCapabilityName = {})); | ||
//# sourceMappingURL=declarativeCopilotManifest.js.map |
@@ -163,3 +163,3 @@ export interface IDeveloper { | ||
} | ||
export type BotOrMeScopes = ("team" | "personal" | "groupchat" | "groupChat")[]; | ||
export type BotOrMeScopes = ("team" | "personal" | "groupchat" | "groupChat" | "copilot")[]; | ||
export interface IComposeExtension { | ||
@@ -166,0 +166,0 @@ objectId?: string; |
{ | ||
"name": "@microsoft/teams-manifest", | ||
"version": "0.1.9-alpha.6c34b48dc.0", | ||
"version": "0.1.9-alpha.7b1522f26.0", | ||
"main": "build/index.js", | ||
@@ -65,3 +65,3 @@ "types": "build/index.d.ts", | ||
}, | ||
"gitHead": "ceac7bd35a55152ec5145e5f9c9cd665ce0f562c" | ||
"gitHead": "cdb91147b7eea1a0237338837dcea24e9d26f6ee" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
110843
2019