@microsoft/app-manifest 1.0.0-alpha.3db80d0af.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.
Files changed (102) hide show
  1. package/LICENSE +23 -0
  2. package/build/ManifestCommonProperties.d.ts +30 -0
  3. package/build/ManifestCommonProperties.js +5 -0
  4. package/build/ManifestCommonProperties.js.map +1 -0
  5. package/build/constants.d.ts +1 -0
  6. package/build/constants.js +7 -0
  7. package/build/constants.js.map +1 -0
  8. package/build/declarativeCopilotManifest.d.ts +68 -0
  9. package/build/declarativeCopilotManifest.js +15 -0
  10. package/build/declarativeCopilotManifest.js.map +1 -0
  11. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D0.d.ts +163 -0
  12. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D0.js +214 -0
  13. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D0.js.map +1 -0
  14. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D2.d.ts +185 -0
  15. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D2.js +220 -0
  16. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D2.js.map +1 -0
  17. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D3.d.ts +285 -0
  18. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D3.js +248 -0
  19. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D3.js.map +1 -0
  20. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D1.d.ts +429 -0
  21. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D1.js +289 -0
  22. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D1.js.map +1 -0
  23. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D2.d.ts +439 -0
  24. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D2.js +298 -0
  25. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D2.js.map +1 -0
  26. package/build/generated-types/index.d.ts +172 -0
  27. package/build/generated-types/index.js +437 -0
  28. package/build/generated-types/index.js.map +1 -0
  29. package/build/generated-types/teams/TeamsManifestV1D0.d.ts +268 -0
  30. package/build/generated-types/teams/TeamsManifestV1D0.js +265 -0
  31. package/build/generated-types/teams/TeamsManifestV1D0.js.map +1 -0
  32. package/build/generated-types/teams/TeamsManifestV1D1.d.ts +268 -0
  33. package/build/generated-types/teams/TeamsManifestV1D1.js +266 -0
  34. package/build/generated-types/teams/TeamsManifestV1D1.js.map +1 -0
  35. package/build/generated-types/teams/TeamsManifestV1D10.d.ts +589 -0
  36. package/build/generated-types/teams/TeamsManifestV1D10.js +448 -0
  37. package/build/generated-types/teams/TeamsManifestV1D10.js.map +1 -0
  38. package/build/generated-types/teams/TeamsManifestV1D11.d.ts +603 -0
  39. package/build/generated-types/teams/TeamsManifestV1D11.js +447 -0
  40. package/build/generated-types/teams/TeamsManifestV1D11.js.map +1 -0
  41. package/build/generated-types/teams/TeamsManifestV1D12.d.ts +638 -0
  42. package/build/generated-types/teams/TeamsManifestV1D12.js +461 -0
  43. package/build/generated-types/teams/TeamsManifestV1D12.js.map +1 -0
  44. package/build/generated-types/teams/TeamsManifestV1D13.d.ts +640 -0
  45. package/build/generated-types/teams/TeamsManifestV1D13.js +461 -0
  46. package/build/generated-types/teams/TeamsManifestV1D13.js.map +1 -0
  47. package/build/generated-types/teams/TeamsManifestV1D14.d.ts +651 -0
  48. package/build/generated-types/teams/TeamsManifestV1D14.js +467 -0
  49. package/build/generated-types/teams/TeamsManifestV1D14.js.map +1 -0
  50. package/build/generated-types/teams/TeamsManifestV1D15.d.ts +656 -0
  51. package/build/generated-types/teams/TeamsManifestV1D15.js +468 -0
  52. package/build/generated-types/teams/TeamsManifestV1D15.js.map +1 -0
  53. package/build/generated-types/teams/TeamsManifestV1D16.d.ts +659 -0
  54. package/build/generated-types/teams/TeamsManifestV1D16.js +471 -0
  55. package/build/generated-types/teams/TeamsManifestV1D16.js.map +1 -0
  56. package/build/generated-types/teams/TeamsManifestV1D17.d.ts +1212 -0
  57. package/build/generated-types/teams/TeamsManifestV1D17.js +733 -0
  58. package/build/generated-types/teams/TeamsManifestV1D17.js.map +1 -0
  59. package/build/generated-types/teams/TeamsManifestV1D19.d.ts +1238 -0
  60. package/build/generated-types/teams/TeamsManifestV1D19.js +742 -0
  61. package/build/generated-types/teams/TeamsManifestV1D19.js.map +1 -0
  62. package/build/generated-types/teams/TeamsManifestV1D2.d.ts +268 -0
  63. package/build/generated-types/teams/TeamsManifestV1D2.js +266 -0
  64. package/build/generated-types/teams/TeamsManifestV1D2.js.map +1 -0
  65. package/build/generated-types/teams/TeamsManifestV1D20.d.ts +1420 -0
  66. package/build/generated-types/teams/TeamsManifestV1D20.js +818 -0
  67. package/build/generated-types/teams/TeamsManifestV1D20.js.map +1 -0
  68. package/build/generated-types/teams/TeamsManifestV1D3.d.ts +280 -0
  69. package/build/generated-types/teams/TeamsManifestV1D3.js +279 -0
  70. package/build/generated-types/teams/TeamsManifestV1D3.js.map +1 -0
  71. package/build/generated-types/teams/TeamsManifestV1D4.d.ts +333 -0
  72. package/build/generated-types/teams/TeamsManifestV1D4.js +316 -0
  73. package/build/generated-types/teams/TeamsManifestV1D4.js.map +1 -0
  74. package/build/generated-types/teams/TeamsManifestV1D5.d.ts +423 -0
  75. package/build/generated-types/teams/TeamsManifestV1D5.js +357 -0
  76. package/build/generated-types/teams/TeamsManifestV1D5.js.map +1 -0
  77. package/build/generated-types/teams/TeamsManifestV1D6.d.ts +428 -0
  78. package/build/generated-types/teams/TeamsManifestV1D6.js +359 -0
  79. package/build/generated-types/teams/TeamsManifestV1D6.js.map +1 -0
  80. package/build/generated-types/teams/TeamsManifestV1D7.d.ts +444 -0
  81. package/build/generated-types/teams/TeamsManifestV1D7.js +369 -0
  82. package/build/generated-types/teams/TeamsManifestV1D7.js.map +1 -0
  83. package/build/generated-types/teams/TeamsManifestV1D8.d.ts +466 -0
  84. package/build/generated-types/teams/TeamsManifestV1D8.js +386 -0
  85. package/build/generated-types/teams/TeamsManifestV1D8.js.map +1 -0
  86. package/build/generated-types/teams/TeamsManifestV1D9.d.ts +532 -0
  87. package/build/generated-types/teams/TeamsManifestV1D9.js +420 -0
  88. package/build/generated-types/teams/TeamsManifestV1D9.js.map +1 -0
  89. package/build/generated-types/teams/TeamsManifestVDevPreview.d.ts +2219 -0
  90. package/build/generated-types/teams/TeamsManifestVDevPreview.js +1090 -0
  91. package/build/generated-types/teams/TeamsManifestVDevPreview.js.map +1 -0
  92. package/build/index.d.ts +88 -0
  93. package/build/index.js +247 -0
  94. package/build/index.js.map +1 -0
  95. package/build/manifest.d.ts +521 -0
  96. package/build/manifest.js +61 -0
  97. package/build/manifest.js.map +1 -0
  98. package/build/pluginManifest.d.ts +143 -0
  99. package/build/pluginManifest.js +3 -0
  100. package/build/pluginManifest.js.map +1 -0
  101. package/build/tsconfig.tsbuildinfo +1 -0
  102. package/package.json +68 -0
