@microsoft/app-manifest 1.0.0-alpha.3db80d0af.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 (102) hide show
  1. package/LICENSE +23 -0
  2. package/build/ManifestCommonProperties.d.ts +30 -0
  3. package/build/ManifestCommonProperties.js +5 -0
  4. package/build/ManifestCommonProperties.js.map +1 -0
  5. package/build/constants.d.ts +1 -0
  6. package/build/constants.js +7 -0
  7. package/build/constants.js.map +1 -0
  8. package/build/declarativeCopilotManifest.d.ts +68 -0
  9. package/build/declarativeCopilotManifest.js +15 -0
  10. package/build/declarativeCopilotManifest.js.map +1 -0
  11. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D0.d.ts +163 -0
  12. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D0.js +214 -0
  13. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D0.js.map +1 -0
  14. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D2.d.ts +185 -0
  15. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D2.js +220 -0
  16. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D2.js.map +1 -0
  17. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D3.d.ts +285 -0
  18. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D3.js +248 -0
  19. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D3.js.map +1 -0
  20. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D1.d.ts +429 -0
  21. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D1.js +289 -0
  22. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D1.js.map +1 -0
  23. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D2.d.ts +439 -0
  24. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D2.js +298 -0
  25. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D2.js.map +1 -0
  26. package/build/generated-types/index.d.ts +172 -0
  27. package/build/generated-types/index.js +437 -0
  28. package/build/generated-types/index.js.map +1 -0
  29. package/build/generated-types/teams/TeamsManifestV1D0.d.ts +268 -0
  30. package/build/generated-types/teams/TeamsManifestV1D0.js +265 -0
  31. package/build/generated-types/teams/TeamsManifestV1D0.js.map +1 -0
  32. package/build/generated-types/teams/TeamsManifestV1D1.d.ts +268 -0
  33. package/build/generated-types/teams/TeamsManifestV1D1.js +266 -0
  34. package/build/generated-types/teams/TeamsManifestV1D1.js.map +1 -0
  35. package/build/generated-types/teams/TeamsManifestV1D10.d.ts +589 -0
  36. package/build/generated-types/teams/TeamsManifestV1D10.js +448 -0
  37. package/build/generated-types/teams/TeamsManifestV1D10.js.map +1 -0
  38. package/build/generated-types/teams/TeamsManifestV1D11.d.ts +603 -0
  39. package/build/generated-types/teams/TeamsManifestV1D11.js +447 -0
  40. package/build/generated-types/teams/TeamsManifestV1D11.js.map +1 -0
  41. package/build/generated-types/teams/TeamsManifestV1D12.d.ts +638 -0
  42. package/build/generated-types/teams/TeamsManifestV1D12.js +461 -0
  43. package/build/generated-types/teams/TeamsManifestV1D12.js.map +1 -0
  44. package/build/generated-types/teams/TeamsManifestV1D13.d.ts +640 -0
  45. package/build/generated-types/teams/TeamsManifestV1D13.js +461 -0
  46. package/build/generated-types/teams/TeamsManifestV1D13.js.map +1 -0
  47. package/build/generated-types/teams/TeamsManifestV1D14.d.ts +651 -0
  48. package/build/generated-types/teams/TeamsManifestV1D14.js +467 -0
  49. package/build/generated-types/teams/TeamsManifestV1D14.js.map +1 -0
  50. package/build/generated-types/teams/TeamsManifestV1D15.d.ts +656 -0
  51. package/build/generated-types/teams/TeamsManifestV1D15.js +468 -0
  52. package/build/generated-types/teams/TeamsManifestV1D15.js.map +1 -0
  53. package/build/generated-types/teams/TeamsManifestV1D16.d.ts +659 -0
  54. package/build/generated-types/teams/TeamsManifestV1D16.js +471 -0
  55. package/build/generated-types/teams/TeamsManifestV1D16.js.map +1 -0
  56. package/build/generated-types/teams/TeamsManifestV1D17.d.ts +1212 -0
  57. package/build/generated-types/teams/TeamsManifestV1D17.js +733 -0
  58. package/build/generated-types/teams/TeamsManifestV1D17.js.map +1 -0
  59. package/build/generated-types/teams/TeamsManifestV1D19.d.ts +1238 -0
  60. package/build/generated-types/teams/TeamsManifestV1D19.js +742 -0
  61. package/build/generated-types/teams/TeamsManifestV1D19.js.map +1 -0
  62. package/build/generated-types/teams/TeamsManifestV1D2.d.ts +268 -0
  63. package/build/generated-types/teams/TeamsManifestV1D2.js +266 -0
  64. package/build/generated-types/teams/TeamsManifestV1D2.js.map +1 -0
  65. package/build/generated-types/teams/TeamsManifestV1D20.d.ts +1420 -0
  66. package/build/generated-types/teams/TeamsManifestV1D20.js +818 -0
  67. package/build/generated-types/teams/TeamsManifestV1D20.js.map +1 -0
  68. package/build/generated-types/teams/TeamsManifestV1D3.d.ts +280 -0
  69. package/build/generated-types/teams/TeamsManifestV1D3.js +279 -0
  70. package/build/generated-types/teams/TeamsManifestV1D3.js.map +1 -0
  71. package/build/generated-types/teams/TeamsManifestV1D4.d.ts +333 -0
  72. package/build/generated-types/teams/TeamsManifestV1D4.js +316 -0
  73. package/build/generated-types/teams/TeamsManifestV1D4.js.map +1 -0
  74. package/build/generated-types/teams/TeamsManifestV1D5.d.ts +423 -0
  75. package/build/generated-types/teams/TeamsManifestV1D5.js +357 -0
  76. package/build/generated-types/teams/TeamsManifestV1D5.js.map +1 -0
  77. package/build/generated-types/teams/TeamsManifestV1D6.d.ts +428 -0
  78. package/build/generated-types/teams/TeamsManifestV1D6.js +359 -0
  79. package/build/generated-types/teams/TeamsManifestV1D6.js.map +1 -0
  80. package/build/generated-types/teams/TeamsManifestV1D7.d.ts +444 -0
  81. package/build/generated-types/teams/TeamsManifestV1D7.js +369 -0
  82. package/build/generated-types/teams/TeamsManifestV1D7.js.map +1 -0
  83. package/build/generated-types/teams/TeamsManifestV1D8.d.ts +466 -0
  84. package/build/generated-types/teams/TeamsManifestV1D8.js +386 -0
  85. package/build/generated-types/teams/TeamsManifestV1D8.js.map +1 -0
  86. package/build/generated-types/teams/TeamsManifestV1D9.d.ts +532 -0
  87. package/build/generated-types/teams/TeamsManifestV1D9.js +420 -0
  88. package/build/generated-types/teams/TeamsManifestV1D9.js.map +1 -0
  89. package/build/generated-types/teams/TeamsManifestVDevPreview.d.ts +2219 -0
  90. package/build/generated-types/teams/TeamsManifestVDevPreview.js +1090 -0
  91. package/build/generated-types/teams/TeamsManifestVDevPreview.js.map +1 -0
  92. package/build/index.d.ts +88 -0
  93. package/build/index.js +247 -0
  94. package/build/index.js.map +1 -0
  95. package/build/manifest.d.ts +521 -0
  96. package/build/manifest.js +61 -0
  97. package/build/manifest.js.map +1 -0
  98. package/build/pluginManifest.d.ts +143 -0
  99. package/build/pluginManifest.js +3 -0
  100. package/build/pluginManifest.js.map +1 -0
  101. package/build/tsconfig.tsbuildinfo +1 -0
  102. package/package.json +68 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TeamsManifestV1D3.js","sourceRoot":"","sources":["../../../src/generated-types/teams/TeamsManifestV1D3.ts"],"names":[],"mappings":";AAAA,sBAAsB;AACtB,EAAE;AACF,yDAAyD;AACzD,EAAE;AACF,iEAAiE;AACjE,EAAE;AACF,0DAA0D;AAC1D,2DAA2D;;;AAwS3D,2CAA2C;AAC3C,mDAAmD;AACnD,MAAa,OAAO;IACT,MAAM,CAAC,mBAAmB,CAAC,IAAY;QAC1C,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAC1D,CAAC;IAEM,MAAM,CAAC,uBAAuB,CAAC,KAAwB;QAC1D,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAC1E,CAAC;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,EAAE,KAAK,CAAC;IACT,WAAW,EAAE,CAAC,CAAC;QACX,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,YAAY,EAAE,GAAG,EAAE,EAAE,EAAE;QACjD,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,EAAE,EAAE;QAC7C,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,EAAE;QACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,EAAE;QAC/D,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,EAAE;KAClE,EAAE,KAAK,CAAC;IACT,kBAAkB,EAAE;QAChB,UAAU;QACV,MAAM;KACT;IACD,UAAU,EAAE;QACR,WAAW;QACX,WAAW;QACX,UAAU;QACV,MAAM;KACT;IACD,sBAAsB,EAAE;QACpB,WAAW;QACX,WAAW;QACX,MAAM;KACT;IACD,gBAAgB,EAAE;QACd,MAAM;KACT;IACD,YAAY,EAAE;QACV,UAAU;QACV,oBAAoB;KACvB;CACJ,CAAC"}
