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