@microsoft/app-manifest 1.0.0-alpha.0d2dd4439.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +23 -0
- package/README.md +115 -0
- package/build/ManifestCommonProperties.d.ts +30 -0
- package/build/ManifestCommonProperties.js +5 -0
- package/build/ManifestCommonProperties.js.map +1 -0
- package/build/constants.d.ts +1 -0
- package/build/constants.js +7 -0
- package/build/constants.js.map +1 -0
- package/build/declarativeCopilotManifest.d.ts +67 -0
- package/build/declarativeCopilotManifest.js +15 -0
- package/build/declarativeCopilotManifest.js.map +1 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D0.d.ts +163 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D0.js +214 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D0.js.map +1 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D2.d.ts +185 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D2.js +220 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D2.js.map +1 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D3.d.ts +285 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D3.js +248 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D3.js.map +1 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D4.d.ts +292 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D4.js +259 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D4.js.map +1 -0
- package/build/generated-types/copilot/plugin/ApiPluginManifestV2D1.d.ts +429 -0
- package/build/generated-types/copilot/plugin/ApiPluginManifestV2D1.js +289 -0
- package/build/generated-types/copilot/plugin/ApiPluginManifestV2D1.js.map +1 -0
- package/build/generated-types/copilot/plugin/ApiPluginManifestV2D2.d.ts +439 -0
- package/build/generated-types/copilot/plugin/ApiPluginManifestV2D2.js +298 -0
- package/build/generated-types/copilot/plugin/ApiPluginManifestV2D2.js.map +1 -0
- package/build/generated-types/index.d.ts +174 -0
- package/build/generated-types/index.js +444 -0
- package/build/generated-types/index.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D0.d.ts +268 -0
- package/build/generated-types/teams/TeamsManifestV1D0.js +265 -0
- package/build/generated-types/teams/TeamsManifestV1D0.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D1.d.ts +268 -0
- package/build/generated-types/teams/TeamsManifestV1D1.js +266 -0
- package/build/generated-types/teams/TeamsManifestV1D1.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D10.d.ts +589 -0
- package/build/generated-types/teams/TeamsManifestV1D10.js +448 -0
- package/build/generated-types/teams/TeamsManifestV1D10.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D11.d.ts +603 -0
- package/build/generated-types/teams/TeamsManifestV1D11.js +447 -0
- package/build/generated-types/teams/TeamsManifestV1D11.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D12.d.ts +638 -0
- package/build/generated-types/teams/TeamsManifestV1D12.js +461 -0
- package/build/generated-types/teams/TeamsManifestV1D12.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D13.d.ts +640 -0
- package/build/generated-types/teams/TeamsManifestV1D13.js +461 -0
- package/build/generated-types/teams/TeamsManifestV1D13.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D14.d.ts +651 -0
- package/build/generated-types/teams/TeamsManifestV1D14.js +467 -0
- package/build/generated-types/teams/TeamsManifestV1D14.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D15.d.ts +656 -0
- package/build/generated-types/teams/TeamsManifestV1D15.js +468 -0
- package/build/generated-types/teams/TeamsManifestV1D15.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D16.d.ts +659 -0
- package/build/generated-types/teams/TeamsManifestV1D16.js +471 -0
- package/build/generated-types/teams/TeamsManifestV1D16.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D17.d.ts +1212 -0
- package/build/generated-types/teams/TeamsManifestV1D17.js +733 -0
- package/build/generated-types/teams/TeamsManifestV1D17.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D19.d.ts +1238 -0
- package/build/generated-types/teams/TeamsManifestV1D19.js +742 -0
- package/build/generated-types/teams/TeamsManifestV1D19.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D2.d.ts +268 -0
- package/build/generated-types/teams/TeamsManifestV1D2.js +266 -0
- package/build/generated-types/teams/TeamsManifestV1D2.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D20.d.ts +1420 -0
- package/build/generated-types/teams/TeamsManifestV1D20.js +818 -0
- package/build/generated-types/teams/TeamsManifestV1D20.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D3.d.ts +280 -0
- package/build/generated-types/teams/TeamsManifestV1D3.js +279 -0
- package/build/generated-types/teams/TeamsManifestV1D3.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D4.d.ts +333 -0
- package/build/generated-types/teams/TeamsManifestV1D4.js +316 -0
- package/build/generated-types/teams/TeamsManifestV1D4.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D5.d.ts +423 -0
- package/build/generated-types/teams/TeamsManifestV1D5.js +357 -0
- package/build/generated-types/teams/TeamsManifestV1D5.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D6.d.ts +428 -0
- package/build/generated-types/teams/TeamsManifestV1D6.js +359 -0
- package/build/generated-types/teams/TeamsManifestV1D6.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D7.d.ts +444 -0
- package/build/generated-types/teams/TeamsManifestV1D7.js +369 -0
- package/build/generated-types/teams/TeamsManifestV1D7.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D8.d.ts +466 -0
- package/build/generated-types/teams/TeamsManifestV1D8.js +386 -0
- package/build/generated-types/teams/TeamsManifestV1D8.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D9.d.ts +532 -0
- package/build/generated-types/teams/TeamsManifestV1D9.js +420 -0
- package/build/generated-types/teams/TeamsManifestV1D9.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestVDevPreview.d.ts +2219 -0
- package/build/generated-types/teams/TeamsManifestVDevPreview.js +1090 -0
- package/build/generated-types/teams/TeamsManifestVDevPreview.js.map +1 -0
- package/build/index.d.ts +88 -0
- package/build/index.js +247 -0
- package/build/index.js.map +1 -0
- package/build/manifest.d.ts +521 -0
- package/build/manifest.js +61 -0
- package/build/manifest.js.map +1 -0
- package/build/pluginManifest.d.ts +143 -0
- package/build/pluginManifest.js +3 -0
- package/build/pluginManifest.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -0
- package/package.json +68 -0
|
@@ -0,0 +1,656 @@
|
|
|
1
|
+
export interface TeamsManifestV1D15 {
|
|
2
|
+
$schema?: string;
|
|
3
|
+
/**
|
|
4
|
+
* The version of the schema this manifest is using. This schema version supports extending
|
|
5
|
+
* Teams apps to other parts of the Microsoft 365 ecosystem. More info at
|
|
6
|
+
* https://aka.ms/extendteamsapps.
|
|
7
|
+
*/
|
|
8
|
+
manifestVersion: "1.15";
|
|
9
|
+
/**
|
|
10
|
+
* The version of the app. Changes to your manifest should cause a version change. This
|
|
11
|
+
* version string must follow the semver standard (http://semver.org).
|
|
12
|
+
*/
|
|
13
|
+
version: string;
|
|
14
|
+
/**
|
|
15
|
+
* A unique identifier for this app. This id must be a GUID.
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* A unique identifier for this app in reverse domain notation. E.g: com.example.myapp
|
|
20
|
+
*/
|
|
21
|
+
packageName?: string;
|
|
22
|
+
localizationInfo?: LocalizationInfo;
|
|
23
|
+
developer: Developer;
|
|
24
|
+
name: Name;
|
|
25
|
+
description: Description;
|
|
26
|
+
icons: Icons;
|
|
27
|
+
/**
|
|
28
|
+
* A color to use in conjunction with the icon. The value must be a valid HTML color code
|
|
29
|
+
* starting with '#', for example `#4464ee`.
|
|
30
|
+
*/
|
|
31
|
+
accentColor: string;
|
|
32
|
+
/**
|
|
33
|
+
* These are tabs users can optionally add to their channels and 1:1 or group chats and
|
|
34
|
+
* require extra configuration before they are added. Configurable tabs are not supported in
|
|
35
|
+
* the personal scope. Currently only one configurable tab per app is supported.
|
|
36
|
+
*/
|
|
37
|
+
configurableTabs?: ConfigurableTab[];
|
|
38
|
+
/**
|
|
39
|
+
* A set of tabs that may be 'pinned' by default, without the user adding them manually.
|
|
40
|
+
* Static tabs declared in personal scope are always pinned to the app's personal
|
|
41
|
+
* experience. Static tabs do not currently support the 'teams' scope.
|
|
42
|
+
*/
|
|
43
|
+
staticTabs?: StaticTab[];
|
|
44
|
+
/**
|
|
45
|
+
* The set of bots for this app. Currently only one bot per app is supported.
|
|
46
|
+
*/
|
|
47
|
+
bots?: Bot[];
|
|
48
|
+
/**
|
|
49
|
+
* The set of Office365 connectors for this app. Currently only one connector per app is
|
|
50
|
+
* supported.
|
|
51
|
+
*/
|
|
52
|
+
connectors?: Connector[];
|
|
53
|
+
/**
|
|
54
|
+
* Subscription offer associated with this app.
|
|
55
|
+
*/
|
|
56
|
+
subscriptionOffer?: SubscriptionOffer;
|
|
57
|
+
/**
|
|
58
|
+
* The set of compose extensions for this app. Currently only one compose extension per app
|
|
59
|
+
* is supported.
|
|
60
|
+
*/
|
|
61
|
+
composeExtensions?: ComposeExtension[];
|
|
62
|
+
/**
|
|
63
|
+
* Specifies the permissions the app requests from users.
|
|
64
|
+
*/
|
|
65
|
+
permissions?: Permission[];
|
|
66
|
+
/**
|
|
67
|
+
* Specify the native features on a user's device that your app may request access to.
|
|
68
|
+
*/
|
|
69
|
+
devicePermissions?: DevicePermission[];
|
|
70
|
+
/**
|
|
71
|
+
* A list of valid domains from which the tabs expect to load any content. Domain listings
|
|
72
|
+
* can include wildcards, for example `*.example.com`. If your tab configuration or content
|
|
73
|
+
* UI needs to navigate to any other domain besides the one use for tab configuration, that
|
|
74
|
+
* domain must be specified here.
|
|
75
|
+
*/
|
|
76
|
+
validDomains?: string[];
|
|
77
|
+
/**
|
|
78
|
+
* Specify your AAD App ID and Graph information to help users seamlessly sign into your AAD
|
|
79
|
+
* app.
|
|
80
|
+
*/
|
|
81
|
+
webApplicationInfo?: WebApplicationInfo;
|
|
82
|
+
/**
|
|
83
|
+
* Specify the app's Graph connector configuration. If this is present then
|
|
84
|
+
* webApplicationInfo.id must also be specified.
|
|
85
|
+
*/
|
|
86
|
+
graphConnector?: GraphConnector;
|
|
87
|
+
/**
|
|
88
|
+
* A value indicating whether or not show loading indicator when app/tab is loading
|
|
89
|
+
*/
|
|
90
|
+
showLoadingIndicator?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* A value indicating whether a personal app is rendered without a tab header-bar
|
|
93
|
+
*/
|
|
94
|
+
isFullScreen?: boolean;
|
|
95
|
+
activities?: Activities;
|
|
96
|
+
/**
|
|
97
|
+
* A list of tenant configured properties for an app
|
|
98
|
+
*/
|
|
99
|
+
configurableProperties?: ConfigurableProperty[];
|
|
100
|
+
/**
|
|
101
|
+
* List of 'non-standard' channel types that the app supports. Note: Channels of standard
|
|
102
|
+
* type are supported by default if the app supports team scope.
|
|
103
|
+
*/
|
|
104
|
+
supportedChannelTypes?: SupportedChannelType[];
|
|
105
|
+
/**
|
|
106
|
+
* A value indicating whether an app is blocked by default until admin allows it
|
|
107
|
+
*/
|
|
108
|
+
defaultBlockUntilAdminAction?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* The url to the page that provides additional app information for the admins
|
|
111
|
+
*/
|
|
112
|
+
publisherDocsUrl?: string;
|
|
113
|
+
/**
|
|
114
|
+
* The install scope defined for this app by default. This will be the option displayed on
|
|
115
|
+
* the button when a user tries to add the app
|
|
116
|
+
*/
|
|
117
|
+
defaultInstallScope?: DefaultInstallScope;
|
|
118
|
+
/**
|
|
119
|
+
* When a group install scope is selected, this will define the default capability when the
|
|
120
|
+
* user installs the app
|
|
121
|
+
*/
|
|
122
|
+
defaultGroupCapability?: DefaultGroupCapability;
|
|
123
|
+
/**
|
|
124
|
+
* Specify meeting extension definition.
|
|
125
|
+
*/
|
|
126
|
+
meetingExtensionDefinition?: MeetingExtensionDefinition;
|
|
127
|
+
/**
|
|
128
|
+
* Specify and consolidates authorization related information for the App.
|
|
129
|
+
*/
|
|
130
|
+
authorization?: Authorization;
|
|
131
|
+
}
|
|
132
|
+
export interface Activities {
|
|
133
|
+
/**
|
|
134
|
+
* Specify the types of activites that your app can post to a users activity feed
|
|
135
|
+
*/
|
|
136
|
+
activityTypes?: ActivityType[];
|
|
137
|
+
}
|
|
138
|
+
export interface ActivityType {
|
|
139
|
+
type: string;
|
|
140
|
+
description: string;
|
|
141
|
+
templateText: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Specify and consolidates authorization related information for the App.
|
|
145
|
+
*/
|
|
146
|
+
export interface Authorization {
|
|
147
|
+
/**
|
|
148
|
+
* List of permissions that the app needs to function.
|
|
149
|
+
*/
|
|
150
|
+
permissions?: Permissions;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* List of permissions that the app needs to function.
|
|
154
|
+
*/
|
|
155
|
+
export interface Permissions {
|
|
156
|
+
/**
|
|
157
|
+
* Permissions that guard data access on a resource instance level.
|
|
158
|
+
*/
|
|
159
|
+
resourceSpecific?: ResourceSpecific[];
|
|
160
|
+
}
|
|
161
|
+
export interface ResourceSpecific {
|
|
162
|
+
/**
|
|
163
|
+
* The name of the resource-specific permission.
|
|
164
|
+
*/
|
|
165
|
+
name: string;
|
|
166
|
+
/**
|
|
167
|
+
* The type of the resource-specific permission.
|
|
168
|
+
*/
|
|
169
|
+
type: ResourceSpecificType;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* The type of the resource-specific permission.
|
|
173
|
+
*/
|
|
174
|
+
export type ResourceSpecificType = "Application" | "Delegated";
|
|
175
|
+
export interface Bot {
|
|
176
|
+
/**
|
|
177
|
+
* The Microsoft App ID specified for the bot in the Bot Framework portal
|
|
178
|
+
* (https://dev.botframework.com/bots)
|
|
179
|
+
*/
|
|
180
|
+
botId: string;
|
|
181
|
+
/**
|
|
182
|
+
* This value describes whether or not the bot utilizes a user hint to add the bot to a
|
|
183
|
+
* specific channel.
|
|
184
|
+
*/
|
|
185
|
+
needsChannelSelector?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* A value indicating whether or not the bot is a one-way notification only bot, as opposed
|
|
188
|
+
* to a conversational bot.
|
|
189
|
+
*/
|
|
190
|
+
isNotificationOnly?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* A value indicating whether the bot supports uploading/downloading of files.
|
|
193
|
+
*/
|
|
194
|
+
supportsFiles?: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* A value indicating whether the bot supports audio calling.
|
|
197
|
+
*/
|
|
198
|
+
supportsCalling?: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* A value indicating whether the bot supports video calling.
|
|
201
|
+
*/
|
|
202
|
+
supportsVideo?: boolean;
|
|
203
|
+
/**
|
|
204
|
+
* Specifies whether the bot offers an experience in the context of a channel in a team, in
|
|
205
|
+
* a 1:1 or group chat, or in an experience scoped to an individual user alone. These
|
|
206
|
+
* options are non-exclusive.
|
|
207
|
+
*/
|
|
208
|
+
scopes: CommandListScope[];
|
|
209
|
+
/**
|
|
210
|
+
* The list of commands that the bot supplies, including their usage, description, and the
|
|
211
|
+
* scope for which the commands are valid. A separate command list should be used for each
|
|
212
|
+
* scope.
|
|
213
|
+
*/
|
|
214
|
+
commandLists?: CommandList[];
|
|
215
|
+
}
|
|
216
|
+
export interface CommandList {
|
|
217
|
+
/**
|
|
218
|
+
* Specifies the scopes for which the command list is valid
|
|
219
|
+
*/
|
|
220
|
+
scopes: CommandListScope[];
|
|
221
|
+
commands: CommandListCommand[];
|
|
222
|
+
}
|
|
223
|
+
export interface CommandListCommand {
|
|
224
|
+
/**
|
|
225
|
+
* The bot command name
|
|
226
|
+
*/
|
|
227
|
+
title: string;
|
|
228
|
+
/**
|
|
229
|
+
* A simple text description or an example of the command syntax and its arguments.
|
|
230
|
+
*/
|
|
231
|
+
description: string;
|
|
232
|
+
}
|
|
233
|
+
export type CommandListScope = "team" | "personal" | "groupChat" | "groupchat";
|
|
234
|
+
export interface ComposeExtension {
|
|
235
|
+
/**
|
|
236
|
+
* The Microsoft App ID specified for the bot powering the compose extension in the Bot
|
|
237
|
+
* Framework portal (https://dev.botframework.com/bots)
|
|
238
|
+
*/
|
|
239
|
+
botId: string;
|
|
240
|
+
/**
|
|
241
|
+
* A value indicating whether the configuration of a compose extension can be updated by the
|
|
242
|
+
* user.
|
|
243
|
+
*/
|
|
244
|
+
canUpdateConfiguration?: boolean;
|
|
245
|
+
commands: ComposeExtensionCommand[];
|
|
246
|
+
/**
|
|
247
|
+
* A list of handlers that allow apps to be invoked when certain conditions are met
|
|
248
|
+
*/
|
|
249
|
+
messageHandlers?: MessageHandler[];
|
|
250
|
+
}
|
|
251
|
+
export interface ComposeExtensionCommand {
|
|
252
|
+
/**
|
|
253
|
+
* Id of the command.
|
|
254
|
+
*/
|
|
255
|
+
id: string;
|
|
256
|
+
/**
|
|
257
|
+
* Type of the command
|
|
258
|
+
*/
|
|
259
|
+
type?: CommandType;
|
|
260
|
+
/**
|
|
261
|
+
* Context where the command would apply
|
|
262
|
+
*/
|
|
263
|
+
context?: CommandContext[];
|
|
264
|
+
/**
|
|
265
|
+
* Title of the command.
|
|
266
|
+
*/
|
|
267
|
+
title: string;
|
|
268
|
+
/**
|
|
269
|
+
* Description of the command.
|
|
270
|
+
*/
|
|
271
|
+
description?: string;
|
|
272
|
+
/**
|
|
273
|
+
* A boolean value that indicates if the command should be run once initially with no
|
|
274
|
+
* parameter.
|
|
275
|
+
*/
|
|
276
|
+
initialRun?: boolean;
|
|
277
|
+
/**
|
|
278
|
+
* A boolean value that indicates if it should fetch task module dynamically
|
|
279
|
+
*/
|
|
280
|
+
fetchTask?: boolean;
|
|
281
|
+
parameters?: Parameter[];
|
|
282
|
+
taskInfo?: TaskInfo;
|
|
283
|
+
}
|
|
284
|
+
export type CommandContext = "compose" | "commandBox" | "message";
|
|
285
|
+
export interface Parameter {
|
|
286
|
+
/**
|
|
287
|
+
* Name of the parameter.
|
|
288
|
+
*/
|
|
289
|
+
name: string;
|
|
290
|
+
/**
|
|
291
|
+
* Type of the parameter
|
|
292
|
+
*/
|
|
293
|
+
inputType?: InputType;
|
|
294
|
+
/**
|
|
295
|
+
* Title of the parameter.
|
|
296
|
+
*/
|
|
297
|
+
title: string;
|
|
298
|
+
/**
|
|
299
|
+
* Description of the parameter.
|
|
300
|
+
*/
|
|
301
|
+
description?: string;
|
|
302
|
+
/**
|
|
303
|
+
* Initial value for the parameter
|
|
304
|
+
*/
|
|
305
|
+
value?: string;
|
|
306
|
+
/**
|
|
307
|
+
* The choice options for the parameter
|
|
308
|
+
*/
|
|
309
|
+
choices?: Choice[];
|
|
310
|
+
}
|
|
311
|
+
export interface Choice {
|
|
312
|
+
/**
|
|
313
|
+
* Title of the choice
|
|
314
|
+
*/
|
|
315
|
+
title: string;
|
|
316
|
+
/**
|
|
317
|
+
* Value of the choice
|
|
318
|
+
*/
|
|
319
|
+
value: string;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Type of the parameter
|
|
323
|
+
*/
|
|
324
|
+
export type InputType = "text" | "textarea" | "number" | "date" | "time" | "toggle" | "choiceset";
|
|
325
|
+
export interface TaskInfo {
|
|
326
|
+
/**
|
|
327
|
+
* Initial dialog title
|
|
328
|
+
*/
|
|
329
|
+
title?: string;
|
|
330
|
+
/**
|
|
331
|
+
* Dialog width - either a number in pixels or default layout such as 'large', 'medium', or
|
|
332
|
+
* 'small'
|
|
333
|
+
*/
|
|
334
|
+
width?: string;
|
|
335
|
+
/**
|
|
336
|
+
* Dialog height - either a number in pixels or default layout such as 'large', 'medium', or
|
|
337
|
+
* 'small'
|
|
338
|
+
*/
|
|
339
|
+
height?: string;
|
|
340
|
+
/**
|
|
341
|
+
* Initial webview URL
|
|
342
|
+
*/
|
|
343
|
+
url?: string;
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Type of the command
|
|
347
|
+
*/
|
|
348
|
+
export type CommandType = "query" | "action";
|
|
349
|
+
export interface MessageHandler {
|
|
350
|
+
/**
|
|
351
|
+
* Type of the message handler
|
|
352
|
+
*/
|
|
353
|
+
type: "link";
|
|
354
|
+
value: Value;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Type of the message handler
|
|
358
|
+
*/
|
|
359
|
+
export interface Value {
|
|
360
|
+
/**
|
|
361
|
+
* A list of domains that the link message handler can register for, and when they are
|
|
362
|
+
* matched the app will be invoked
|
|
363
|
+
*/
|
|
364
|
+
domains?: string[];
|
|
365
|
+
/**
|
|
366
|
+
* A boolean that indicates whether the app's link message handler supports anonymous invoke
|
|
367
|
+
* flow.
|
|
368
|
+
*/
|
|
369
|
+
supportsAnonymizedPayloads?: boolean;
|
|
370
|
+
[property: string]: any;
|
|
371
|
+
}
|
|
372
|
+
export type ConfigurableProperty = "name" | "shortDescription" | "longDescription" | "smallImageUrl" | "largeImageUrl" | "accentColor" | "developerUrl" | "privacyUrl" | "termsOfUseUrl";
|
|
373
|
+
export interface ConfigurableTab {
|
|
374
|
+
/**
|
|
375
|
+
* The url to use when configuring the tab.
|
|
376
|
+
*/
|
|
377
|
+
configurationUrl: string;
|
|
378
|
+
/**
|
|
379
|
+
* A value indicating whether an instance of the tab's configuration can be updated by the
|
|
380
|
+
* user after creation.
|
|
381
|
+
*/
|
|
382
|
+
canUpdateConfiguration?: boolean;
|
|
383
|
+
/**
|
|
384
|
+
* Specifies whether the tab offers an experience in the context of a channel in a team, in
|
|
385
|
+
* a 1:1 or group chat, or in an experience scoped to an individual user alone. These
|
|
386
|
+
* options are non-exclusive. Currently, configurable tabs are only supported in the teams
|
|
387
|
+
* and groupchats scopes.
|
|
388
|
+
*/
|
|
389
|
+
scopes: ConfigurableTabScope[];
|
|
390
|
+
/**
|
|
391
|
+
* The set of meetingSurfaceItem scopes that a tab belong to
|
|
392
|
+
*/
|
|
393
|
+
meetingSurfaces?: MeetingSurface[];
|
|
394
|
+
/**
|
|
395
|
+
* The set of contextItem scopes that a tab belong to
|
|
396
|
+
*/
|
|
397
|
+
context?: ConfigurableTabContext[];
|
|
398
|
+
/**
|
|
399
|
+
* A relative file path to a tab preview image for use in SharePoint. Size 1024x768.
|
|
400
|
+
*/
|
|
401
|
+
sharePointPreviewImage?: string;
|
|
402
|
+
/**
|
|
403
|
+
* Defines how your tab will be made available in SharePoint.
|
|
404
|
+
*/
|
|
405
|
+
supportedSharePointHosts?: SupportedSharePointHost[];
|
|
406
|
+
}
|
|
407
|
+
export type ConfigurableTabContext = "personalTab" | "channelTab" | "privateChatTab" | "meetingChatTab" | "meetingDetailsTab" | "meetingSidePanel" | "meetingStage" | "callingSidePanel";
|
|
408
|
+
export type MeetingSurface = "sidePanel" | "stage";
|
|
409
|
+
export type ConfigurableTabScope = "team" | "groupChat" | "groupchat";
|
|
410
|
+
export type SupportedSharePointHost = "sharePointFullPage" | "sharePointWebPart";
|
|
411
|
+
export interface Connector {
|
|
412
|
+
/**
|
|
413
|
+
* A unique identifier for the connector which matches its ID in the Connectors Developer
|
|
414
|
+
* Portal.
|
|
415
|
+
*/
|
|
416
|
+
connectorId: string;
|
|
417
|
+
/**
|
|
418
|
+
* The url to use for configuring the connector using the inline configuration experience.
|
|
419
|
+
*/
|
|
420
|
+
configurationUrl?: string;
|
|
421
|
+
/**
|
|
422
|
+
* Specifies whether the connector offers an experience in the context of a channel in a
|
|
423
|
+
* team, or an experience scoped to an individual user alone. Currently, only the team scope
|
|
424
|
+
* is supported.
|
|
425
|
+
*/
|
|
426
|
+
scopes: "team"[];
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* When a group install scope is selected, this will define the default capability when the
|
|
430
|
+
* user installs the app
|
|
431
|
+
*/
|
|
432
|
+
export interface DefaultGroupCapability {
|
|
433
|
+
/**
|
|
434
|
+
* When the install scope selected is Team, this field specifies the default capability
|
|
435
|
+
* available
|
|
436
|
+
*/
|
|
437
|
+
team?: Groupchat;
|
|
438
|
+
/**
|
|
439
|
+
* When the install scope selected is GroupChat, this field specifies the default capability
|
|
440
|
+
* available
|
|
441
|
+
*/
|
|
442
|
+
groupchat?: Groupchat;
|
|
443
|
+
/**
|
|
444
|
+
* When the install scope selected is Meetings, this field specifies the default capability
|
|
445
|
+
* available
|
|
446
|
+
*/
|
|
447
|
+
meetings?: Groupchat;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* When the install scope selected is GroupChat, this field specifies the default capability
|
|
451
|
+
* available
|
|
452
|
+
*
|
|
453
|
+
* When the install scope selected is Meetings, this field specifies the default capability
|
|
454
|
+
* available
|
|
455
|
+
*
|
|
456
|
+
* When the install scope selected is Team, this field specifies the default capability
|
|
457
|
+
* available
|
|
458
|
+
*/
|
|
459
|
+
export type Groupchat = "tab" | "bot" | "connector";
|
|
460
|
+
/**
|
|
461
|
+
* The install scope defined for this app by default. This will be the option displayed on
|
|
462
|
+
* the button when a user tries to add the app
|
|
463
|
+
*/
|
|
464
|
+
export type DefaultInstallScope = "personal" | "team" | "groupchat" | "groupChat" | "meetings";
|
|
465
|
+
export interface Description {
|
|
466
|
+
/**
|
|
467
|
+
* A short description of the app used when space is limited. Maximum length is 80
|
|
468
|
+
* characters.
|
|
469
|
+
*/
|
|
470
|
+
short: string;
|
|
471
|
+
/**
|
|
472
|
+
* The full description of the app. Maximum length is 4000 characters.
|
|
473
|
+
*/
|
|
474
|
+
full: string;
|
|
475
|
+
}
|
|
476
|
+
export interface Developer {
|
|
477
|
+
/**
|
|
478
|
+
* The display name for the developer.
|
|
479
|
+
*/
|
|
480
|
+
name: string;
|
|
481
|
+
/**
|
|
482
|
+
* The Microsoft Partner Network ID that identifies the partner organization building the
|
|
483
|
+
* app. This field is not required, and should only be used if you are already part of the
|
|
484
|
+
* Microsoft Partner Network. More info at https://aka.ms/partner
|
|
485
|
+
*/
|
|
486
|
+
mpnId?: string;
|
|
487
|
+
/**
|
|
488
|
+
* The url to the page that provides support information for the app.
|
|
489
|
+
*/
|
|
490
|
+
websiteUrl: string;
|
|
491
|
+
/**
|
|
492
|
+
* The url to the page that provides privacy information for the app.
|
|
493
|
+
*/
|
|
494
|
+
privacyUrl: string;
|
|
495
|
+
/**
|
|
496
|
+
* The url to the page that provides the terms of use for the app.
|
|
497
|
+
*/
|
|
498
|
+
termsOfUseUrl: string;
|
|
499
|
+
}
|
|
500
|
+
export type DevicePermission = "geolocation" | "media" | "notifications" | "midi" | "openExternal";
|
|
501
|
+
/**
|
|
502
|
+
* Specify the app's Graph connector configuration. If this is present then
|
|
503
|
+
* webApplicationInfo.id must also be specified.
|
|
504
|
+
*/
|
|
505
|
+
export interface GraphConnector {
|
|
506
|
+
/**
|
|
507
|
+
* The url where Graph-connector notifications for the application should be sent.
|
|
508
|
+
*/
|
|
509
|
+
notificationUrl: string;
|
|
510
|
+
}
|
|
511
|
+
export interface Icons {
|
|
512
|
+
/**
|
|
513
|
+
* A relative file path to a transparent PNG outline icon. The border color needs to be
|
|
514
|
+
* white. Size 32x32.
|
|
515
|
+
*/
|
|
516
|
+
outline: string;
|
|
517
|
+
/**
|
|
518
|
+
* A relative file path to a full color PNG icon. Size 192x192.
|
|
519
|
+
*/
|
|
520
|
+
color: string;
|
|
521
|
+
}
|
|
522
|
+
export interface LocalizationInfo {
|
|
523
|
+
/**
|
|
524
|
+
* The language tag of the strings in this top level manifest file.
|
|
525
|
+
*/
|
|
526
|
+
defaultLanguageTag: string;
|
|
527
|
+
additionalLanguages?: AdditionalLanguage[];
|
|
528
|
+
}
|
|
529
|
+
export interface AdditionalLanguage {
|
|
530
|
+
/**
|
|
531
|
+
* The language tag of the strings in the provided file.
|
|
532
|
+
*/
|
|
533
|
+
languageTag: string;
|
|
534
|
+
/**
|
|
535
|
+
* A relative file path to a the .json file containing the translated strings.
|
|
536
|
+
*/
|
|
537
|
+
file: string;
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* Specify meeting extension definition.
|
|
541
|
+
*/
|
|
542
|
+
export interface MeetingExtensionDefinition {
|
|
543
|
+
/**
|
|
544
|
+
* Meeting supported scenes.
|
|
545
|
+
*/
|
|
546
|
+
scenes?: Scene[];
|
|
547
|
+
/**
|
|
548
|
+
* A boolean value indicating whether this app can stream the meeting's audio video content
|
|
549
|
+
* to an RTMP endpoint.
|
|
550
|
+
*/
|
|
551
|
+
supportsStreaming?: boolean;
|
|
552
|
+
}
|
|
553
|
+
export interface Scene {
|
|
554
|
+
/**
|
|
555
|
+
* A unique identifier for this scene. This id must be a GUID.
|
|
556
|
+
*/
|
|
557
|
+
id: string;
|
|
558
|
+
/**
|
|
559
|
+
* Scene name.
|
|
560
|
+
*/
|
|
561
|
+
name: string;
|
|
562
|
+
/**
|
|
563
|
+
* A relative file path to a scene metadata json file.
|
|
564
|
+
*/
|
|
565
|
+
file: string;
|
|
566
|
+
/**
|
|
567
|
+
* A relative file path to a scene PNG preview icon.
|
|
568
|
+
*/
|
|
569
|
+
preview: string;
|
|
570
|
+
/**
|
|
571
|
+
* Maximum audiences supported in scene.
|
|
572
|
+
*/
|
|
573
|
+
maxAudience: number;
|
|
574
|
+
/**
|
|
575
|
+
* Number of seats reserved for organizers or presenters.
|
|
576
|
+
*/
|
|
577
|
+
seatsReservedForOrganizersOrPresenters: number;
|
|
578
|
+
}
|
|
579
|
+
export interface Name {
|
|
580
|
+
/**
|
|
581
|
+
* A short display name for the app.
|
|
582
|
+
*/
|
|
583
|
+
short: string;
|
|
584
|
+
/**
|
|
585
|
+
* The full name of the app, used if the full app name exceeds 30 characters.
|
|
586
|
+
*/
|
|
587
|
+
full?: string;
|
|
588
|
+
}
|
|
589
|
+
export type Permission = "identity" | "messageTeamMembers";
|
|
590
|
+
export interface StaticTab {
|
|
591
|
+
/**
|
|
592
|
+
* A unique identifier for the entity which the tab displays.
|
|
593
|
+
*/
|
|
594
|
+
entityId: string;
|
|
595
|
+
/**
|
|
596
|
+
* The display name of the tab.
|
|
597
|
+
*/
|
|
598
|
+
name?: string;
|
|
599
|
+
/**
|
|
600
|
+
* The url which points to the entity UI to be displayed in the canvas.
|
|
601
|
+
*/
|
|
602
|
+
contentUrl?: string;
|
|
603
|
+
/**
|
|
604
|
+
* The Microsoft App ID specified for the bot in the Bot Framework portal
|
|
605
|
+
* (https://dev.botframework.com/bots)
|
|
606
|
+
*/
|
|
607
|
+
contentBotId?: string;
|
|
608
|
+
/**
|
|
609
|
+
* The url to point at if a user opts to view in a browser.
|
|
610
|
+
*/
|
|
611
|
+
websiteUrl?: string;
|
|
612
|
+
/**
|
|
613
|
+
* The url to direct a user's search queries.
|
|
614
|
+
*/
|
|
615
|
+
searchUrl?: string;
|
|
616
|
+
/**
|
|
617
|
+
* Specifies whether the tab offers an experience in the context of a channel in a team, or
|
|
618
|
+
* an experience scoped to an individual user alone. These options are non-exclusive.
|
|
619
|
+
* Currently static tabs are only supported in the 'personal' scope.
|
|
620
|
+
*/
|
|
621
|
+
scopes: StaticTabScope[];
|
|
622
|
+
/**
|
|
623
|
+
* The set of contextItem scopes that a tab belong to
|
|
624
|
+
*/
|
|
625
|
+
context?: StaticTabContext[];
|
|
626
|
+
}
|
|
627
|
+
export type StaticTabContext = "personalTab" | "channelTab";
|
|
628
|
+
export type StaticTabScope = "team" | "personal";
|
|
629
|
+
/**
|
|
630
|
+
* Subscription offer associated with this app.
|
|
631
|
+
*/
|
|
632
|
+
export interface SubscriptionOffer {
|
|
633
|
+
/**
|
|
634
|
+
* A unique identifier for the Commercial Marketplace Software as a Service Offer.
|
|
635
|
+
*/
|
|
636
|
+
offerId: string;
|
|
637
|
+
}
|
|
638
|
+
export type SupportedChannelType = "sharedChannels" | "privateChannels";
|
|
639
|
+
/**
|
|
640
|
+
* Specify your AAD App ID and Graph information to help users seamlessly sign into your AAD
|
|
641
|
+
* app.
|
|
642
|
+
*/
|
|
643
|
+
export interface WebApplicationInfo {
|
|
644
|
+
/**
|
|
645
|
+
* AAD application id of the app. This id must be a GUID.
|
|
646
|
+
*/
|
|
647
|
+
id: string;
|
|
648
|
+
/**
|
|
649
|
+
* Resource url of app for acquiring auth token for SSO.
|
|
650
|
+
*/
|
|
651
|
+
resource?: string;
|
|
652
|
+
}
|
|
653
|
+
export declare class Convert {
|
|
654
|
+
static toTeamsManifestV1D15(json: string): TeamsManifestV1D15;
|
|
655
|
+
static teamsManifestV1D15ToJson(value: TeamsManifestV1D15): string;
|
|
656
|
+
}
|