@microsoft/app-manifest 1.0.0-beta.2025042809.0 → 1.0.0-beta.2025050608.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.
@@ -0,0 +1,834 @@
1
+ "use strict";
2
+ // To parse this data:
3
+ //
4
+ // import { Convert, TeamsManifestV1D21 } from "./file";
5
+ //
6
+ // const teamsManifestV1D21 = Convert.toTeamsManifestV1D21(json);
7
+ //
8
+ // These functions will throw an error if the JSON doesn't
9
+ // match the expected interface, even if the JSON is valid.
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.Convert = void 0;
12
+ // Converts JSON strings to/from your types
13
+ // and asserts the results of JSON.parse at runtime
14
+ class Convert {
15
+ static toTeamsManifestV1D21(json) {
16
+ return cast(JSON.parse(json), r("TeamsManifestV1D21"));
17
+ }
18
+ static teamsManifestV1D21ToJson(value) {
19
+ return JSON.stringify(uncast(value, r("TeamsManifestV1D21")), null, 4);
20
+ }
21
+ }
22
+ exports.Convert = Convert;
23
+ function invalidValue(typ, val, key, parent = '') {
24
+ const prettyTyp = prettyTypeName(typ);
25
+ const parentText = parent ? ` on ${parent}` : '';
26
+ const keyText = key ? ` for key "${key}"` : '';
27
+ throw Error(`Invalid value${keyText}${parentText}. Expected ${prettyTyp} but got ${JSON.stringify(val)}`);
28
+ }
29
+ function prettyTypeName(typ) {
30
+ if (Array.isArray(typ)) {
31
+ if (typ.length === 2 && typ[0] === undefined) {
32
+ return `an optional ${prettyTypeName(typ[1])}`;
33
+ }
34
+ else {
35
+ return `one of [${typ.map(a => { return prettyTypeName(a); }).join(", ")}]`;
36
+ }
37
+ }
38
+ else if (typeof typ === "object" && typ.literal !== undefined) {
39
+ return typ.literal;
40
+ }
41
+ else {
42
+ return typeof typ;
43
+ }
44
+ }
45
+ function jsonToJSProps(typ) {
46
+ if (typ.jsonToJS === undefined) {
47
+ const map = {};
48
+ typ.props.forEach((p) => map[p.json] = { key: p.js, typ: p.typ });
49
+ typ.jsonToJS = map;
50
+ }
51
+ return typ.jsonToJS;
52
+ }
53
+ function jsToJSONProps(typ) {
54
+ if (typ.jsToJSON === undefined) {
55
+ const map = {};
56
+ typ.props.forEach((p) => map[p.js] = { key: p.json, typ: p.typ });
57
+ typ.jsToJSON = map;
58
+ }
59
+ return typ.jsToJSON;
60
+ }
61
+ function transform(val, typ, getProps, key = '', parent = '') {
62
+ function transformPrimitive(typ, val) {
63
+ if (typeof typ === typeof val)
64
+ return val;
65
+ return invalidValue(typ, val, key, parent);
66
+ }
67
+ function transformUnion(typs, val) {
68
+ // val must validate against one typ in typs
69
+ const l = typs.length;
70
+ for (let i = 0; i < l; i++) {
71
+ const typ = typs[i];
72
+ try {
73
+ return transform(val, typ, getProps);
74
+ }
75
+ catch (_) { }
76
+ }
77
+ return invalidValue(typs, val, key, parent);
78
+ }
79
+ function transformEnum(cases, val) {
80
+ if (cases.indexOf(val) !== -1)
81
+ return val;
82
+ return invalidValue(cases.map(a => { return l(a); }), val, key, parent);
83
+ }
84
+ function transformArray(typ, val) {
85
+ // val must be an array with no invalid elements
86
+ if (!Array.isArray(val))
87
+ return invalidValue(l("array"), val, key, parent);
88
+ return val.map(el => transform(el, typ, getProps));
89
+ }
90
+ function transformDate(val) {
91
+ if (val === null) {
92
+ return null;
93
+ }
94
+ const d = new Date(val);
95
+ if (isNaN(d.valueOf())) {
96
+ return invalidValue(l("Date"), val, key, parent);
97
+ }
98
+ return d;
99
+ }
100
+ function transformObject(props, additional, val) {
101
+ if (val === null || typeof val !== "object" || Array.isArray(val)) {
102
+ return invalidValue(l(ref || "object"), val, key, parent);
103
+ }
104
+ const result = {};
105
+ Object.getOwnPropertyNames(props).forEach(key => {
106
+ const prop = props[key];
107
+ const v = Object.prototype.hasOwnProperty.call(val, key) ? val[key] : undefined;
108
+ result[prop.key] = transform(v, prop.typ, getProps, key, ref);
109
+ });
110
+ Object.getOwnPropertyNames(val).forEach(key => {
111
+ if (!Object.prototype.hasOwnProperty.call(props, key)) {
112
+ result[key] = transform(val[key], additional, getProps, key, ref);
113
+ }
114
+ });
115
+ return result;
116
+ }
117
+ if (typ === "any")
118
+ return val;
119
+ if (typ === null) {
120
+ if (val === null)
121
+ return val;
122
+ return invalidValue(typ, val, key, parent);
123
+ }
124
+ if (typ === false)
125
+ return invalidValue(typ, val, key, parent);
126
+ let ref = undefined;
127
+ while (typeof typ === "object" && typ.ref !== undefined) {
128
+ ref = typ.ref;
129
+ typ = typeMap[typ.ref];
130
+ }
131
+ if (Array.isArray(typ))
132
+ return transformEnum(typ, val);
133
+ if (typeof typ === "object") {
134
+ return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val)
135
+ : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val)
136
+ : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val)
137
+ : invalidValue(typ, val, key, parent);
138
+ }
139
+ // Numbers can be parsed by Date but shouldn't be.
140
+ if (typ === Date && typeof val !== "number")
141
+ return transformDate(val);
142
+ return transformPrimitive(typ, val);
143
+ }
144
+ function cast(val, typ) {
145
+ return transform(val, typ, jsonToJSProps);
146
+ }
147
+ function uncast(val, typ) {
148
+ return transform(val, typ, jsToJSONProps);
149
+ }
150
+ function l(typ) {
151
+ return { literal: typ };
152
+ }
153
+ function a(typ) {
154
+ return { arrayItems: typ };
155
+ }
156
+ function u(...typs) {
157
+ return { unionMembers: typs };
158
+ }
159
+ function o(props, additional) {
160
+ return { props, additional };
161
+ }
162
+ function m(additional) {
163
+ return { props: [], additional };
164
+ }
165
+ function r(name) {
166
+ return { ref: name };
167
+ }
168
+ const typeMap = {
169
+ "TeamsManifestV1D21": o([
170
+ { json: "$schema", js: "$schema", typ: u(undefined, "") },
171
+ { json: "manifestVersion", js: "manifestVersion", typ: r("ManifestVersion") },
172
+ { json: "version", js: "version", typ: "" },
173
+ { json: "id", js: "id", typ: "" },
174
+ { json: "localizationInfo", js: "localizationInfo", typ: u(undefined, r("LocalizationInfo")) },
175
+ { json: "developer", js: "developer", typ: r("Developer") },
176
+ { json: "name", js: "name", typ: r("NameClass") },
177
+ { json: "description", js: "description", typ: r("Description") },
178
+ { json: "icons", js: "icons", typ: r("Icons") },
179
+ { json: "accentColor", js: "accentColor", typ: "" },
180
+ { json: "configurableTabs", js: "configurableTabs", typ: u(undefined, a(r("ConfigurableTab"))) },
181
+ { json: "staticTabs", js: "staticTabs", typ: u(undefined, a(r("StaticTab"))) },
182
+ { json: "bots", js: "bots", typ: u(undefined, a(r("Bot"))) },
183
+ { json: "connectors", js: "connectors", typ: u(undefined, a(r("Connector"))) },
184
+ { json: "subscriptionOffer", js: "subscriptionOffer", typ: u(undefined, r("SubscriptionOffer")) },
185
+ { json: "composeExtensions", js: "composeExtensions", typ: u(undefined, a(r("ComposeExtension"))) },
186
+ { json: "permissions", js: "permissions", typ: u(undefined, a(r("Permission"))) },
187
+ { json: "devicePermissions", js: "devicePermissions", typ: u(undefined, a(r("DevicePermission"))) },
188
+ { json: "validDomains", js: "validDomains", typ: u(undefined, a("")) },
189
+ { json: "webApplicationInfo", js: "webApplicationInfo", typ: u(undefined, r("WebApplicationInfo")) },
190
+ { json: "graphConnector", js: "graphConnector", typ: u(undefined, r("GraphConnector")) },
191
+ { json: "showLoadingIndicator", js: "showLoadingIndicator", typ: u(undefined, true) },
192
+ { json: "isFullScreen", js: "isFullScreen", typ: u(undefined, true) },
193
+ { json: "activities", js: "activities", typ: u(undefined, r("Activities")) },
194
+ { json: "configurableProperties", js: "configurableProperties", typ: u(undefined, a(r("ConfigurableProperty"))) },
195
+ { json: "supportedChannelTypes", js: "supportedChannelTypes", typ: u(undefined, a(r("SupportedChannelType"))) },
196
+ { json: "defaultBlockUntilAdminAction", js: "defaultBlockUntilAdminAction", typ: u(undefined, true) },
197
+ { json: "publisherDocsUrl", js: "publisherDocsUrl", typ: u(undefined, "") },
198
+ { json: "defaultInstallScope", js: "defaultInstallScope", typ: u(undefined, r("DefaultInstallScope")) },
199
+ { json: "defaultGroupCapability", js: "defaultGroupCapability", typ: u(undefined, r("DefaultGroupCapability")) },
200
+ { json: "meetingExtensionDefinition", js: "meetingExtensionDefinition", typ: u(undefined, r("MeetingExtensionDefinition")) },
201
+ { json: "authorization", js: "authorization", typ: u(undefined, r("TeamsManifestV1D21Authorization")) },
202
+ { json: "extensions", js: "extensions", typ: u(undefined, a(r("ElementExtension"))) },
203
+ { json: "dashboardCards", js: "dashboardCards", typ: u(undefined, a(r("DashboardCard"))) },
204
+ { json: "copilotAgents", js: "copilotAgents", typ: u(undefined, r("CopilotAgents")) },
205
+ { json: "intuneInfo", js: "intuneInfo", typ: u(undefined, r("IntuneInfo")) },
206
+ { json: "elementRelationshipSet", js: "elementRelationshipSet", typ: u(undefined, r("ElementRelationshipSet")) },
207
+ { json: "backgroundLoadConfiguration", js: "backgroundLoadConfiguration", typ: u(undefined, r("BackgroundLoadConfiguration")) },
208
+ ], false),
209
+ "Activities": o([
210
+ { json: "activityTypes", js: "activityTypes", typ: u(undefined, a(r("ActivityType"))) },
211
+ ], false),
212
+ "ActivityType": o([
213
+ { json: "type", js: "type", typ: "" },
214
+ { json: "description", js: "description", typ: "" },
215
+ { json: "templateText", js: "templateText", typ: "" },
216
+ ], false),
217
+ "TeamsManifestV1D21Authorization": o([
218
+ { json: "permissions", js: "permissions", typ: u(undefined, r("Permissions")) },
219
+ ], false),
220
+ "Permissions": o([
221
+ { json: "resourceSpecific", js: "resourceSpecific", typ: u(undefined, a(r("ResourceSpecific"))) },
222
+ ], false),
223
+ "ResourceSpecific": o([
224
+ { json: "name", js: "name", typ: "" },
225
+ { json: "type", js: "type", typ: r("ResourceSpecificType") },
226
+ ], false),
227
+ "BackgroundLoadConfiguration": o([
228
+ { json: "tabConfiguration", js: "tabConfiguration", typ: u(undefined, r("TabConfiguration")) },
229
+ ], false),
230
+ "TabConfiguration": o([
231
+ { json: "contentUrl", js: "contentUrl", typ: "" },
232
+ ], false),
233
+ "Bot": o([
234
+ { json: "botId", js: "botId", typ: "" },
235
+ { json: "configuration", js: "configuration", typ: u(undefined, r("Configuration")) },
236
+ { json: "needsChannelSelector", js: "needsChannelSelector", typ: u(undefined, true) },
237
+ { json: "isNotificationOnly", js: "isNotificationOnly", typ: u(undefined, true) },
238
+ { json: "supportsFiles", js: "supportsFiles", typ: u(undefined, true) },
239
+ { json: "supportsCalling", js: "supportsCalling", typ: u(undefined, true) },
240
+ { json: "supportsVideo", js: "supportsVideo", typ: u(undefined, true) },
241
+ { json: "scopes", js: "scopes", typ: a(r("CommandListScope")) },
242
+ { json: "commandLists", js: "commandLists", typ: u(undefined, a(r("CommandList"))) },
243
+ { json: "requirementSet", js: "requirementSet", typ: u(undefined, r("ElementRequirementSet")) },
244
+ ], false),
245
+ "CommandList": o([
246
+ { json: "scopes", js: "scopes", typ: a(r("CommandListScope")) },
247
+ { json: "commands", js: "commands", typ: a(r("CommandListCommand")) },
248
+ ], false),
249
+ "CommandListCommand": o([
250
+ { json: "title", js: "title", typ: "" },
251
+ { json: "description", js: "description", typ: "" },
252
+ ], false),
253
+ "Configuration": o([
254
+ { json: "team", js: "team", typ: u(undefined, r("Team")) },
255
+ { json: "groupChat", js: "groupChat", typ: u(undefined, r("Team")) },
256
+ ], false),
257
+ "Team": o([
258
+ { json: "fetchTask", js: "fetchTask", typ: u(undefined, true) },
259
+ { json: "taskInfo", js: "taskInfo", typ: u(undefined, r("TaskInfo")) },
260
+ ], false),
261
+ "TaskInfo": o([
262
+ { json: "title", js: "title", typ: u(undefined, "") },
263
+ { json: "width", js: "width", typ: u(undefined, "") },
264
+ { json: "height", js: "height", typ: u(undefined, "") },
265
+ { json: "url", js: "url", typ: u(undefined, "") },
266
+ ], false),
267
+ "ElementRequirementSet": o([
268
+ { json: "hostMustSupportFunctionalities", js: "hostMustSupportFunctionalities", typ: a(r("HostFunctionality")) },
269
+ ], false),
270
+ "HostFunctionality": o([
271
+ { json: "name", js: "name", typ: r("HostMustSupportFunctionalityName") },
272
+ ], false),
273
+ "ComposeExtension": o([
274
+ { json: "id", js: "id", typ: u(undefined, "") },
275
+ { json: "botId", js: "botId", typ: u(undefined, "") },
276
+ { json: "composeExtensionType", js: "composeExtensionType", typ: u(undefined, r("ComposeExtensionType")) },
277
+ { json: "authorization", js: "authorization", typ: u(undefined, r("ComposeExtensionAuthorization")) },
278
+ { json: "apiSpecificationFile", js: "apiSpecificationFile", typ: u(undefined, "") },
279
+ { json: "canUpdateConfiguration", js: "canUpdateConfiguration", typ: u(undefined, u(true, null)) },
280
+ { json: "commands", js: "commands", typ: u(undefined, a(r("ComposeExtensionCommand"))) },
281
+ { json: "messageHandlers", js: "messageHandlers", typ: u(undefined, a(r("MessageHandler"))) },
282
+ { json: "requirementSet", js: "requirementSet", typ: u(undefined, r("ElementRequirementSet")) },
283
+ ], false),
284
+ "ComposeExtensionAuthorization": o([
285
+ { json: "authType", js: "authType", typ: u(undefined, r("AuthType")) },
286
+ { json: "microsoftEntraConfiguration", js: "microsoftEntraConfiguration", typ: u(undefined, r("MicrosoftEntraConfiguration")) },
287
+ { json: "apiSecretServiceAuthConfiguration", js: "apiSecretServiceAuthConfiguration", typ: u(undefined, r("APISecretServiceAuthConfiguration")) },
288
+ ], false),
289
+ "APISecretServiceAuthConfiguration": o([
290
+ { json: "apiSecretRegistrationId", js: "apiSecretRegistrationId", typ: u(undefined, "") },
291
+ ], false),
292
+ "MicrosoftEntraConfiguration": o([
293
+ { json: "supportsSingleSignOn", js: "supportsSingleSignOn", typ: u(undefined, true) },
294
+ ], false),
295
+ "ComposeExtensionCommand": o([
296
+ { json: "id", js: "id", typ: "" },
297
+ { json: "type", js: "type", typ: u(undefined, r("CommandType")) },
298
+ { json: "samplePrompts", js: "samplePrompts", typ: u(undefined, a(r("SamplePrompt"))) },
299
+ { json: "apiResponseRenderingTemplateFile", js: "apiResponseRenderingTemplateFile", typ: u(undefined, "") },
300
+ { json: "context", js: "context", typ: u(undefined, a(r("CommandContext"))) },
301
+ { json: "title", js: "title", typ: "" },
302
+ { json: "description", js: "description", typ: u(undefined, "") },
303
+ { json: "initialRun", js: "initialRun", typ: u(undefined, true) },
304
+ { json: "fetchTask", js: "fetchTask", typ: u(undefined, true) },
305
+ { json: "semanticDescription", js: "semanticDescription", typ: u(undefined, "") },
306
+ { json: "parameters", js: "parameters", typ: u(undefined, a(r("Parameter"))) },
307
+ { json: "taskInfo", js: "taskInfo", typ: u(undefined, r("TaskInfo")) },
308
+ ], false),
309
+ "Parameter": o([
310
+ { json: "name", js: "name", typ: "" },
311
+ { json: "inputType", js: "inputType", typ: u(undefined, r("InputType")) },
312
+ { json: "title", js: "title", typ: "" },
313
+ { json: "description", js: "description", typ: u(undefined, "") },
314
+ { json: "value", js: "value", typ: u(undefined, "") },
315
+ { json: "isRequired", js: "isRequired", typ: u(undefined, true) },
316
+ { json: "semanticDescription", js: "semanticDescription", typ: u(undefined, "") },
317
+ { json: "choices", js: "choices", typ: u(undefined, a(r("Choice"))) },
318
+ ], false),
319
+ "Choice": o([
320
+ { json: "title", js: "title", typ: "" },
321
+ { json: "value", js: "value", typ: "" },
322
+ ], false),
323
+ "SamplePrompt": o([
324
+ { json: "text", js: "text", typ: "" },
325
+ ], false),
326
+ "MessageHandler": o([
327
+ { json: "type", js: "type", typ: r("MessageHandlerType") },
328
+ { json: "value", js: "value", typ: r("Value") },
329
+ ], false),
330
+ "Value": o([
331
+ { json: "domains", js: "domains", typ: u(undefined, a("")) },
332
+ { json: "supportsAnonymizedPayloads", js: "supportsAnonymizedPayloads", typ: u(undefined, true) },
333
+ ], false),
334
+ "ConfigurableTab": o([
335
+ { json: "id", js: "id", typ: u(undefined, "") },
336
+ { json: "configurationUrl", js: "configurationUrl", typ: "" },
337
+ { json: "canUpdateConfiguration", js: "canUpdateConfiguration", typ: u(undefined, true) },
338
+ { json: "scopes", js: "scopes", typ: a(r("ConfigurableTabScope")) },
339
+ { json: "meetingSurfaces", js: "meetingSurfaces", typ: u(undefined, a(r("MeetingSurface"))) },
340
+ { json: "context", js: "context", typ: u(undefined, a(r("ConfigurableTabContext"))) },
341
+ { json: "sharePointPreviewImage", js: "sharePointPreviewImage", typ: u(undefined, "") },
342
+ { json: "supportedSharePointHosts", js: "supportedSharePointHosts", typ: u(undefined, a(r("SupportedSharePointHost"))) },
343
+ ], false),
344
+ "Connector": o([
345
+ { json: "connectorId", js: "connectorId", typ: "" },
346
+ { json: "configurationUrl", js: "configurationUrl", typ: u(undefined, "") },
347
+ { json: "scopes", js: "scopes", typ: a(r("ConnectorScope")) },
348
+ ], false),
349
+ "CopilotAgents": o([
350
+ { json: "declarativeAgents", js: "declarativeAgents", typ: u(undefined, a(r("DeclarativeAgentRef"))) },
351
+ { json: "customEngineAgents", js: "customEngineAgents", typ: u(undefined, a(r("CustomEngineAgent"))) },
352
+ ], false),
353
+ "CustomEngineAgent": o([
354
+ { json: "id", js: "id", typ: "" },
355
+ { json: "type", js: "type", typ: r("SourceTypeEnum") },
356
+ ], false),
357
+ "DeclarativeAgentRef": o([
358
+ { json: "id", js: "id", typ: "" },
359
+ { json: "file", js: "file", typ: "" },
360
+ ], false),
361
+ "DashboardCard": o([
362
+ { json: "id", js: "id", typ: "" },
363
+ { json: "displayName", js: "displayName", typ: "" },
364
+ { json: "description", js: "description", typ: "" },
365
+ { json: "pickerGroupId", js: "pickerGroupId", typ: "" },
366
+ { json: "icon", js: "icon", typ: u(undefined, r("DashboardCardIcon")) },
367
+ { json: "contentSource", js: "contentSource", typ: r("DashboardCardContentSource") },
368
+ { json: "defaultSize", js: "defaultSize", typ: r("DefaultSize") },
369
+ ], false),
370
+ "DashboardCardContentSource": o([
371
+ { json: "sourceType", js: "sourceType", typ: u(undefined, r("SourceTypeEnum")) },
372
+ { json: "botConfiguration", js: "botConfiguration", typ: u(undefined, r("BotConfiguration")) },
373
+ ], false),
374
+ "BotConfiguration": o([
375
+ { json: "botId", js: "botId", typ: u(undefined, "") },
376
+ ], false),
377
+ "DashboardCardIcon": o([
378
+ { json: "iconUrl", js: "iconUrl", typ: u(undefined, "") },
379
+ { json: "officeUIFabricIconName", js: "officeUIFabricIconName", typ: u(undefined, "") },
380
+ ], false),
381
+ "DefaultGroupCapability": o([
382
+ { json: "team", js: "team", typ: u(undefined, r("Groupchat")) },
383
+ { json: "groupchat", js: "groupchat", typ: u(undefined, r("Groupchat")) },
384
+ { json: "meetings", js: "meetings", typ: u(undefined, r("Groupchat")) },
385
+ ], false),
386
+ "Description": o([
387
+ { json: "short", js: "short", typ: "" },
388
+ { json: "full", js: "full", typ: "" },
389
+ ], false),
390
+ "Developer": o([
391
+ { json: "name", js: "name", typ: "" },
392
+ { json: "mpnId", js: "mpnId", typ: u(undefined, "") },
393
+ { json: "websiteUrl", js: "websiteUrl", typ: "" },
394
+ { json: "privacyUrl", js: "privacyUrl", typ: "" },
395
+ { json: "termsOfUseUrl", js: "termsOfUseUrl", typ: "" },
396
+ ], false),
397
+ "ElementRelationshipSet": o([
398
+ { json: "oneWayDependencies", js: "oneWayDependencies", typ: u(undefined, a(r("OneWayDependency"))) },
399
+ { json: "mutualDependencies", js: "mutualDependencies", typ: u(undefined, a(a(r("ElementReference")))) },
400
+ ], false),
401
+ "ElementReference": o([
402
+ { json: "name", js: "name", typ: r("MutualDependencyName") },
403
+ { json: "id", js: "id", typ: "" },
404
+ { json: "commandIds", js: "commandIds", typ: u(undefined, a("")) },
405
+ ], false),
406
+ "OneWayDependency": o([
407
+ { json: "element", js: "element", typ: r("ElementReference") },
408
+ { json: "dependsOn", js: "dependsOn", typ: a(r("ElementReference")) },
409
+ ], false),
410
+ "ElementExtension": o([
411
+ { json: "requirements", js: "requirements", typ: u(undefined, r("RequirementsExtensionElement")) },
412
+ { json: "runtimes", js: "runtimes", typ: u(undefined, a(r("ExtensionRuntimesArray"))) },
413
+ { json: "ribbons", js: "ribbons", typ: u(undefined, a(r("ExtensionRibbonsArray"))) },
414
+ { json: "autoRunEvents", js: "autoRunEvents", typ: u(undefined, a(r("ExtensionAutoRunEventsArray"))) },
415
+ { json: "alternates", js: "alternates", typ: u(undefined, a(r("ExtensionAlternateVersionsArray"))) },
416
+ { json: "audienceClaimUrl", js: "audienceClaimUrl", typ: u(undefined, "") },
417
+ ], false),
418
+ "ExtensionAlternateVersionsArray": o([
419
+ { json: "requirements", js: "requirements", typ: u(undefined, r("RequirementsExtensionElement")) },
420
+ { json: "prefer", js: "prefer", typ: u(undefined, r("Prefer")) },
421
+ { json: "hide", js: "hide", typ: u(undefined, r("Hide")) },
422
+ { json: "alternateIcons", js: "alternateIcons", typ: u(undefined, r("AlternateIcons")) },
423
+ ], false),
424
+ "AlternateIcons": o([
425
+ { json: "icon", js: "icon", typ: r("ExtensionCommonIcon") },
426
+ { json: "highResolutionIcon", js: "highResolutionIcon", typ: r("ExtensionCommonIcon") },
427
+ ], false),
428
+ "ExtensionCommonIcon": o([
429
+ { json: "size", js: "size", typ: 3.14 },
430
+ { json: "url", js: "url", typ: "" },
431
+ ], false),
432
+ "Hide": o([
433
+ { json: "storeOfficeAddin", js: "storeOfficeAddin", typ: u(undefined, r("StoreOfficeAddin")) },
434
+ { json: "customOfficeAddin", js: "customOfficeAddin", typ: u(undefined, r("CustomOfficeAddin")) },
435
+ ], "any"),
436
+ "CustomOfficeAddin": o([
437
+ { json: "officeAddinId", js: "officeAddinId", typ: "" },
438
+ ], false),
439
+ "StoreOfficeAddin": o([
440
+ { json: "officeAddinId", js: "officeAddinId", typ: "" },
441
+ { json: "assetId", js: "assetId", typ: "" },
442
+ ], false),
443
+ "Prefer": o([
444
+ { json: "comAddin", js: "comAddin", typ: u(undefined, r("COMAddin")) },
445
+ ], "any"),
446
+ "COMAddin": o([
447
+ { json: "progId", js: "progId", typ: "" },
448
+ ], false),
449
+ "RequirementsExtensionElement": o([
450
+ { json: "capabilities", js: "capabilities", typ: u(undefined, a(r("Capability"))) },
451
+ { json: "scopes", js: "scopes", typ: u(undefined, a(r("RequirementsScope"))) },
452
+ { json: "formFactors", js: "formFactors", typ: u(undefined, a(r("FormFactor"))) },
453
+ ], false),
454
+ "Capability": o([
455
+ { json: "name", js: "name", typ: "" },
456
+ { json: "minVersion", js: "minVersion", typ: u(undefined, "") },
457
+ { json: "maxVersion", js: "maxVersion", typ: u(undefined, "") },
458
+ ], false),
459
+ "ExtensionAutoRunEventsArray": o([
460
+ { json: "requirements", js: "requirements", typ: u(undefined, r("RequirementsExtensionElement")) },
461
+ { json: "events", js: "events", typ: a(r("Event")) },
462
+ ], false),
463
+ "Event": o([
464
+ { json: "type", js: "type", typ: "" },
465
+ { json: "actionId", js: "actionId", typ: "" },
466
+ { json: "options", js: "options", typ: u(undefined, r("Options")) },
467
+ ], false),
468
+ "Options": o([
469
+ { json: "sendMode", js: "sendMode", typ: r("SendMode") },
470
+ ], false),
471
+ "ExtensionRibbonsArray": o([
472
+ { json: "requirements", js: "requirements", typ: u(undefined, r("RequirementsExtensionElement")) },
473
+ { json: "contexts", js: "contexts", typ: u(undefined, a(r("ExtensionContext"))) },
474
+ { json: "tabs", js: "tabs", typ: a(r("ExtensionRibbonsArrayTabsItem")) },
475
+ { json: "fixedControls", js: "fixedControls", typ: u(undefined, a(r("ExtensionRibbonsArrayFixedControlItem"))) },
476
+ { json: "spamPreProcessingDialog", js: "spamPreProcessingDialog", typ: u(undefined, r("ExtensionRibbonsSpamPreProcessingDialog")) },
477
+ ], false),
478
+ "ExtensionRibbonsArrayFixedControlItem": o([
479
+ { json: "id", js: "id", typ: "" },
480
+ { json: "type", js: "type", typ: r("FixedControlType") },
481
+ { json: "label", js: "label", typ: "" },
482
+ { json: "icons", js: "icons", typ: a(r("ExtensionCommonIcon")) },
483
+ { json: "supertip", js: "supertip", typ: r("ExtensionCommonSuperToolTip") },
484
+ { json: "actionId", js: "actionId", typ: "" },
485
+ { json: "enabled", js: "enabled", typ: true },
486
+ ], false),
487
+ "ExtensionCommonSuperToolTip": o([
488
+ { json: "title", js: "title", typ: "" },
489
+ { json: "description", js: "description", typ: "" },
490
+ ], false),
491
+ "ExtensionRibbonsSpamPreProcessingDialog": o([
492
+ { json: "title", js: "title", typ: "" },
493
+ { json: "description", js: "description", typ: "" },
494
+ { json: "spamReportingOptions", js: "spamReportingOptions", typ: u(undefined, r("SpamReportingOptions")) },
495
+ { json: "spamFreeTextSectionTitle", js: "spamFreeTextSectionTitle", typ: u(undefined, "") },
496
+ { json: "spamMoreInfo", js: "spamMoreInfo", typ: u(undefined, r("SpamMoreInfo")) },
497
+ ], false),
498
+ "SpamMoreInfo": o([
499
+ { json: "text", js: "text", typ: "" },
500
+ { json: "url", js: "url", typ: "" },
501
+ ], "any"),
502
+ "SpamReportingOptions": o([
503
+ { json: "title", js: "title", typ: "" },
504
+ { json: "options", js: "options", typ: a("") },
505
+ ], "any"),
506
+ "ExtensionRibbonsArrayTabsItem": o([
507
+ { json: "id", js: "id", typ: u(undefined, "") },
508
+ { json: "label", js: "label", typ: u(undefined, "") },
509
+ { json: "position", js: "position", typ: u(undefined, r("Position")) },
510
+ { json: "builtInTabId", js: "builtInTabId", typ: u(undefined, "") },
511
+ { json: "groups", js: "groups", typ: u(undefined, a(r("ExtensionRibbonsCustomTabGroupsItem"))) },
512
+ { json: "customMobileRibbonGroups", js: "customMobileRibbonGroups", typ: u(undefined, a(r("ExtensionRibbonsCustomMobileGroupItem"))) },
513
+ ], false),
514
+ "ExtensionRibbonsCustomMobileGroupItem": o([
515
+ { json: "id", js: "id", typ: "" },
516
+ { json: "label", js: "label", typ: "" },
517
+ { json: "controls", js: "controls", typ: a(r("ExtensionRibbonsCustomMobileControlButtonItem")) },
518
+ ], "any"),
519
+ "ExtensionRibbonsCustomMobileControlButtonItem": o([
520
+ { json: "id", js: "id", typ: "" },
521
+ { json: "type", js: "type", typ: r("PurpleType") },
522
+ { json: "label", js: "label", typ: "" },
523
+ { json: "icons", js: "icons", typ: a(r("ExtensionCustomMobileIcon")) },
524
+ { json: "actionId", js: "actionId", typ: "" },
525
+ ], "any"),
526
+ "ExtensionCustomMobileIcon": o([
527
+ { json: "size", js: "size", typ: 3.14 },
528
+ { json: "url", js: "url", typ: "" },
529
+ { json: "scale", js: "scale", typ: 3.14 },
530
+ ], false),
531
+ "ExtensionRibbonsCustomTabGroupsItem": o([
532
+ { json: "id", js: "id", typ: u(undefined, "") },
533
+ { json: "label", js: "label", typ: u(undefined, "") },
534
+ { json: "icons", js: "icons", typ: u(undefined, a(r("ExtensionCommonIcon"))) },
535
+ { json: "controls", js: "controls", typ: u(undefined, a(r("ExtensionCommonCustomGroupControlsItem"))) },
536
+ { json: "builtInGroupId", js: "builtInGroupId", typ: u(undefined, "") },
537
+ ], false),
538
+ "ExtensionCommonCustomGroupControlsItem": o([
539
+ { json: "id", js: "id", typ: "" },
540
+ { json: "type", js: "type", typ: r("FluffyType") },
541
+ { json: "builtInControlId", js: "builtInControlId", typ: u(undefined, "") },
542
+ { json: "label", js: "label", typ: "" },
543
+ { json: "icons", js: "icons", typ: a(r("ExtensionCommonIcon")) },
544
+ { json: "supertip", js: "supertip", typ: r("ExtensionCommonSuperToolTip") },
545
+ { json: "actionId", js: "actionId", typ: u(undefined, "") },
546
+ { json: "overriddenByRibbonApi", js: "overriddenByRibbonApi", typ: u(undefined, true) },
547
+ { json: "enabled", js: "enabled", typ: u(undefined, true) },
548
+ { json: "items", js: "items", typ: u(undefined, a(r("ExtensionCommonCustomControlMenuItem"))) },
549
+ ], false),
550
+ "ExtensionCommonCustomControlMenuItem": o([
551
+ { json: "id", js: "id", typ: "" },
552
+ { json: "type", js: "type", typ: r("ItemType") },
553
+ { json: "label", js: "label", typ: "" },
554
+ { json: "icons", js: "icons", typ: u(undefined, a(r("ExtensionCommonIcon"))) },
555
+ { json: "supertip", js: "supertip", typ: r("ExtensionCommonSuperToolTip") },
556
+ { json: "actionId", js: "actionId", typ: "" },
557
+ { json: "enabled", js: "enabled", typ: u(undefined, true) },
558
+ { json: "overriddenByRibbonApi", js: "overriddenByRibbonApi", typ: u(undefined, true) },
559
+ ], false),
560
+ "Position": o([
561
+ { json: "builtInTabId", js: "builtInTabId", typ: "" },
562
+ { json: "align", js: "align", typ: r("Align") },
563
+ ], false),
564
+ "ExtensionRuntimesArray": o([
565
+ { json: "requirements", js: "requirements", typ: u(undefined, r("RequirementsExtensionElement")) },
566
+ { json: "id", js: "id", typ: "" },
567
+ { json: "type", js: "type", typ: u(undefined, r("RuntimeType")) },
568
+ { json: "code", js: "code", typ: r("ExtensionRuntimeCode") },
569
+ { json: "lifetime", js: "lifetime", typ: u(undefined, r("Lifetime")) },
570
+ { json: "actions", js: "actions", typ: u(undefined, a(r("ExtensionRuntimesActionsItem"))) },
571
+ ], false),
572
+ "ExtensionRuntimesActionsItem": o([
573
+ { json: "id", js: "id", typ: "" },
574
+ { json: "type", js: "type", typ: r("ActionType") },
575
+ { json: "displayName", js: "displayName", typ: u(undefined, "") },
576
+ { json: "pinnable", js: "pinnable", typ: u(undefined, true) },
577
+ { json: "view", js: "view", typ: u(undefined, "") },
578
+ { json: "multiselect", js: "multiselect", typ: u(undefined, true) },
579
+ { json: "supportsNoItemContext", js: "supportsNoItemContext", typ: u(undefined, true) },
580
+ ], false),
581
+ "ExtensionRuntimeCode": o([
582
+ { json: "page", js: "page", typ: "" },
583
+ { json: "script", js: "script", typ: u(undefined, "") },
584
+ ], false),
585
+ "GraphConnector": o([
586
+ { json: "notificationUrl", js: "notificationUrl", typ: "" },
587
+ ], false),
588
+ "Icons": o([
589
+ { json: "outline", js: "outline", typ: "" },
590
+ { json: "color", js: "color", typ: "" },
591
+ { json: "color32x32", js: "color32x32", typ: u(undefined, "") },
592
+ ], false),
593
+ "IntuneInfo": o([
594
+ { json: "supportedMobileAppManagementVersion", js: "supportedMobileAppManagementVersion", typ: u(undefined, "") },
595
+ ], false),
596
+ "LocalizationInfo": o([
597
+ { json: "defaultLanguageTag", js: "defaultLanguageTag", typ: "" },
598
+ { json: "defaultLanguageFile", js: "defaultLanguageFile", typ: u(undefined, "") },
599
+ { json: "additionalLanguages", js: "additionalLanguages", typ: u(undefined, a(r("AdditionalLanguage"))) },
600
+ ], false),
601
+ "AdditionalLanguage": o([
602
+ { json: "languageTag", js: "languageTag", typ: "" },
603
+ { json: "file", js: "file", typ: "" },
604
+ ], false),
605
+ "MeetingExtensionDefinition": o([
606
+ { json: "scenes", js: "scenes", typ: u(undefined, a(r("Scene"))) },
607
+ { json: "supportsCustomShareToStage", js: "supportsCustomShareToStage", typ: u(undefined, true) },
608
+ { json: "supportsStreaming", js: "supportsStreaming", typ: u(undefined, true) },
609
+ { json: "supportsAnonymousGuestUsers", js: "supportsAnonymousGuestUsers", typ: u(undefined, true) },
610
+ ], false),
611
+ "Scene": o([
612
+ { json: "id", js: "id", typ: "" },
613
+ { json: "name", js: "name", typ: "" },
614
+ { json: "file", js: "file", typ: "" },
615
+ { json: "preview", js: "preview", typ: "" },
616
+ { json: "maxAudience", js: "maxAudience", typ: 0 },
617
+ { json: "seatsReservedForOrganizersOrPresenters", js: "seatsReservedForOrganizersOrPresenters", typ: 0 },
618
+ ], false),
619
+ "NameClass": o([
620
+ { json: "short", js: "short", typ: "" },
621
+ { json: "full", js: "full", typ: u(undefined, "") },
622
+ ], false),
623
+ "StaticTab": o([
624
+ { json: "entityId", js: "entityId", typ: "" },
625
+ { json: "name", js: "name", typ: u(undefined, "") },
626
+ { json: "contentUrl", js: "contentUrl", typ: u(undefined, "") },
627
+ { json: "contentBotId", js: "contentBotId", typ: u(undefined, "") },
628
+ { json: "websiteUrl", js: "websiteUrl", typ: u(undefined, "") },
629
+ { json: "searchUrl", js: "searchUrl", typ: u(undefined, "") },
630
+ { json: "scopes", js: "scopes", typ: a(r("StaticTabScope")) },
631
+ { json: "context", js: "context", typ: u(undefined, a(r("StaticTabContext"))) },
632
+ { json: "requirementSet", js: "requirementSet", typ: u(undefined, r("ElementRequirementSet")) },
633
+ ], false),
634
+ "SubscriptionOffer": o([
635
+ { json: "offerId", js: "offerId", typ: "" },
636
+ ], false),
637
+ "WebApplicationInfo": o([
638
+ { json: "id", js: "id", typ: "" },
639
+ { json: "resource", js: "resource", typ: u(undefined, "") },
640
+ ], false),
641
+ "ResourceSpecificType": [
642
+ "Application",
643
+ "Delegated",
644
+ ],
645
+ "CommandListScope": [
646
+ "copilot",
647
+ "groupChat",
648
+ "personal",
649
+ "team",
650
+ ],
651
+ "HostMustSupportFunctionalityName": [
652
+ "dialogAdaptiveCard",
653
+ "dialogAdaptiveCardBot",
654
+ "dialogUrl",
655
+ "dialogUrlBot",
656
+ ],
657
+ "AuthType": [
658
+ "apiSecretServiceAuth",
659
+ "microsoftEntra",
660
+ "none",
661
+ ],
662
+ "CommandContext": [
663
+ "commandBox",
664
+ "compose",
665
+ "message",
666
+ ],
667
+ "InputType": [
668
+ "choiceset",
669
+ "date",
670
+ "number",
671
+ "text",
672
+ "textarea",
673
+ "time",
674
+ "toggle",
675
+ ],
676
+ "CommandType": [
677
+ "action",
678
+ "query",
679
+ ],
680
+ "ComposeExtensionType": [
681
+ "apiBased",
682
+ "botBased",
683
+ ],
684
+ "MessageHandlerType": [
685
+ "link",
686
+ ],
687
+ "ConfigurableProperty": [
688
+ "accentColor",
689
+ "developerUrl",
690
+ "largeImageUrl",
691
+ "longDescription",
692
+ "name",
693
+ "privacyUrl",
694
+ "shortDescription",
695
+ "smallImageUrl",
696
+ "termsOfUseUrl",
697
+ ],
698
+ "ConfigurableTabContext": [
699
+ "channelTab",
700
+ "meetingChatTab",
701
+ "meetingDetailsTab",
702
+ "meetingSidePanel",
703
+ "meetingStage",
704
+ "personalTab",
705
+ "privateChatTab",
706
+ ],
707
+ "MeetingSurface": [
708
+ "sidePanel",
709
+ "stage",
710
+ ],
711
+ "ConfigurableTabScope": [
712
+ "groupChat",
713
+ "team",
714
+ ],
715
+ "SupportedSharePointHost": [
716
+ "sharePointFullPage",
717
+ "sharePointWebPart",
718
+ ],
719
+ "ConnectorScope": [
720
+ "team",
721
+ ],
722
+ "SourceTypeEnum": [
723
+ "bot",
724
+ ],
725
+ "DefaultSize": [
726
+ "large",
727
+ "medium",
728
+ ],
729
+ "Groupchat": [
730
+ "bot",
731
+ "connector",
732
+ "tab",
733
+ ],
734
+ "DefaultInstallScope": [
735
+ "copilot",
736
+ "groupChat",
737
+ "meetings",
738
+ "personal",
739
+ "team",
740
+ ],
741
+ "DevicePermission": [
742
+ "geolocation",
743
+ "midi",
744
+ "media",
745
+ "notifications",
746
+ "openExternal",
747
+ ],
748
+ "MutualDependencyName": [
749
+ "bots",
750
+ "composeExtensions",
751
+ "configurableTabs",
752
+ "staticTabs",
753
+ ],
754
+ "FormFactor": [
755
+ "desktop",
756
+ "mobile",
757
+ ],
758
+ "RequirementsScope": [
759
+ "document",
760
+ "mail",
761
+ "presentation",
762
+ "workbook",
763
+ ],
764
+ "SendMode": [
765
+ "block",
766
+ "promptUser",
767
+ "softBlock",
768
+ ],
769
+ "ExtensionContext": [
770
+ "default",
771
+ "logEventMeetingDetailsAttendee",
772
+ "mailCompose",
773
+ "mailRead",
774
+ "meetingDetailsAttendee",
775
+ "meetingDetailsOrganizer",
776
+ "onlineMeetingDetailsOrganizer",
777
+ "spamReportingOverride",
778
+ ],
779
+ "FixedControlType": [
780
+ "button",
781
+ ],
782
+ "PurpleType": [
783
+ "mobileButton",
784
+ ],
785
+ "ItemType": [
786
+ "menuItem",
787
+ ],
788
+ "FluffyType": [
789
+ "button",
790
+ "menu",
791
+ ],
792
+ "Align": [
793
+ "after",
794
+ "before",
795
+ ],
796
+ "ActionType": [
797
+ "executeFunction",
798
+ "openPage",
799
+ ],
800
+ "Lifetime": [
801
+ "long",
802
+ "short",
803
+ ],
804
+ "RuntimeType": [
805
+ "general",
806
+ ],
807
+ "ManifestVersion": [
808
+ "1.21",
809
+ ],
810
+ "Permission": [
811
+ "identity",
812
+ "messageTeamMembers",
813
+ ],
814
+ "StaticTabContext": [
815
+ "channelTab",
816
+ "meetingChatTab",
817
+ "meetingDetailsTab",
818
+ "meetingSidePanel",
819
+ "meetingStage",
820
+ "personalTab",
821
+ "privateChatTab",
822
+ "teamLevelApp",
823
+ ],
824
+ "StaticTabScope": [
825
+ "groupChat",
826
+ "personal",
827
+ "team",
828
+ ],
829
+ "SupportedChannelType": [
830
+ "privateChannels",
831
+ "sharedChannels",
832
+ ],
833
+ };
834
+ //# sourceMappingURL=TeamsManifestV1D21.js.map