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