@microsoft/teams-js 2.0.0-beta.6-dev.11 → 2.0.0-beta.6-dev.14
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.
package/dist/MicrosoftTeams.d.ts
CHANGED
@@ -27,8 +27,6 @@ export namespace logs {
|
|
27
27
|
* Hide from docs
|
28
28
|
* --------
|
29
29
|
* Information about all members in a chat
|
30
|
-
*
|
31
|
-
* @alpha
|
32
30
|
*/
|
33
31
|
export interface ChatMembersInformation {
|
34
32
|
members: ThreadMember[];
|
@@ -38,8 +36,6 @@ export interface ChatMembersInformation {
|
|
38
36
|
* Hide from docs
|
39
37
|
* --------
|
40
38
|
* Information about a chat member
|
41
|
-
*
|
42
|
-
* @alpha
|
43
39
|
*/
|
44
40
|
export interface ThreadMember {
|
45
41
|
/**
|
@@ -48,16 +44,10 @@ export interface ThreadMember {
|
|
48
44
|
*/
|
49
45
|
upn: string;
|
50
46
|
}
|
51
|
-
/**
|
52
|
-
* @alpha
|
53
|
-
*/
|
54
47
|
export enum NotificationTypes {
|
55
48
|
fileDownloadStart = "fileDownloadStart",
|
56
49
|
fileDownloadComplete = "fileDownloadComplete"
|
57
50
|
}
|
58
|
-
/**
|
59
|
-
* @alpha
|
60
|
-
*/
|
61
51
|
export interface ShowNotificationParameters {
|
62
52
|
message: string;
|
63
53
|
notificationType: NotificationTypes;
|
@@ -65,8 +55,6 @@ export interface ShowNotificationParameters {
|
|
65
55
|
/**
|
66
56
|
* @hidden
|
67
57
|
* Hide from docs.
|
68
|
-
* ------
|
69
|
-
* @alpha
|
70
58
|
*/
|
71
59
|
export enum ViewerActionTypes {
|
72
60
|
view = "view",
|
@@ -77,8 +65,7 @@ export enum ViewerActionTypes {
|
|
77
65
|
* @hidden
|
78
66
|
* Hide from docs.
|
79
67
|
* ------
|
80
|
-
* User setting changes that can be subscribed to
|
81
|
-
* @alpha
|
68
|
+
* User setting changes that can be subscribed to
|
82
69
|
*/
|
83
70
|
export enum UserSettingTypes {
|
84
71
|
/**
|
@@ -95,8 +82,6 @@ export enum UserSettingTypes {
|
|
95
82
|
/**
|
96
83
|
* @hidden
|
97
84
|
* Hide from docs.
|
98
|
-
* ------
|
99
|
-
* @alpha
|
100
85
|
*/
|
101
86
|
export interface FilePreviewParameters {
|
102
87
|
/**
|
@@ -176,7 +161,6 @@ export interface FilePreviewParameters {
|
|
176
161
|
* Hide from docs
|
177
162
|
* --------
|
178
163
|
* Query parameters used when fetching team information
|
179
|
-
* @alpha
|
180
164
|
*/
|
181
165
|
export interface TeamInstanceParameters {
|
182
166
|
/**
|
@@ -190,7 +174,6 @@ export interface TeamInstanceParameters {
|
|
190
174
|
* Hide from docs
|
191
175
|
* --------
|
192
176
|
* Information on userJoined Teams
|
193
|
-
* @alpha
|
194
177
|
*/
|
195
178
|
export interface UserJoinedTeamsInformation {
|
196
179
|
/**
|
@@ -347,8 +330,6 @@ export interface ConversationResponse {
|
|
347
330
|
/**
|
348
331
|
* @hidden
|
349
332
|
* Namespace to interact with the conversational subEntities inside the tab
|
350
|
-
*
|
351
|
-
* @alpha
|
352
333
|
*/
|
353
334
|
export namespace conversations {
|
354
335
|
/**
|
@@ -793,9 +774,6 @@ export namespace legacy {
|
|
793
774
|
function isSupported(): boolean;
|
794
775
|
}
|
795
776
|
|
796
|
-
/**
|
797
|
-
* @alpha
|
798
|
-
*/
|
799
777
|
export namespace meetingRoom {
|
800
778
|
/**
|
801
779
|
* @hidden
|
@@ -967,9 +945,6 @@ export namespace notifications {
|
|
967
945
|
function isSupported(): boolean;
|
968
946
|
}
|
969
947
|
|
970
|
-
/**
|
971
|
-
* @alpha
|
972
|
-
*/
|
973
948
|
export namespace remoteCamera {
|
974
949
|
/**
|
975
950
|
* @hidden
|
@@ -1197,8 +1172,6 @@ export namespace remoteCamera {
|
|
1197
1172
|
/**
|
1198
1173
|
* @hidden
|
1199
1174
|
* Namespace to interact with the application entities specific part of the SDK.
|
1200
|
-
*
|
1201
|
-
* @alpha
|
1202
1175
|
*/
|
1203
1176
|
export namespace appEntity {
|
1204
1177
|
/**
|
@@ -1206,8 +1179,6 @@ export namespace appEntity {
|
|
1206
1179
|
* Hide from docs
|
1207
1180
|
* --------
|
1208
1181
|
* Information on an app entity
|
1209
|
-
*
|
1210
|
-
* @alpha
|
1211
1182
|
*/
|
1212
1183
|
interface AppEntity {
|
1213
1184
|
/**
|
@@ -1248,8 +1219,6 @@ export namespace appEntity {
|
|
1248
1219
|
* @param callback Callback that will be triggered once the app entity information is available.
|
1249
1220
|
* The callback takes two arguments: an SdkError in case something happened (i.e.
|
1250
1221
|
* no permissions to execute the API) and the app entity configuration, if available
|
1251
|
-
*
|
1252
|
-
* @alpha
|
1253
1222
|
*/
|
1254
1223
|
function selectAppEntity(threadId: string, categories: string[], subEntityId: string, callback: (sdkError?: SdkError, appEntity?: AppEntity) => void): void;
|
1255
1224
|
function isSupported(): boolean;
|
@@ -1582,6 +1551,7 @@ export enum HostClientType {
|
|
1582
1551
|
web = "web",
|
1583
1552
|
android = "android",
|
1584
1553
|
ios = "ios",
|
1554
|
+
ipados = "ipados",
|
1585
1555
|
/**
|
1586
1556
|
* @deprecated
|
1587
1557
|
* As of 2.0.0-beta.1, please use {@link teamsRoomsWindows} instead.
|
@@ -1653,8 +1623,6 @@ export const errorNotSupportedOnPlatform: SdkError;
|
|
1653
1623
|
|
1654
1624
|
/**
|
1655
1625
|
* Represents information about tabs for an app
|
1656
|
-
*
|
1657
|
-
* @alpha
|
1658
1626
|
*/
|
1659
1627
|
export interface TabInformation {
|
1660
1628
|
teamTabs: TabInstance[];
|
@@ -2720,9 +2688,6 @@ export namespace app {
|
|
2720
2688
|
function openLink(deepLink: string): Promise<void>;
|
2721
2689
|
}
|
2722
2690
|
|
2723
|
-
/**
|
2724
|
-
* @alpha
|
2725
|
-
*/
|
2726
2691
|
export namespace appInstallDialog {
|
2727
2692
|
interface OpenAppInstallDialogParams {
|
2728
2693
|
appId: string;
|
@@ -3231,9 +3196,6 @@ export namespace pages {
|
|
3231
3196
|
}
|
3232
3197
|
}
|
3233
3198
|
|
3234
|
-
/**
|
3235
|
-
* @alpha
|
3236
|
-
*/
|
3237
3199
|
export interface IAppWindow {
|
3238
3200
|
/**
|
3239
3201
|
* Send a message to the AppWindow.
|
@@ -3819,9 +3781,6 @@ export namespace media {
|
|
3819
3781
|
export {};
|
3820
3782
|
}
|
3821
3783
|
|
3822
|
-
/**
|
3823
|
-
* @alpha
|
3824
|
-
*/
|
3825
3784
|
export namespace location {
|
3826
3785
|
interface LocationProps {
|
3827
3786
|
/**
|
@@ -3897,7 +3856,7 @@ export namespace meeting {
|
|
3897
3856
|
/**
|
3898
3857
|
* @hidden
|
3899
3858
|
* Hide from docs
|
3900
|
-
* Data structure to represent a meeting details
|
3859
|
+
* Data structure to represent a meeting details
|
3901
3860
|
*
|
3902
3861
|
* @internal
|
3903
3862
|
*/
|
@@ -4078,7 +4037,7 @@ export namespace meeting {
|
|
4078
4037
|
*
|
4079
4038
|
* @param callback - Callback contains 2 parameters, error and meetingDetailsResponse.
|
4080
4039
|
* error can either contain an error of type SdkError, incase of an error, or null when get is successful
|
4081
|
-
* result can either contain a IMeetingDetailsResponse value,
|
4040
|
+
* result can either contain a IMeetingDetailsResponse value, in case of a successful get or null when the get fails
|
4082
4041
|
*
|
4083
4042
|
* @internal
|
4084
4043
|
*/
|
@@ -4208,9 +4167,6 @@ export namespace meeting {
|
|
4208
4167
|
function registerSpeakingStateChangeHandler(handler: (speakingState: ISpeakingState) => void): void;
|
4209
4168
|
}
|
4210
4169
|
|
4211
|
-
/**
|
4212
|
-
* @alpha
|
4213
|
-
*/
|
4214
4170
|
export namespace monetization {
|
4215
4171
|
/**
|
4216
4172
|
* @hidden
|
@@ -4261,9 +4217,6 @@ export namespace monetization {
|
|
4261
4217
|
function isSupported(): boolean;
|
4262
4218
|
}
|
4263
4219
|
|
4264
|
-
/**
|
4265
|
-
* @alpha
|
4266
|
-
*/
|
4267
4220
|
export namespace calendar {
|
4268
4221
|
function openCalendarItem(openCalendarItemParams: OpenCalendarItemParams): Promise<void>;
|
4269
4222
|
function composeMeeting(composeMeetingParams: ComposeMeetingParams): Promise<void>;
|
@@ -4280,9 +4233,6 @@ export namespace calendar {
|
|
4280
4233
|
}
|
4281
4234
|
}
|
4282
4235
|
|
4283
|
-
/**
|
4284
|
-
* @alpha
|
4285
|
-
*/
|
4286
4236
|
export namespace mail {
|
4287
4237
|
export function openMailItem(openMailItemParams: OpenMailItemParams): Promise<void>;
|
4288
4238
|
export function composeMail(composeMailParams: ComposeMailParams): Promise<void>;
|
@@ -4321,8 +4271,6 @@ export namespace mail {
|
|
4321
4271
|
|
4322
4272
|
/**
|
4323
4273
|
* Namespace containing the set of APIs that support Teams-specific functionalities.
|
4324
|
-
*
|
4325
|
-
* @alpha
|
4326
4274
|
*/
|
4327
4275
|
export namespace teamsCore {
|
4328
4276
|
/**
|
@@ -4355,9 +4303,6 @@ export namespace teamsCore {
|
|
4355
4303
|
function isSupported(): boolean;
|
4356
4304
|
}
|
4357
4305
|
|
4358
|
-
/**
|
4359
|
-
* @alpha
|
4360
|
-
*/
|
4361
4306
|
export namespace people {
|
4362
4307
|
/**
|
4363
4308
|
* Launches a people picker and allows the user to select one or more people from the list
|
@@ -4426,22 +4371,19 @@ export namespace people {
|
|
4426
4371
|
}
|
4427
4372
|
|
4428
4373
|
/**
|
4429
|
-
* Namespace to video extensibility of the SDK
|
4430
|
-
*
|
4431
|
-
* @alpha
|
4432
|
-
*
|
4374
|
+
* Namespace to video extensibility of the SDK
|
4433
4375
|
*/
|
4434
4376
|
export namespace video {
|
4435
4377
|
/**
|
4436
|
-
* Represents a video frame
|
4378
|
+
* Represents a video frame
|
4437
4379
|
*/
|
4438
4380
|
interface VideoFrame {
|
4439
4381
|
/**
|
4440
|
-
* Video frame width
|
4382
|
+
* Video frame width
|
4441
4383
|
*/
|
4442
4384
|
width: number;
|
4443
4385
|
/**
|
4444
|
-
* Video frame height
|
4386
|
+
* Video frame height
|
4445
4387
|
*/
|
4446
4388
|
height: number;
|
4447
4389
|
/**
|
@@ -4468,7 +4410,7 @@ export namespace video {
|
|
4468
4410
|
NV12 = 0
|
4469
4411
|
}
|
4470
4412
|
/**
|
4471
|
-
* Video frame configuration supplied to Teams to customize the generated video frame parameters, like format
|
4413
|
+
* Video frame configuration supplied to Teams to customize the generated video frame parameters, like format
|
4472
4414
|
*/
|
4473
4415
|
interface VideoFrameConfig {
|
4474
4416
|
/**
|
@@ -4481,7 +4423,7 @@ export namespace video {
|
|
4481
4423
|
*/
|
4482
4424
|
enum EffectChangeType {
|
4483
4425
|
/**
|
4484
|
-
* current video effect changed
|
4426
|
+
* current video effect changed
|
4485
4427
|
*/
|
4486
4428
|
EffectChanged = 0,
|
4487
4429
|
/**
|
@@ -4498,7 +4440,7 @@ export namespace video {
|
|
4498
4440
|
*/
|
4499
4441
|
type VideoEffectCallBack = (effectId: string | undefined) => void;
|
4500
4442
|
/**
|
4501
|
-
*
|
4443
|
+
* Register to read the video frames in Permissions section
|
4502
4444
|
*/
|
4503
4445
|
function registerForVideoFrame(frameCallback: VideoFrameCallback, config: VideoFrameConfig): void;
|
4504
4446
|
/**
|
@@ -4511,15 +4453,12 @@ export namespace video {
|
|
4511
4453
|
*/
|
4512
4454
|
function notifySelectedVideoEffectChanged(effectChangeType: EffectChangeType, effectId: string | undefined): void;
|
4513
4455
|
/**
|
4514
|
-
* Register the video effect callback, Teams client uses this to notify the video extension the new video effect will by applied
|
4456
|
+
* Register the video effect callback, Teams client uses this to notify the video extension the new video effect will by applied
|
4515
4457
|
*/
|
4516
4458
|
function registerForVideoEffect(callback: VideoEffectCallBack): void;
|
4517
4459
|
function isSupported(): boolean;
|
4518
4460
|
}
|
4519
4461
|
|
4520
|
-
/**
|
4521
|
-
* @alpha
|
4522
|
-
*/
|
4523
4462
|
export namespace sharing {
|
4524
4463
|
export const SharingAPIMessages: {
|
4525
4464
|
shareWebContent: string;
|
@@ -4628,30 +4567,27 @@ export namespace stageView {
|
|
4628
4567
|
function open(stageViewParams: StageViewParams, callback?: (sdkError?: SdkError) => void): void;
|
4629
4568
|
}
|
4630
4569
|
|
4631
|
-
/**
|
4632
|
-
* @alpha
|
4633
|
-
*/
|
4634
4570
|
export namespace call {
|
4635
|
-
|
4636
|
-
|
4637
|
-
|
4638
|
-
|
4639
|
-
|
4640
|
-
|
4641
|
-
|
4642
|
-
|
4643
|
-
|
4644
|
-
|
4645
|
-
|
4646
|
-
|
4647
|
-
|
4648
|
-
|
4649
|
-
|
4650
|
-
|
4651
|
-
|
4652
|
-
|
4653
|
-
|
4654
|
-
|
4571
|
+
enum CallModalities {
|
4572
|
+
Unknown = "unknown",
|
4573
|
+
Audio = "audio",
|
4574
|
+
Video = "video",
|
4575
|
+
VideoBasedScreenSharing = "videoBasedScreenSharing",
|
4576
|
+
Data = "data"
|
4577
|
+
}
|
4578
|
+
interface StartCallParams {
|
4579
|
+
targets: string[];
|
4580
|
+
requestedModalities?: CallModalities[];
|
4581
|
+
source?: string;
|
4582
|
+
}
|
4583
|
+
/**
|
4584
|
+
* Starts a call with other users
|
4585
|
+
*
|
4586
|
+
* @param startCallParams - Parameters for the call
|
4587
|
+
* @returns If the call is accepted
|
4588
|
+
*/
|
4589
|
+
function startCall(startCallParams: StartCallParams): Promise<boolean>;
|
4590
|
+
function isSupported(): boolean;
|
4655
4591
|
}
|
4656
4592
|
|
4657
4593
|
/**
|