@microsoft/teams-js 2.0.0-beta.6-dev.13 → 2.0.0-beta.6-dev.16

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.
@@ -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;
@@ -1654,8 +1623,6 @@ export const errorNotSupportedOnPlatform: SdkError;
1654
1623
 
1655
1624
  /**
1656
1625
  * Represents information about tabs for an app
1657
- *
1658
- * @alpha
1659
1626
  */
1660
1627
  export interface TabInformation {
1661
1628
  teamTabs: TabInstance[];
@@ -2721,9 +2688,6 @@ export namespace app {
2721
2688
  function openLink(deepLink: string): Promise<void>;
2722
2689
  }
2723
2690
 
2724
- /**
2725
- * @alpha
2726
- */
2727
2691
  export namespace appInstallDialog {
2728
2692
  interface OpenAppInstallDialogParams {
2729
2693
  appId: string;
@@ -3232,9 +3196,6 @@ export namespace pages {
3232
3196
  }
3233
3197
  }
3234
3198
 
3235
- /**
3236
- * @alpha
3237
- */
3238
3199
  export interface IAppWindow {
3239
3200
  /**
3240
3201
  * Send a message to the AppWindow.
@@ -3448,10 +3409,6 @@ export namespace menus {
3448
3409
  function isSupported(): boolean;
3449
3410
  }
3450
3411
 
3451
- /**
3452
- * @deprecated
3453
- * As of 2.0.0-beta.6, use media only for backwards compatibility of existing code.
3454
- */
3455
3412
  export namespace media {
3456
3413
  /**
3457
3414
  * Enum for file formats supported
@@ -3488,9 +3445,6 @@ export namespace media {
3488
3445
  name?: string;
3489
3446
  }
3490
3447
  /**
3491
- * @deprecated
3492
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
3493
- *
3494
3448
  * Launch camera, capture image or choose image from gallery and return the images as a File[] object to the callback.
3495
3449
  *
3496
3450
  * @params callback - Callback will be called with an @see SdkError if there are any.
@@ -3776,9 +3730,6 @@ export namespace media {
3776
3730
  file: Blob;
3777
3731
  }
3778
3732
  /**
3779
- * @deprecated
3780
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
3781
- *
3782
3733
  * Select an attachment using camera/gallery
3783
3734
  *
3784
3735
  * @param mediaInputs - The input params to customize the media to be selected
@@ -3786,10 +3737,8 @@ export namespace media {
3786
3737
  */
3787
3738
  export function selectMedia(mediaInputs: MediaInputs, callback: (error: SdkError, attachments: Media[]) => void): void;
3788
3739
  /**
3789
- * @deprecated
3790
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
3791
- *
3792
3740
  * View images using native image viewer
3741
+ *
3793
3742
  * @param uriList - list of URIs for images to be viewed - can be content URI or server URL. Supports up to 10 Images in a single call
3794
3743
  * @param callback - returns back error if encountered, returns null in case of success
3795
3744
  */
@@ -3806,10 +3755,8 @@ export namespace media {
3806
3755
  timeOutIntervalInSec?: number;
3807
3756
  }
3808
3757
  /**
3809
- * @deprecated
3810
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
3811
- *
3812
3758
  * Scan Barcode/QRcode using camera
3759
+ *
3813
3760
  * @remarks
3814
3761
  * Note: For desktop and web, this API is not supported. Callback will be resolved with ErrorCode.NotSupported.
3815
3762
  *
@@ -3820,9 +3767,6 @@ export namespace media {
3820
3767
  export {};
3821
3768
  }
3822
3769
 
3823
- /**
3824
- * @alpha
3825
- */
3826
3770
  export namespace location {
3827
3771
  interface LocationProps {
3828
3772
  /**
@@ -3890,10 +3834,6 @@ export namespace location {
3890
3834
  function isSupported(): boolean;
3891
3835
  }
3892
3836
 
3893
- /**
3894
- * @deprecated
3895
- * As of 2.0.0-beta.6, use meeting only for backwards compatibility of existing code.
3896
- */
3897
3837
  export namespace meeting {
3898
3838
  /**
3899
3839
  * @hidden
@@ -4044,9 +3984,6 @@ export namespace meeting {
4044
3984
  GroupCall = "groupCall"
4045
3985
  }
4046
3986
  /**
4047
- * @deprecated
4048
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4049
- *
4050
3987
  * Allows an app to get the incoming audio speaker setting for the meeting user
4051
3988
  *
4052
3989
  * @param callback - Callback contains 2 parameters, error and result.
@@ -4057,9 +3994,6 @@ export namespace meeting {
4057
3994
  */
4058
3995
  function getIncomingClientAudioState(callback: (error: SdkError | null, result: boolean | null) => void): void;
4059
3996
  /**
4060
- * @deprecated
4061
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4062
- *
4063
3997
  * Allows an app to toggle the incoming audio speaker setting for the meeting user from mute to unmute or vice-versa
4064
3998
  *
4065
3999
  * @param callback - Callback contains 2 parameters, error and result.
@@ -4069,9 +4003,6 @@ export namespace meeting {
4069
4003
  */
4070
4004
  function toggleIncomingClientAudio(callback: (error: SdkError | null, result: boolean | null) => void): void;
4071
4005
  /**
4072
- * @deprecated
4073
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4074
- *
4075
4006
  * @hidden
4076
4007
  * Hide from docs
4077
4008
  *
@@ -4085,9 +4016,6 @@ export namespace meeting {
4085
4016
  */
4086
4017
  function getMeetingDetails(callback: (error: SdkError | null, meetingDetails: IMeetingDetailsResponse | null) => void): void;
4087
4018
  /**
4088
- * @deprecated
4089
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4090
- *
4091
4019
  * @hidden
4092
4020
  * Allows an app to get the authentication token for the anonymous or guest user in the meeting
4093
4021
  *
@@ -4099,9 +4027,6 @@ export namespace meeting {
4099
4027
  */
4100
4028
  function getAuthenticationTokenForAnonymousUser(callback: (error: SdkError | null, authenticationTokenOfAnonymousUser: string | null) => void): void;
4101
4029
  /**
4102
- * @deprecated
4103
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4104
- *
4105
4030
  * Allows an app to get the state of the live stream in the current meeting
4106
4031
  *
4107
4032
  * @param callback - Callback contains 2 parameters: error and liveStreamState.
@@ -4110,9 +4035,6 @@ export namespace meeting {
4110
4035
  */
4111
4036
  function getLiveStreamState(callback: (error: SdkError | null, liveStreamState: LiveStreamState | null) => void): void;
4112
4037
  /**
4113
- * @deprecated
4114
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4115
- *
4116
4038
  * Allows an app to request the live streaming be started at the given streaming url
4117
4039
  *
4118
4040
  * @remarks
@@ -4124,9 +4046,6 @@ export namespace meeting {
4124
4046
  */
4125
4047
  function requestStartLiveStreaming(callback: (error: SdkError | null) => void, streamUrl: string, streamKey?: string): void;
4126
4048
  /**
4127
- * @deprecated
4128
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4129
- *
4130
4049
  * Allows an app to request the live streaming be stopped at the given streaming url
4131
4050
  *
4132
4051
  * @remarks
@@ -4136,9 +4055,6 @@ export namespace meeting {
4136
4055
  */
4137
4056
  function requestStopLiveStreaming(callback: (error: SdkError | null) => void): void;
4138
4057
  /**
4139
- * @deprecated
4140
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4141
- *
4142
4058
  * Registers a handler for changes to the live stream.
4143
4059
  *
4144
4060
  * @remarks
@@ -4148,9 +4064,6 @@ export namespace meeting {
4148
4064
  */
4149
4065
  function registerLiveStreamChangedHandler(handler: (liveStreamState: LiveStreamState) => void): void;
4150
4066
  /**
4151
- * @deprecated
4152
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4153
- *
4154
4067
  * Allows an app to share contents in the meeting
4155
4068
  *
4156
4069
  * @param callback - Callback contains 2 parameters, error and result.
@@ -4160,9 +4073,6 @@ export namespace meeting {
4160
4073
  */
4161
4074
  function shareAppContentToStage(callback: (error: SdkError | null, result: boolean | null) => void, appContentUrl: string): void;
4162
4075
  /**
4163
- * @deprecated
4164
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4165
- *
4166
4076
  * Provides information related app's in-meeting sharing capabilities
4167
4077
  *
4168
4078
  * @param callback - Callback contains 2 parameters, error and result.
@@ -4172,9 +4082,6 @@ export namespace meeting {
4172
4082
  */
4173
4083
  function getAppContentStageSharingCapabilities(callback: (error: SdkError | null, appContentStageSharingCapabilities: IAppContentStageSharingCapabilities | null) => void): void;
4174
4084
  /**
4175
- * @deprecated
4176
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4177
- *
4178
4085
  * @hidden
4179
4086
  * Hide from docs.
4180
4087
  * Terminates current stage sharing session in meeting
@@ -4185,9 +4092,6 @@ export namespace meeting {
4185
4092
  */
4186
4093
  function stopSharingAppContentToStage(callback: (error: SdkError | null, result: boolean | null) => void): void;
4187
4094
  /**
4188
- * @deprecated
4189
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4190
- *
4191
4095
  * Provides information related to current stage sharing state for app
4192
4096
  *
4193
4097
  * @param callback - Callback contains 2 parameters, error and result.
@@ -4197,9 +4101,6 @@ export namespace meeting {
4197
4101
  */
4198
4102
  function getAppContentStageSharingState(callback: (error: SdkError | null, appContentStageSharingState: IAppContentStageSharingState | null) => void): void;
4199
4103
  /**
4200
- * @deprecated
4201
- * As of 2.0.0-beta.6, use only for backwards compatibility of existing code.
4202
- *
4203
4104
  * Registers a handler for changes to paticipant speaking states. If any participant is speaking, isSpeakingDetected
4204
4105
  * will be true. If no participants are speaking, isSpeakingDetected will be false. Only one handler can be registered
4205
4106
  * at a time. A subsequent registration replaces an existing registration.
@@ -4209,9 +4110,6 @@ export namespace meeting {
4209
4110
  function registerSpeakingStateChangeHandler(handler: (speakingState: ISpeakingState) => void): void;
4210
4111
  }
4211
4112
 
4212
- /**
4213
- * @alpha
4214
- */
4215
4113
  export namespace monetization {
4216
4114
  /**
4217
4115
  * @hidden
@@ -4262,9 +4160,6 @@ export namespace monetization {
4262
4160
  function isSupported(): boolean;
4263
4161
  }
4264
4162
 
4265
- /**
4266
- * @alpha
4267
- */
4268
4163
  export namespace calendar {
4269
4164
  function openCalendarItem(openCalendarItemParams: OpenCalendarItemParams): Promise<void>;
4270
4165
  function composeMeeting(composeMeetingParams: ComposeMeetingParams): Promise<void>;
@@ -4281,9 +4176,6 @@ export namespace calendar {
4281
4176
  }
4282
4177
  }
4283
4178
 
4284
- /**
4285
- * @alpha
4286
- */
4287
4179
  export namespace mail {
4288
4180
  export function openMailItem(openMailItemParams: OpenMailItemParams): Promise<void>;
4289
4181
  export function composeMail(composeMailParams: ComposeMailParams): Promise<void>;
@@ -4322,8 +4214,6 @@ export namespace mail {
4322
4214
 
4323
4215
  /**
4324
4216
  * Namespace containing the set of APIs that support Teams-specific functionalities.
4325
- *
4326
- * @alpha
4327
4217
  */
4328
4218
  export namespace teamsCore {
4329
4219
  /**
@@ -4356,9 +4246,6 @@ export namespace teamsCore {
4356
4246
  function isSupported(): boolean;
4357
4247
  }
4358
4248
 
4359
- /**
4360
- * @alpha
4361
- */
4362
4249
  export namespace people {
4363
4250
  /**
4364
4251
  * Launches a people picker and allows the user to select one or more people from the list
@@ -4427,22 +4314,19 @@ export namespace people {
4427
4314
  }
4428
4315
 
4429
4316
  /**
4430
- * Namespace to video extensibility of the SDK.
4431
- *
4432
- * @alpha
4433
- *
4317
+ * Namespace to video extensibility of the SDK
4434
4318
  */
4435
4319
  export namespace video {
4436
4320
  /**
4437
- * Represents a video frame.
4321
+ * Represents a video frame
4438
4322
  */
4439
4323
  interface VideoFrame {
4440
4324
  /**
4441
- * Video frame width.
4325
+ * Video frame width
4442
4326
  */
4443
4327
  width: number;
4444
4328
  /**
4445
- * Video frame height.
4329
+ * Video frame height
4446
4330
  */
4447
4331
  height: number;
4448
4332
  /**
@@ -4469,7 +4353,7 @@ export namespace video {
4469
4353
  NV12 = 0
4470
4354
  }
4471
4355
  /**
4472
- * Video frame configuration supplied to Teams to customize the generated video frame parameters, like format.
4356
+ * Video frame configuration supplied to Teams to customize the generated video frame parameters, like format
4473
4357
  */
4474
4358
  interface VideoFrameConfig {
4475
4359
  /**
@@ -4482,7 +4366,7 @@ export namespace video {
4482
4366
  */
4483
4367
  enum EffectChangeType {
4484
4368
  /**
4485
- * current video effect changed.
4369
+ * current video effect changed
4486
4370
  */
4487
4371
  EffectChanged = 0,
4488
4372
  /**
@@ -4499,7 +4383,7 @@ export namespace video {
4499
4383
  */
4500
4384
  type VideoEffectCallBack = (effectId: string | undefined) => void;
4501
4385
  /**
4502
- * register to read the video frames in Permissions section.
4386
+ * Register to read the video frames in Permissions section
4503
4387
  */
4504
4388
  function registerForVideoFrame(frameCallback: VideoFrameCallback, config: VideoFrameConfig): void;
4505
4389
  /**
@@ -4512,15 +4396,12 @@ export namespace video {
4512
4396
  */
4513
4397
  function notifySelectedVideoEffectChanged(effectChangeType: EffectChangeType, effectId: string | undefined): void;
4514
4398
  /**
4515
- * Register the video effect callback, Teams client uses this to notify the video extension the new video effect will by applied.
4399
+ * Register the video effect callback, Teams client uses this to notify the video extension the new video effect will by applied
4516
4400
  */
4517
4401
  function registerForVideoEffect(callback: VideoEffectCallBack): void;
4518
4402
  function isSupported(): boolean;
4519
4403
  }
4520
4404
 
4521
- /**
4522
- * @alpha
4523
- */
4524
4405
  export namespace sharing {
4525
4406
  export const SharingAPIMessages: {
4526
4407
  shareWebContent: string;
@@ -4629,30 +4510,27 @@ export namespace stageView {
4629
4510
  function open(stageViewParams: StageViewParams, callback?: (sdkError?: SdkError) => void): void;
4630
4511
  }
4631
4512
 
4632
- /**
4633
- * @alpha
4634
- */
4635
4513
  export namespace call {
4636
- enum CallModalities {
4637
- Unknown = "unknown",
4638
- Audio = "audio",
4639
- Video = "video",
4640
- VideoBasedScreenSharing = "videoBasedScreenSharing",
4641
- Data = "data"
4642
- }
4643
- interface StartCallParams {
4644
- targets: string[];
4645
- requestedModalities?: CallModalities[];
4646
- source?: string;
4647
- }
4648
- /**
4649
- * Starts a call with other users
4650
- *
4651
- * @param startCallParams - Parameters for the call
4652
- * @returns If the call is accepted
4653
- */
4654
- function startCall(startCallParams: StartCallParams): Promise<boolean>;
4655
- function isSupported(): boolean;
4514
+ enum CallModalities {
4515
+ Unknown = "unknown",
4516
+ Audio = "audio",
4517
+ Video = "video",
4518
+ VideoBasedScreenSharing = "videoBasedScreenSharing",
4519
+ Data = "data"
4520
+ }
4521
+ interface StartCallParams {
4522
+ targets: string[];
4523
+ requestedModalities?: CallModalities[];
4524
+ source?: string;
4525
+ }
4526
+ /**
4527
+ * Starts a call with other users
4528
+ *
4529
+ * @param startCallParams - Parameters for the call
4530
+ * @returns If the call is accepted
4531
+ */
4532
+ function startCall(startCallParams: StartCallParams): Promise<boolean>;
4533
+ function isSupported(): boolean;
4656
4534
  }
4657
4535
 
4658
4536
  /**