@@ -0,0 +1,333 @@
1
+ export interface TeamsManifestV1D4 {
2
+ $schema?: string;
3
+ /**
4
+ * A color to use in conjunction with the icon. The value must be a valid HTML color code
5
+ * starting with '#', for example `#4464ee`.
6
+ */
7
+ accentColor: string;
8
+ /**
9
+ * The set of bots for this app. Currently only one bot per app is supported.
10
+ */
11
+ bots?: Bot[];
12
+ /**
13
+ * The set of compose extensions for this app. Currently only one compose extension per app
14
+ * is supported.
15
+ */
16
+ composeExtensions?: ComposeExtension[];
17
+ /**
18
+ * These are tabs users can optionally add to their channels and 1:1 or group chats and
19
+ * require extra configuration before they are added. Configurable tabs are not supported in
20
+ * the personal scope. Currently only one configurable tab per app is supported.
21
+ */
22
+ configurableTabs?: ConfigurableTab[];
23
+ /**
24
+ * The set of Office365 connectors for this app. Currently only one connector per app is
25
+ * supported.
26
+ */
27
+ connectors?: Connector[];
28
+ description: Description;
29
+ developer: Developer;
30
+ /**
31
+ * Specify the native features on a user's device that your app may request access to.
32
+ */
33
+ devicePermissions?: DevicePermission[];
34
+ icons: Icons;
35
+ /**
36
+ * A unique identifier for this app. This id must be a GUID.
37
+ */
38
+ id: string;
39
+ /**
40
+ * The version of the schema this manifest is using.
41
+ */
42
+ manifestVersion: "1.4";
43
+ name: Name;
44
+ /**
45
+ * A unique identifier for this app in reverse domain notation. E.g: com.example.myapp
46
+ */
47
+ packageName: string;
48
+ /**
49
+ * Specifies the permissions the app requests from users.
50
+ */
51
+ permissions?: Permission[];
52
+ /**
53
+ * A set of tabs that may be 'pinned' by default, without the user adding them manually.
54
+ * Static tabs declared in personal scope are always pinned to the app's personal
55
+ * experience. Static tabs do not currently support the 'teams' scope.
56
+ */
57
+ staticTabs?: StaticTab[];
58
+ /**
59
+ * A list of valid domains from which the tabs expect to load any content. Domain listings
60
+ * can include wildcards, for example `*.example.com`. If your tab configuration or content
61
+ * UI needs to navigate to any other domain besides the one use for tab configuration, that
62
+ * domain must be specified here.
63
+ */
64
+ validDomains?: string[];
65
+ /**
66
+ * The version of the app. Changes to your manifest should cause a version change. This
67
+ * version string must follow the semver standard (http://semver.org).
68
+ */
69
+ version: string;
70
+ /**
71
+ * Specify your AAD App ID and Graph information to help users seamlessly sign into your AAD
72
+ * app.
73
+ */
74
+ webApplicationInfo?: WebApplicationInfo;
75
+ }
76
+ export interface Bot {
77
+ /**
78
+ * The Microsoft App ID specified for the bot in the Bot Framework portal
79
+ * (https://dev.botframework.com/bots)
80
+ */
81
+ botId: string;
82
+ /**
83
+ * The list of commands that the bot supplies, including their usage, description, and the
84
+ * scope for which the commands are valid. A separate command list should be used for each
85
+ * scope.
86
+ */
87
+ commandLists?: CommandList[];
88
+ /**
89
+ * A value indicating whether or not the bot is a one-way notification only bot, as opposed
90
+ * to a conversational bot.
91
+ */
92
+ isNotificationOnly?: boolean;
93
+ /**
94
+ * This value describes whether or not the bot utilizes a user hint to add the bot to a
95
+ * specific channel.
96
+ */
97
+ needsChannelSelector?: boolean;
98
+ /**
99
+ * Specifies whether the bot offers an experience in the context of a channel in a team, in
100
+ * a 1:1 or group chat, or in an experience scoped to an individual user alone. These
101
+ * options are non-exclusive.
102
+ */
103
+ scopes: CommandListScope[];
104
+ /**
105
+ * A value indicating whether the bot supports uploading/downloading of files.
106
+ */
107
+ supportsFiles?: boolean;
108
+ }
109
+ export interface CommandList {
110
+ commands: CommandListCommand[];
111
+ /**
112
+ * Specifies the scopes for which the command list is valid
113
+ */
114
+ scopes: CommandListScope[];
115
+ }
116
+ export interface CommandListCommand {
117
+ /**
118
+ * A simple text description or an example of the command syntax and its arguments.
119
+ */
120
+ description: string;
121
+ /**
122
+ * The bot command name
123
+ */
124
+ title: string;
125
+ }
126
+ export type CommandListScope = "team" | "personal" | "groupChat" | "groupchat";
127
+ export interface ComposeExtension {
128
+ /**
129
+ * The Microsoft App ID specified for the bot powering the compose extension in the Bot
130
+ * Framework portal (https://dev.botframework.com/bots)
131
+ */
132
+ botId: string;
133
+ /**
134
+ * A value indicating whether the configuration of a compose extension can be updated by the
135
+ * user.
136
+ */
137
+ canUpdateConfiguration?: boolean;
138
+ commands: ComposeExtensionCommand[];
139
+ }
140
+ export interface ComposeExtensionCommand {
141
+ /**
142
+ * Description of the command.
143
+ */
144
+ description?: string;
145
+ /**
146
+ * A boolean value that indicates if it should fetch task module dynamically
147
+ */
148
+ fetchTask?: boolean;
149
+ /**
150
+ * Id of the command.
151
+ */
152
+ id: string;
153
+ /**
154
+ * A boolean value that indicates if the command should be run once initially with no
155
+ * parameter.
156
+ */
157
+ initialRun?: boolean;
158
+ parameters?: Parameter[];
159
+ /**
160
+ * Title of the command.
161
+ */
162
+ title: string;
163
+ /**
164
+ * Type of the command
165
+ */
166
+ type?: Type;
167
+ }
168
+ export interface Parameter {
169
+ /**
170
+ * Description of the parameter.
171
+ */
172
+ description?: string;
173
+ /**
174
+ * Type of the parameter
175
+ */
176
+ inputType?: InputType;
177
+ /**
178
+ * Name of the parameter.
179
+ */
180
+ name: string;
181
+ /**
182
+ * Title of the parameter.
183
+ */
184
+ title: string;
185
+ }
186
+ /**
187
+ * Type of the parameter
188
+ */
189
+ export type InputType = "text" | "textarea" | "number" | "date" | "time" | "toggle";
190
+ /**
191
+ * Type of the command
192
+ */
193
+ export type Type = "query" | "action";
194
+ export interface ConfigurableTab {
195
+ /**
196
+ * A value indicating whether an instance of the tab's configuration can be updated by the
197
+ * user after creation.
198
+ */
199
+ canUpdateConfiguration?: boolean;
200
+ /**
201
+ * The url to use when configuring the tab.
202
+ */
203
+ configurationUrl: string;
204
+ /**
205
+ * Specifies whether the tab offers an experience in the context of a channel in a team, in
206
+ * a 1:1 or group chat, or in an experience scoped to an individual user alone. These
207
+ * options are non-exclusive. Currently, configurable tabs are only supported in the teams
208
+ * and groupchats scopes.
209
+ */
210
+ scopes: ConfigurableTabScope[];
211
+ /**
212
+ * A relative file path to a tab preview image for use in SharePoint. Size 1024x768.
213
+ */
214
+ sharePointPreviewImage?: string;
215
+ /**
216
+ * Defines how your tab will be made available in SharePoint.
217
+ */
218
+ supportedSharePointHosts?: SupportedSharePointHost[];
219
+ }
220
+ export type ConfigurableTabScope = "team" | "groupChat" | "groupchat";
221
+ export type SupportedSharePointHost = "sharePointFullPage" | "sharePointWebPart";
222
+ export interface Connector {
223
+ /**
224
+ * The url to use for configuring the connector using the inline configuration experience.
225
+ */
226
+ configurationUrl?: string;
227
+ /**
228
+ * A unique identifier for the connector which matches its ID in the Connectors Developer
229
+ * Portal.
230
+ */
231
+ connectorId: string;
232
+ /**
233
+ * Specifies whether the connector offers an experience in the context of a channel in a
234
+ * team, or an experience scoped to an individual user alone. Currently, only the team scope
235
+ * is supported.
236
+ */
237
+ scopes: "team"[];
238
+ }
239
+ export interface Description {
240
+ /**
241
+ * The full description of the app. Maximum length is 4000 characters.
242
+ */
243
+ full: string;
244
+ /**
245
+ * A short description of the app used when space is limited. Maximum length is 80
246
+ * characters.
247
+ */
248
+ short: string;
249
+ }
250
+ export interface Developer {
251
+ /**
252
+ * The display name for the developer.
253
+ */
254
+ name: string;
255
+ /**
256
+ * The url to the page that provides privacy information for the app.
257
+ */
258
+ privacyUrl: string;
259
+ /**
260
+ * The url to the page that provides the terms of use for the app.
261
+ */
262
+ termsOfUseUrl: string;
263
+ /**
264
+ * The url to the page that provides support information for the app.
265
+ */
266
+ websiteUrl: string;
267
+ }
268
+ export type DevicePermission = "geolocation" | "media" | "notifications" | "midi" | "openExternal";
269
+ export interface Icons {
270
+ /**
271
+ * A relative file path to a full color PNG icon. Size 96x96.
272
+ */
273
+ color: string;
274
+ /**
275
+ * A relative file path to a transparent PNG outline icon. The border color needs to be
276
+ * white. Size 20x20.
277
+ */
278
+ outline: string;
279
+ }
280
+ export interface Name {
281
+ /**
282
+ * The full name of the app, used if the full app name exceeds 30 characters.
283
+ */
284
+ full?: string;
285
+ /**
286
+ * A short display name for the app.
287
+ */
288
+ short: string;
289
+ }
290
+ export type Permission = "identity" | "messageTeamMembers";
291
+ export interface StaticTab {
292
+ /**
293
+ * The url which points to the entity UI to be displayed in the Teams canvas.
294
+ */
295
+ contentUrl: string;
296
+ /**
297
+ * A unique identifier for the entity which the tab displays.
298
+ */
299
+ entityId: string;
300
+ /**
301
+ * The display name of the tab.
302
+ */
303
+ name: string;
304
+ /**
305
+ * Specifies whether the tab offers an experience in the context of a channel in a team, or
306
+ * an experience scoped to an individual user alone. These options are non-exclusive.
307
+ * Currently static tabs are only supported in the 'personal' scope.
308
+ */
309
+ scopes: StaticTabScope[];
310
+ /**
311
+ * The url to point at if a user opts to view in a browser.
312
+ */
313
+ websiteUrl?: string;
314
+ }
315
+ export type StaticTabScope = "team" | "personal";
316
+ /**
317
+ * Specify your AAD App ID and Graph information to help users seamlessly sign into your AAD
318
+ * app.
319
+ */
320
+ export interface WebApplicationInfo {
321
+ /**
322
+ * AAD application id of the app. This id must be a GUID.
323
+ */
324
+ id: string;
325
+ /**
326
+ * Resource url of app for acquiring auth token for SSO.
327
+ */
328
+ resource: string;
329
+ }
330
+ export declare class Convert {
331
+ static toTeamsManifestV1D4(json: string): TeamsManifestV1D4;
332
+ static teamsManifestV1D4ToJson(value: TeamsManifestV1D4): string;
333
+ }
@@ -0,0 +1,316 @@
1
+ "use strict";
2
+ // To parse this data:
3
+ //
4
+ // import { Convert, TeamsManifestV1D4 } from "./file";
5
+ //
6
+ // const teamsManifestV1D4 = Convert.toTeamsManifestV1D4(json);
7
+ //
8
+ // These functions will throw an error if the JSON doesn't
9
+ // match the expected interface, even if the JSON is valid.
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.Convert = void 0;
12
+ // Converts JSON strings to/from your types
13
+ // and asserts the results of JSON.parse at runtime
14
+ class Convert {
15
+ static toTeamsManifestV1D4(json) {
16
+ return cast(JSON.parse(json), r("TeamsManifestV1D4"));
17
+ }
18
+ static teamsManifestV1D4ToJson(value) {
19
+ return JSON.stringify(uncast(value, r("TeamsManifestV1D4")), null, 2);
20
+ }
21
+ }
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)}`);
28
+ }
29
+ function prettyTypeName(typ) {
30
+ if (Array.isArray(typ)) {
31
+ if (typ.length === 2 && typ[0] === undefined) {
32
+ return `an optional ${prettyTypeName(typ[1])}`;
33
+ }
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;
40
+ }
41
+ else {
42
+ return typeof typ;
43
+ }
44
+ }
45
+ function jsonToJSProps(typ) {
46
+ if (typ.jsonToJS === undefined) {
47
+ const map = {};
48
+ typ.props.forEach((p) => map[p.json] = { key: p.js, typ: p.typ });
49
+ typ.jsonToJS = map;
50
+ }
51
+ return typ.jsonToJS;
52
+ }
53
+ function jsToJSONProps(typ) {
54
+ if (typ.jsToJSON === undefined) {
55
+ const map = {};
56
+ typ.props.forEach((p) => map[p.js] = { key: p.json, typ: p.typ });
57
+ typ.jsToJSON = map;
58
+ }
59
+ return typ.jsToJSON;
60
+ }
61
+ function transform(val, typ, getProps, key = '', parent = '') {
62
+ function transformPrimitive(typ, val) {
63
+ if (typeof typ === typeof val)
64
+ return val;
65
+ return invalidValue(typ, val, key, parent);
66
+ }
67
+ 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];
72
+ try {
73
+ return transform(val, typ, getProps);
74
+ }
75
+ catch (_) { }
76
+ }
77
+ return invalidValue(typs, val, key, parent);
78
+ }
79
+ function transformEnum(cases, val) {
80
+ if (cases.indexOf(val) !== -1)
81
+ return val;
82
+ return invalidValue(cases.map(a => { return l(a); }), val, key, parent);
83
+ }
84
+ function transformArray(typ, val) {
85
+ // val must be an array with no invalid elements
86
+ if (!Array.isArray(val))
87
+ return invalidValue(l("array"), val, key, parent);
88
+ return val.map(el => transform(el, typ, getProps));
89
+ }
90
+ function transformDate(val) {
91
+ if (val === null) {
92
+ return null;
93
+ }
94
+ const d = new Date(val);
95
+ if (isNaN(d.valueOf())) {
96
+ return invalidValue(l("Date"), val, key, parent);
97
+ }
98
+ return d;
99
+ }
100
+ function transformObject(props, additional, val) {
101
+ if (val === null || typeof val !== "object" || Array.isArray(val)) {
102
+ return invalidValue(l(ref || "object"), val, key, parent);
103
+ }
104
+ const result = {};
105
+ Object.getOwnPropertyNames(props).forEach(key => {
106
+ const prop = props[key];
107
+ const v = Object.prototype.hasOwnProperty.call(val, key) ? val[key] : undefined;
108
+ result[prop.key] = transform(v, prop.typ, getProps, key, ref);
109
+ });
110
+ Object.getOwnPropertyNames(val).forEach(key => {
111
+ if (!Object.prototype.hasOwnProperty.call(props, key)) {
112
+ result[key] = transform(val[key], additional, getProps, key, ref);
113
+ }
114
+ });
115
+ return result;
116
+ }
117
+ if (typ === "any")
118
+ return val;
119
+ if (typ === null) {
120
+ if (val === null)
121
+ return val;
122
+ return invalidValue(typ, val, key, parent);
123
+ }
124
+ if (typ === false)
125
+ return invalidValue(typ, val, key, parent);
126
+ let ref = undefined;
127
+ while (typeof typ === "object" && typ.ref !== undefined) {
128
+ ref = typ.ref;
129
+ typ = typeMap[typ.ref];
130
+ }
131
+ if (Array.isArray(typ))
132
+ return transformEnum(typ, val);
133
+ 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);
138
+ }
139
+ // Numbers can be parsed by Date but shouldn't be.
140
+ if (typ === Date && typeof val !== "number")
141
+ return transformDate(val);
142
+ return transformPrimitive(typ, val);
143
+ }
144
+ function cast(val, typ) {
145
+ return transform(val, typ, jsonToJSProps);
146
+ }
147
+ function uncast(val, typ) {
148
+ return transform(val, typ, jsToJSONProps);
149
+ }
150
+ function l(typ) {
151
+ return { literal: typ };
152
+ }
153
+ function a(typ) {
154
+ return { arrayItems: typ };
155
+ }
156
+ function u(...typs) {
157
+ return { unionMembers: typs };
158
+ }
159
+ function o(props, additional) {
160
+ return { props, additional };
161
+ }
162
+ function m(additional) {
163
+ return { props: [], additional };
164
+ }
165
+ function r(name) {
166
+ return { ref: name };
167
+ }
168
+ const typeMap = {
169
+ "TeamsManifestV1D4": o([
170
+ { json: "$schema", js: "$schema", typ: u(undefined, "") },
171
+ { json: "accentColor", js: "accentColor", typ: "" },
172
+ { json: "bots", js: "bots", typ: u(undefined, a(r("Bot"))) },
173
+ { json: "composeExtensions", js: "composeExtensions", typ: u(undefined, a(r("ComposeExtension"))) },
174
+ { json: "configurableTabs", js: "configurableTabs", typ: u(undefined, a(r("ConfigurableTab"))) },
175
+ { json: "connectors", js: "connectors", typ: u(undefined, a(r("Connector"))) },
176
+ { json: "description", js: "description", typ: r("Description") },
177
+ { json: "developer", js: "developer", typ: r("Developer") },
178
+ { json: "devicePermissions", js: "devicePermissions", typ: u(undefined, a(r("DevicePermission"))) },
179
+ { json: "icons", js: "icons", typ: r("Icons") },
180
+ { json: "id", js: "id", typ: "" },
181
+ { json: "manifestVersion", js: "manifestVersion", typ: r("ManifestVersion") },
182
+ { json: "name", js: "name", typ: r("Name") },
183
+ { json: "packageName", js: "packageName", typ: "" },
184
+ { json: "permissions", js: "permissions", typ: u(undefined, a(r("Permission"))) },
185
+ { json: "staticTabs", js: "staticTabs", typ: u(undefined, a(r("StaticTab"))) },
186
+ { json: "validDomains", js: "validDomains", typ: u(undefined, a("")) },
187
+ { json: "version", js: "version", typ: "" },
188
+ { json: "webApplicationInfo", js: "webApplicationInfo", typ: u(undefined, r("WebApplicationInfo")) },
189
+ ], false),
190
+ "Bot": o([
191
+ { json: "botId", js: "botId", typ: "" },
192
+ { json: "commandLists", js: "commandLists", typ: u(undefined, a(r("CommandList"))) },
193
+ { json: "isNotificationOnly", js: "isNotificationOnly", typ: u(undefined, true) },
194
+ { json: "needsChannelSelector", js: "needsChannelSelector", typ: u(undefined, true) },
195
+ { json: "scopes", js: "scopes", typ: a(r("CommandListScope")) },
196
+ { json: "supportsFiles", js: "supportsFiles", typ: u(undefined, true) },
197
+ ], false),
198
+ "CommandList": o([
199
+ { json: "commands", js: "commands", typ: a(r("CommandListCommand")) },
200
+ { json: "scopes", js: "scopes", typ: a(r("CommandListScope")) },
201
+ ], false),
202
+ "CommandListCommand": o([
203
+ { json: "description", js: "description", typ: "" },
204
+ { json: "title", js: "title", typ: "" },
205
+ ], false),
206
+ "ComposeExtension": o([
207
+ { json: "botId", js: "botId", typ: "" },
208
+ { json: "canUpdateConfiguration", js: "canUpdateConfiguration", typ: u(undefined, true) },
209
+ { json: "commands", js: "commands", typ: a(r("ComposeExtensionCommand")) },
210
+ ], false),
211
+ "ComposeExtensionCommand": o([
212
+ { json: "description", js: "description", typ: u(undefined, "") },
213
+ { json: "fetchTask", js: "fetchTask", typ: u(undefined, true) },
214
+ { json: "id", js: "id", typ: "" },
215
+ { json: "initialRun", js: "initialRun", typ: u(undefined, true) },
216
+ { json: "parameters", js: "parameters", typ: u(undefined, a(r("Parameter"))) },
217
+ { json: "title", js: "title", typ: "" },
218
+ { json: "type", js: "type", typ: u(undefined, r("Type")) },
219
+ ], false),
220
+ "Parameter": o([
221
+ { json: "description", js: "description", typ: u(undefined, "") },
222
+ { json: "inputType", js: "inputType", typ: u(undefined, r("InputType")) },
223
+ { json: "name", js: "name", typ: "" },
224
+ { json: "title", js: "title", typ: "" },
225
+ ], false),
226
+ "ConfigurableTab": o([
227
+ { json: "canUpdateConfiguration", js: "canUpdateConfiguration", typ: u(undefined, true) },
228
+ { json: "configurationUrl", js: "configurationUrl", typ: "" },
229
+ { json: "scopes", js: "scopes", typ: a(r("ConfigurableTabScope")) },
230
+ { json: "sharePointPreviewImage", js: "sharePointPreviewImage", typ: u(undefined, "") },
231
+ { json: "supportedSharePointHosts", js: "supportedSharePointHosts", typ: u(undefined, a(r("SupportedSharePointHost"))) },
232
+ ], false),
233
+ "Connector": o([
234
+ { json: "configurationUrl", js: "configurationUrl", typ: u(undefined, "") },
235
+ { json: "connectorId", js: "connectorId", typ: "" },
236
+ { json: "scopes", js: "scopes", typ: a(r("ConnectorScope")) },
237
+ ], false),
238
+ "Description": o([
239
+ { json: "full", js: "full", typ: "" },
240
+ { json: "short", js: "short", typ: "" },
241
+ ], false),
242
+ "Developer": o([
243
+ { json: "name", js: "name", typ: "" },
244
+ { json: "privacyUrl", js: "privacyUrl", typ: "" },
245
+ { json: "termsOfUseUrl", js: "termsOfUseUrl", typ: "" },
246
+ { json: "websiteUrl", js: "websiteUrl", typ: "" },
247
+ ], false),
248
+ "Icons": o([
249
+ { json: "color", js: "color", typ: "" },
250
+ { json: "outline", js: "outline", typ: "" },
251
+ ], false),
252
+ "Name": o([
253
+ { json: "full", js: "full", typ: u(undefined, "") },
254
+ { json: "short", js: "short", typ: "" },
255
+ ], false),
256
+ "StaticTab": o([
257
+ { json: "contentUrl", js: "contentUrl", typ: "" },
258
+ { json: "entityId", js: "entityId", typ: "" },
259
+ { json: "name", js: "name", typ: "" },
260
+ { json: "scopes", js: "scopes", typ: a(r("StaticTabScope")) },
261
+ { json: "websiteUrl", js: "websiteUrl", typ: u(undefined, "") },
262
+ ], false),
263
+ "WebApplicationInfo": o([
264
+ { json: "id", js: "id", typ: "" },
265
+ { json: "resource", js: "resource", typ: "" },
266
+ ], false),
267
+ "CommandListScope": [
268
+ "groupChat",
269
+ "groupchat",
270
+ "personal",
271
+ "team",
272
+ ],
273
+ "InputType": [
274
+ "date",
275
+ "number",
276
+ "text",
277
+ "textarea",
278
+ "time",
279
+ "toggle",
280
+ ],
281
+ "Type": [
282
+ "action",
283
+ "query",
284
+ ],
285
+ "ConfigurableTabScope": [
286
+ "groupChat",
287
+ "groupchat",
288
+ "team",
289
+ ],
290
+ "SupportedSharePointHost": [
291
+ "sharePointFullPage",
292
+ "sharePointWebPart",
293
+ ],
294
+ "ConnectorScope": [
295
+ "team",
296
+ ],
297
+ "DevicePermission": [
298
+ "geolocation",
299
+ "midi",
300
+ "media",
301
+ "notifications",
302
+ "openExternal",
303
+ ],
304
+ "ManifestVersion": [
305
+ "1.4",
306
+ ],
307
+ "Permission": [
308
+ "identity",
309
+ "messageTeamMembers",
310
+ ],
311
+ "StaticTabScope": [
312
+ "personal",
313
+ "team",
314
+ ],
315
+ };
316
+ //# sourceMappingURL=TeamsManifestV1D4.js.map