@microsoft/teams.apps 0.2.7

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 (132) hide show
  1. package/README.md +35 -0
  2. package/dist/api.d.ts +21 -0
  3. package/dist/api.js +66 -0
  4. package/dist/app.d.ts +1137 -0
  5. package/dist/app.embed.d.ts +24 -0
  6. package/dist/app.embed.js +83 -0
  7. package/dist/app.events.d.ts +14 -0
  8. package/dist/app.events.js +51 -0
  9. package/dist/app.js +411 -0
  10. package/dist/app.oauth.d.ts +13 -0
  11. package/dist/app.oauth.js +106 -0
  12. package/dist/app.plugins.d.ts +24 -0
  13. package/dist/app.plugins.js +96 -0
  14. package/dist/app.process.d.ts +11 -0
  15. package/dist/app.process.js +141 -0
  16. package/dist/app.routing.d.ts +22 -0
  17. package/dist/app.routing.js +40 -0
  18. package/dist/container/container.d.ts +37 -0
  19. package/dist/container/container.js +46 -0
  20. package/dist/container/index.d.ts +2 -0
  21. package/dist/container/index.js +19 -0
  22. package/dist/container/provider.d.ts +9 -0
  23. package/dist/container/provider.js +11 -0
  24. package/dist/contexts/activity-error.d.ts +8 -0
  25. package/dist/contexts/activity-error.js +3 -0
  26. package/dist/contexts/activity-signin.d.ts +8 -0
  27. package/dist/contexts/activity-signin.js +3 -0
  28. package/dist/contexts/activity.d.ts +117 -0
  29. package/dist/contexts/activity.js +133 -0
  30. package/dist/contexts/client.d.ts +53 -0
  31. package/dist/contexts/client.js +3 -0
  32. package/dist/contexts/function.d.ts +17 -0
  33. package/dist/contexts/function.js +3 -0
  34. package/dist/contexts/index.d.ts +5 -0
  35. package/dist/contexts/index.js +22 -0
  36. package/dist/events/activity-response.d.ts +16 -0
  37. package/dist/events/activity-response.js +3 -0
  38. package/dist/events/activity-sent.d.ts +16 -0
  39. package/dist/events/activity-sent.js +3 -0
  40. package/dist/events/activity.d.ts +20 -0
  41. package/dist/events/activity.js +3 -0
  42. package/dist/events/error.d.ts +16 -0
  43. package/dist/events/error.js +3 -0
  44. package/dist/events/index.d.ts +18 -0
  45. package/dist/events/index.js +21 -0
  46. package/dist/index.d.ts +7 -0
  47. package/dist/index.js +47 -0
  48. package/dist/manifest.d.ts +1241 -0
  49. package/dist/manifest.js +3 -0
  50. package/dist/middleware/entra-token-validator.d.ts +75 -0
  51. package/dist/middleware/entra-token-validator.js +169 -0
  52. package/dist/middleware/index.d.ts +3 -0
  53. package/dist/middleware/index.js +22 -0
  54. package/dist/middleware/strip-mentions-text.d.ts +3 -0
  55. package/dist/middleware/strip-mentions-text.js +48 -0
  56. package/dist/middleware/with-client-auth.d.ts +13 -0
  57. package/dist/middleware/with-client-auth.js +40 -0
  58. package/dist/oauth.d.ts +9 -0
  59. package/dist/oauth.js +7 -0
  60. package/dist/plugins/http/index.d.ts +2 -0
  61. package/dist/plugins/http/index.js +19 -0
  62. package/dist/plugins/http/plugin.d.ts +986 -0
  63. package/dist/plugins/http/plugin.js +238 -0
  64. package/dist/plugins/http/stream.d.ts +956 -0
  65. package/dist/plugins/http/stream.js +128 -0
  66. package/dist/plugins/index.d.ts +1 -0
  67. package/dist/plugins/index.js +18 -0
  68. package/dist/router.d.ts +34 -0
  69. package/dist/router.js +91 -0
  70. package/dist/routes/activity.d.ts +8 -0
  71. package/dist/routes/activity.js +3 -0
  72. package/dist/routes/conversation-update.d.ts +6 -0
  73. package/dist/routes/conversation-update.js +3 -0
  74. package/dist/routes/event.d.ts +17 -0
  75. package/dist/routes/event.js +11 -0
  76. package/dist/routes/index.d.ts +20 -0
  77. package/dist/routes/index.js +24 -0
  78. package/dist/routes/install.d.ts +8 -0
  79. package/dist/routes/install.js +3 -0
  80. package/dist/routes/invoke/file-consent.d.ts +6 -0
  81. package/dist/routes/invoke/file-consent.js +3 -0
  82. package/dist/routes/invoke/index.d.ts +39 -0
  83. package/dist/routes/invoke/index.js +45 -0
  84. package/dist/routes/invoke/message-extension-submit.d.ts +6 -0
  85. package/dist/routes/invoke/message-extension-submit.js +3 -0
  86. package/dist/routes/invoke/message-submit.d.ts +10 -0
  87. package/dist/routes/invoke/message-submit.js +3 -0
  88. package/dist/routes/message-delete.d.ts +6 -0
  89. package/dist/routes/message-delete.js +3 -0
  90. package/dist/routes/message-update.d.ts +6 -0
  91. package/dist/routes/message-update.js +3 -0
  92. package/dist/types/constructor.d.ts +7 -0
  93. package/dist/types/constructor.js +3 -0
  94. package/dist/types/event-handler.d.ts +1 -0
  95. package/dist/types/event-handler.js +3 -0
  96. package/dist/types/event.d.ts +11 -0
  97. package/dist/types/event.js +3 -0
  98. package/dist/types/index.d.ts +7 -0
  99. package/dist/types/index.js +24 -0
  100. package/dist/types/plugin/decorators/dependency.d.ts +135 -0
  101. package/dist/types/plugin/decorators/dependency.js +49 -0
  102. package/dist/types/plugin/decorators/event.d.ts +18 -0
  103. package/dist/types/plugin/decorators/event.js +24 -0
  104. package/dist/types/plugin/decorators/index.d.ts +3 -0
  105. package/dist/types/plugin/decorators/index.js +12 -0
  106. package/dist/types/plugin/decorators/plugin.d.ts +25 -0
  107. package/dist/types/plugin/decorators/plugin.js +23 -0
  108. package/dist/types/plugin/index.d.ts +8 -0
  109. package/dist/types/plugin/index.js +25 -0
  110. package/dist/types/plugin/plugin-activity-event.d.ts +20 -0
  111. package/dist/types/plugin/plugin-activity-event.js +3 -0
  112. package/dist/types/plugin/plugin-activity-response-event.d.ts +20 -0
  113. package/dist/types/plugin/plugin-activity-response-event.js +3 -0
  114. package/dist/types/plugin/plugin-activity-sent-event.d.ts +16 -0
  115. package/dist/types/plugin/plugin-activity-sent-event.js +3 -0
  116. package/dist/types/plugin/plugin-error-event.d.ts +20 -0
  117. package/dist/types/plugin/plugin-error-event.js +3 -0
  118. package/dist/types/plugin/plugin-start-event.d.ts +11 -0
  119. package/dist/types/plugin/plugin-start-event.js +3 -0
  120. package/dist/types/plugin/plugin.d.ts +74 -0
  121. package/dist/types/plugin/plugin.js +3 -0
  122. package/dist/types/plugin/sender.d.ts +18 -0
  123. package/dist/types/plugin/sender.js +3 -0
  124. package/dist/types/prefixed.d.ts +3 -0
  125. package/dist/types/prefixed.js +3 -0
  126. package/dist/types/route-handler.d.ts +2 -0
  127. package/dist/types/route-handler.js +3 -0
  128. package/dist/types/streamer.d.ts +31 -0
  129. package/dist/types/streamer.js +3 -0
  130. package/dist/types/suffixed.d.ts +3 -0
  131. package/dist/types/suffixed.js +3 -0
  132. package/package.json +70 -0
