@microsoft/app-manifest 1.1.3 → 1.1.4-alpha.36e30da2f6.0

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