@microsoft/teams-js 2.19.0-beta.3 → 2.19.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/MicrosoftTeams.d.ts +10 -70
- package/dist/MicrosoftTeams.js +285 -133
- 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/README.md
CHANGED
@@ -24,7 +24,7 @@ To install the stable [version](https://learn.microsoft.com/javascript/api/overv
|
|
24
24
|
|
25
25
|
### Production
|
26
26
|
|
27
|
-
You can reference these files directly [from here](https://res.cdn.office.net/teams-js/2.
|
27
|
+
You can reference these files directly [from here](https://res.cdn.office.net/teams-js/2.19.0/js/MicrosoftTeams.min.js) or point your package manager at them.
|
28
28
|
|
29
29
|
## Usage
|
30
30
|
|
@@ -45,13 +45,13 @@ Reference the library inside of your `.html` page using:
|
|
45
45
|
```html
|
46
46
|
<!-- Microsoft Teams JavaScript API (via CDN) -->
|
47
47
|
<script
|
48
|
-
src="https://res.cdn.office.net/teams-js/2.
|
49
|
-
integrity="sha384-
|
48
|
+
src="https://res.cdn.office.net/teams-js/2.19.0/js/MicrosoftTeams.min.js"
|
49
|
+
integrity="sha384-h+MoYshcGDPMLlXjHLt2dSgsgYyWQ+yHd4Ob13htDsu8trGPea8Vooa8+tLtRzU7"
|
50
50
|
crossorigin="anonymous"
|
51
51
|
></script>
|
52
52
|
|
53
53
|
<!-- Microsoft Teams JavaScript API (via npm) -->
|
54
|
-
<script src="node_modules/@microsoft/teams-js@2.
|
54
|
+
<script src="node_modules/@microsoft/teams-js@2.19.0/dist/MicrosoftTeams.min.js"></script>
|
55
55
|
|
56
56
|
<!-- Microsoft Teams JavaScript API (via local) -->
|
57
57
|
<script src="MicrosoftTeams.min.js"></script>
|
package/dist/MicrosoftTeams.d.ts
CHANGED
@@ -1,13 +1,5 @@
|
|
1
1
|
// Generated by dts-bundle v0.7.3
|
2
2
|
|
3
|
-
/**
|
4
|
-
* @hidden
|
5
|
-
* Namespace to interact with the logging part of the SDK.
|
6
|
-
* This object is used to send the app logs on demand to the host client
|
7
|
-
*
|
8
|
-
* @internal
|
9
|
-
* Limited to Microsoft-internal use
|
10
|
-
*/
|
11
3
|
export namespace logs {
|
12
4
|
/**
|
13
5
|
* @hidden
|
@@ -352,12 +344,6 @@ export function registerUserSettingsChangeHandler(settingTypes: UserSettingTypes
|
|
352
344
|
*/
|
353
345
|
export function openFilePreview(filePreviewParameters: FilePreviewParameters): void;
|
354
346
|
|
355
|
-
/**
|
356
|
-
* @hidden
|
357
|
-
*
|
358
|
-
* @internal
|
359
|
-
* Limited to Microsoft-internal use
|
360
|
-
*/
|
361
347
|
export interface OpenConversationRequest {
|
362
348
|
/**
|
363
349
|
* @hidden
|
@@ -889,14 +875,6 @@ export namespace externalAppCardActions {
|
|
889
875
|
function isSupported(): boolean;
|
890
876
|
}
|
891
877
|
|
892
|
-
/**
|
893
|
-
* @hidden
|
894
|
-
*
|
895
|
-
* Namespace to interact with the files specific part of the SDK.
|
896
|
-
*
|
897
|
-
* @internal
|
898
|
-
* Limited to Microsoft-internal use
|
899
|
-
*/
|
900
878
|
export namespace files {
|
901
879
|
/**
|
902
880
|
* @hidden
|
@@ -1653,12 +1631,6 @@ export namespace files {
|
|
1653
1631
|
export {};
|
1654
1632
|
}
|
1655
1633
|
|
1656
|
-
/**
|
1657
|
-
* @hidden
|
1658
|
-
*
|
1659
|
-
* @internal
|
1660
|
-
* Limited to Microsoft-internal use
|
1661
|
-
*/
|
1662
1634
|
export namespace meetingRoom {
|
1663
1635
|
/**
|
1664
1636
|
* @hidden
|
@@ -1863,13 +1835,6 @@ export namespace meetingRoom {
|
|
1863
1835
|
export {};
|
1864
1836
|
}
|
1865
1837
|
|
1866
|
-
/**
|
1867
|
-
* @hidden
|
1868
|
-
* Hidden from Docs
|
1869
|
-
*
|
1870
|
-
* @internal
|
1871
|
-
* Limited to Microsoft-internal use
|
1872
|
-
*/
|
1873
1838
|
export namespace notifications {
|
1874
1839
|
/**
|
1875
1840
|
* @hidden
|
@@ -4823,11 +4788,6 @@ export namespace barCode {
|
|
4823
4788
|
function isSupported(): boolean;
|
4824
4789
|
}
|
4825
4790
|
|
4826
|
-
/**
|
4827
|
-
* Describes information needed to start a chat
|
4828
|
-
*
|
4829
|
-
* @beta
|
4830
|
-
*/
|
4831
4791
|
interface OpenChatRequest {
|
4832
4792
|
/**
|
4833
4793
|
* An optional message used when initiating chat
|
@@ -7362,13 +7322,6 @@ export namespace meeting {
|
|
7362
7322
|
function updateMicState(micState: MicState): void;
|
7363
7323
|
}
|
7364
7324
|
|
7365
|
-
/**
|
7366
|
-
* @hidden
|
7367
|
-
* Hidden from Docs
|
7368
|
-
*
|
7369
|
-
* @internal
|
7370
|
-
* Limited to Microsoft-internal use
|
7371
|
-
*/
|
7372
7325
|
export namespace monetization {
|
7373
7326
|
/**
|
7374
7327
|
* @hidden
|
@@ -7645,9 +7598,6 @@ export namespace teamsCore {
|
|
7645
7598
|
function isSupported(): boolean;
|
7646
7599
|
}
|
7647
7600
|
|
7648
|
-
/**
|
7649
|
-
* Allows your app to add a people picker enabling users to search for and select people in their organization.
|
7650
|
-
*/
|
7651
7601
|
export namespace people {
|
7652
7602
|
/** Select people callback function type */
|
7653
7603
|
type selectPeopleCallbackFunctionType = (error: SdkError, people: PeoplePickerResult[]) => void;
|
@@ -8661,6 +8611,16 @@ export namespace appInitialization {
|
|
8661
8611
|
* @beta
|
8662
8612
|
*/
|
8663
8613
|
export namespace thirdPartyCloudStorage {
|
8614
|
+
/**
|
8615
|
+
* Interface to assemble file chunks
|
8616
|
+
* @beta
|
8617
|
+
*/
|
8618
|
+
interface AssembleAttachment {
|
8619
|
+
/** A number representing the sequence of the attachment in the file chunks. */
|
8620
|
+
sequence: number;
|
8621
|
+
/** A Blob object representing the data of the file chunks. */
|
8622
|
+
file: Blob;
|
8623
|
+
}
|
8664
8624
|
/**
|
8665
8625
|
* Object used to represent a file
|
8666
8626
|
* @beta
|
@@ -8732,26 +8692,6 @@ export namespace thirdPartyCloudStorage {
|
|
8732
8692
|
*/
|
8733
8693
|
fileName: string;
|
8734
8694
|
}
|
8735
|
-
/**
|
8736
|
-
* Interface to assemble file chunks
|
8737
|
-
* @beta
|
8738
|
-
*/
|
8739
|
-
interface AssembleAttachment {
|
8740
|
-
/** A number representing the sequence of the attachment in the file chunks. */
|
8741
|
-
sequence: number;
|
8742
|
-
/** A Blob object representing the data of the file chunks. */
|
8743
|
-
file: Blob;
|
8744
|
-
}
|
8745
|
-
/**
|
8746
|
-
* Interface to assemble files
|
8747
|
-
* @beta
|
8748
|
-
*/
|
8749
|
-
interface AttachmentListHelper {
|
8750
|
-
/** A string representing the MIME type of the file */
|
8751
|
-
fileType: string;
|
8752
|
-
/** An array of {@link AssembleAttachment | AssembleAttachment} objects representing files to be sent as attachment */
|
8753
|
-
assembleAttachment: AssembleAttachment[];
|
8754
|
-
}
|
8755
8695
|
/**
|
8756
8696
|
* Defines the callback function received from Third Party App
|
8757
8697
|
* @beta
|