@microsoft/app-manifest 1.0.2-alpha.f4d8f5081.0 → 1.0.2-alpha.fa365893d.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,856 @@
1
+ "use strict";
2
+ // To parse this data:
3
+ //
4
+ // import { Convert, TeamsManifestV1D22 } from "./file";
5
+ //
6
+ // const teamsManifestV1D22 = Convert.toTeamsManifestV1D22(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 toTeamsManifestV1D22(json) {
16
+ return cast(JSON.parse(json), r("TeamsManifestV1D22"));
17
+ }
18
+ static teamsManifestV1D22ToJson(value) {
19
+ return JSON.stringify(uncast(value, r("TeamsManifestV1D22")), 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
+ "TeamsManifestV1D22": 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("TeamsManifestV1D22Authorization")) },
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
+ { json: "activityIcons", js: "activityIcons", typ: u(undefined, a(r("ActivityIcon"))) },
212
+ ], false),
213
+ "ActivityIcon": o([
214
+ { json: "id", js: "id", typ: "" },
215
+ { json: "iconFile", js: "iconFile", typ: "" },
216
+ ], false),
217
+ "ActivityType": o([
218
+ { json: "type", js: "type", typ: "" },
219
+ { json: "description", js: "description", typ: "" },
220
+ { json: "templateText", js: "templateText", typ: "" },
221
+ { json: "allowedIconIds", js: "allowedIconIds", typ: u(undefined, a("")) },
222
+ ], false),
223
+ "TeamsManifestV1D22Authorization": o([
224
+ { json: "permissions", js: "permissions", typ: u(undefined, r("Permissions")) },
225
+ ], false),
226
+ "Permissions": o([
227
+ { json: "resourceSpecific", js: "resourceSpecific", typ: u(undefined, a(r("ResourceSpecific"))) },
228
+ ], false),
229
+ "ResourceSpecific": o([
230
+ { json: "name", js: "name", typ: "" },
231
+ { json: "type", js: "type", typ: r("ResourceSpecificType") },
232
+ ], false),
233
+ "BackgroundLoadConfiguration": o([
234
+ { json: "tabConfiguration", js: "tabConfiguration", typ: u(undefined, r("TabConfiguration")) },
235
+ ], false),
236
+ "TabConfiguration": o([
237
+ { json: "contentUrl", js: "contentUrl", typ: "" },
238
+ ], false),
239
+ "Bot": o([
240
+ { json: "botId", js: "botId", typ: "" },
241
+ { json: "configuration", js: "configuration", typ: u(undefined, r("Configuration")) },
242
+ { json: "needsChannelSelector", js: "needsChannelSelector", typ: u(undefined, true) },
243
+ { json: "isNotificationOnly", js: "isNotificationOnly", typ: u(undefined, true) },
244
+ { json: "supportsFiles", js: "supportsFiles", typ: u(undefined, true) },
245
+ { json: "supportsCalling", js: "supportsCalling", typ: u(undefined, true) },
246
+ { json: "supportsVideo", js: "supportsVideo", typ: u(undefined, true) },
247
+ { json: "scopes", js: "scopes", typ: a(r("CommandListScope")) },
248
+ { json: "commandLists", js: "commandLists", typ: u(undefined, a(r("CommandList"))) },
249
+ { json: "requirementSet", js: "requirementSet", typ: u(undefined, r("ElementRequirementSet")) },
250
+ ], false),
251
+ "CommandList": o([
252
+ { json: "scopes", js: "scopes", typ: a(r("CommandListScope")) },
253
+ { json: "commands", js: "commands", typ: a(r("CommandListCommand")) },
254
+ ], false),
255
+ "CommandListCommand": o([
256
+ { json: "title", js: "title", typ: "" },
257
+ { json: "description", js: "description", typ: "" },
258
+ ], false),
259
+ "Configuration": o([
260
+ { json: "team", js: "team", typ: u(undefined, r("Team")) },
261
+ { json: "groupChat", js: "groupChat", typ: u(undefined, r("Team")) },
262
+ ], false),
263
+ "Team": o([
264
+ { json: "fetchTask", js: "fetchTask", typ: u(undefined, true) },
265
+ { json: "taskInfo", js: "taskInfo", typ: u(undefined, r("TaskInfo")) },
266
+ ], false),
267
+ "TaskInfo": o([
268
+ { json: "title", js: "title", typ: u(undefined, "") },
269
+ { json: "width", js: "width", typ: u(undefined, "") },
270
+ { json: "height", js: "height", typ: u(undefined, "") },
271
+ { json: "url", js: "url", typ: u(undefined, "") },
272
+ ], false),
273
+ "ElementRequirementSet": o([
274
+ { json: "hostMustSupportFunctionalities", js: "hostMustSupportFunctionalities", typ: a(r("HostFunctionality")) },
275
+ ], false),
276
+ "HostFunctionality": o([
277
+ { json: "name", js: "name", typ: r("HostMustSupportFunctionalityName") },
278
+ ], false),
279
+ "ComposeExtension": o([
280
+ { json: "id", js: "id", typ: u(undefined, "") },
281
+ { json: "botId", js: "botId", typ: u(undefined, "") },
282
+ { json: "composeExtensionType", js: "composeExtensionType", typ: u(undefined, r("ComposeExtensionType")) },
283
+ { json: "authorization", js: "authorization", typ: u(undefined, r("ComposeExtensionAuthorization")) },
284
+ { json: "apiSpecificationFile", js: "apiSpecificationFile", typ: u(undefined, "") },
285
+ { json: "canUpdateConfiguration", js: "canUpdateConfiguration", typ: u(undefined, u(true, null)) },
286
+ { json: "commands", js: "commands", typ: u(undefined, a(r("ComposeExtensionCommand"))) },
287
+ { json: "messageHandlers", js: "messageHandlers", typ: u(undefined, a(r("MessageHandler"))) },
288
+ { json: "requirementSet", js: "requirementSet", typ: u(undefined, r("ElementRequirementSet")) },
289
+ ], false),
290
+ "ComposeExtensionAuthorization": o([
291
+ { json: "authType", js: "authType", typ: u(undefined, r("AuthType")) },
292
+ { json: "microsoftEntraConfiguration", js: "microsoftEntraConfiguration", typ: u(undefined, r("MicrosoftEntraConfiguration")) },
293
+ { json: "apiSecretServiceAuthConfiguration", js: "apiSecretServiceAuthConfiguration", typ: u(undefined, r("APISecretServiceAuthConfiguration")) },
294
+ ], false),
295
+ "APISecretServiceAuthConfiguration": o([
296
+ { json: "apiSecretRegistrationId", js: "apiSecretRegistrationId", typ: u(undefined, "") },
297
+ ], false),
298
+ "MicrosoftEntraConfiguration": o([
299
+ { json: "supportsSingleSignOn", js: "supportsSingleSignOn", typ: u(undefined, true) },
300
+ ], false),
301
+ "ComposeExtensionCommand": o([
302
+ { json: "id", js: "id", typ: "" },
303
+ { json: "type", js: "type", typ: u(undefined, r("CommandType")) },
304
+ { json: "samplePrompts", js: "samplePrompts", typ: u(undefined, a(r("SamplePrompt"))) },
305
+ { json: "apiResponseRenderingTemplateFile", js: "apiResponseRenderingTemplateFile", typ: u(undefined, "") },
306
+ { json: "context", js: "context", typ: u(undefined, a(r("CommandContext"))) },
307
+ { json: "title", js: "title", typ: "" },
308
+ { json: "description", js: "description", typ: u(undefined, "") },
309
+ { json: "initialRun", js: "initialRun", typ: u(undefined, true) },
310
+ { json: "fetchTask", js: "fetchTask", typ: u(undefined, true) },
311
+ { json: "semanticDescription", js: "semanticDescription", typ: u(undefined, "") },
312
+ { json: "parameters", js: "parameters", typ: u(undefined, a(r("Parameter"))) },
313
+ { json: "taskInfo", js: "taskInfo", typ: u(undefined, r("TaskInfo")) },
314
+ ], false),
315
+ "Parameter": o([
316
+ { json: "name", js: "name", typ: "" },
317
+ { json: "inputType", js: "inputType", typ: u(undefined, r("InputType")) },
318
+ { json: "title", js: "title", typ: "" },
319
+ { json: "description", js: "description", typ: u(undefined, "") },
320
+ { json: "value", js: "value", typ: u(undefined, "") },
321
+ { json: "isRequired", js: "isRequired", typ: u(undefined, true) },
322
+ { json: "semanticDescription", js: "semanticDescription", typ: u(undefined, "") },
323
+ { json: "choices", js: "choices", typ: u(undefined, a(r("Choice"))) },
324
+ ], false),
325
+ "Choice": o([
326
+ { json: "title", js: "title", typ: "" },
327
+ { json: "value", js: "value", typ: "" },
328
+ ], false),
329
+ "SamplePrompt": o([
330
+ { json: "text", js: "text", typ: "" },
331
+ ], false),
332
+ "MessageHandler": o([
333
+ { json: "type", js: "type", typ: r("MessageHandlerType") },
334
+ { json: "value", js: "value", typ: r("Value") },
335
+ ], false),
336
+ "Value": o([
337
+ { json: "domains", js: "domains", typ: u(undefined, a("")) },
338
+ { json: "supportsAnonymizedPayloads", js: "supportsAnonymizedPayloads", typ: u(undefined, true) },
339
+ ], false),
340
+ "ConfigurableTab": o([
341
+ { json: "id", js: "id", typ: u(undefined, "") },
342
+ { json: "configurationUrl", js: "configurationUrl", typ: "" },
343
+ { json: "canUpdateConfiguration", js: "canUpdateConfiguration", typ: u(undefined, true) },
344
+ { json: "scopes", js: "scopes", typ: a(r("ConfigurableTabScope")) },
345
+ { json: "meetingSurfaces", js: "meetingSurfaces", typ: u(undefined, a(r("MeetingSurface"))) },
346
+ { json: "context", js: "context", typ: u(undefined, a(r("ConfigurableTabContext"))) },
347
+ { json: "sharePointPreviewImage", js: "sharePointPreviewImage", typ: u(undefined, "") },
348
+ { json: "supportedSharePointHosts", js: "supportedSharePointHosts", typ: u(undefined, a(r("SupportedSharePointHost"))) },
349
+ ], false),
350
+ "Connector": o([
351
+ { json: "connectorId", js: "connectorId", typ: "" },
352
+ { json: "configurationUrl", js: "configurationUrl", typ: u(undefined, "") },
353
+ { json: "scopes", js: "scopes", typ: a(r("ConnectorScope")) },
354
+ ], false),
355
+ "CopilotAgents": o([
356
+ { json: "declarativeAgents", js: "declarativeAgents", typ: u(undefined, a(r("DeclarativeAgentRef"))) },
357
+ { json: "customEngineAgents", js: "customEngineAgents", typ: u(undefined, a(r("CustomEngineAgent"))) },
358
+ ], false),
359
+ "CustomEngineAgent": o([
360
+ { json: "id", js: "id", typ: "" },
361
+ { json: "type", js: "type", typ: r("SourceTypeEnum") },
362
+ { json: "disclaimer", js: "disclaimer", typ: u(undefined, r("Disclaimer")) },
363
+ ], false),
364
+ "Disclaimer": o([
365
+ { json: "text", js: "text", typ: "" },
366
+ ], "any"),
367
+ "DeclarativeAgentRef": o([
368
+ { json: "id", js: "id", typ: "" },
369
+ { json: "file", js: "file", typ: "" },
370
+ ], false),
371
+ "DashboardCard": o([
372
+ { json: "id", js: "id", typ: "" },
373
+ { json: "displayName", js: "displayName", typ: "" },
374
+ { json: "description", js: "description", typ: "" },
375
+ { json: "pickerGroupId", js: "pickerGroupId", typ: "" },
376
+ { json: "icon", js: "icon", typ: u(undefined, r("DashboardCardIcon")) },
377
+ { json: "contentSource", js: "contentSource", typ: r("DashboardCardContentSource") },
378
+ { json: "defaultSize", js: "defaultSize", typ: r("DefaultSize") },
379
+ ], false),
380
+ "DashboardCardContentSource": o([
381
+ { json: "sourceType", js: "sourceType", typ: u(undefined, r("SourceTypeEnum")) },
382
+ { json: "botConfiguration", js: "botConfiguration", typ: u(undefined, r("BotConfiguration")) },
383
+ ], false),
384
+ "BotConfiguration": o([
385
+ { json: "botId", js: "botId", typ: u(undefined, "") },
386
+ ], false),
387
+ "DashboardCardIcon": o([
388
+ { json: "iconUrl", js: "iconUrl", typ: u(undefined, "") },
389
+ { json: "officeUIFabricIconName", js: "officeUIFabricIconName", typ: u(undefined, "") },
390
+ ], false),
391
+ "DefaultGroupCapability": o([
392
+ { json: "team", js: "team", typ: u(undefined, r("Groupchat")) },
393
+ { json: "groupchat", js: "groupchat", typ: u(undefined, r("Groupchat")) },
394
+ { json: "meetings", js: "meetings", typ: u(undefined, r("Groupchat")) },
395
+ ], false),
396
+ "Description": o([
397
+ { json: "short", js: "short", typ: "" },
398
+ { json: "full", js: "full", typ: "" },
399
+ ], false),
400
+ "Developer": o([
401
+ { json: "name", js: "name", typ: "" },
402
+ { json: "mpnId", js: "mpnId", typ: u(undefined, "") },
403
+ { json: "websiteUrl", js: "websiteUrl", typ: "" },
404
+ { json: "privacyUrl", js: "privacyUrl", typ: "" },
405
+ { json: "termsOfUseUrl", js: "termsOfUseUrl", typ: "" },
406
+ ], false),
407
+ "ElementRelationshipSet": o([
408
+ { json: "oneWayDependencies", js: "oneWayDependencies", typ: u(undefined, a(r("OneWayDependency"))) },
409
+ { json: "mutualDependencies", js: "mutualDependencies", typ: u(undefined, a(a(r("ElementReference")))) },
410
+ ], false),
411
+ "ElementReference": o([
412
+ { json: "name", js: "name", typ: r("MutualDependencyName") },
413
+ { json: "id", js: "id", typ: "" },
414
+ { json: "commandIds", js: "commandIds", typ: u(undefined, a("")) },
415
+ ], false),
416
+ "OneWayDependency": o([
417
+ { json: "element", js: "element", typ: r("ElementReference") },
418
+ { json: "dependsOn", js: "dependsOn", typ: a(r("ElementReference")) },
419
+ ], false),
420
+ "ElementExtension": o([
421
+ { json: "requirements", js: "requirements", typ: u(undefined, r("RequirementsExtensionElement")) },
422
+ { json: "runtimes", js: "runtimes", typ: u(undefined, a(r("ExtensionRuntimesArray"))) },
423
+ { json: "ribbons", js: "ribbons", typ: u(undefined, a(r("ExtensionRibbonsArray"))) },
424
+ { json: "autoRunEvents", js: "autoRunEvents", typ: u(undefined, a(r("ExtensionAutoRunEventsArray"))) },
425
+ { json: "alternates", js: "alternates", typ: u(undefined, a(r("ExtensionAlternateVersionsArray"))) },
426
+ { json: "audienceClaimUrl", js: "audienceClaimUrl", typ: u(undefined, "") },
427
+ ], false),
428
+ "ExtensionAlternateVersionsArray": o([
429
+ { json: "requirements", js: "requirements", typ: u(undefined, r("RequirementsExtensionElement")) },
430
+ { json: "prefer", js: "prefer", typ: u(undefined, r("Prefer")) },
431
+ { json: "hide", js: "hide", typ: u(undefined, r("Hide")) },
432
+ { json: "alternateIcons", js: "alternateIcons", typ: u(undefined, r("AlternateIcons")) },
433
+ ], false),
434
+ "AlternateIcons": o([
435
+ { json: "icon", js: "icon", typ: r("ExtensionCommonIcon") },
436
+ { json: "highResolutionIcon", js: "highResolutionIcon", typ: r("ExtensionCommonIcon") },
437
+ ], false),
438
+ "ExtensionCommonIcon": o([
439
+ { json: "size", js: "size", typ: 3.14 },
440
+ { json: "url", js: "url", typ: "" },
441
+ ], false),
442
+ "Hide": o([
443
+ { json: "storeOfficeAddin", js: "storeOfficeAddin", typ: u(undefined, r("StoreOfficeAddin")) },
444
+ { json: "customOfficeAddin", js: "customOfficeAddin", typ: u(undefined, r("CustomOfficeAddin")) },
445
+ ], "any"),
446
+ "CustomOfficeAddin": o([
447
+ { json: "officeAddinId", js: "officeAddinId", typ: "" },
448
+ ], false),
449
+ "StoreOfficeAddin": o([
450
+ { json: "officeAddinId", js: "officeAddinId", typ: "" },
451
+ { json: "assetId", js: "assetId", typ: "" },
452
+ ], false),
453
+ "Prefer": o([
454
+ { json: "comAddin", js: "comAddin", typ: u(undefined, r("COMAddin")) },
455
+ ], "any"),
456
+ "COMAddin": o([
457
+ { json: "progId", js: "progId", typ: "" },
458
+ ], false),
459
+ "RequirementsExtensionElement": o([
460
+ { json: "capabilities", js: "capabilities", typ: u(undefined, a(r("Capability"))) },
461
+ { json: "scopes", js: "scopes", typ: u(undefined, a(r("RequirementsScope"))) },
462
+ { json: "formFactors", js: "formFactors", typ: u(undefined, a(r("FormFactor"))) },
463
+ ], false),
464
+ "Capability": o([
465
+ { json: "name", js: "name", typ: "" },
466
+ { json: "minVersion", js: "minVersion", typ: u(undefined, "") },
467
+ { json: "maxVersion", js: "maxVersion", typ: u(undefined, "") },
468
+ ], false),
469
+ "ExtensionAutoRunEventsArray": o([
470
+ { json: "requirements", js: "requirements", typ: u(undefined, r("RequirementsExtensionElement")) },
471
+ { json: "events", js: "events", typ: a(r("Event")) },
472
+ ], false),
473
+ "Event": o([
474
+ { json: "type", js: "type", typ: "" },
475
+ { json: "actionId", js: "actionId", typ: "" },
476
+ { json: "options", js: "options", typ: u(undefined, r("Options")) },
477
+ ], false),
478
+ "Options": o([
479
+ { json: "sendMode", js: "sendMode", typ: r("SendMode") },
480
+ ], false),
481
+ "ExtensionRibbonsArray": o([
482
+ { json: "requirements", js: "requirements", typ: u(undefined, r("RequirementsExtensionElement")) },
483
+ { json: "contexts", js: "contexts", typ: u(undefined, a(r("ExtensionContext"))) },
484
+ { json: "tabs", js: "tabs", typ: a(r("ExtensionRibbonsArrayTabsItem")) },
485
+ { json: "fixedControls", js: "fixedControls", typ: u(undefined, a(r("ExtensionRibbonsArrayFixedControlItem"))) },
486
+ { json: "spamPreProcessingDialog", js: "spamPreProcessingDialog", typ: u(undefined, r("ExtensionRibbonsSpamPreProcessingDialog")) },
487
+ ], false),
488
+ "ExtensionRibbonsArrayFixedControlItem": o([
489
+ { json: "id", js: "id", typ: "" },
490
+ { json: "type", js: "type", typ: r("FixedControlType") },
491
+ { json: "label", js: "label", typ: "" },
492
+ { json: "icons", js: "icons", typ: a(r("ExtensionCommonIcon")) },
493
+ { json: "supertip", js: "supertip", typ: r("ExtensionCommonSuperToolTip") },
494
+ { json: "actionId", js: "actionId", typ: "" },
495
+ { json: "enabled", js: "enabled", typ: true },
496
+ ], false),
497
+ "ExtensionCommonSuperToolTip": o([
498
+ { json: "title", js: "title", typ: "" },
499
+ { json: "description", js: "description", typ: "" },
500
+ ], false),
501
+ "ExtensionRibbonsSpamPreProcessingDialog": o([
502
+ { json: "title", js: "title", typ: "" },
503
+ { json: "description", js: "description", typ: "" },
504
+ { json: "spamNeverShowAgainOption", js: "spamNeverShowAgainOption", typ: u(undefined, true) },
505
+ { json: "spamReportingOptions", js: "spamReportingOptions", typ: u(undefined, r("SpamReportingOptions")) },
506
+ { json: "spamFreeTextSectionTitle", js: "spamFreeTextSectionTitle", typ: u(undefined, "") },
507
+ { json: "spamMoreInfo", js: "spamMoreInfo", typ: u(undefined, r("SpamMoreInfo")) },
508
+ ], false),
509
+ "SpamMoreInfo": o([
510
+ { json: "text", js: "text", typ: "" },
511
+ { json: "url", js: "url", typ: "" },
512
+ ], "any"),
513
+ "SpamReportingOptions": o([
514
+ { json: "title", js: "title", typ: "" },
515
+ { json: "options", js: "options", typ: a("") },
516
+ { json: "type", js: "type", typ: u(undefined, r("SpamReportingOptionsType")) },
517
+ ], "any"),
518
+ "ExtensionRibbonsArrayTabsItem": o([
519
+ { json: "id", js: "id", typ: u(undefined, "") },
520
+ { json: "label", js: "label", typ: u(undefined, "") },
521
+ { json: "position", js: "position", typ: u(undefined, r("Position")) },
522
+ { json: "builtInTabId", js: "builtInTabId", typ: u(undefined, "") },
523
+ { json: "groups", js: "groups", typ: u(undefined, a(r("ExtensionRibbonsCustomTabGroupsItem"))) },
524
+ { json: "customMobileRibbonGroups", js: "customMobileRibbonGroups", typ: u(undefined, a(r("ExtensionRibbonsCustomMobileGroupItem"))) },
525
+ ], false),
526
+ "ExtensionRibbonsCustomMobileGroupItem": o([
527
+ { json: "id", js: "id", typ: "" },
528
+ { json: "label", js: "label", typ: "" },
529
+ { json: "controls", js: "controls", typ: a(r("ExtensionRibbonsCustomMobileControlButtonItem")) },
530
+ ], "any"),
531
+ "ExtensionRibbonsCustomMobileControlButtonItem": o([
532
+ { json: "id", js: "id", typ: "" },
533
+ { json: "type", js: "type", typ: r("PurpleType") },
534
+ { json: "label", js: "label", typ: "" },
535
+ { json: "icons", js: "icons", typ: a(r("ExtensionCustomMobileIcon")) },
536
+ { json: "actionId", js: "actionId", typ: "" },
537
+ ], "any"),
538
+ "ExtensionCustomMobileIcon": o([
539
+ { json: "size", js: "size", typ: 3.14 },
540
+ { json: "url", js: "url", typ: "" },
541
+ { json: "scale", js: "scale", typ: 3.14 },
542
+ ], false),
543
+ "ExtensionRibbonsCustomTabGroupsItem": o([
544
+ { json: "id", js: "id", typ: u(undefined, "") },
545
+ { json: "label", js: "label", typ: u(undefined, "") },
546
+ { json: "icons", js: "icons", typ: u(undefined, a(r("ExtensionCommonIcon"))) },
547
+ { json: "controls", js: "controls", typ: u(undefined, a(r("ExtensionCommonCustomGroupControlsItem"))) },
548
+ { json: "builtInGroupId", js: "builtInGroupId", typ: u(undefined, "") },
549
+ ], false),
550
+ "ExtensionCommonCustomGroupControlsItem": o([
551
+ { json: "id", js: "id", typ: "" },
552
+ { json: "type", js: "type", typ: r("FluffyType") },
553
+ { json: "builtInControlId", js: "builtInControlId", typ: u(undefined, "") },
554
+ { json: "label", js: "label", typ: "" },
555
+ { json: "icons", js: "icons", typ: a(r("ExtensionCommonIcon")) },
556
+ { json: "supertip", js: "supertip", typ: r("ExtensionCommonSuperToolTip") },
557
+ { json: "actionId", js: "actionId", typ: u(undefined, "") },
558
+ { json: "overriddenByRibbonApi", js: "overriddenByRibbonApi", typ: u(undefined, true) },
559
+ { json: "enabled", js: "enabled", typ: u(undefined, true) },
560
+ { json: "items", js: "items", typ: u(undefined, a(r("ExtensionCommonCustomControlMenuItem"))) },
561
+ ], false),
562
+ "ExtensionCommonCustomControlMenuItem": o([
563
+ { json: "id", js: "id", typ: "" },
564
+ { json: "type", js: "type", typ: r("ItemType") },
565
+ { json: "label", js: "label", typ: "" },
566
+ { json: "icons", js: "icons", typ: u(undefined, a(r("ExtensionCommonIcon"))) },
567
+ { json: "supertip", js: "supertip", typ: r("ExtensionCommonSuperToolTip") },
568
+ { json: "actionId", js: "actionId", typ: "" },
569
+ { json: "enabled", js: "enabled", typ: u(undefined, true) },
570
+ { json: "overriddenByRibbonApi", js: "overriddenByRibbonApi", typ: u(undefined, true) },
571
+ ], false),
572
+ "Position": o([
573
+ { json: "builtInTabId", js: "builtInTabId", typ: "" },
574
+ { json: "align", js: "align", typ: r("Align") },
575
+ ], false),
576
+ "ExtensionRuntimesArray": o([
577
+ { json: "requirements", js: "requirements", typ: u(undefined, r("RequirementsExtensionElement")) },
578
+ { json: "id", js: "id", typ: "" },
579
+ { json: "type", js: "type", typ: u(undefined, r("RuntimeType")) },
580
+ { json: "code", js: "code", typ: r("ExtensionRuntimeCode") },
581
+ { json: "lifetime", js: "lifetime", typ: u(undefined, r("Lifetime")) },
582
+ { json: "actions", js: "actions", typ: u(undefined, a(r("ExtensionRuntimesActionsItem"))) },
583
+ ], false),
584
+ "ExtensionRuntimesActionsItem": o([
585
+ { json: "id", js: "id", typ: "" },
586
+ { json: "type", js: "type", typ: r("ActionType") },
587
+ { json: "displayName", js: "displayName", typ: u(undefined, "") },
588
+ { json: "pinnable", js: "pinnable", typ: u(undefined, true) },
589
+ { json: "view", js: "view", typ: u(undefined, "") },
590
+ { json: "multiselect", js: "multiselect", typ: u(undefined, true) },
591
+ { json: "supportsNoItemContext", js: "supportsNoItemContext", typ: u(undefined, true) },
592
+ ], false),
593
+ "ExtensionRuntimeCode": o([
594
+ { json: "page", js: "page", typ: "" },
595
+ { json: "script", js: "script", typ: u(undefined, "") },
596
+ ], false),
597
+ "GraphConnector": o([
598
+ { json: "notificationUrl", js: "notificationUrl", typ: "" },
599
+ ], false),
600
+ "Icons": o([
601
+ { json: "outline", js: "outline", typ: "" },
602
+ { json: "color", js: "color", typ: "" },
603
+ { json: "color32x32", js: "color32x32", typ: u(undefined, "") },
604
+ ], false),
605
+ "IntuneInfo": o([
606
+ { json: "supportedMobileAppManagementVersion", js: "supportedMobileAppManagementVersion", typ: u(undefined, "") },
607
+ ], false),
608
+ "LocalizationInfo": o([
609
+ { json: "defaultLanguageTag", js: "defaultLanguageTag", typ: "" },
610
+ { json: "defaultLanguageFile", js: "defaultLanguageFile", typ: u(undefined, "") },
611
+ { json: "additionalLanguages", js: "additionalLanguages", typ: u(undefined, a(r("AdditionalLanguage"))) },
612
+ ], false),
613
+ "AdditionalLanguage": o([
614
+ { json: "languageTag", js: "languageTag", typ: "" },
615
+ { json: "file", js: "file", typ: "" },
616
+ ], false),
617
+ "MeetingExtensionDefinition": o([
618
+ { json: "scenes", js: "scenes", typ: u(undefined, a(r("Scene"))) },
619
+ { json: "supportsCustomShareToStage", js: "supportsCustomShareToStage", typ: u(undefined, true) },
620
+ { json: "supportsStreaming", js: "supportsStreaming", typ: u(undefined, true) },
621
+ { json: "supportsAnonymousGuestUsers", js: "supportsAnonymousGuestUsers", typ: u(undefined, true) },
622
+ ], false),
623
+ "Scene": o([
624
+ { json: "id", js: "id", typ: "" },
625
+ { json: "name", js: "name", typ: "" },
626
+ { json: "file", js: "file", typ: "" },
627
+ { json: "preview", js: "preview", typ: "" },
628
+ { json: "maxAudience", js: "maxAudience", typ: 0 },
629
+ { json: "seatsReservedForOrganizersOrPresenters", js: "seatsReservedForOrganizersOrPresenters", typ: 0 },
630
+ ], false),
631
+ "NameClass": o([
632
+ { json: "short", js: "short", typ: "" },
633
+ { json: "full", js: "full", typ: u(undefined, "") },
634
+ ], false),
635
+ "StaticTab": o([
636
+ { json: "entityId", js: "entityId", typ: "" },
637
+ { json: "name", js: "name", typ: u(undefined, "") },
638
+ { json: "contentUrl", js: "contentUrl", typ: u(undefined, "") },
639
+ { json: "contentBotId", js: "contentBotId", typ: u(undefined, "") },
640
+ { json: "websiteUrl", js: "websiteUrl", typ: u(undefined, "") },
641
+ { json: "searchUrl", js: "searchUrl", typ: u(undefined, "") },
642
+ { json: "scopes", js: "scopes", typ: a(r("StaticTabScope")) },
643
+ { json: "context", js: "context", typ: u(undefined, a(r("StaticTabContext"))) },
644
+ { json: "requirementSet", js: "requirementSet", typ: u(undefined, r("ElementRequirementSet")) },
645
+ ], false),
646
+ "SubscriptionOffer": o([
647
+ { json: "offerId", js: "offerId", typ: "" },
648
+ ], false),
649
+ "WebApplicationInfo": o([
650
+ { json: "id", js: "id", typ: "" },
651
+ { json: "resource", js: "resource", typ: u(undefined, "") },
652
+ { json: "nestedAppAuthInfo", js: "nestedAppAuthInfo", typ: u(undefined, a(r("NestedAppAuthInfo"))) },
653
+ ], false),
654
+ "NestedAppAuthInfo": o([
655
+ { json: "redirectUri", js: "redirectUri", typ: "" },
656
+ { json: "scopes", js: "scopes", typ: a("") },
657
+ { json: "claims", js: "claims", typ: u(undefined, "") },
658
+ ], false),
659
+ "ResourceSpecificType": [
660
+ "Application",
661
+ "Delegated",
662
+ ],
663
+ "CommandListScope": [
664
+ "copilot",
665
+ "groupChat",
666
+ "personal",
667
+ "team",
668
+ ],
669
+ "HostMustSupportFunctionalityName": [
670
+ "dialogAdaptiveCard",
671
+ "dialogAdaptiveCardBot",
672
+ "dialogUrl",
673
+ "dialogUrlBot",
674
+ ],
675
+ "AuthType": [
676
+ "apiSecretServiceAuth",
677
+ "microsoftEntra",
678
+ "none",
679
+ ],
680
+ "CommandContext": [
681
+ "commandBox",
682
+ "compose",
683
+ "message",
684
+ ],
685
+ "InputType": [
686
+ "choiceset",
687
+ "date",
688
+ "number",
689
+ "text",
690
+ "textarea",
691
+ "time",
692
+ "toggle",
693
+ ],
694
+ "CommandType": [
695
+ "action",
696
+ "query",
697
+ ],
698
+ "ComposeExtensionType": [
699
+ "apiBased",
700
+ "botBased",
701
+ ],
702
+ "MessageHandlerType": [
703
+ "link",
704
+ ],
705
+ "ConfigurableProperty": [
706
+ "accentColor",
707
+ "developerUrl",
708
+ "largeImageUrl",
709
+ "longDescription",
710
+ "name",
711
+ "privacyUrl",
712
+ "shortDescription",
713
+ "smallImageUrl",
714
+ "termsOfUseUrl",
715
+ ],
716
+ "ConfigurableTabContext": [
717
+ "channelTab",
718
+ "meetingChatTab",
719
+ "meetingDetailsTab",
720
+ "meetingSidePanel",
721
+ "meetingStage",
722
+ "personalTab",
723
+ "privateChatTab",
724
+ ],
725
+ "MeetingSurface": [
726
+ "sidePanel",
727
+ "stage",
728
+ ],
729
+ "ConfigurableTabScope": [
730
+ "groupChat",
731
+ "team",
732
+ ],
733
+ "SupportedSharePointHost": [
734
+ "sharePointFullPage",
735
+ "sharePointWebPart",
736
+ ],
737
+ "ConnectorScope": [
738
+ "team",
739
+ ],
740
+ "SourceTypeEnum": [
741
+ "bot",
742
+ ],
743
+ "DefaultSize": [
744
+ "large",
745
+ "medium",
746
+ ],
747
+ "Groupchat": [
748
+ "bot",
749
+ "connector",
750
+ "tab",
751
+ ],
752
+ "DefaultInstallScope": [
753
+ "copilot",
754
+ "groupChat",
755
+ "meetings",
756
+ "personal",
757
+ "team",
758
+ ],
759
+ "DevicePermission": [
760
+ "geolocation",
761
+ "midi",
762
+ "media",
763
+ "notifications",
764
+ "openExternal",
765
+ ],
766
+ "MutualDependencyName": [
767
+ "bots",
768
+ "composeExtensions",
769
+ "configurableTabs",
770
+ "staticTabs",
771
+ ],
772
+ "FormFactor": [
773
+ "desktop",
774
+ "mobile",
775
+ ],
776
+ "RequirementsScope": [
777
+ "document",
778
+ "mail",
779
+ "presentation",
780
+ "workbook",
781
+ ],
782
+ "SendMode": [
783
+ "block",
784
+ "promptUser",
785
+ "softBlock",
786
+ ],
787
+ "ExtensionContext": [
788
+ "default",
789
+ "logEventMeetingDetailsAttendee",
790
+ "mailCompose",
791
+ "mailRead",
792
+ "meetingDetailsAttendee",
793
+ "meetingDetailsOrganizer",
794
+ "onlineMeetingDetailsOrganizer",
795
+ "spamReportingOverride",
796
+ ],
797
+ "FixedControlType": [
798
+ "button",
799
+ ],
800
+ "SpamReportingOptionsType": [
801
+ "checkbox",
802
+ "radio",
803
+ ],
804
+ "PurpleType": [
805
+ "mobileButton",
806
+ ],
807
+ "ItemType": [
808
+ "menuItem",
809
+ ],
810
+ "FluffyType": [
811
+ "button",
812
+ "menu",
813
+ ],
814
+ "Align": [
815
+ "after",
816
+ "before",
817
+ ],
818
+ "ActionType": [
819
+ "executeFunction",
820
+ "openPage",
821
+ ],
822
+ "Lifetime": [
823
+ "long",
824
+ "short",
825
+ ],
826
+ "RuntimeType": [
827
+ "general",
828
+ ],
829
+ "ManifestVersion": [
830
+ "1.22",
831
+ ],
832
+ "Permission": [
833
+ "identity",
834
+ "messageTeamMembers",
835
+ ],
836
+ "StaticTabContext": [
837
+ "channelTab",
838
+ "meetingChatTab",
839
+ "meetingDetailsTab",
840
+ "meetingSidePanel",
841
+ "meetingStage",
842
+ "personalTab",
843
+ "privateChatTab",
844
+ "teamLevelApp",
845
+ ],
846
+ "StaticTabScope": [
847
+ "groupChat",
848
+ "personal",
849
+ "team",
850
+ ],
851
+ "SupportedChannelType": [
852
+ "privateChannels",
853
+ "sharedChannels",
854
+ ],
855
+ };
856
+ //# sourceMappingURL=TeamsManifestV1D22.js.map