@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,1420 @@
1
+ export interface TeamsManifestV1D20 {
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
+ * Specify and consolidates authorization related information for the App.
11
+ */
12
+ authorization?: TeamsManifestV1D20Authorization;
13
+ /**
14
+ * The set of bots for this app. Currently only one bot per app is supported.
15
+ */
16
+ bots?: Bot[];
17
+ /**
18
+ * The set of compose extensions for this app. Currently only one compose extension per app
19
+ * is supported.
20
+ */
21
+ composeExtensions?: ComposeExtension[];
22
+ /**
23
+ * A list of tenant configured properties for an app
24
+ */
25
+ configurableProperties?: ConfigurableProperty[];
26
+ /**
27
+ * These are tabs users can optionally add to their channels and 1:1 or group chats and
28
+ * require extra configuration before they are added. Configurable tabs are not supported in
29
+ * the personal scope. Currently only one configurable tab per app is supported.
30
+ */
31
+ configurableTabs?: ConfigurableTab[];
32
+ /**
33
+ * The set of Office365 connectors for this app. Currently only one connector per app is
34
+ * supported.
35
+ */
36
+ connectors?: Connector[];
37
+ copilotAgents?: CopilotAgents;
38
+ /**
39
+ * Defines the list of cards which could be pinned to dashboards that can provide summarized
40
+ * view of information relevant to user.
41
+ */
42
+ dashboardCards?: DashboardCard[];
43
+ /**
44
+ * A value indicating whether an app is blocked by default until admin allows it
45
+ */
46
+ defaultBlockUntilAdminAction?: boolean;
47
+ /**
48
+ * When a group install scope is selected, this will define the default capability when the
49
+ * user installs the app
50
+ */
51
+ defaultGroupCapability?: DefaultGroupCapability;
52
+ /**
53
+ * The install scope defined for this app by default. This will be the option displayed on
54
+ * the button when a user tries to add the app
55
+ */
56
+ defaultInstallScope?: DefaultInstallScope;
57
+ description: Description;
58
+ developer: Developer;
59
+ /**
60
+ * Specify the native features on a user's device that your app may request access to.
61
+ */
62
+ devicePermissions?: DevicePermission[];
63
+ elementRelationshipSet?: ElementRelationshipSet;
64
+ extensions?: ElementExtension[];
65
+ /**
66
+ * Specify the app's Graph connector configuration. If this is present then
67
+ * webApplicationInfo.id must also be specified.
68
+ */
69
+ graphConnector?: GraphConnector;
70
+ icons: Icons;
71
+ /**
72
+ * A unique identifier for this app. This id must be a GUID.
73
+ */
74
+ id: string;
75
+ /**
76
+ * The Intune-related properties for the app.
77
+ */
78
+ intuneInfo?: IntuneInfo;
79
+ /**
80
+ * A value indicating whether a personal app is rendered without a tab header-bar
81
+ */
82
+ isFullScreen?: boolean;
83
+ localizationInfo?: LocalizationInfo;
84
+ /**
85
+ * The version of the schema this manifest is using. This schema version supports extending
86
+ * Teams apps to other parts of the Microsoft 365 ecosystem. More info at
87
+ * https://aka.ms/extendteamsapps.
88
+ */
89
+ manifestVersion: "1.20";
90
+ /**
91
+ * Specify meeting extension definition.
92
+ */
93
+ meetingExtensionDefinition?: MeetingExtensionDefinition;
94
+ name: NameClass;
95
+ /**
96
+ * Specifies the permissions the app requests from users.
97
+ */
98
+ permissions?: Permission[];
99
+ /**
100
+ * The url to the page that provides additional app information for the admins
101
+ */
102
+ publisherDocsUrl?: string;
103
+ /**
104
+ * A value indicating whether or not show loading indicator when app/tab is loading
105
+ */
106
+ showLoadingIndicator?: boolean;
107
+ /**
108
+ * A set of tabs that may be 'pinned' by default, without the user adding them manually.
109
+ * Static tabs declared in personal scope are always pinned to the app's personal
110
+ * experience. Static tabs do not currently support the 'teams' scope.
111
+ */
112
+ staticTabs?: StaticTab[];
113
+ /**
114
+ * Subscription offer associated with this app.
115
+ */
116
+ subscriptionOffer?: SubscriptionOffer;
117
+ /**
118
+ * List of 'non-standard' channel types that the app supports. Note: Channels of standard
119
+ * type are supported by default if the app supports team scope.
120
+ */
121
+ supportedChannelTypes?: SupportedChannelType[];
122
+ /**
123
+ * A list of valid domains from which the tabs expect to load any content. Domain listings
124
+ * can include wildcards, for example `*.example.com`. If your tab configuration or content
125
+ * UI needs to navigate to any other domain besides the one use for tab configuration, that
126
+ * domain must be specified here.
127
+ */
128
+ validDomains?: string[];
129
+ /**
130
+ * The version of the app. Changes to your manifest should cause a version change. This
131
+ * version string must follow the semver standard (http://semver.org).
132
+ */
133
+ version: string;
134
+ /**
135
+ * Specify your AAD App ID and Graph information to help users seamlessly sign into your AAD
136
+ * app.
137
+ */
138
+ webApplicationInfo?: WebApplicationInfo;
139
+ }
140
+ export interface Activities {
141
+ /**
142
+ * Specify the types of activites that your app can post to a users activity feed
143
+ */
144
+ activityTypes?: ActivityType[];
145
+ }
146
+ export interface ActivityType {
147
+ description: string;
148
+ templateText: string;
149
+ type: string;
150
+ }
151
+ /**
152
+ * Specify and consolidates authorization related information for the App.
153
+ */
154
+ export interface TeamsManifestV1D20Authorization {
155
+ /**
156
+ * List of permissions that the app needs to function.
157
+ */
158
+ permissions?: Permissions;
159
+ }
160
+ /**
161
+ * List of permissions that the app needs to function.
162
+ */
163
+ export interface Permissions {
164
+ /**
165
+ * Permissions that must be granted on a per resource instance basis.
166
+ */
167
+ resourceSpecific?: ResourceSpecific[];
168
+ }
169
+ export interface ResourceSpecific {
170
+ /**
171
+ * The name of the resource-specific permission.
172
+ */
173
+ name: string;
174
+ /**
175
+ * The type of the resource-specific permission: delegated vs application.
176
+ */
177
+ type: ResourceSpecificType;
178
+ }
179
+ /**
180
+ * The type of the resource-specific permission: delegated vs application.
181
+ */
182
+ export type ResourceSpecificType = "Application" | "Delegated";
183
+ export interface Bot {
184
+ /**
185
+ * The Microsoft App ID specified for the bot in the Bot Framework portal
186
+ * (https://dev.botframework.com/bots)
187
+ */
188
+ botId: string;
189
+ /**
190
+ * The list of commands that the bot supplies, including their usage, description, and the
191
+ * scope for which the commands are valid. A separate command list should be used for each
192
+ * scope.
193
+ */
194
+ commandLists?: CommandList[];
195
+ configuration?: Configuration;
196
+ /**
197
+ * A value indicating whether or not the bot is a one-way notification only bot, as opposed
198
+ * to a conversational bot.
199
+ */
200
+ isNotificationOnly?: boolean;
201
+ /**
202
+ * This value describes whether or not the bot utilizes a user hint to add the bot to a
203
+ * specific channel.
204
+ */
205
+ needsChannelSelector?: boolean;
206
+ requirementSet?: ElementRequirementSet;
207
+ /**
208
+ * Specifies whether the bot offers an experience in the context of a channel in a team, in
209
+ * a 1:1 or group chat, or in an experience scoped to an individual user alone. These
210
+ * options are non-exclusive.
211
+ */
212
+ scopes: CommandListScope[];
213
+ /**
214
+ * A value indicating whether the bot supports audio calling.
215
+ */
216
+ supportsCalling?: boolean;
217
+ /**
218
+ * A value indicating whether the bot supports uploading/downloading of files.
219
+ */
220
+ supportsFiles?: boolean;
221
+ /**
222
+ * A value indicating whether the bot supports video calling.
223
+ */
224
+ supportsVideo?: boolean;
225
+ }
226
+ export interface CommandList {
227
+ commands: CommandListCommand[];
228
+ /**
229
+ * Specifies the scopes for which the command list is valid
230
+ */
231
+ scopes: CommandListScope[];
232
+ }
233
+ export interface CommandListCommand {
234
+ /**
235
+ * A simple text description or an example of the command syntax and its arguments.
236
+ */
237
+ description: string;
238
+ /**
239
+ * The bot command name
240
+ */
241
+ title: string;
242
+ }
243
+ export type CommandListScope = "team" | "personal" | "groupChat";
244
+ export interface Configuration {
245
+ groupChat?: GroupChat;
246
+ team?: GroupChat;
247
+ }
248
+ export interface GroupChat {
249
+ fetchTask?: boolean;
250
+ taskInfo?: TaskInfo;
251
+ }
252
+ export interface TaskInfo {
253
+ /**
254
+ * Dialog height - either a number in pixels or default layout such as 'large', 'medium', or
255
+ * 'small'
256
+ */
257
+ height?: string;
258
+ /**
259
+ * Initial dialog title
260
+ */
261
+ title?: string;
262
+ /**
263
+ * Initial webview URL
264
+ */
265
+ url?: string;
266
+ /**
267
+ * Dialog width - either a number in pixels or default layout such as 'large', 'medium', or
268
+ * 'small'
269
+ */
270
+ width?: string;
271
+ }
272
+ /**
273
+ * An object representing a set of requirements that the host must support for the element.
274
+ */
275
+ export interface ElementRequirementSet {
276
+ hostMustSupportFunctionalities: HostFunctionality[];
277
+ }
278
+ /**
279
+ * An object representing a specific functionality that a host must support.
280
+ */
281
+ export interface HostFunctionality {
282
+ /**
283
+ * The name of the functionality.
284
+ */
285
+ name: HostMustSupportFunctionalityName;
286
+ }
287
+ /**
288
+ * The name of the functionality.
289
+ */
290
+ export type HostMustSupportFunctionalityName = "dialogUrl" | "dialogUrlBot" | "dialogAdaptiveCard" | "dialogAdaptiveCardBot";
291
+ export interface ComposeExtension {
292
+ /**
293
+ * A relative file path to the api specification file in the manifest package.
294
+ */
295
+ apiSpecificationFile?: string;
296
+ /**
297
+ * Object capturing authorization information.
298
+ */
299
+ authorization?: ComposeExtensionAuthorization;
300
+ /**
301
+ * The Microsoft App ID specified for the bot powering the compose extension in the Bot
302
+ * Framework portal (https://dev.botframework.com/bots)
303
+ */
304
+ botId?: string;
305
+ /**
306
+ * A value indicating whether the configuration of a compose extension can be updated by the
307
+ * user.
308
+ */
309
+ canUpdateConfiguration?: boolean | null;
310
+ commands?: ComposeExtensionCommand[];
311
+ /**
312
+ * Type of the compose extension.
313
+ */
314
+ composeExtensionType?: ComposeExtensionType;
315
+ /**
316
+ * A unique identifier for the compose extension.
317
+ */
318
+ id?: string;
319
+ /**
320
+ * A list of handlers that allow apps to be invoked when certain conditions are met
321
+ */
322
+ messageHandlers?: MessageHandler[];
323
+ requirementSet?: ElementRequirementSet;
324
+ }
325
+ /**
326
+ * Object capturing authorization information.
327
+ */
328
+ export interface ComposeExtensionAuthorization {
329
+ /**
330
+ * Object capturing details needed to do service auth. It will be only present when auth
331
+ * type is apiSecretServiceAuth.
332
+ */
333
+ apiSecretServiceAuthConfiguration?: APISecretServiceAuthConfiguration;
334
+ /**
335
+ * Enum of possible authentication types.
336
+ */
337
+ authType?: AuthType;
338
+ /**
339
+ * Object capturing details needed to do single aad auth flow. It will be only present when
340
+ * auth type is entraId.
341
+ */
342
+ microsoftEntraConfiguration?: MicrosoftEntraConfiguration;
343
+ }
344
+ /**
345
+ * Object capturing details needed to do service auth. It will be only present when auth
346
+ * type is apiSecretServiceAuth.
347
+ */
348
+ export interface APISecretServiceAuthConfiguration {
349
+ /**
350
+ * Registration id returned when developer submits the api key through Developer Portal.
351
+ */
352
+ apiSecretRegistrationId?: string;
353
+ }
354
+ /**
355
+ * Enum of possible authentication types.
356
+ */
357
+ export type AuthType = "none" | "apiSecretServiceAuth" | "microsoftEntra";
358
+ /**
359
+ * Object capturing details needed to do single aad auth flow. It will be only present when
360
+ * auth type is entraId.
361
+ */
362
+ export interface MicrosoftEntraConfiguration {
363
+ /**
364
+ * Boolean indicating whether single sign on is configured for the app.
365
+ */
366
+ supportsSingleSignOn?: boolean;
367
+ }
368
+ export interface ComposeExtensionCommand {
369
+ /**
370
+ * A relative file path for api response rendering template file.
371
+ */
372
+ apiResponseRenderingTemplateFile?: string;
373
+ /**
374
+ * Context where the command would apply
375
+ */
376
+ context?: CommandContext[];
377
+ /**
378
+ * Description of the command.
379
+ */
380
+ description?: string;
381
+ /**
382
+ * A boolean value that indicates if it should fetch task module dynamically
383
+ */
384
+ fetchTask?: boolean;
385
+ /**
386
+ * Id of the command.
387
+ */
388
+ id: string;
389
+ /**
390
+ * A boolean value that indicates if the command should be run once initially with no
391
+ * parameter.
392
+ */
393
+ initialRun?: boolean;
394
+ parameters?: Parameter[];
395
+ samplePrompts?: SamplePrompt[];
396
+ /**
397
+ * Semantic description for the command.
398
+ */
399
+ semanticDescription?: string;
400
+ taskInfo?: TaskInfo;
401
+ /**
402
+ * Title of the command.
403
+ */
404
+ title: string;
405
+ /**
406
+ * Type of the command
407
+ */
408
+ type?: CommandType;
409
+ }
410
+ export type CommandContext = "compose" | "commandBox" | "message";
411
+ export interface Parameter {
412
+ /**
413
+ * The choice options for the parameter
414
+ */
415
+ choices?: Choice[];
416
+ /**
417
+ * Description of the parameter.
418
+ */
419
+ description?: string;
420
+ /**
421
+ * Type of the parameter
422
+ */
423
+ inputType?: InputType;
424
+ /**
425
+ * The value indicates if this parameter is a required field.
426
+ */
427
+ isRequired?: boolean;
428
+ /**
429
+ * Name of the parameter.
430
+ */
431
+ name: string;
432
+ /**
433
+ * Semantic description for the parameter.
434
+ */
435
+ semanticDescription?: string;
436
+ /**
437
+ * Title of the parameter.
438
+ */
439
+ title: string;
440
+ /**
441
+ * Initial value for the parameter
442
+ */
443
+ value?: string;
444
+ }
445
+ export interface Choice {
446
+ /**
447
+ * Title of the choice
448
+ */
449
+ title: string;
450
+ /**
451
+ * Value of the choice
452
+ */
453
+ value: string;
454
+ }
455
+ /**
456
+ * Type of the parameter
457
+ */
458
+ export type InputType = "text" | "textarea" | "number" | "date" | "time" | "toggle" | "choiceset";
459
+ export interface SamplePrompt {
460
+ /**
461
+ * This string will hold the sample prompt
462
+ */
463
+ text: string;
464
+ }
465
+ /**
466
+ * Type of the command
467
+ */
468
+ export type CommandType = "query" | "action";
469
+ /**
470
+ * Type of the compose extension.
471
+ */
472
+ export type ComposeExtensionType = "botBased" | "apiBased";
473
+ export interface MessageHandler {
474
+ /**
475
+ * Type of the message handler
476
+ */
477
+ type: "link";
478
+ value: Value;
479
+ }
480
+ /**
481
+ * Type of the message handler
482
+ */
483
+ export interface Value {
484
+ /**
485
+ * A list of domains that the link message handler can register for, and when they are
486
+ * matched the app will be invoked
487
+ */
488
+ domains?: string[];
489
+ /**
490
+ * A boolean that indicates whether the app's link message handler supports anonymous invoke
491
+ * flow.
492
+ */
493
+ supportsAnonymizedPayloads?: boolean;
494
+ }
495
+ export type ConfigurableProperty = "name" | "shortDescription" | "longDescription" | "smallImageUrl" | "largeImageUrl" | "accentColor" | "developerUrl" | "privacyUrl" | "termsOfUseUrl";
496
+ export interface ConfigurableTab {
497
+ /**
498
+ * A value indicating whether an instance of the tab's configuration can be updated by the
499
+ * user after creation.
500
+ */
501
+ canUpdateConfiguration?: boolean;
502
+ /**
503
+ * The url to use when configuring the tab.
504
+ */
505
+ configurationUrl: string;
506
+ /**
507
+ * The set of contextItem scopes that a tab belong to
508
+ */
509
+ context?: ConfigurableTabContext[];
510
+ /**
511
+ * A unique identifier for the tab. This id must be unique within the app manifest.
512
+ */
513
+ id?: string;
514
+ /**
515
+ * The set of meetingSurfaceItem scopes that a tab belong to
516
+ */
517
+ meetingSurfaces?: MeetingSurface[];
518
+ /**
519
+ * Specifies whether the tab offers an experience in the context of a channel in a team, in
520
+ * a 1:1 or group chat, or in an experience scoped to an individual user alone. These
521
+ * options are non-exclusive. Currently, configurable tabs are only supported in the teams
522
+ * and groupchats scopes.
523
+ */
524
+ scopes: ConfigurableTabScope[];
525
+ /**
526
+ * A relative file path to a tab preview image for use in SharePoint. Size 1024x768.
527
+ */
528
+ sharePointPreviewImage?: string;
529
+ /**
530
+ * Defines how your tab will be made available in SharePoint.
531
+ */
532
+ supportedSharePointHosts?: SupportedSharePointHost[];
533
+ }
534
+ export type ConfigurableTabContext = "personalTab" | "channelTab" | "privateChatTab" | "meetingChatTab" | "meetingDetailsTab" | "meetingSidePanel" | "meetingStage";
535
+ export type MeetingSurface = "sidePanel" | "stage";
536
+ export type ConfigurableTabScope = "team" | "groupChat";
537
+ export type SupportedSharePointHost = "sharePointFullPage" | "sharePointWebPart";
538
+ export interface Connector {
539
+ /**
540
+ * The url to use for configuring the connector using the inline configuration experience.
541
+ */
542
+ configurationUrl?: string;
543
+ /**
544
+ * A unique identifier for the connector which matches its ID in the Connectors Developer
545
+ * Portal.
546
+ */
547
+ connectorId: string;
548
+ /**
549
+ * Specifies whether the connector offers an experience in the context of a channel in a
550
+ * team, or an experience scoped to an individual user alone. Currently, only the team scope
551
+ * is supported.
552
+ */
553
+ scopes: "team"[];
554
+ }
555
+ export interface CopilotAgents {
556
+ /**
557
+ * An array of Custom Engine Agents. Currently only one Custom Engine Agent per application
558
+ * is supported. Support is currently in public preview.
559
+ */
560
+ customEngineAgents?: CustomEngineAgent[];
561
+ /**
562
+ * An array of declarative agent elements references. Currently, only one declarative agent
563
+ * per application is supported.
564
+ */
565
+ declarativeAgents?: DeclarativeAgentRef[];
566
+ }
567
+ export interface CustomEngineAgent {
568
+ /**
569
+ * The id of the Custom Engine Agent. If it is of type bot, the id must match the id
570
+ * specified in a bot in the bots node and the referenced bot must have personal scope. The
571
+ * app short name and short description must also be defined.
572
+ */
573
+ id: string;
574
+ /**
575
+ * The type of the Custom Engine Agent. Currently only type bot is supported.
576
+ */
577
+ type: "bot";
578
+ }
579
+ /**
580
+ * The type of the Custom Engine Agent. Currently only type bot is supported.
581
+ *
582
+ * The content of the dashboard card is sourced from a bot.
583
+ */
584
+ /**
585
+ * A reference to a declarative agent element. The element's definition is in a separate
586
+ * file.
587
+ */
588
+ export interface DeclarativeAgentRef {
589
+ /**
590
+ * Relative file path to this declarative agent element file in the application package.
591
+ */
592
+ file: string;
593
+ /**
594
+ * A unique identifier for this declarative agent element.
595
+ */
596
+ id: string;
597
+ }
598
+ /**
599
+ * Cards wich could be pinned to dashboard providing summarized view of information relevant
600
+ * to user.
601
+ */
602
+ export interface DashboardCard {
603
+ contentSource: DashboardCardContentSource;
604
+ /**
605
+ * Rendering Size for dashboard card.
606
+ */
607
+ defaultSize: DefaultSize;
608
+ /**
609
+ * Description of the card.Maximum length is 255 characters.
610
+ */
611
+ description: string;
612
+ /**
613
+ * Represents the name of the card. Maximum length is 255 characters.
614
+ */
615
+ displayName: string;
616
+ icon?: DashboardCardIcon;
617
+ /**
618
+ * Unique Id for the card. Must be unique inside the app.
619
+ */
620
+ id: string;
621
+ /**
622
+ * Id of the group in the card picker. This must be guid.
623
+ */
624
+ pickerGroupId: string;
625
+ }
626
+ /**
627
+ * Represents a configuration for the source of the card’s content.
628
+ */
629
+ export interface DashboardCardContentSource {
630
+ /**
631
+ * The configuration for the bot source. Required if sourceType is set to bot.
632
+ */
633
+ botConfiguration?: BotConfiguration;
634
+ /**
635
+ * The content of the dashboard card is sourced from a bot.
636
+ */
637
+ sourceType?: "bot";
638
+ }
639
+ /**
640
+ * The configuration for the bot source. Required if sourceType is set to bot.
641
+ */
642
+ export interface BotConfiguration {
643
+ /**
644
+ * The unique Microsoft app ID for the bot as registered with the Bot Framework.
645
+ */
646
+ botId?: string;
647
+ }
648
+ /**
649
+ * Rendering Size for dashboard card.
650
+ */
651
+ export type DefaultSize = "medium" | "large";
652
+ /**
653
+ * Represents a configuration for the source of the card’s content
654
+ */
655
+ export interface DashboardCardIcon {
656
+ /**
657
+ * The icon for the card, to be displayed in the toolbox and card bar, represented as URL.
658
+ */
659
+ iconUrl?: string;
660
+ /**
661
+ * Office UI Fabric/Fluent UI icon friendly name for the card. This value will be used if
662
+ * ‘iconUrl’ is not specified.
663
+ */
664
+ officeUIFabricIconName?: string;
665
+ }
666
+ /**
667
+ * When a group install scope is selected, this will define the default capability when the
668
+ * user installs the app
669
+ */
670
+ export interface DefaultGroupCapability {
671
+ /**
672
+ * When the install scope selected is GroupChat, this field specifies the default capability
673
+ * available
674
+ */
675
+ groupchat?: Groupchat;
676
+ /**
677
+ * When the install scope selected is Meetings, this field specifies the default capability
678
+ * available
679
+ */
680
+ meetings?: Groupchat;
681
+ /**
682
+ * When the install scope selected is Team, this field specifies the default capability
683
+ * available
684
+ */
685
+ team?: Groupchat;
686
+ }
687
+ /**
688
+ * When the install scope selected is GroupChat, this field specifies the default capability
689
+ * available
690
+ *
691
+ * When the install scope selected is Meetings, this field specifies the default capability
692
+ * available
693
+ *
694
+ * When the install scope selected is Team, this field specifies the default capability
695
+ * available
696
+ */
697
+ export type Groupchat = "tab" | "bot" | "connector";
698
+ /**
699
+ * The install scope defined for this app by default. This will be the option displayed on
700
+ * the button when a user tries to add the app
701
+ */
702
+ export type DefaultInstallScope = "personal" | "team" | "groupChat" | "meetings";
703
+ export interface Description {
704
+ /**
705
+ * The full description of the app. Maximum length is 4000 characters.
706
+ */
707
+ full: string;
708
+ /**
709
+ * A short description of the app used when space is limited. Maximum length is 80
710
+ * characters.
711
+ */
712
+ short: string;
713
+ }
714
+ export interface Developer {
715
+ /**
716
+ * The Microsoft Partner Network ID that identifies the partner organization building the
717
+ * app. This field is not required, and should only be used if you are already part of the
718
+ * Microsoft Partner Network. More info at https://aka.ms/partner
719
+ */
720
+ mpnId?: string;
721
+ /**
722
+ * The display name for the developer.
723
+ */
724
+ name: string;
725
+ /**
726
+ * The url to the page that provides privacy information for the app.
727
+ */
728
+ privacyUrl: string;
729
+ /**
730
+ * The url to the page that provides the terms of use for the app.
731
+ */
732
+ termsOfUseUrl: string;
733
+ /**
734
+ * The url to the page that provides support information for the app.
735
+ */
736
+ websiteUrl: string;
737
+ }
738
+ export type DevicePermission = "geolocation" | "media" | "notifications" | "midi" | "openExternal";
739
+ export interface ElementRelationshipSet {
740
+ /**
741
+ * An array containing multiple instances of mutual dependency relationships between
742
+ * elements (each represented by a mutualDependency object).
743
+ */
744
+ mutualDependencies?: Array<ElementReference[]>;
745
+ /**
746
+ * An array containing multiple instances of unidirectional dependency relationships (each
747
+ * represented by a oneWayDependency object).
748
+ */
749
+ oneWayDependencies?: OneWayDependency[];
750
+ }
751
+ /**
752
+ * A specific instance of mutual dependency between two or more elements, indicating that
753
+ * each element depends on the others in a bidirectional manner.
754
+ */
755
+ export interface ElementReference {
756
+ commandIds?: string[];
757
+ id: string;
758
+ name: MutualDependencyName;
759
+ }
760
+ export type MutualDependencyName = "bots" | "staticTabs" | "composeExtensions" | "configurableTabs";
761
+ /**
762
+ * An object representing a unidirectional dependency relationship, where one specific
763
+ * element (referred to as the `element`) relies on an array of other elements (referred to
764
+ * as the `dependsOn`) in a single direction.
765
+ */
766
+ export interface OneWayDependency {
767
+ dependsOn: ElementReference[];
768
+ element: ElementReference;
769
+ }
770
+ /**
771
+ * The set of extensions for this app. Currently only one extensions per app is supported.
772
+ */
773
+ export interface ElementExtension {
774
+ alternates?: ExtensionAlternateVersionsArray[];
775
+ /**
776
+ * The url for your extension, used to validate Exchange user identity tokens.
777
+ */
778
+ audienceClaimUrl?: string;
779
+ autoRunEvents?: ExtensionAutoRunEventsArray[];
780
+ requirements?: RequirementsExtensionElement;
781
+ ribbons?: ExtensionRibbonsArray[];
782
+ runtimes?: ExtensionRuntimesArray[];
783
+ }
784
+ export interface ExtensionAlternateVersionsArray {
785
+ alternateIcons?: AlternateIcons;
786
+ hide?: Hide;
787
+ prefer?: Prefer;
788
+ requirements?: RequirementsExtensionElement;
789
+ }
790
+ export interface AlternateIcons {
791
+ highResolutionIcon: ExtensionCommonIcon;
792
+ icon: ExtensionCommonIcon;
793
+ }
794
+ export interface ExtensionCommonIcon {
795
+ /**
796
+ * Size in pixels of the icon. Three image sizes are required (16, 32, and 80 pixels)
797
+ */
798
+ size: number;
799
+ /**
800
+ * Absolute Url to the icon.
801
+ */
802
+ url: string;
803
+ }
804
+ export interface Hide {
805
+ customOfficeAddin?: CustomOfficeAddin;
806
+ storeOfficeAddin?: StoreOfficeAddin;
807
+ [property: string]: any;
808
+ }
809
+ export interface CustomOfficeAddin {
810
+ /**
811
+ * Solution ID of the in-market add-in to hide. Maximum length is 64 characters.
812
+ */
813
+ officeAddinId: string;
814
+ }
815
+ export interface StoreOfficeAddin {
816
+ /**
817
+ * Asset ID of the in-market add-in to hide. Maximum length is 64 characters.
818
+ */
819
+ assetId: string;
820
+ /**
821
+ * Solution ID of an in-market add-in to hide. Maximum length is 64 characters.
822
+ */
823
+ officeAddinId: string;
824
+ }
825
+ export interface Prefer {
826
+ comAddin?: COMAddin;
827
+ [property: string]: any;
828
+ }
829
+ export interface COMAddin {
830
+ /**
831
+ * Program ID of the alternate com extension. Maximum length is 64 characters.
832
+ */
833
+ progId: string;
834
+ }
835
+ export interface RequirementsExtensionElement {
836
+ capabilities?: Capability[];
837
+ /**
838
+ * Identifies the form factors that support the add-in. Supported values: mobile, desktop.
839
+ */
840
+ formFactors?: FormFactor[];
841
+ /**
842
+ * Identifies the scopes in which the add-in can run.
843
+ */
844
+ scopes?: RequirementsScope[];
845
+ }
846
+ export interface Capability {
847
+ /**
848
+ * Identifies the maximum version for the requirement sets that the add-in needs to run.
849
+ */
850
+ maxVersion?: string;
851
+ /**
852
+ * Identifies the minimum version for the requirement sets that the add-in needs to run.
853
+ */
854
+ minVersion?: string;
855
+ /**
856
+ * Identifies the name of the requirement sets that the add-in needs to run.
857
+ */
858
+ name: string;
859
+ }
860
+ export type FormFactor = "desktop" | "mobile";
861
+ export type RequirementsScope = "mail" | "workbook" | "document" | "presentation";
862
+ export interface ExtensionAutoRunEventsArray {
863
+ /**
864
+ * Specifies the type of event. For supported types, please see:
865
+ * https://review.learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.
866
+ */
867
+ events: Event[];
868
+ requirements?: RequirementsExtensionElement;
869
+ }
870
+ export interface Event {
871
+ /**
872
+ * The ID of an action defined in runtimes. Maximum length is 64 characters.
873
+ */
874
+ actionId: string;
875
+ /**
876
+ * Configures how Outlook responds to the event.
877
+ */
878
+ options?: Options;
879
+ type: string;
880
+ }
881
+ /**
882
+ * Configures how Outlook responds to the event.
883
+ */
884
+ export interface Options {
885
+ sendMode: SendMode;
886
+ }
887
+ export type SendMode = "promptUser" | "softBlock" | "block";
888
+ export interface ExtensionRibbonsArray {
889
+ contexts?: ExtensionContext[];
890
+ fixedControls?: ExtensionRibbonsArrayFixedControlItem[];
891
+ requirements?: RequirementsExtensionElement;
892
+ spamPreProcessingDialog?: ExtensionRibbonsSpamPreProcessingDialog;
893
+ tabs: ExtensionRibbonsArrayTabsItem[];
894
+ }
895
+ /**
896
+ * Specifies the Office application windows in which the ribbon customization is available
897
+ * to the user. Each item in the array is a member of a string array. Possible values are:
898
+ * mailRead, mailCompose, meetingDetailsOrganizer, meetingDetailsAttendee,
899
+ * onlineMeetingDetailsOrganizer, logEventMeetingDetailsAttendee, spamReportingOverride.
900
+ */
901
+ export type ExtensionContext = "mailRead" | "mailCompose" | "meetingDetailsOrganizer" | "meetingDetailsAttendee" | "onlineMeetingDetailsOrganizer" | "logEventMeetingDetailsAttendee" | "default" | "spamReportingOverride";
902
+ export interface ExtensionRibbonsArrayFixedControlItem {
903
+ /**
904
+ * The ID of an execution-type action that handles this key combination. Maximum length is
905
+ * 64 characters.
906
+ */
907
+ actionId: string;
908
+ /**
909
+ * Whether the control is initially enabled.
910
+ */
911
+ enabled: boolean;
912
+ icons: ExtensionCommonIcon[];
913
+ /**
914
+ * A unique identifier for this control within the app. Maximum length is 64 characters.
915
+ */
916
+ id: string;
917
+ /**
918
+ * Displayed text for the control. Maximum length is 64 characters.
919
+ */
920
+ label: string;
921
+ supertip: ExtensionCommonSuperToolTip;
922
+ /**
923
+ * Defines the type of control.
924
+ */
925
+ type: "button";
926
+ }
927
+ export interface ExtensionCommonSuperToolTip {
928
+ /**
929
+ * Description of the super tip. Maximum length is 250 characters.
930
+ */
931
+ description: string;
932
+ /**
933
+ * Title text of the super tip. Maximum length is 64 characters.
934
+ */
935
+ title: string;
936
+ }
937
+ /**
938
+ * Defines the type of control.
939
+ */
940
+ export interface ExtensionRibbonsSpamPreProcessingDialog {
941
+ /**
942
+ * Specifies the custom text that appears in the preprocessing dialog.
943
+ */
944
+ description: string;
945
+ /**
946
+ * A text box to the preprocessing dialog to allow users to provide additional information
947
+ * on the message they're reporting. This value is the title of that text box.
948
+ */
949
+ spamFreeTextSectionTitle?: string;
950
+ /**
951
+ * Specifies the custom text and URL to provide informational resources to the users.
952
+ */
953
+ spamMoreInfo?: SpamMoreInfo;
954
+ /**
955
+ * Specifies whether the bot offers an experience in the context of a channel in a team, in
956
+ * a 1:1 or group chat, or in an experience scoped to an individual user alone. These
957
+ * options are non-exclusive.
958
+ */
959
+ spamReportingOptions?: SpamReportingOptions;
960
+ /**
961
+ * Specifies the custom title of the preprocessing dialog.
962
+ */
963
+ title: string;
964
+ }
965
+ /**
966
+ * Specifies the custom text and URL to provide informational resources to the users.
967
+ */
968
+ export interface SpamMoreInfo {
969
+ /**
970
+ * Specifies display content of the hyperlink pointing to the site containing informational
971
+ * resources in the preprocessing dialog of a spam-reporting add-in.
972
+ */
973
+ text: string;
974
+ /**
975
+ * Specifies the URL of the hyperlink pointing to the site containing informational
976
+ * resources in the preprocessing dialog of a spam-reporting add-in.
977
+ */
978
+ url: string;
979
+ [property: string]: any;
980
+ }
981
+ /**
982
+ * Specifies whether the bot offers an experience in the context of a channel in a team, in
983
+ * a 1:1 or group chat, or in an experience scoped to an individual user alone. These
984
+ * options are non-exclusive.
985
+ */
986
+ export interface SpamReportingOptions {
987
+ /**
988
+ * Specifies the custom options that a user can select from the preprocessing dialog to
989
+ * provide a reason for reporting a message.
990
+ */
991
+ options: string[];
992
+ /**
993
+ * Specifies the title listed before the reporting options list.
994
+ */
995
+ title: string;
996
+ [property: string]: any;
997
+ }
998
+ export interface ExtensionRibbonsArrayTabsItem {
999
+ /**
1000
+ * Id of the existing office Tab. Maximum length is 64 characters.
1001
+ */
1002
+ builtInTabId?: string;
1003
+ /**
1004
+ * Defines mobile group item.
1005
+ */
1006
+ customMobileRibbonGroups?: ExtensionRibbonsCustomMobileGroupItem[];
1007
+ /**
1008
+ * Defines tab groups.
1009
+ */
1010
+ groups?: ExtensionRibbonsCustomTabGroupsItem[];
1011
+ /**
1012
+ * A unique identifier for this tab within the app. Maximum length is 64 characters.
1013
+ */
1014
+ id?: string;
1015
+ /**
1016
+ * Displayed text for the tab. Maximum length is 64 characters.
1017
+ */
1018
+ label?: string;
1019
+ position?: Position;
1020
+ }
1021
+ export interface ExtensionRibbonsCustomMobileGroupItem {
1022
+ controls: ExtensionRibbonsCustomMobileControlButtonItem[];
1023
+ /**
1024
+ * Specify the Id of the group. Used for mobileMessageRead ext point.
1025
+ */
1026
+ id: string;
1027
+ /**
1028
+ * Short label of the control. Maximum length is 32 characters.
1029
+ */
1030
+ label: string;
1031
+ [property: string]: any;
1032
+ }
1033
+ export interface ExtensionRibbonsCustomMobileControlButtonItem {
1034
+ /**
1035
+ * The ID of an action defined in runtimes. Maximum length is 64 characters.
1036
+ */
1037
+ actionId: string;
1038
+ icons: ExtensionCustomMobileIcon[];
1039
+ /**
1040
+ * Specify the Id of the button like msgReadFunctionButton.
1041
+ */
1042
+ id: string;
1043
+ /**
1044
+ * Short label of the control. Maximum length is 32 characters.
1045
+ */
1046
+ label: string;
1047
+ type: "mobileButton";
1048
+ [property: string]: any;
1049
+ }
1050
+ export interface ExtensionCustomMobileIcon {
1051
+ /**
1052
+ * How to scale - 1,2,3 for each image. This attribute specifies the UIScreen.scale property
1053
+ * for iOS devices.
1054
+ */
1055
+ scale: number;
1056
+ /**
1057
+ * Size in pixels of the icon. Three image sizes are required (25, 32, and 48 pixels).
1058
+ */
1059
+ size: number;
1060
+ /**
1061
+ * Url to the icon.
1062
+ */
1063
+ url: string;
1064
+ }
1065
+ export interface ExtensionRibbonsCustomTabGroupsItem {
1066
+ /**
1067
+ * Id of a built-in Group. Maximum length is 64 characters.
1068
+ */
1069
+ builtInGroupId?: string;
1070
+ controls?: ExtensionCommonCustomGroupControlsItem[];
1071
+ icons?: ExtensionCommonIcon[];
1072
+ /**
1073
+ * A unique identifier for this group within the app. Maximum length is 64 characters.
1074
+ */
1075
+ id?: string;
1076
+ /**
1077
+ * Displayed text for the group. Maximum length is 64 characters.
1078
+ */
1079
+ label?: string;
1080
+ }
1081
+ export interface ExtensionCommonCustomGroupControlsItem {
1082
+ /**
1083
+ * The ID of an execution-type action that handles this key combination. Maximum length is
1084
+ * 64 characters.
1085
+ */
1086
+ actionId?: string;
1087
+ /**
1088
+ * Id of the existing office control. Maximum length is 64 characters.
1089
+ */
1090
+ builtInControlId?: string;
1091
+ /**
1092
+ * Whether the control is initially enabled.
1093
+ */
1094
+ enabled?: boolean;
1095
+ icons: ExtensionCommonIcon[];
1096
+ /**
1097
+ * A unique identifier for this control within the app. Maximum length is 64 characters.
1098
+ */
1099
+ id: string;
1100
+ /**
1101
+ * Configures the items for a menu control.
1102
+ */
1103
+ items?: ExtensionCommonCustomControlMenuItem[];
1104
+ /**
1105
+ * Displayed text for the control. Maximum length is 64 characters.
1106
+ */
1107
+ label: string;
1108
+ /**
1109
+ * Specifies whether a group, button, menu, or menu item will be hidden on application and
1110
+ * platform combinations that support the API (Office.ribbon.requestCreateControls) that
1111
+ * installs custom contextual tabs on the ribbon. Default is false.
1112
+ */
1113
+ overriddenByRibbonApi?: boolean;
1114
+ supertip: ExtensionCommonSuperToolTip;
1115
+ /**
1116
+ * Defines the type of control whether button or menu.
1117
+ */
1118
+ type: FluffyType;
1119
+ }
1120
+ export interface ExtensionCommonCustomControlMenuItem {
1121
+ /**
1122
+ * The ID of an action defined in runtimes. Maximum length is 64 characters.
1123
+ */
1124
+ actionId: string;
1125
+ /**
1126
+ * Whether the control is initially enabled.
1127
+ */
1128
+ enabled?: boolean;
1129
+ icons?: ExtensionCommonIcon[];
1130
+ /**
1131
+ * A unique identifier for this control within the app. Maximum length is 64 characters.
1132
+ */
1133
+ id: string;
1134
+ /**
1135
+ * Displayed text for the control. Maximum length is 64 characters.
1136
+ */
1137
+ label: string;
1138
+ overriddenByRibbonApi?: boolean;
1139
+ supertip: ExtensionCommonSuperToolTip;
1140
+ /**
1141
+ * Supported values: menuItem.
1142
+ */
1143
+ type: "menuItem";
1144
+ }
1145
+ /**
1146
+ * Supported values: menuItem.
1147
+ */
1148
+ /**
1149
+ * Defines the type of control whether button or menu.
1150
+ */
1151
+ export type FluffyType = "button" | "menu";
1152
+ export interface Position {
1153
+ /**
1154
+ * Define alignment of this custom tab relative to the specified built-in tab.
1155
+ */
1156
+ align: Align;
1157
+ /**
1158
+ * The id of the built-in tab. Maximum length is 64 characters.
1159
+ */
1160
+ builtInTabId: string;
1161
+ }
1162
+ /**
1163
+ * Define alignment of this custom tab relative to the specified built-in tab.
1164
+ */
1165
+ export type Align = "after" | "before";
1166
+ /**
1167
+ * A runtime environment for a page or script
1168
+ */
1169
+ export interface ExtensionRuntimesArray {
1170
+ actions?: ExtensionRuntimesActionsItem[];
1171
+ code: ExtensionRuntimeCode;
1172
+ /**
1173
+ * A unique identifier for this runtime within the app. Maximum length is 64 characters.
1174
+ */
1175
+ id: string;
1176
+ /**
1177
+ * Runtimes with a short lifetime do not preserve state across executions. Runtimes with a
1178
+ * long lifetime do.
1179
+ */
1180
+ lifetime?: Lifetime;
1181
+ requirements?: RequirementsExtensionElement;
1182
+ /**
1183
+ * Supports running functions and launching pages.
1184
+ */
1185
+ type?: "general";
1186
+ }
1187
+ /**
1188
+ * Specifies the set of actions supported by this runtime. An action is either running a
1189
+ * JavaScript function or opening a view such as a task pane.
1190
+ */
1191
+ export interface ExtensionRuntimesActionsItem {
1192
+ /**
1193
+ * Display name of the action. Maximum length is 64 characters.
1194
+ */
1195
+ displayName?: string;
1196
+ /**
1197
+ * Identifier for this action. Maximum length is 64 characters. This value is passed to the
1198
+ * code file.
1199
+ */
1200
+ id: string;
1201
+ /**
1202
+ * Whether allows the action to have multiple selection.
1203
+ */
1204
+ multiselect?: boolean;
1205
+ /**
1206
+ * Specifies that a task pane supports pinning, which keeps the task pane open when the user
1207
+ * changes the selection.
1208
+ */
1209
+ pinnable?: boolean;
1210
+ /**
1211
+ * Whether allows task pane add-ins to activate without the Reading Pane enabled or a
1212
+ * message selected.
1213
+ */
1214
+ supportsNoItemContext?: boolean;
1215
+ /**
1216
+ * executeFunction: Run a script function without waiting for it to finish. openPate: Open a
1217
+ * page in a view.
1218
+ */
1219
+ type: ActionType;
1220
+ /**
1221
+ * View where the page should be opened. Maximum length is 64 characters.
1222
+ */
1223
+ view?: string;
1224
+ }
1225
+ /**
1226
+ * executeFunction: Run a script function without waiting for it to finish. openPate: Open a
1227
+ * page in a view.
1228
+ */
1229
+ export type ActionType = "executeFunction" | "openPage";
1230
+ export interface ExtensionRuntimeCode {
1231
+ /**
1232
+ * URL of the .html page to be loaded in browser-based runtimes.
1233
+ */
1234
+ page: string;
1235
+ /**
1236
+ * URL of the .js script file to be loaded in UI-less runtimes.
1237
+ */
1238
+ script?: string;
1239
+ }
1240
+ /**
1241
+ * Runtimes with a short lifetime do not preserve state across executions. Runtimes with a
1242
+ * long lifetime do.
1243
+ */
1244
+ export type Lifetime = "short" | "long";
1245
+ /**
1246
+ * Supports running functions and launching pages.
1247
+ */
1248
+ /**
1249
+ * Specify the app's Graph connector configuration. If this is present then
1250
+ * webApplicationInfo.id must also be specified.
1251
+ */
1252
+ export interface GraphConnector {
1253
+ /**
1254
+ * The url where Graph-connector notifications for the application should be sent.
1255
+ */
1256
+ notificationUrl: string;
1257
+ }
1258
+ export interface Icons {
1259
+ /**
1260
+ * A relative file path to a full color PNG icon. Size 192x192.
1261
+ */
1262
+ color: string;
1263
+ /**
1264
+ * A relative file path to a transparent PNG outline icon. The border color needs to be
1265
+ * white. Size 32x32.
1266
+ */
1267
+ outline: string;
1268
+ }
1269
+ /**
1270
+ * The Intune-related properties for the app.
1271
+ */
1272
+ export interface IntuneInfo {
1273
+ /**
1274
+ * Supported mobile app managment version that the app is compliant with.
1275
+ */
1276
+ supportedMobileAppManagementVersion?: string;
1277
+ }
1278
+ export interface LocalizationInfo {
1279
+ additionalLanguages?: AdditionalLanguage[];
1280
+ /**
1281
+ * A relative file path to a the .json file containing strings in the default language.
1282
+ */
1283
+ defaultLanguageFile?: string;
1284
+ /**
1285
+ * The language tag of the strings in this top level manifest file.
1286
+ */
1287
+ defaultLanguageTag: string;
1288
+ }
1289
+ export interface AdditionalLanguage {
1290
+ /**
1291
+ * A relative file path to a the .json file containing the translated strings.
1292
+ */
1293
+ file: string;
1294
+ /**
1295
+ * The language tag of the strings in the provided file.
1296
+ */
1297
+ languageTag: string;
1298
+ }
1299
+ /**
1300
+ * Specify meeting extension definition.
1301
+ */
1302
+ export interface MeetingExtensionDefinition {
1303
+ /**
1304
+ * Meeting supported scenes.
1305
+ */
1306
+ scenes?: Scene[];
1307
+ /**
1308
+ * A boolean value indicating whether this app allows management by anonymous users.
1309
+ */
1310
+ supportsAnonymousGuestUsers?: boolean;
1311
+ /**
1312
+ * A boolean value indicating whether this app can stream the meeting's audio video content
1313
+ * to an RTMP endpoint.
1314
+ */
1315
+ supportsStreaming?: boolean;
1316
+ }
1317
+ export interface Scene {
1318
+ /**
1319
+ * A relative file path to a scene metadata json file.
1320
+ */
1321
+ file: string;
1322
+ /**
1323
+ * A unique identifier for this scene. This id must be a GUID.
1324
+ */
1325
+ id: string;
1326
+ /**
1327
+ * Maximum audiences supported in scene.
1328
+ */
1329
+ maxAudience: number;
1330
+ /**
1331
+ * Scene name.
1332
+ */
1333
+ name: string;
1334
+ /**
1335
+ * A relative file path to a scene PNG preview icon.
1336
+ */
1337
+ preview: string;
1338
+ /**
1339
+ * Number of seats reserved for organizers or presenters.
1340
+ */
1341
+ seatsReservedForOrganizersOrPresenters: number;
1342
+ }
1343
+ export interface NameClass {
1344
+ /**
1345
+ * The full name of the app, used if the full app name exceeds 30 characters.
1346
+ */
1347
+ full?: string;
1348
+ /**
1349
+ * A short display name for the app.
1350
+ */
1351
+ short: string;
1352
+ }
1353
+ export type Permission = "identity" | "messageTeamMembers";
1354
+ export interface StaticTab {
1355
+ /**
1356
+ * The Microsoft App ID specified for the bot in the Bot Framework portal
1357
+ * (https://dev.botframework.com/bots)
1358
+ */
1359
+ contentBotId?: string;
1360
+ /**
1361
+ * The url which points to the entity UI to be displayed in the canvas.
1362
+ */
1363
+ contentUrl?: string;
1364
+ /**
1365
+ * The set of contextItem scopes that a tab belong to
1366
+ */
1367
+ context?: StaticTabContext[];
1368
+ /**
1369
+ * A unique identifier for the entity which the tab displays.
1370
+ */
1371
+ entityId: string;
1372
+ /**
1373
+ * The display name of the tab.
1374
+ */
1375
+ name?: string;
1376
+ requirementSet?: ElementRequirementSet;
1377
+ /**
1378
+ * Specifies whether the tab offers an experience in the context of a channel in a team, or
1379
+ * an experience scoped to an individual user alone or group chat. These options are
1380
+ * non-exclusive. Currently static tabs are only supported in the 'personal' scope.
1381
+ */
1382
+ scopes: CommandListScope[];
1383
+ /**
1384
+ * The url to direct a user's search queries.
1385
+ */
1386
+ searchUrl?: string;
1387
+ /**
1388
+ * The url to point at if a user opts to view in a browser.
1389
+ */
1390
+ websiteUrl?: string;
1391
+ }
1392
+ export type StaticTabContext = "personalTab" | "channelTab" | "privateChatTab" | "meetingChatTab" | "meetingDetailsTab" | "meetingSidePanel" | "meetingStage" | "teamLevelApp";
1393
+ /**
1394
+ * Subscription offer associated with this app.
1395
+ */
1396
+ export interface SubscriptionOffer {
1397
+ /**
1398
+ * A unique identifier for the Commercial Marketplace Software as a Service Offer.
1399
+ */
1400
+ offerId: string;
1401
+ }
1402
+ export type SupportedChannelType = "sharedChannels" | "privateChannels";
1403
+ /**
1404
+ * Specify your AAD App ID and Graph information to help users seamlessly sign into your AAD
1405
+ * app.
1406
+ */
1407
+ export interface WebApplicationInfo {
1408
+ /**
1409
+ * AAD application id of the app. This id must be a GUID.
1410
+ */
1411
+ id: string;
1412
+ /**
1413
+ * Resource url of app for acquiring auth token for SSO.
1414
+ */
1415
+ resource?: string;
1416
+ }
1417
+ export declare class Convert {
1418
+ static toTeamsManifestV1D20(json: string): TeamsManifestV1D20;
1419
+ static teamsManifestV1D20ToJson(value: TeamsManifestV1D20): string;
1420
+ }