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