@@ -0,0 +1,986 @@
1
+ import http from 'http';
2
+ import express from 'express';
3
+ import { ILogger } from '@microsoft/teams.common';
4
+ import * as $http from '@microsoft/teams.common/http';
5
+ import { ActivityParams, ConversationReference, IToken } from '@microsoft/teams.api';
6
+ import { IStreamer, ISender, IPluginStartEvent, IPluginErrorEvent, IPluginActivityResponseEvent } from '../../types';
7
+ import { Manifest } from '../../manifest';
8
+ import { IActivityEvent, IErrorEvent } from '../../events';
9
+ /**
10
+ * Can send/receive activities via http
11
+ */
12
+ export declare class HttpPlugin implements ISender {
13
+ readonly logger: ILogger;
14
+ readonly client: $http.Client;
15
+ readonly manifest: Partial<Manifest>;
16
+ readonly botToken?: IToken;
17
+ readonly graphToken?: IToken;
18
+ readonly $onError: (event: IErrorEvent) => void;
19
+ readonly $onActivity: (event: IActivityEvent) => void;
20
+ readonly get: express.Application['get'];
21
+ readonly post: express.Application['post'];
22
+ readonly patch: express.Application['patch'];
23
+ readonly put: express.Application['put'];
24
+ readonly delete: express.Application['delete'];
25
+ readonly route: express.Application['route'];
26
+ readonly use: express.Application['use'];
27
+ get server(): http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>;
28
+ protected _server: http.Server;
29
+ get port(): number | undefined;
30
+ protected _port?: number;
31
+ protected express: express.Application;
32
+ protected pending: Record<string, express.Response>;
33
+ constructor();
34
+ /**
35
+ * serve static files
36
+ * @param path the url path to serve
37
+ * @param dist the dist file path to serve
38
+ */
39
+ static(path: string, dist: string): this;
40
+ onStart({ port }: IPluginStartEvent): Promise<void>;
41
+ onStop(): void;
42
+ onError({ error, activity }: IPluginErrorEvent): void;
43
+ onActivityResponse({ response, activity }: IPluginActivityResponseEvent): void;
44
+ send(activity: ActivityParams, ref: ConversationReference): Promise<{
45
+ id: string;
46
+ type: "message";
47
+ text?: string | undefined;
48
+ speak?: string | undefined;
49
+ inputHint?: import("@microsoft/teams.api").InputHint | undefined;
50
+ summary?: string | undefined;
51
+ textFormat?: import("@microsoft/teams.api").TextFormat | undefined;
52
+ attachmentLayout?: import("@microsoft/teams.api").AttachmentLayout | undefined;
53
+ attachments?: import("@microsoft/teams.api").Attachment[] | undefined;
54
+ suggestedActions?: import("@microsoft/teams.api").SuggestedActions | undefined;
55
+ importance?: import("@microsoft/teams.api").Importance | undefined;
56
+ deliveryMode?: import("@microsoft/teams.api").DeliveryMode | undefined;
57
+ expiration?: Date | undefined;
58
+ value?: any;
59
+ stripMentionsText?: ((options?: import("@microsoft/teams.api").StripMentionsTextOptions) => import("@microsoft/teams.api").IMessageActivity) | undefined;
60
+ isRecipientMentioned?: (() => boolean) | undefined;
61
+ getAccountMention?: ((accountId: string) => import("@microsoft/teams.api").MentionEntity | undefined) | undefined;
62
+ serviceUrl?: string | undefined;
63
+ timestamp?: Date | undefined;
64
+ locale?: string | undefined;
65
+ localTimestamp?: Date | undefined;
66
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
67
+ from?: import("@microsoft/teams.api").Account | undefined;
68
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
69
+ relatesTo?: ConversationReference | undefined;
70
+ recipient?: import("@microsoft/teams.api").Account | undefined;
71
+ replyToId?: string | undefined;
72
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
73
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
74
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
75
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
76
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
77
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
78
+ isStreaming?: (() => boolean) | undefined;
79
+ } | {
80
+ id: string;
81
+ type: "messageUpdate";
82
+ text?: string | undefined;
83
+ speak?: string | undefined;
84
+ summary?: string | undefined;
85
+ expiration?: Date | undefined;
86
+ value?: any;
87
+ channelData?: (import("@microsoft/teams.api").ChannelData & {
88
+ eventType: "undeleteMessage" | "editMessage";
89
+ }) | undefined;
90
+ serviceUrl?: string | undefined;
91
+ timestamp?: Date | undefined;
92
+ locale?: string | undefined;
93
+ localTimestamp?: Date | undefined;
94
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
95
+ from?: import("@microsoft/teams.api").Account | undefined;
96
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
97
+ relatesTo?: ConversationReference | undefined;
98
+ recipient?: import("@microsoft/teams.api").Account | undefined;
99
+ replyToId?: string | undefined;
100
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
101
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
102
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
103
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
104
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
105
+ isStreaming?: (() => boolean) | undefined;
106
+ } | {
107
+ id: string;
108
+ type: "messageDelete";
109
+ channelData?: (import("@microsoft/teams.api").ChannelData & {
110
+ eventType: "softDeleteMessage";
111
+ }) | undefined;
112
+ serviceUrl?: string | undefined;
113
+ timestamp?: Date | undefined;
114
+ locale?: string | undefined;
115
+ localTimestamp?: Date | undefined;
116
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
117
+ from?: import("@microsoft/teams.api").Account | undefined;
118
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
119
+ relatesTo?: ConversationReference | undefined;
120
+ recipient?: import("@microsoft/teams.api").Account | undefined;
121
+ replyToId?: string | undefined;
122
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
123
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
124
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
125
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
126
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
127
+ isStreaming?: (() => boolean) | undefined;
128
+ } | {
129
+ id: string;
130
+ type: "messageReaction";
131
+ reactionsAdded?: import("@microsoft/teams.api").MessageReaction[] | undefined;
132
+ reactionsRemoved?: import("@microsoft/teams.api").MessageReaction[] | undefined;
133
+ serviceUrl?: string | undefined;
134
+ timestamp?: Date | undefined;
135
+ locale?: string | undefined;
136
+ localTimestamp?: Date | undefined;
137
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
138
+ from?: import("@microsoft/teams.api").Account | undefined;
139
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
140
+ relatesTo?: ConversationReference | undefined;
141
+ recipient?: import("@microsoft/teams.api").Account | undefined;
142
+ replyToId?: string | undefined;
143
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
144
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
145
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
146
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
147
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
148
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
149
+ isStreaming?: (() => boolean) | undefined;
150
+ } | {
151
+ id: string;
152
+ type: "event";
153
+ name?: "application/vnd.microsoft.readReceipt" | undefined;
154
+ serviceUrl?: string | undefined;
155
+ timestamp?: Date | undefined;
156
+ locale?: string | undefined;
157
+ localTimestamp?: Date | undefined;
158
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
159
+ from?: import("@microsoft/teams.api").Account | undefined;
160
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
161
+ relatesTo?: ConversationReference | undefined;
162
+ recipient?: import("@microsoft/teams.api").Account | undefined;
163
+ replyToId?: string | undefined;
164
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
165
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
166
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
167
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
168
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
169
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
170
+ isStreaming?: (() => boolean) | undefined;
171
+ } | {
172
+ id: string;
173
+ type: "event";
174
+ name?: "application/vnd.microsoft.meetingStart" | undefined;
175
+ value?: {
176
+ id: string;
177
+ meetingType: string;
178
+ joinUrl: string;
179
+ title: string;
180
+ startTime: Date;
181
+ } | undefined;
182
+ serviceUrl?: string | undefined;
183
+ timestamp?: Date | undefined;
184
+ locale?: string | undefined;
185
+ localTimestamp?: Date | undefined;
186
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
187
+ from?: import("@microsoft/teams.api").Account | undefined;
188
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
189
+ relatesTo?: ConversationReference | undefined;
190
+ recipient?: import("@microsoft/teams.api").Account | undefined;
191
+ replyToId?: string | undefined;
192
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
193
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
194
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
195
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
196
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
197
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
198
+ isStreaming?: (() => boolean) | undefined;
199
+ } | {
200
+ id: string;
201
+ type: "event";
202
+ name?: "application/vnd.microsoft.meetingEnd" | undefined;
203
+ value?: {
204
+ id: string;
205
+ meetingType: string;
206
+ joinUrl: string;
207
+ title: string;
208
+ endTime: Date;
209
+ } | undefined;
210
+ serviceUrl?: string | undefined;
211
+ timestamp?: Date | undefined;
212
+ locale?: string | undefined;
213
+ localTimestamp?: Date | undefined;
214
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
215
+ from?: import("@microsoft/teams.api").Account | undefined;
216
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
217
+ relatesTo?: ConversationReference | undefined;
218
+ recipient?: import("@microsoft/teams.api").Account | undefined;
219
+ replyToId?: string | undefined;
220
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
221
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
222
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
223
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
224
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
225
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
226
+ isStreaming?: (() => boolean) | undefined;
227
+ } | {
228
+ id: string;
229
+ type: "event";
230
+ name?: "application/vnd.microsoft.meetingParticipantJoin" | undefined;
231
+ value?: {
232
+ members: {
233
+ user: import("@microsoft/teams.api").Account;
234
+ meeting: {
235
+ inMeeting: boolean;
236
+ role: string;
237
+ };
238
+ }[];
239
+ } | undefined;
240
+ serviceUrl?: string | undefined;
241
+ timestamp?: Date | undefined;
242
+ locale?: string | undefined;
243
+ localTimestamp?: Date | undefined;
244
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
245
+ from?: import("@microsoft/teams.api").Account | undefined;
246
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
247
+ relatesTo?: ConversationReference | undefined;
248
+ recipient?: import("@microsoft/teams.api").Account | undefined;
249
+ replyToId?: string | undefined;
250
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
251
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
252
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
253
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
254
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
255
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
256
+ isStreaming?: (() => boolean) | undefined;
257
+ } | {
258
+ id: string;
259
+ type: "event";
260
+ name?: "application/vnd.microsoft.meetingParticipantLeave" | undefined;
261
+ value?: {
262
+ members: {
263
+ user: import("@microsoft/teams.api").Account;
264
+ meeting: {
265
+ inMeeting: boolean;
266
+ role: string;
267
+ };
268
+ }[];
269
+ } | undefined;
270
+ serviceUrl?: string | undefined;
271
+ timestamp?: Date | undefined;
272
+ locale?: string | undefined;
273
+ localTimestamp?: Date | undefined;
274
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
275
+ from?: import("@microsoft/teams.api").Account | undefined;
276
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
277
+ relatesTo?: ConversationReference | undefined;
278
+ recipient?: import("@microsoft/teams.api").Account | undefined;
279
+ replyToId?: string | undefined;
280
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
281
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
282
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
283
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
284
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
285
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
286
+ isStreaming?: (() => boolean) | undefined;
287
+ } | {
288
+ id: string;
289
+ type: "invoke";
290
+ name?: "fileConsent/invoke" | undefined;
291
+ value?: import("@microsoft/teams.api").FileConsentCardResponse | undefined;
292
+ relatesTo?: ConversationReference | undefined;
293
+ serviceUrl?: string | undefined;
294
+ timestamp?: Date | undefined;
295
+ locale?: string | undefined;
296
+ localTimestamp?: Date | undefined;
297
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
298
+ from?: import("@microsoft/teams.api").Account | undefined;
299
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
300
+ recipient?: import("@microsoft/teams.api").Account | undefined;
301
+ replyToId?: string | undefined;
302
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
303
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
304
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
305
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
306
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
307
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
308
+ isStreaming?: (() => boolean) | undefined;
309
+ } | {
310
+ id: string;
311
+ type: "invoke";
312
+ name?: "actionableMessage/executeAction" | undefined;
313
+ value?: import("@microsoft/teams.api").O365ConnectorCardActionQuery | undefined;
314
+ relatesTo?: ConversationReference | undefined;
315
+ serviceUrl?: string | undefined;
316
+ timestamp?: Date | undefined;
317
+ locale?: string | undefined;
318
+ localTimestamp?: Date | undefined;
319
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
320
+ from?: import("@microsoft/teams.api").Account | undefined;
321
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
322
+ recipient?: import("@microsoft/teams.api").Account | undefined;
323
+ replyToId?: string | undefined;
324
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
325
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
326
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
327
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
328
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
329
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
330
+ isStreaming?: (() => boolean) | undefined;
331
+ } | {
332
+ id: string;
333
+ type: "invoke";
334
+ name?: "composeExtension/anonymousQueryLink" | undefined;
335
+ value?: import("@microsoft/teams.api").AppBasedLinkQuery | undefined;
336
+ relatesTo?: ConversationReference | undefined;
337
+ serviceUrl?: string | undefined;
338
+ timestamp?: Date | undefined;
339
+ locale?: string | undefined;
340
+ localTimestamp?: Date | undefined;
341
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
342
+ from?: import("@microsoft/teams.api").Account | undefined;
343
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
344
+ recipient?: import("@microsoft/teams.api").Account | undefined;
345
+ replyToId?: string | undefined;
346
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
347
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
348
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
349
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
350
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
351
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
352
+ isStreaming?: (() => boolean) | undefined;
353
+ } | {
354
+ id: string;
355
+ type: "invoke";
356
+ name?: "composeExtension/fetchTask" | undefined;
357
+ value?: import("@microsoft/teams.api").MessagingExtensionAction | undefined;
358
+ relatesTo?: ConversationReference | undefined;
359
+ serviceUrl?: string | undefined;
360
+ timestamp?: Date | undefined;
361
+ locale?: string | undefined;
362
+ localTimestamp?: Date | undefined;
363
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
364
+ from?: import("@microsoft/teams.api").Account | undefined;
365
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
366
+ recipient?: import("@microsoft/teams.api").Account | undefined;
367
+ replyToId?: string | undefined;
368
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
369
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
370
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
371
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
372
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
373
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
374
+ isStreaming?: (() => boolean) | undefined;
375
+ } | {
376
+ id: string;
377
+ type: "invoke";
378
+ name?: "composeExtension/onCardButtonClicked" | undefined;
379
+ value?: any;
380
+ relatesTo?: ConversationReference | undefined;
381
+ serviceUrl?: string | undefined;
382
+ timestamp?: Date | undefined;
383
+ locale?: string | undefined;
384
+ localTimestamp?: Date | undefined;
385
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
386
+ from?: import("@microsoft/teams.api").Account | undefined;
387
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
388
+ recipient?: import("@microsoft/teams.api").Account | undefined;
389
+ replyToId?: string | undefined;
390
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
391
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
392
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
393
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
394
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
395
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
396
+ isStreaming?: (() => boolean) | undefined;
397
+ } | {
398
+ id: string;
399
+ type: "invoke";
400
+ name?: "composeExtension/queryLink" | undefined;
401
+ value?: import("@microsoft/teams.api").AppBasedLinkQuery | undefined;
402
+ relatesTo?: ConversationReference | undefined;
403
+ serviceUrl?: string | undefined;
404
+ timestamp?: Date | undefined;
405
+ locale?: string | undefined;
406
+ localTimestamp?: Date | undefined;
407
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
408
+ from?: import("@microsoft/teams.api").Account | undefined;
409
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
410
+ recipient?: import("@microsoft/teams.api").Account | undefined;
411
+ replyToId?: string | undefined;
412
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
413
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
414
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
415
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
416
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
417
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
418
+ isStreaming?: (() => boolean) | undefined;
419
+ } | {
420
+ id: string;
421
+ type: "invoke";
422
+ name?: "composeExtension/querySettingUrl" | undefined;
423
+ value?: import("@microsoft/teams.api").MessagingExtensionQuery | undefined;
424
+ relatesTo?: ConversationReference | undefined;
425
+ serviceUrl?: string | undefined;
426
+ timestamp?: Date | undefined;
427
+ locale?: string | undefined;
428
+ localTimestamp?: Date | undefined;
429
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
430
+ from?: import("@microsoft/teams.api").Account | undefined;
431
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
432
+ recipient?: import("@microsoft/teams.api").Account | undefined;
433
+ replyToId?: string | undefined;
434
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
435
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
436
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
437
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
438
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
439
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
440
+ isStreaming?: (() => boolean) | undefined;
441
+ } | {
442
+ id: string;
443
+ type: "invoke";
444
+ name?: "composeExtension/query" | undefined;
445
+ value?: import("@microsoft/teams.api").MessagingExtensionQuery | undefined;
446
+ relatesTo?: ConversationReference | undefined;
447
+ serviceUrl?: string | undefined;
448
+ timestamp?: Date | undefined;
449
+ locale?: string | undefined;
450
+ localTimestamp?: Date | undefined;
451
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
452
+ from?: import("@microsoft/teams.api").Account | undefined;
453
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
454
+ recipient?: import("@microsoft/teams.api").Account | undefined;
455
+ replyToId?: string | undefined;
456
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
457
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
458
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
459
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
460
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
461
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
462
+ isStreaming?: (() => boolean) | undefined;
463
+ } | {
464
+ id: string;
465
+ type: "invoke";
466
+ name?: "composeExtension/selectItem" | undefined;
467
+ value?: any;
468
+ relatesTo?: ConversationReference | undefined;
469
+ serviceUrl?: string | undefined;
470
+ timestamp?: Date | undefined;
471
+ locale?: string | undefined;
472
+ localTimestamp?: Date | undefined;
473
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
474
+ from?: import("@microsoft/teams.api").Account | undefined;
475
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
476
+ recipient?: import("@microsoft/teams.api").Account | undefined;
477
+ replyToId?: string | undefined;
478
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
479
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
480
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
481
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
482
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
483
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
484
+ isStreaming?: (() => boolean) | undefined;
485
+ } | {
486
+ id: string;
487
+ type: "invoke";
488
+ name?: "composeExtension/setting" | undefined;
489
+ value?: import("@microsoft/teams.api").MessagingExtensionQuery | undefined;
490
+ relatesTo?: ConversationReference | undefined;
491
+ serviceUrl?: string | undefined;
492
+ timestamp?: Date | undefined;
493
+ locale?: string | undefined;
494
+ localTimestamp?: Date | undefined;
495
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
496
+ from?: import("@microsoft/teams.api").Account | undefined;
497
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
498
+ recipient?: import("@microsoft/teams.api").Account | undefined;
499
+ replyToId?: string | undefined;
500
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
501
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
502
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
503
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
504
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
505
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
506
+ isStreaming?: (() => boolean) | undefined;
507
+ } | {
508
+ id: string;
509
+ type: "invoke";
510
+ name?: "composeExtension/submitAction" | undefined;
511
+ value?: import("@microsoft/teams.api").MessagingExtensionAction | undefined;
512
+ relatesTo?: ConversationReference | undefined;
513
+ serviceUrl?: string | undefined;
514
+ timestamp?: Date | undefined;
515
+ locale?: string | undefined;
516
+ localTimestamp?: Date | undefined;
517
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
518
+ from?: import("@microsoft/teams.api").Account | undefined;
519
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
520
+ recipient?: import("@microsoft/teams.api").Account | undefined;
521
+ replyToId?: string | undefined;
522
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
523
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
524
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
525
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
526
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
527
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
528
+ isStreaming?: (() => boolean) | undefined;
529
+ } | {
530
+ id: string;
531
+ type: "invoke";
532
+ name?: "config/fetch" | undefined;
533
+ value?: any;
534
+ relatesTo?: ConversationReference | undefined;
535
+ serviceUrl?: string | undefined;
536
+ timestamp?: Date | undefined;
537
+ locale?: string | undefined;
538
+ localTimestamp?: Date | undefined;
539
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
540
+ from?: import("@microsoft/teams.api").Account | undefined;
541
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
542
+ recipient?: import("@microsoft/teams.api").Account | undefined;
543
+ replyToId?: string | undefined;
544
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
545
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
546
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
547
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
548
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
549
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
550
+ isStreaming?: (() => boolean) | undefined;
551
+ } | {
552
+ id: string;
553
+ type: "invoke";
554
+ name?: "config/submit" | undefined;
555
+ value?: any;
556
+ relatesTo?: ConversationReference | undefined;
557
+ serviceUrl?: string | undefined;
558
+ timestamp?: Date | undefined;
559
+ locale?: string | undefined;
560
+ localTimestamp?: Date | undefined;
561
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
562
+ from?: import("@microsoft/teams.api").Account | undefined;
563
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
564
+ recipient?: import("@microsoft/teams.api").Account | undefined;
565
+ replyToId?: string | undefined;
566
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
567
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
568
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
569
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
570
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
571
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
572
+ isStreaming?: (() => boolean) | undefined;
573
+ } | {
574
+ id: string;
575
+ type: "invoke";
576
+ name?: "tab/fetch" | undefined;
577
+ value?: import("@microsoft/teams.api").TabRequest | undefined;
578
+ relatesTo?: ConversationReference | undefined;
579
+ serviceUrl?: string | undefined;
580
+ timestamp?: Date | undefined;
581
+ locale?: string | undefined;
582
+ localTimestamp?: Date | undefined;
583
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
584
+ from?: import("@microsoft/teams.api").Account | undefined;
585
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
586
+ recipient?: import("@microsoft/teams.api").Account | undefined;
587
+ replyToId?: string | undefined;
588
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
589
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
590
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
591
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
592
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
593
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
594
+ isStreaming?: (() => boolean) | undefined;
595
+ } | {
596
+ id: string;
597
+ type: "invoke";
598
+ name?: "tab/submit" | undefined;
599
+ value?: import("@microsoft/teams.api").TabRequest | undefined;
600
+ relatesTo?: ConversationReference | undefined;
601
+ serviceUrl?: string | undefined;
602
+ timestamp?: Date | undefined;
603
+ locale?: string | undefined;
604
+ localTimestamp?: Date | undefined;
605
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
606
+ from?: import("@microsoft/teams.api").Account | undefined;
607
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
608
+ recipient?: import("@microsoft/teams.api").Account | undefined;
609
+ replyToId?: string | undefined;
610
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
611
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
612
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
613
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
614
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
615
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
616
+ isStreaming?: (() => boolean) | undefined;
617
+ } | {
618
+ id: string;
619
+ type: "invoke";
620
+ name?: "task/fetch" | undefined;
621
+ value?: import("@microsoft/teams.api").TaskModuleRequest | undefined;
622
+ relatesTo?: ConversationReference | undefined;
623
+ serviceUrl?: string | undefined;
624
+ timestamp?: Date | undefined;
625
+ locale?: string | undefined;
626
+ localTimestamp?: Date | undefined;
627
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
628
+ from?: import("@microsoft/teams.api").Account | undefined;
629
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
630
+ recipient?: import("@microsoft/teams.api").Account | undefined;
631
+ replyToId?: string | undefined;
632
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
633
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
634
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
635
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
636
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
637
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
638
+ isStreaming?: (() => boolean) | undefined;
639
+ } | {
640
+ id: string;
641
+ type: "invoke";
642
+ name?: "task/submit" | undefined;
643
+ value?: import("@microsoft/teams.api").TaskModuleRequest | undefined;
644
+ relatesTo?: ConversationReference | undefined;
645
+ serviceUrl?: string | undefined;
646
+ timestamp?: Date | undefined;
647
+ locale?: string | undefined;
648
+ localTimestamp?: Date | undefined;
649
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
650
+ from?: import("@microsoft/teams.api").Account | undefined;
651
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
652
+ recipient?: import("@microsoft/teams.api").Account | undefined;
653
+ replyToId?: string | undefined;
654
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
655
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
656
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
657
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
658
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
659
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
660
+ isStreaming?: (() => boolean) | undefined;
661
+ } | {
662
+ id: string;
663
+ type: "invoke";
664
+ name?: "message/submitAction" | undefined;
665
+ value?: {
666
+ actionName: "feedback";
667
+ actionValue: {
668
+ reaction: "like" | "dislike";
669
+ feedback: string;
670
+ };
671
+ } | undefined;
672
+ relatesTo?: ConversationReference | undefined;
673
+ serviceUrl?: string | undefined;
674
+ timestamp?: Date | undefined;
675
+ locale?: string | undefined;
676
+ localTimestamp?: Date | undefined;
677
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
678
+ from?: import("@microsoft/teams.api").Account | undefined;
679
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
680
+ recipient?: import("@microsoft/teams.api").Account | undefined;
681
+ replyToId?: string | undefined;
682
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
683
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
684
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
685
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
686
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
687
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
688
+ isStreaming?: (() => boolean) | undefined;
689
+ } | {
690
+ id: string;
691
+ type: "invoke";
692
+ name?: "handoff/action" | undefined;
693
+ value?: {
694
+ continuation: string;
695
+ } | undefined;
696
+ relatesTo?: ConversationReference | undefined;
697
+ serviceUrl?: string | undefined;
698
+ timestamp?: Date | undefined;
699
+ locale?: string | undefined;
700
+ localTimestamp?: Date | undefined;
701
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
702
+ from?: import("@microsoft/teams.api").Account | undefined;
703
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
704
+ recipient?: import("@microsoft/teams.api").Account | undefined;
705
+ replyToId?: string | undefined;
706
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
707
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
708
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
709
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
710
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
711
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
712
+ isStreaming?: (() => boolean) | undefined;
713
+ } | {
714
+ id: string;
715
+ type: "invoke";
716
+ name?: "signin/tokenExchange" | undefined;
717
+ value?: import("@microsoft/teams.api").SignInExchangeToken | undefined;
718
+ serviceUrl?: string | undefined;
719
+ timestamp?: Date | undefined;
720
+ locale?: string | undefined;
721
+ localTimestamp?: Date | undefined;
722
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
723
+ from?: import("@microsoft/teams.api").Account | undefined;
724
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
725
+ relatesTo?: ConversationReference | undefined;
726
+ recipient?: import("@microsoft/teams.api").Account | undefined;
727
+ replyToId?: string | undefined;
728
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
729
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
730
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
731
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
732
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
733
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
734
+ isStreaming?: (() => boolean) | undefined;
735
+ } | {
736
+ id: string;
737
+ type: "invoke";
738
+ name?: "signin/verifyState" | undefined;
739
+ value?: import("@microsoft/teams.api").SigninStateVerifyQuery | undefined;
740
+ serviceUrl?: string | undefined;
741
+ timestamp?: Date | undefined;
742
+ locale?: string | undefined;
743
+ localTimestamp?: Date | undefined;
744
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
745
+ from?: import("@microsoft/teams.api").Account | undefined;
746
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
747
+ relatesTo?: ConversationReference | undefined;
748
+ recipient?: import("@microsoft/teams.api").Account | undefined;
749
+ replyToId?: string | undefined;
750
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
751
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
752
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
753
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
754
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
755
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
756
+ isStreaming?: (() => boolean) | undefined;
757
+ } | {
758
+ id: string;
759
+ type: "invoke";
760
+ name?: "adaptiveCard/action" | undefined;
761
+ value?: import("@microsoft/teams.api").AdaptiveCardInvokeValue | undefined;
762
+ serviceUrl?: string | undefined;
763
+ timestamp?: Date | undefined;
764
+ locale?: string | undefined;
765
+ localTimestamp?: Date | undefined;
766
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
767
+ from?: import("@microsoft/teams.api").Account | undefined;
768
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
769
+ relatesTo?: ConversationReference | undefined;
770
+ recipient?: import("@microsoft/teams.api").Account | undefined;
771
+ replyToId?: string | undefined;
772
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
773
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
774
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
775
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
776
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
777
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
778
+ isStreaming?: (() => boolean) | undefined;
779
+ } | {
780
+ id: string;
781
+ type: "trace";
782
+ name?: string | undefined;
783
+ label?: string | undefined;
784
+ valueType?: string | undefined;
785
+ value?: any;
786
+ relatesTo?: ConversationReference | undefined;
787
+ serviceUrl?: string | undefined;
788
+ timestamp?: Date | undefined;
789
+ locale?: string | undefined;
790
+ localTimestamp?: Date | undefined;
791
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
792
+ from?: import("@microsoft/teams.api").Account | undefined;
793
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
794
+ recipient?: import("@microsoft/teams.api").Account | undefined;
795
+ replyToId?: string | undefined;
796
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
797
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
798
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
799
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
800
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
801
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
802
+ isStreaming?: (() => boolean) | undefined;
803
+ } | {
804
+ id: string;
805
+ type: "typing";
806
+ text?: string | undefined;
807
+ serviceUrl?: string | undefined;
808
+ timestamp?: Date | undefined;
809
+ locale?: string | undefined;
810
+ localTimestamp?: Date | undefined;
811
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
812
+ from?: import("@microsoft/teams.api").Account | undefined;
813
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
814
+ relatesTo?: ConversationReference | undefined;
815
+ recipient?: import("@microsoft/teams.api").Account | undefined;
816
+ replyToId?: string | undefined;
817
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
818
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
819
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
820
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
821
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
822
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
823
+ isStreaming?: (() => boolean) | undefined;
824
+ } | {
825
+ id: string;
826
+ type: "handoff";
827
+ serviceUrl?: string | undefined;
828
+ timestamp?: Date | undefined;
829
+ locale?: string | undefined;
830
+ localTimestamp?: Date | undefined;
831
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
832
+ from?: import("@microsoft/teams.api").Account | undefined;
833
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
834
+ relatesTo?: ConversationReference | undefined;
835
+ recipient?: import("@microsoft/teams.api").Account | undefined;
836
+ replyToId?: string | undefined;
837
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
838
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
839
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
840
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
841
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
842
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
843
+ isStreaming?: (() => boolean) | undefined;
844
+ } | {
845
+ id: string;
846
+ type: "conversationUpdate";
847
+ membersAdded?: import("@microsoft/teams.api").Account[] | undefined;
848
+ membersRemoved?: import("@microsoft/teams.api").Account[] | undefined;
849
+ topicName?: string | undefined;
850
+ historyDisclosed?: boolean | undefined;
851
+ channelData?: (import("@microsoft/teams.api").ChannelData & {
852
+ eventType: "channelCreated" | "channelDeleted" | "channelRenamed" | "channelRestored" | "teamArchived" | "teamDeleted" | "teamHardDeleted" | "teamRenamed" | "teamRestored" | "teamUnarchived";
853
+ }) | undefined;
854
+ serviceUrl?: string | undefined;
855
+ timestamp?: Date | undefined;
856
+ locale?: string | undefined;
857
+ localTimestamp?: Date | undefined;
858
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
859
+ from?: import("@microsoft/teams.api").Account | undefined;
860
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
861
+ relatesTo?: ConversationReference | undefined;
862
+ recipient?: import("@microsoft/teams.api").Account | undefined;
863
+ replyToId?: string | undefined;
864
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
865
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
866
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
867
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
868
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
869
+ isStreaming?: (() => boolean) | undefined;
870
+ } | {
871
+ id: string;
872
+ type: "endOfConversation";
873
+ code?: import("@microsoft/teams.api").EndOfConversationCode | undefined;
874
+ text?: string | undefined;
875
+ serviceUrl?: string | undefined;
876
+ timestamp?: Date | undefined;
877
+ locale?: string | undefined;
878
+ localTimestamp?: Date | undefined;
879
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
880
+ from?: import("@microsoft/teams.api").Account | undefined;
881
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
882
+ relatesTo?: ConversationReference | undefined;
883
+ recipient?: import("@microsoft/teams.api").Account | undefined;
884
+ replyToId?: string | undefined;
885
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
886
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
887
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
888
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
889
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
890
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
891
+ isStreaming?: (() => boolean) | undefined;
892
+ } | {
893
+ id: string;
894
+ type: "command";
895
+ name?: string | undefined;
896
+ value?: import("@microsoft/teams.api").CommandValue<any> | undefined;
897
+ serviceUrl?: string | undefined;
898
+ timestamp?: Date | undefined;
899
+ locale?: string | undefined;
900
+ localTimestamp?: Date | undefined;
901
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
902
+ from?: import("@microsoft/teams.api").Account | undefined;
903
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
904
+ relatesTo?: ConversationReference | undefined;
905
+ recipient?: import("@microsoft/teams.api").Account | undefined;
906
+ replyToId?: string | undefined;
907
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
908
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
909
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
910
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
911
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
912
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
913
+ isStreaming?: (() => boolean) | undefined;
914
+ } | {
915
+ id: string;
916
+ type: "commandResult";
917
+ name?: string | undefined;
918
+ value?: import("@microsoft/teams.api").CommandResultValue<any> | undefined;
919
+ serviceUrl?: string | undefined;
920
+ timestamp?: Date | undefined;
921
+ locale?: string | undefined;
922
+ localTimestamp?: Date | undefined;
923
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
924
+ from?: import("@microsoft/teams.api").Account | undefined;
925
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
926
+ relatesTo?: ConversationReference | undefined;
927
+ recipient?: import("@microsoft/teams.api").Account | undefined;
928
+ replyToId?: string | undefined;
929
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
930
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
931
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
932
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
933
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
934
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
935
+ isStreaming?: (() => boolean) | undefined;
936
+ } | {
937
+ id: string;
938
+ type: "installationUpdate";
939
+ action?: "add" | undefined;
940
+ serviceUrl?: string | undefined;
941
+ timestamp?: Date | undefined;
942
+ locale?: string | undefined;
943
+ localTimestamp?: Date | undefined;
944
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
945
+ from?: import("@microsoft/teams.api").Account | undefined;
946
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
947
+ relatesTo?: ConversationReference | undefined;
948
+ recipient?: import("@microsoft/teams.api").Account | undefined;
949
+ replyToId?: string | undefined;
950
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
951
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
952
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
953
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
954
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
955
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
956
+ isStreaming?: (() => boolean) | undefined;
957
+ } | {
958
+ id: string;
959
+ type: "installationUpdate";
960
+ action?: "remove" | undefined;
961
+ serviceUrl?: string | undefined;
962
+ timestamp?: Date | undefined;
963
+ locale?: string | undefined;
964
+ localTimestamp?: Date | undefined;
965
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
966
+ from?: import("@microsoft/teams.api").Account | undefined;
967
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
968
+ relatesTo?: ConversationReference | undefined;
969
+ recipient?: import("@microsoft/teams.api").Account | undefined;
970
+ replyToId?: string | undefined;
971
+ entities?: import("@microsoft/teams.api").Entity[] | undefined;
972
+ channelData?: import("@microsoft/teams.api").ChannelData | undefined;
973
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
974
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
975
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
976
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
977
+ isStreaming?: (() => boolean) | undefined;
978
+ }>;
979
+ createStream(ref: ConversationReference): IStreamer;
980
+ /**
981
+ * validates an incoming http request
982
+ * @param req the incoming http request
983
+ * @param res the http response
984
+ */
985
+ protected onRequest(req: express.Request, res: express.Response, _next: express.NextFunction): Promise<void>;
986
+ }