@@ -0,0 +1,466 @@
1
+ export interface TeamsManifestV1D8 {
2
+ $schema?: string;
3
+ /**
4
+ * A color to use in conjunction with the icon. The value must be a valid HTML color code
5
+ * starting with '#', for example `#4464ee`.
6
+ */
7
+ accentColor: string;
8
+ activities?: Activities;
9
+ /**
10
+ * The set of bots for this app. Currently only one bot per app is supported.
11
+ */
12
+ bots?: Bot[];
13
+ /**
14
+ * The set of compose extensions for this app. Currently only one compose extension per app
15
+ * is supported.
16
+ */
17
+ composeExtensions?: ComposeExtension[];
18
+ /**
19
+ * These are tabs users can optionally add to their channels and 1:1 or group chats and
20
+ * require extra configuration before they are added. Configurable tabs are not supported in
21
+ * the personal scope. Currently only one configurable tab per app is supported.
22
+ */
23
+ configurableTabs?: ConfigurableTab[];
24
+ /**
25
+ * The set of Office365 connectors for this app. Currently only one connector per app is
26
+ * supported.
27
+ */
28
+ connectors?: Connector[];
29
+ description: Description;
30
+ developer: Developer;
31
+ /**
32
+ * Specify the native features on a user's device that your app may request access to.
33
+ */
34
+ devicePermissions?: DevicePermission[];
35
+ icons: Icons;
36
+ /**
37
+ * A unique identifier for this app. This id must be a GUID.
38
+ */
39
+ id: string;
40
+ /**
41
+ * A value indicating whether a personal app is rendered without a tab header-bar
42
+ */
43
+ isFullScreen?: boolean;
44
+ localizationInfo?: LocalizationInfo;
45
+ /**
46
+ * The version of the schema this manifest is using.
47
+ */
48
+ manifestVersion: "1.8";
49
+ name: Name;
50
+ /**
51
+ * A unique identifier for this app in reverse domain notation. E.g: com.example.myapp
52
+ */
53
+ packageName?: string;
54
+ /**
55
+ * Specifies the permissions the app requests from users.
56
+ */
57
+ permissions?: Permission[];
58
+ /**
59
+ * A value indicating whether or not show loading indicator when app/tab is loading
60
+ */
61
+ showLoadingIndicator?: boolean;
62
+ /**
63
+ * A set of tabs that may be 'pinned' by default, without the user adding them manually.
64
+ * Static tabs declared in personal scope are always pinned to the app's personal
65
+ * experience. Static tabs do not currently support the 'teams' scope.
66
+ */
67
+ staticTabs?: StaticTab[];
68
+ /**
69
+ * A list of valid domains from which the tabs expect to load any content. Domain listings
70
+ * can include wildcards, for example `*.example.com`. If your tab configuration or content
71
+ * UI needs to navigate to any other domain besides the one use for tab configuration, that
72
+ * domain must be specified here.
73
+ */
74
+ validDomains?: string[];
75
+ /**
76
+ * The version of the app. Changes to your manifest should cause a version change. This
77
+ * version string must follow the semver standard (http://semver.org).
78
+ */
79
+ version: string;
80
+ /**
81
+ * Specify your AAD App ID and Graph information to help users seamlessly sign into your AAD
82
+ * app.
83
+ */
84
+ webApplicationInfo?: WebApplicationInfo;
85
+ }
86
+ export interface Activities {
87
+ /**
88
+ * Specify the types of activites that your app can post to a users activity feed
89
+ */
90
+ activityTypes?: ActivityType[];
91
+ }
92
+ export interface ActivityType {
93
+ description: string;
94
+ templateText: string;
95
+ type: string;
96
+ }
97
+ export interface Bot {
98
+ /**
99
+ * The Microsoft App ID specified for the bot in the Bot Framework portal
100
+ * (https://dev.botframework.com/bots)
101
+ */
102
+ botId: string;
103
+ /**
104
+ * The list of commands that the bot supplies, including their usage, description, and the
105
+ * scope for which the commands are valid. A separate command list should be used for each
106
+ * scope.
107
+ */
108
+ commandLists?: CommandList[];
109
+ /**
110
+ * A value indicating whether or not the bot is a one-way notification only bot, as opposed
111
+ * to a conversational bot.
112
+ */
113
+ isNotificationOnly?: boolean;
114
+ /**
115
+ * This value describes whether or not the bot utilizes a user hint to add the bot to a
116
+ * specific channel.
117
+ */
118
+ needsChannelSelector?: boolean;
119
+ /**
120
+ * Specifies whether the bot offers an experience in the context of a channel in a team, in
121
+ * a 1:1 or group chat, or in an experience scoped to an individual user alone. These
122
+ * options are non-exclusive.
123
+ */
124
+ scopes: CommandListScope[];
125
+ /**
126
+ * A value indicating whether the bot supports audio calling.
127
+ */
128
+ supportsCalling?: boolean;
129
+ /**
130
+ * A value indicating whether the bot supports uploading/downloading of files.
131
+ */
132
+ supportsFiles?: boolean;
133
+ /**
134
+ * A value indicating whether the bot supports video calling.
135
+ */
136
+ supportsVideo?: boolean;
137
+ }
138
+ export interface CommandList {
139
+ commands: CommandListCommand[];
140
+ /**
141
+ * Specifies the scopes for which the command list is valid
142
+ */
143
+ scopes: CommandListScope[];
144
+ }
145
+ export interface CommandListCommand {
146
+ /**
147
+ * A simple text description or an example of the command syntax and its arguments.
148
+ */
149
+ description: string;
150
+ /**
151
+ * The bot command name
152
+ */
153
+ title: string;
154
+ }
155
+ export type CommandListScope = "team" | "personal" | "groupChat" | "groupchat";
156
+ export interface ComposeExtension {
157
+ /**
158
+ * The Microsoft App ID specified for the bot powering the compose extension in the Bot
159
+ * Framework portal (https://dev.botframework.com/bots)
160
+ */
161
+ botId: string;
162
+ /**
163
+ * A value indicating whether the configuration of a compose extension can be updated by the
164
+ * user.
165
+ */
166
+ canUpdateConfiguration?: boolean;
167
+ commands: ComposeExtensionCommand[];
168
+ /**
169
+ * A list of handlers that allow apps to be invoked when certain conditions are met
170
+ */
171
+ messageHandlers?: MessageHandler[];
172
+ }
173
+ export interface ComposeExtensionCommand {
174
+ /**
175
+ * Context where the command would apply
176
+ */
177
+ context?: CommandContext[];
178
+ /**
179
+ * Description of the command.
180
+ */
181
+ description?: string;
182
+ /**
183
+ * A boolean value that indicates if it should fetch task module dynamically
184
+ */
185
+ fetchTask?: boolean;
186
+ /**
187
+ * Id of the command.
188
+ */
189
+ id: string;
190
+ /**
191
+ * A boolean value that indicates if the command should be run once initially with no
192
+ * parameter.
193
+ */
194
+ initialRun?: boolean;
195
+ parameters?: Parameter[];
196
+ taskInfo?: TaskInfo;
197
+ /**
198
+ * Title of the command.
199
+ */
200
+ title: string;
201
+ /**
202
+ * Type of the command
203
+ */
204
+ type?: CommandType;
205
+ }
206
+ export type CommandContext = "compose" | "commandBox" | "message";
207
+ export interface Parameter {
208
+ /**
209
+ * The choice options for the parameter
210
+ */
211
+ choices?: Choice[];
212
+ /**
213
+ * Description of the parameter.
214
+ */
215
+ description?: string;
216
+ /**
217
+ * Type of the parameter
218
+ */
219
+ inputType?: InputType;
220
+ /**
221
+ * Name of the parameter.
222
+ */
223
+ name: string;
224
+ /**
225
+ * Title of the parameter.
226
+ */
227
+ title: string;
228
+ /**
229
+ * Initial value for the parameter
230
+ */
231
+ value?: string;
232
+ }
233
+ export interface Choice {
234
+ /**
235
+ * Title of the choice
236
+ */
237
+ title: string;
238
+ /**
239
+ * Value of the choice
240
+ */
241
+ value: string;
242
+ }
243
+ /**
244
+ * Type of the parameter
245
+ */
246
+ export type InputType = "text" | "textarea" | "number" | "date" | "time" | "toggle" | "choiceset";
247
+ export interface TaskInfo {
248
+ /**
249
+ * Dialog height - either a number in pixels or default layout such as 'large', 'medium', or
250
+ * 'small'
251
+ */
252
+ height?: string;
253
+ /**
254
+ * Initial dialog title
255
+ */
256
+ title?: string;
257
+ /**
258
+ * Initial webview URL
259
+ */
260
+ url?: string;
261
+ /**
262
+ * Dialog width - either a number in pixels or default layout such as 'large', 'medium', or
263
+ * 'small'
264
+ */
265
+ width?: string;
266
+ }
267
+ /**
268
+ * Type of the command
269
+ */
270
+ export type CommandType = "query" | "action";
271
+ export interface MessageHandler {
272
+ /**
273
+ * Type of the message handler
274
+ */
275
+ type: "link";
276
+ value: Value;
277
+ }
278
+ /**
279
+ * Type of the message handler
280
+ */
281
+ export interface Value {
282
+ /**
283
+ * A list of domains that the link message handler can register for, and when they are
284
+ * matched the app will be invoked
285
+ */
286
+ domains?: string[];
287
+ [property: string]: any;
288
+ }
289
+ export interface ConfigurableTab {
290
+ /**
291
+ * A value indicating whether an instance of the tab's configuration can be updated by the
292
+ * user after creation.
293
+ */
294
+ canUpdateConfiguration?: boolean;
295
+ /**
296
+ * The url to use when configuring the tab.
297
+ */
298
+ configurationUrl: string;
299
+ /**
300
+ * The set of contextItem scopes that a tab belong to
301
+ */
302
+ context?: ConfigurableTabContext[];
303
+ /**
304
+ * Specifies whether the tab offers an experience in the context of a channel in a team, in
305
+ * a 1:1 or group chat, or in an experience scoped to an individual user alone. These
306
+ * options are non-exclusive. Currently, configurable tabs are only supported in the teams
307
+ * and groupchats scopes.
308
+ */
309
+ scopes: ConfigurableTabScope[];
310
+ /**
311
+ * A relative file path to a tab preview image for use in SharePoint. Size 1024x768.
312
+ */
313
+ sharePointPreviewImage?: string;
314
+ /**
315
+ * Defines how your tab will be made available in SharePoint.
316
+ */
317
+ supportedSharePointHosts?: SupportedSharePointHost[];
318
+ }
319
+ export type ConfigurableTabContext = "channelTab" | "privateChatTab" | "meetingChatTab" | "meetingDetailsTab" | "meetingSidePanel" | "meetingStage";
320
+ export type ConfigurableTabScope = "team" | "groupChat" | "groupchat";
321
+ export type SupportedSharePointHost = "sharePointFullPage" | "sharePointWebPart";
322
+ export interface Connector {
323
+ /**
324
+ * The url to use for configuring the connector using the inline configuration experience.
325
+ */
326
+ configurationUrl?: string;
327
+ /**
328
+ * A unique identifier for the connector which matches its ID in the Connectors Developer
329
+ * Portal.
330
+ */
331
+ connectorId: string;
332
+ /**
333
+ * Specifies whether the connector offers an experience in the context of a channel in a
334
+ * team, or an experience scoped to an individual user alone. Currently, only the team scope
335
+ * is supported.
336
+ */
337
+ scopes: "team"[];
338
+ }
339
+ export interface Description {
340
+ /**
341
+ * The full description of the app. Maximum length is 4000 characters.
342
+ */
343
+ full: string;
344
+ /**
345
+ * A short description of the app used when space is limited. Maximum length is 80
346
+ * characters.
347
+ */
348
+ short: string;
349
+ }
350
+ export interface Developer {
351
+ /**
352
+ * The Microsoft Partner Network ID that identifies the partner organization building the
353
+ * app. This field is not required, and should only be used if you are already part of the
354
+ * Microsoft Partner Network. More info at https://aka.ms/partner
355
+ */
356
+ mpnId?: string;
357
+ /**
358
+ * The display name for the developer.
359
+ */
360
+ name: string;
361
+ /**
362
+ * The url to the page that provides privacy information for the app.
363
+ */
364
+ privacyUrl: string;
365
+ /**
366
+ * The url to the page that provides the terms of use for the app.
367
+ */
368
+ termsOfUseUrl: string;
369
+ /**
370
+ * The url to the page that provides support information for the app.
371
+ */
372
+ websiteUrl: string;
373
+ }
374
+ export type DevicePermission = "geolocation" | "media" | "notifications" | "midi" | "openExternal";
375
+ export interface Icons {
376
+ /**
377
+ * A relative file path to a full color PNG icon. Size 192x192.
378
+ */
379
+ color: string;
380
+ /**
381
+ * A relative file path to a transparent PNG outline icon. The border color needs to be
382
+ * white. Size 32x32.
383
+ */
384
+ outline: string;
385
+ }
386
+ export interface LocalizationInfo {
387
+ additionalLanguages?: AdditionalLanguage[];
388
+ /**
389
+ * The language tag of the strings in this top level manifest file.
390
+ */
391
+ defaultLanguageTag: string;
392
+ }
393
+ export interface AdditionalLanguage {
394
+ /**
395
+ * A relative file path to a the .json file containing the translated strings.
396
+ */
397
+ file: string;
398
+ /**
399
+ * The language tag of the strings in the provided file.
400
+ */
401
+ languageTag: string;
402
+ }
403
+ export interface Name {
404
+ /**
405
+ * The full name of the app, used if the full app name exceeds 30 characters.
406
+ */
407
+ full?: string;
408
+ /**
409
+ * A short display name for the app.
410
+ */
411
+ short: string;
412
+ }
413
+ export type Permission = "identity" | "messageTeamMembers";
414
+ export interface StaticTab {
415
+ /**
416
+ * The url which points to the entity UI to be displayed in the Teams canvas.
417
+ */
418
+ contentUrl?: string;
419
+ /**
420
+ * The set of contextItem scopes that a tab belong to
421
+ */
422
+ context?: StaticTabContext[];
423
+ /**
424
+ * A unique identifier for the entity which the tab displays.
425
+ */
426
+ entityId: string;
427
+ /**
428
+ * The display name of the tab.
429
+ */
430
+ name?: string;
431
+ /**
432
+ * Specifies whether the tab offers an experience in the context of a channel in a team, or
433
+ * an experience scoped to an individual user alone. These options are non-exclusive.
434
+ * Currently static tabs are only supported in the 'personal' scope.
435
+ */
436
+ scopes: StaticTabScope[];
437
+ /**
438
+ * The url to direct a user's search queries.
439
+ */
440
+ searchUrl?: string;
441
+ /**
442
+ * The url to point at if a user opts to view in a browser.
443
+ */
444
+ websiteUrl?: string;
445
+ }
446
+ export type StaticTabContext = "personalTab" | "channelTab";
447
+ export type StaticTabScope = "team" | "personal";
448
+ /**
449
+ * Specify your AAD App ID and Graph information to help users seamlessly sign into your AAD
450
+ * app.
451
+ */
452
+ export interface WebApplicationInfo {
453
+ applicationPermissions?: string[];
454
+ /**
455
+ * AAD application id of the app. This id must be a GUID.
456
+ */
457
+ id: string;
458
+ /**
459
+ * Resource url of app for acquiring auth token for SSO.
460
+ */
461
+ resource?: string;
462
+ }
463
+ export declare class Convert {
464
+ static toTeamsManifestV1D8(json: string): TeamsManifestV1D8;
465
+ static teamsManifestV1D8ToJson(value: TeamsManifestV1D8): string;
466
+ }