@microsoft/app-manifest 1.0.0-alpha.0d2dd4439.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 (106) hide show
  1. package/LICENSE +23 -0
  2. package/README.md +115 -0
  3. package/build/ManifestCommonProperties.d.ts +30 -0
  4. package/build/ManifestCommonProperties.js +5 -0
  5. package/build/ManifestCommonProperties.js.map +1 -0
  6. package/build/constants.d.ts +1 -0
  7. package/build/constants.js +7 -0
  8. package/build/constants.js.map +1 -0
  9. package/build/declarativeCopilotManifest.d.ts +67 -0
  10. package/build/declarativeCopilotManifest.js +15 -0
  11. package/build/declarativeCopilotManifest.js.map +1 -0
  12. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D0.d.ts +163 -0
  13. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D0.js +214 -0
  14. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D0.js.map +1 -0
  15. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D2.d.ts +185 -0
  16. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D2.js +220 -0
  17. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D2.js.map +1 -0
  18. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D3.d.ts +285 -0
  19. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D3.js +248 -0
  20. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D3.js.map +1 -0
  21. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D4.d.ts +292 -0
  22. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D4.js +259 -0
  23. package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D4.js.map +1 -0
  24. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D1.d.ts +429 -0
  25. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D1.js +289 -0
  26. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D1.js.map +1 -0
  27. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D2.d.ts +439 -0
  28. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D2.js +298 -0
  29. package/build/generated-types/copilot/plugin/ApiPluginManifestV2D2.js.map +1 -0
  30. package/build/generated-types/index.d.ts +174 -0
  31. package/build/generated-types/index.js +444 -0
  32. package/build/generated-types/index.js.map +1 -0
  33. package/build/generated-types/teams/TeamsManifestV1D0.d.ts +268 -0
  34. package/build/generated-types/teams/TeamsManifestV1D0.js +265 -0
  35. package/build/generated-types/teams/TeamsManifestV1D0.js.map +1 -0
  36. package/build/generated-types/teams/TeamsManifestV1D1.d.ts +268 -0
  37. package/build/generated-types/teams/TeamsManifestV1D1.js +266 -0
  38. package/build/generated-types/teams/TeamsManifestV1D1.js.map +1 -0
  39. package/build/generated-types/teams/TeamsManifestV1D10.d.ts +589 -0
  40. package/build/generated-types/teams/TeamsManifestV1D10.js +448 -0
  41. package/build/generated-types/teams/TeamsManifestV1D10.js.map +1 -0
  42. package/build/generated-types/teams/TeamsManifestV1D11.d.ts +603 -0
  43. package/build/generated-types/teams/TeamsManifestV1D11.js +447 -0
  44. package/build/generated-types/teams/TeamsManifestV1D11.js.map +1 -0
  45. package/build/generated-types/teams/TeamsManifestV1D12.d.ts +638 -0
  46. package/build/generated-types/teams/TeamsManifestV1D12.js +461 -0
  47. package/build/generated-types/teams/TeamsManifestV1D12.js.map +1 -0
  48. package/build/generated-types/teams/TeamsManifestV1D13.d.ts +640 -0
  49. package/build/generated-types/teams/TeamsManifestV1D13.js +461 -0
  50. package/build/generated-types/teams/TeamsManifestV1D13.js.map +1 -0
  51. package/build/generated-types/teams/TeamsManifestV1D14.d.ts +651 -0
  52. package/build/generated-types/teams/TeamsManifestV1D14.js +467 -0
  53. package/build/generated-types/teams/TeamsManifestV1D14.js.map +1 -0
  54. package/build/generated-types/teams/TeamsManifestV1D15.d.ts +656 -0
  55. package/build/generated-types/teams/TeamsManifestV1D15.js +468 -0
  56. package/build/generated-types/teams/TeamsManifestV1D15.js.map +1 -0
  57. package/build/generated-types/teams/TeamsManifestV1D16.d.ts +659 -0
  58. package/build/generated-types/teams/TeamsManifestV1D16.js +471 -0
  59. package/build/generated-types/teams/TeamsManifestV1D16.js.map +1 -0
  60. package/build/generated-types/teams/TeamsManifestV1D17.d.ts +1212 -0
  61. package/build/generated-types/teams/TeamsManifestV1D17.js +733 -0
  62. package/build/generated-types/teams/TeamsManifestV1D17.js.map +1 -0
  63. package/build/generated-types/teams/TeamsManifestV1D19.d.ts +1238 -0
  64. package/build/generated-types/teams/TeamsManifestV1D19.js +742 -0
  65. package/build/generated-types/teams/TeamsManifestV1D19.js.map +1 -0
  66. package/build/generated-types/teams/TeamsManifestV1D2.d.ts +268 -0
  67. package/build/generated-types/teams/TeamsManifestV1D2.js +266 -0
  68. package/build/generated-types/teams/TeamsManifestV1D2.js.map +1 -0
  69. package/build/generated-types/teams/TeamsManifestV1D20.d.ts +1420 -0
  70. package/build/generated-types/teams/TeamsManifestV1D20.js +818 -0
  71. package/build/generated-types/teams/TeamsManifestV1D20.js.map +1 -0
  72. package/build/generated-types/teams/TeamsManifestV1D3.d.ts +280 -0
  73. package/build/generated-types/teams/TeamsManifestV1D3.js +279 -0
  74. package/build/generated-types/teams/TeamsManifestV1D3.js.map +1 -0
  75. package/build/generated-types/teams/TeamsManifestV1D4.d.ts +333 -0
  76. package/build/generated-types/teams/TeamsManifestV1D4.js +316 -0
  77. package/build/generated-types/teams/TeamsManifestV1D4.js.map +1 -0
  78. package/build/generated-types/teams/TeamsManifestV1D5.d.ts +423 -0
  79. package/build/generated-types/teams/TeamsManifestV1D5.js +357 -0
  80. package/build/generated-types/teams/TeamsManifestV1D5.js.map +1 -0
  81. package/build/generated-types/teams/TeamsManifestV1D6.d.ts +428 -0
  82. package/build/generated-types/teams/TeamsManifestV1D6.js +359 -0
  83. package/build/generated-types/teams/TeamsManifestV1D6.js.map +1 -0
  84. package/build/generated-types/teams/TeamsManifestV1D7.d.ts +444 -0
  85. package/build/generated-types/teams/TeamsManifestV1D7.js +369 -0
  86. package/build/generated-types/teams/TeamsManifestV1D7.js.map +1 -0
  87. package/build/generated-types/teams/TeamsManifestV1D8.d.ts +466 -0
  88. package/build/generated-types/teams/TeamsManifestV1D8.js +386 -0
  89. package/build/generated-types/teams/TeamsManifestV1D8.js.map +1 -0
  90. package/build/generated-types/teams/TeamsManifestV1D9.d.ts +532 -0
  91. package/build/generated-types/teams/TeamsManifestV1D9.js +420 -0
  92. package/build/generated-types/teams/TeamsManifestV1D9.js.map +1 -0
  93. package/build/generated-types/teams/TeamsManifestVDevPreview.d.ts +2219 -0
  94. package/build/generated-types/teams/TeamsManifestVDevPreview.js +1090 -0
  95. package/build/generated-types/teams/TeamsManifestVDevPreview.js.map +1 -0
  96. package/build/index.d.ts +88 -0
  97. package/build/index.js +247 -0
  98. package/build/index.js.map +1 -0
  99. package/build/manifest.d.ts +521 -0
  100. package/build/manifest.js +61 -0
  101. package/build/manifest.js.map +1 -0
  102. package/build/pluginManifest.d.ts +143 -0
  103. package/build/pluginManifest.js +3 -0
  104. package/build/pluginManifest.js.map +1 -0
  105. package/build/tsconfig.tsbuildinfo +1 -0
  106. 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;IA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AAI,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE;QACvC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,EAAE;KACtD,EAAE,KAAK,CAAC;IACT,WAAW,EAAE,CAAC,CAAC;QACX,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,YAAY,EAAE,EAAE,EAAE,YAAY,EAAE,GAAG,EAAE,EAAE,EAAE;QACjD,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,EAAE;QAC/D,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,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
