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