@microsoft/teams-js 2.19.0-beta.0 → 2.19.0-beta.2
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 +36 -17
- package/dist/MicrosoftTeams.js +1182 -1720
- package/dist/MicrosoftTeams.js.map +1 -1
- package/dist/MicrosoftTeams.min.js +1 -1
- package/dist/MicrosoftTeams.min.js.map +1 -1
- package/package.json +1 -1
package/dist/MicrosoftTeams.d.ts
CHANGED
@@ -156,6 +156,14 @@ export interface FilePreviewParameters {
|
|
156
156
|
* Limited to Microsoft-internal use
|
157
157
|
*/
|
158
158
|
type: string;
|
159
|
+
/**
|
160
|
+
* @hidden
|
161
|
+
* The size of the file in bytes.
|
162
|
+
*
|
163
|
+
* @internal
|
164
|
+
* Limited to Microsoft-internal use
|
165
|
+
*/
|
166
|
+
sizeInBytes?: number;
|
159
167
|
/**
|
160
168
|
* @hidden
|
161
169
|
* A url to the source of the file, used to open the content in the user's default browser
|
@@ -628,7 +636,7 @@ export namespace externalAppAuthentication {
|
|
628
636
|
*/
|
629
637
|
interface IQueryMessageExtensionResponse {
|
630
638
|
responseType: InvokeResponseType.QueryMessageExtensionResponse;
|
631
|
-
composeExtension
|
639
|
+
composeExtension?: ComposeExtensionResponse;
|
632
640
|
}
|
633
641
|
/**
|
634
642
|
* @hidden
|
@@ -824,20 +832,6 @@ export namespace externalAppCardActions {
|
|
824
832
|
id: string;
|
825
833
|
data: string | Record<string, unknown>;
|
826
834
|
}
|
827
|
-
/**
|
828
|
-
* @hidden
|
829
|
-
* The configuration for Adaptive Card Action.Submit. This indicates which subtypes of actions are supported by the calling app.
|
830
|
-
* @internal
|
831
|
-
* Limited to Microsoft-internal use
|
832
|
-
*/
|
833
|
-
interface ICardActionsConfig {
|
834
|
-
enableImback: boolean;
|
835
|
-
enableInvoke: boolean;
|
836
|
-
enableDialog: boolean;
|
837
|
-
enableStageView: boolean;
|
838
|
-
enableSignIn: boolean;
|
839
|
-
enableO365Submit: boolean;
|
840
|
-
}
|
841
835
|
/**
|
842
836
|
*
|
843
837
|
* @hidden
|
@@ -870,7 +864,7 @@ export namespace externalAppCardActions {
|
|
870
864
|
* @param cardActionsConfig The card actions configuration. This indicates which subtypes should be handled by this API
|
871
865
|
* @returns Promise that resolves when the request is completed and rejects with ActionSubmitError if the request fails
|
872
866
|
*/
|
873
|
-
function processActionSubmit(appId: string, actionSubmitPayload: IAdaptiveCardActionSubmit
|
867
|
+
function processActionSubmit(appId: string, actionSubmitPayload: IAdaptiveCardActionSubmit): Promise<void>;
|
874
868
|
/**
|
875
869
|
* @beta
|
876
870
|
* @hidden
|
@@ -2426,6 +2420,7 @@ export namespace teams {
|
|
2426
2420
|
* Limited to Microsoft-internal use
|
2427
2421
|
*/
|
2428
2422
|
export namespace videoEffectsEx {
|
2423
|
+
const frameProcessingTimeoutInMs = 2000;
|
2429
2424
|
/**
|
2430
2425
|
* @hidden
|
2431
2426
|
* Error level when notifying errors to the host, the host will decide what to do acording to the error level.
|
@@ -6743,6 +6738,14 @@ export namespace meeting {
|
|
6743
6738
|
message?: string;
|
6744
6739
|
};
|
6745
6740
|
}
|
6741
|
+
/** Defines additional sharing options which can be provided to the {@link shareAppContentToStage} API. */
|
6742
|
+
interface IShareAppContentToStageOptions {
|
6743
|
+
/**
|
6744
|
+
* The protocol option for sharing app content to the meeting stage. Defaults to `Collaborative`.
|
6745
|
+
* See {@link SharingProtocol} for more information.
|
6746
|
+
*/
|
6747
|
+
sharingProtocol?: SharingProtocol;
|
6748
|
+
}
|
6746
6749
|
/** Represents app permission to share contents to meeting. */
|
6747
6750
|
interface IAppContentStageSharingCapabilities {
|
6748
6751
|
/**
|
@@ -7029,6 +7032,20 @@ export namespace meeting {
|
|
7029
7032
|
*/
|
7030
7033
|
GroupCall = "groupCall"
|
7031
7034
|
}
|
7035
|
+
/**
|
7036
|
+
* Represents the protocol option for sharing app content to the meeting stage.
|
7037
|
+
*/
|
7038
|
+
enum SharingProtocol {
|
7039
|
+
/**
|
7040
|
+
* The default protocol for sharing app content to stage. To learn more, visit https://aka.ms/teamsjs/shareAppContentToStage
|
7041
|
+
*/
|
7042
|
+
Collaborative = "Collaborative",
|
7043
|
+
/**
|
7044
|
+
* A read-only protocol for sharing app content to stage, which uses screen sharing in meetings. If provided, this protocol will open
|
7045
|
+
* the specified `contentUrl` passed to the {@link shareAppContentToStage} API in a new instance and screen share that instance.
|
7046
|
+
*/
|
7047
|
+
ScreenShare = "ScreenShare"
|
7048
|
+
}
|
7032
7049
|
/**
|
7033
7050
|
* Allows an app to get the incoming audio speaker setting for the meeting user.
|
7034
7051
|
* To learn more, visit https://aka.ms/teamsjs/getIncomingClientAudioState
|
@@ -7156,8 +7173,10 @@ export namespace meeting {
|
|
7156
7173
|
* `result` can either contain a true value, in case of a successful share or null when the share fails
|
7157
7174
|
* @param appContentUrl - is the input URL to be shared to the meeting stage.
|
7158
7175
|
* the URL origin must be included in your app manifest's `validDomains` field.
|
7176
|
+
* @param shareOptions - is an object that contains additional sharing options. If omitted, the default
|
7177
|
+
* sharing protocol will be `Collaborative`. See {@link IShareAppContentToStageOptions} for more information.
|
7159
7178
|
*/
|
7160
|
-
function shareAppContentToStage(callback: errorCallbackFunctionType, appContentUrl: string): void;
|
7179
|
+
function shareAppContentToStage(callback: errorCallbackFunctionType, appContentUrl: string, shareOptions?: IShareAppContentToStageOptions): void;
|
7161
7180
|
/**
|
7162
7181
|
* Allows an app to request whether the local user's app version has the required app manifest permissions to share content to meeting stage.
|
7163
7182
|
* To learn more, visit https://aka.ms/teamsjs/getAppContentStageSharingCapabilities
|