+ * The version of the schema this manifest is using.
5
+ */
6
+ manifestVersion: "1.4";
7
+ /**
8
+ * The version of the app. Changes to your manifest should cause a version change. This
9
+ * version string must follow the semver standard (http://semver.org).
10
+ */
11
+ version: string;
12
+ /**
13
+ * A unique identifier for this app. This id must be a GUID.
14
+ */
15
+ id: string;
16
+ /**
17
+ * A unique identifier for this app in reverse domain notation. E.g: com.example.myapp
18
+ */
19
+ packageName: string;
20
+ developer: Developer;
21
+ name: Name;
22
+ description: Description;
23
+ icons: Icons;
24
+ /**
25
+ * A color to use in conjunction with the icon. The value must be a valid HTML color code
26
+ * starting with '#', for example `#4464ee`.
27
+ */
28
+ accentColor: string;
29
+ /**
30
+ * These are tabs users can optionally add to their channels and 1:1 or group chats and
31
+ * require extra configuration before they are added. Configurable tabs are not supported in
32
+ * the personal scope. Currently only one configurable tab per app is supported.
33
+ */
34
+ configurableTabs?: ConfigurableTab[];
35
+ /**
36
+ * A set of tabs that may be 'pinned' by default, without the user adding them manually.
37
+ * Static tabs declared in personal scope are always pinned to the app's personal
38
+ * experience. Static tabs do not currently support the 'teams' scope.
39
+ */
40
+ staticTabs?: StaticTab[];
41
+ /**
42
+ * The set of bots for this app. Currently only one bot per app is supported.
43
+ */
44
+ bots?: Bot[];
45
+ /**
46
+ * The set of Office365 connectors for this app. Currently only one connector per app is
47
+ * supported.
48
+ */
49
+ connectors?: Connector[];
50
+ /**
51
+ * The set of compose extensions for this app. Currently only one compose extension per app
52
+ * is supported.
53
+ */
54
+ composeExtensions?: ComposeExtension[];
55
+ /**
56
+ * Specifies the permissions the app requests from users.
57
+ */
58
+ permissions?: Permission[];
59
+ /**
60
+ * Specify the native features on a user's device that your app may request access to.
61
+ */
62
+ devicePermissions?: DevicePermission[];
63
+ /**
64
+ * A list of valid domains from which the tabs expect to load any content. Domain listings
65
+ * can include wildcards, for example `*.example.com`. If your tab configuration or content
66
+ * UI needs to navigate to any other domain besides the one use for tab configuration, that
67
+ * domain must be specified here.
68
+ */
69
+ validDomains?: 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
+ * This value describes whether or not the bot utilizes a user hint to add the bot to a
84
+ * specific channel.
85
+ */
86
+ needsChannelSelector?: boolean;
87
+ /**
88
+ * A value indicating whether or not the bot is a one-way notification only bot, as opposed
89
+ * to a conversational bot.
90
+ */
91
+ isNotificationOnly?: boolean;
92
+ /**
93
+ * A value indicating whether the bot supports uploading/downloading of files.
94
+ */
95
+ supportsFiles?: boolean;
96
+ /**
97
+ * Specifies whether the bot offers an experience in the context of a channel in a team, in
98
+ * a 1:1 or group chat, or in an experience scoped to an individual user alone. These
99
+ * options are non-exclusive.
100
+ */
101
+ scopes: CommandListScope[];
102
+ /**
103
+ * The list of commands that the bot supplies, including their usage, description, and the
104
+ * scope for which the commands are valid. A separate command list should be used for each
105
+ * scope.
106
+ */
107
+ commandLists?: CommandList[];
108
+ }
109
+ export interface CommandList {
110
+ /**
111
+ * Specifies the scopes for which the command list is valid
112
+ */
113
+ scopes: CommandListScope[];
114
+ commands: CommandListCommand[];
115
+ }
116
+ export interface CommandListCommand {
117
+ /**
118
+ * The bot command name
119
+ */
120
+ title: string;
121
+ /**
122
+ * A simple text description or an example of the command syntax and its arguments.
123
+ */
124
+ description: 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
+ * Id of the command.
143
+ */
144
+ id: string;
145
+ /**
146
+ * Type of the command
147
+ */
148
+ type?: Type;
149
+ /**
150
+ * Title of the command.
151
+ */
152
+ title: string;
153
+ /**
154
+ * Description of the command.
155
+ */
156
+ description?: string;
157
+ /**
158
+ * A boolean value that indicates if the command should be run once initially with no
159
+ * parameter.
160
+ */
161
+ initialRun?: boolean;
162
+ /**
163
+ * A boolean value that indicates if it should fetch task module dynamically
164
+ */
165
+ fetchTask?: boolean;
166
+ parameters?: Parameter[];
167
+ }
168
+ export interface Parameter {
169
+ /**
170
+ * Name of the parameter.
171
+ */
172
+ name: string;
173
+ /**
174
+ * Type of the parameter
175
+ */
176
+ inputType?: InputType;
177
+ /**
178
+ * Title of the parameter.
179
+ */
180
+ title: string;
181
+ /**
182
+ * Description of the parameter.
183
+ */
184
+ description?: 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
+ * The url to use when configuring the tab.
197
+ */
198
+ configurationUrl: string;
199
+ /**
200
+ * A value indicating whether an instance of the tab's configuration can be updated by the
201
+ * user after creation.
202
+ */
203
+ canUpdateConfiguration?: boolean;
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
+ * A unique identifier for the connector which matches its ID in the Connectors Developer
225
+ * Portal.
226
+ */
227
+ connectorId: string;
228
+ /**
229
+ * The url to use for configuring the connector using the inline configuration experience.
230
+ */
231
+ configurationUrl?: 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
+ * A short description of the app used when space is limited. Maximum length is 80
242
+ * characters.
243
+ */
244
+ short: string;
245
+ /**
246
+ * The full description of the app. Maximum length is 4000 characters.
247
+ */
248
+ full: 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 support information for the app.
257
+ */
258
+ websiteUrl: string;
259
+ /**
260
+ * The url to the page that provides privacy information for the app.
261
+ */
262
+ privacyUrl: string;
263
+ /**
264
+ * The url to the page that provides the terms of use for the app.
265
+ */
266
+ termsOfUseUrl: string;
267
+ }
268
+ export type DevicePermission = "geolocation" | "media" | "notifications" | "midi" | "openExternal";
269
+ export interface Icons {
270
+ /**
271
+ * A relative file path to a transparent PNG outline icon. The border color needs to be
272
+ * white. Size 20x20.
273
+ */
274
+ outline: string;
275
+ /**
276
+ * A relative file path to a full color PNG icon. Size 96x96.
277
+ */
278
+ color: string;
279
+ }
280
+ export interface Name {
281
+ /**
282
+ * A short display name for the app.
283
+ */
284
+ short: string;
285
+ /**
286
+ * The full name of the app, used if the full app name exceeds 30 characters.
287
+ */
288
+ full?: string;
289
+ }
290
+ export type Permission = "identity" | "messageTeamMembers";
291
+ export interface StaticTab {
292
+ /**
293
+ * A unique identifier for the entity which the tab displays.
294
+ */
295
+ entityId: string;
296
+ /**
297
+ * The display name of the tab.
298
+ */
299
+ name: string;
300
+ /**
301
+ * The url which points to the entity UI to be displayed in the Teams canvas.
302
+ */
303
+ contentUrl: string;
304
+ /**
305
+ * The url to point at if a user opts to view in a browser.
306
+ */
307
+ websiteUrl?: string;
308
+ /**
309
+ * Specifies whether the tab offers an experience in the context of a channel in a team, or
310
+ * an experience scoped to an individual user alone. These options are non-exclusive.
311
+ * Currently static tabs are only supported in the 'personal' scope.
312
+ */
313
+ scopes: StaticTabScope[];
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, 4);
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: "manifestVersion", js: "manifestVersion", typ: r("ManifestVersion") },
172
+ { json: "version", js: "version", typ: "" },
173
+ { json: "id", js: "id", typ: "" },
174
+ { json: "packageName", js: "packageName", typ: "" },
175
+ { json: "developer", js: "developer", typ: r("Developer") },
176
+ { json: "name", js: "name", typ: r("Name") },
177
+ { json: "description", js: "description", typ: r("Description") },
178
+ { json: "icons", js: "icons", typ: r("Icons") },
179
+ { json: "accentColor", js: "accentColor", typ: "" },
180
+ { json: "configurableTabs", js: "configurableTabs", typ: u(undefined, a(r("ConfigurableTab"))) },
181
+ { json: "staticTabs", js: "staticTabs", typ: u(undefined, a(r("StaticTab"))) },
182
+ { json: "bots", js: "bots", typ: u(undefined, a(r("Bot"))) },
183
+ { json: "connectors", js: "connectors", typ: u(undefined, a(r("Connector"))) },
184
+ { json: "composeExtensions", js: "composeExtensions", typ: u(undefined, a(r("ComposeExtension"))) },
185
+ { json: "permissions", js: "permissions", typ: u(undefined, a(r("Permission"))) },
186
+ { json: "devicePermissions", js: "devicePermissions", typ: u(undefined, a(r("DevicePermission"))) },
187
+ { json: "validDomains", js: "validDomains", typ: u(undefined, a("")) },
188
+ { json: "webApplicationInfo", js: "webApplicationInfo", typ: u(undefined, r("WebApplicationInfo")) },
189
+ ], false),
190
+ "Bot": o([
191
+ { json: "botId", js: "botId", typ: "" },
192
+ { json: "needsChannelSelector", js: "needsChannelSelector", typ: u(undefined, true) },
193
+ { json: "isNotificationOnly", js: "isNotificationOnly", typ: u(undefined, true) },
194
+ { json: "supportsFiles", js: "supportsFiles", typ: u(undefined, true) },
195
+ { json: "scopes", js: "scopes", typ: a(r("CommandListScope")) },
196
+ { json: "commandLists", js: "commandLists", typ: u(undefined, a(r("CommandList"))) },
197
+ ], false),
198
+ "CommandList": o([
199
+ { json: "scopes", js: "scopes", typ: a(r("CommandListScope")) },
200
+ { json: "commands", js: "commands", typ: a(r("CommandListCommand")) },
201
+ ], false),
202
+ "CommandListCommand": o([
203
+ { json: "title", js: "title", typ: "" },
204
+ { json: "description", js: "description", 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: "id", js: "id", typ: "" },
213
+ { json: "type", js: "type", typ: u(undefined, r("Type")) },
214
+ { json: "title", js: "title", typ: "" },
215
+ { json: "description", js: "description", typ: u(undefined, "") },
216
+ { json: "initialRun", js: "initialRun", typ: u(undefined, true) },
217
+ { json: "fetchTask", js: "fetchTask", typ: u(undefined, true) },
218
+ { json: "parameters", js: "parameters", typ: u(undefined, a(r("Parameter"))) },
219
+ ], false),
220
+ "Parameter": o([
221
+ { json: "name", js: "name", typ: "" },
222
+ { json: "inputType", js: "inputType", typ: u(undefined, r("InputType")) },
223
+ { json: "title", js: "title", typ: "" },
224
+ { json: "description", js: "description", typ: u(undefined, "") },
225
+ ], false),
226
+ "ConfigurableTab": o([
227
+ { json: "configurationUrl", js: "configurationUrl", typ: "" },
228
+ { json: "canUpdateConfiguration", js: "canUpdateConfiguration", typ: u(undefined, true) },
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: "connectorId", js: "connectorId", typ: "" },
235
+ { json: "configurationUrl", js: "configurationUrl", typ: u(undefined, "") },
236
+ { json: "scopes", js: "scopes", typ: a(r("ConnectorScope")) },
237
+ ], false),
238
+ "Description": o([
239
+ { json: "short", js: "short", typ: "" },
240
+ { json: "full", js: "full", typ: "" },
241
+ ], false),
242
+ "Developer": o([
243
+ { json: "name", js: "name", typ: "" },
244
+ { json: "websiteUrl", js: "websiteUrl", typ: "" },
245
+ { json: "privacyUrl", js: "privacyUrl", typ: "" },
246
+ { json: "termsOfUseUrl", js: "termsOfUseUrl", typ: "" },
247
+ ], false),
248
+ "Icons": o([
249
+ { json: "outline", js: "outline", typ: "" },
250
+ { json: "color", js: "color", typ: "" },
251
+ ], false),
252
+ "Name": o([
253
+ { json: "short", js: "short", typ: "" },
254
+ { json: "full", js: "full", typ: u(undefined, "") },
255
+ ], false),
256
+ "StaticTab": o([
257
+ { json: "entityId", js: "entityId", typ: "" },
258
+ { json: "name", js: "name", typ: "" },
259
+ { json: "contentUrl", js: "contentUrl", typ: "" },
260
+ { json: "websiteUrl", js: "websiteUrl", typ: u(undefined, "") },
261
+ { json: "scopes", js: "scopes", typ: a(r("StaticTabScope")) },
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