@types/office-js 1.0.262 → 1.0.265
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.
- office-js/README.md +1 -1
- office-js/index.d.ts +39 -27
- office-js/package.json +2 -2
office-js/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 21 Jun 2022 21:01:37 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js/index.d.ts
CHANGED
|
@@ -1035,7 +1035,7 @@ declare namespace Office {
|
|
|
1035
1035
|
*/
|
|
1036
1036
|
interface EventCompletedOptions {
|
|
1037
1037
|
/**
|
|
1038
|
-
*
|
|
1038
|
+
* When the completed method is used to signal completion of an event handler,
|
|
1039
1039
|
* this value indicates if the handled event should continue execution or be canceled.
|
|
1040
1040
|
* For example, an add-in that handles the `ItemSend` event can set `allowEvent` to `false` to cancel sending of the message.
|
|
1041
1041
|
*/
|
|
@@ -1459,9 +1459,15 @@ declare namespace Office {
|
|
|
1459
1459
|
*
|
|
1460
1460
|
* **Hosts**: Excel, OneNote, Outlook, PowerPoint, Word
|
|
1461
1461
|
*
|
|
1462
|
-
* **Important**: In Outlook, this API is not supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
|
|
1463
|
-
*
|
|
1464
1462
|
* **Requirement set**: {@link https://docs.microsoft.com/javascript/api/requirement-sets/common/identity-api-requirement-sets | IdentityAPI 1.3}
|
|
1463
|
+
*
|
|
1464
|
+
* **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
|
|
1465
|
+
*
|
|
1466
|
+
* **Note**: In an Outlook event-based activation add-in, this API is supported in Outlook on Windows starting from version 2111 (build 14701.20000).
|
|
1467
|
+
* To retrieve an access token in older builds, use
|
|
1468
|
+
* {@link https://docs.microsoft.com/javascript/api/office-runtime/officeruntime.auth?view=common-js#office-runtime-officeruntime-auth-getaccesstoken-member(1) |
|
|
1469
|
+
* OfficeRuntime.auth.getAccessToken} instead. For more information, see
|
|
1470
|
+
* {@link https://docs.microsoft.com/office/dev/add-ins/outlook/use-sso-in-event-based-activation | Enable single sign-on (SSO) in Outlook add-ins that use event-based activation}.
|
|
1465
1471
|
*
|
|
1466
1472
|
* @param options - Optional. Accepts an `AuthOptions` object to define sign-on behaviors.
|
|
1467
1473
|
* @returns Promise to the access token.
|
|
@@ -10616,9 +10622,9 @@ declare namespace Office {
|
|
|
10616
10622
|
*
|
|
10617
10623
|
* - Windows: 500 members
|
|
10618
10624
|
*
|
|
10619
|
-
* - Mac: 100 members
|
|
10625
|
+
* - Classic Mac UI: 100 members
|
|
10620
10626
|
*
|
|
10621
|
-
* -
|
|
10627
|
+
* - New Mac UI, web browser, Android: No limit
|
|
10622
10628
|
*
|
|
10623
10629
|
* *Compose mode*
|
|
10624
10630
|
*
|
|
@@ -10654,9 +10660,9 @@ declare namespace Office {
|
|
|
10654
10660
|
*
|
|
10655
10661
|
* - Windows: 500 members
|
|
10656
10662
|
*
|
|
10657
|
-
* - Mac: 100 members
|
|
10663
|
+
* - Classic Mac UI: 100 members
|
|
10658
10664
|
*
|
|
10659
|
-
* -
|
|
10665
|
+
* - New Mac UI, web browser, Android: No limit
|
|
10660
10666
|
*
|
|
10661
10667
|
* *Compose mode*
|
|
10662
10668
|
*
|
|
@@ -10928,9 +10934,9 @@ declare namespace Office {
|
|
|
10928
10934
|
*
|
|
10929
10935
|
* - Windows: 500 members
|
|
10930
10936
|
*
|
|
10931
|
-
* - Mac: 100 members
|
|
10937
|
+
* - Classic Mac UI: 100 members
|
|
10932
10938
|
*
|
|
10933
|
-
* -
|
|
10939
|
+
* - New Mac UI, web browser, Android: No limit
|
|
10934
10940
|
*
|
|
10935
10941
|
* @remarks
|
|
10936
10942
|
*
|
|
@@ -10976,9 +10982,9 @@ declare namespace Office {
|
|
|
10976
10982
|
*
|
|
10977
10983
|
* - Windows: 500 members
|
|
10978
10984
|
*
|
|
10979
|
-
* - Mac: 100 members
|
|
10985
|
+
* - Classic Mac UI: 100 members
|
|
10980
10986
|
*
|
|
10981
|
-
* -
|
|
10987
|
+
* - New Mac UI, web browser, Android: No limit
|
|
10982
10988
|
*
|
|
10983
10989
|
* @remarks
|
|
10984
10990
|
*
|
|
@@ -15551,11 +15557,11 @@ declare namespace Office {
|
|
|
15551
15557
|
*
|
|
15552
15558
|
* - Windows: 500 members
|
|
15553
15559
|
*
|
|
15554
|
-
* - Mac: 100 members
|
|
15560
|
+
* - Classic Mac UI: 100 members
|
|
15555
15561
|
*
|
|
15556
15562
|
* - Web browser: 20 members
|
|
15557
15563
|
*
|
|
15558
|
-
* -
|
|
15564
|
+
* - New Mac UI, Android: No limit
|
|
15559
15565
|
*
|
|
15560
15566
|
* @remarks
|
|
15561
15567
|
*
|
|
@@ -15849,11 +15855,11 @@ declare namespace Office {
|
|
|
15849
15855
|
*
|
|
15850
15856
|
* - Windows: 500 members
|
|
15851
15857
|
*
|
|
15852
|
-
* - Mac: 100 members
|
|
15858
|
+
* - Classic Mac UI: 100 members
|
|
15853
15859
|
*
|
|
15854
15860
|
* - Web browser: 20 members
|
|
15855
15861
|
*
|
|
15856
|
-
* -
|
|
15862
|
+
* - New Mac UI, Android: No limit
|
|
15857
15863
|
*
|
|
15858
15864
|
* @remarks
|
|
15859
15865
|
*
|
|
@@ -16802,9 +16808,9 @@ declare namespace Office {
|
|
|
16802
16808
|
* - Windows: 100 recipients.
|
|
16803
16809
|
* **Note**: Can call API repeatedly but the maximum number of recipients in the target field on the item is 500 recipients.
|
|
16804
16810
|
*
|
|
16805
|
-
* - Mac, web browser: 100 recipients
|
|
16811
|
+
* - Classic Mac UI, web browser: 100 recipients
|
|
16806
16812
|
*
|
|
16807
|
-
* -
|
|
16813
|
+
* - New Mac UI, Android: No limit
|
|
16808
16814
|
*
|
|
16809
16815
|
* @remarks
|
|
16810
16816
|
* [Api set: Mailbox 1.1]
|
|
@@ -16840,9 +16846,9 @@ declare namespace Office {
|
|
|
16840
16846
|
* - Windows: 100 recipients.
|
|
16841
16847
|
* **Note**: Can call API repeatedly but the maximum number of recipients in the target field on the item is 500 recipients.
|
|
16842
16848
|
*
|
|
16843
|
-
* - Mac, web browser: 100 recipients
|
|
16849
|
+
* - Classic Mac UI, web browser: 100 recipients
|
|
16844
16850
|
*
|
|
16845
|
-
* -
|
|
16851
|
+
* - New Mac UI, Android: No limit
|
|
16846
16852
|
*
|
|
16847
16853
|
* @remarks
|
|
16848
16854
|
* [Api set: Mailbox 1.1]
|
|
@@ -16866,9 +16872,9 @@ declare namespace Office {
|
|
|
16866
16872
|
* When the call completes, the `asyncResult.value` property will contain an array of {@link Office.EmailAddressDetails | EmailAddressDetails}
|
|
16867
16873
|
* objects. Collection size limits:
|
|
16868
16874
|
*
|
|
16869
|
-
* - Windows, Mac, web browser: 500 members
|
|
16875
|
+
* - Windows, classic Mac UI, web browser: 500 members
|
|
16870
16876
|
*
|
|
16871
|
-
* -
|
|
16877
|
+
* - New Mac UI, Android: No limit
|
|
16872
16878
|
*
|
|
16873
16879
|
* **Important**: In Outlook on the web, if a user created a new message by activating a contact's email address link from their contact or
|
|
16874
16880
|
* profile card, your add-in's `getAsync` call currently won't return a value in the `displayName` property of the
|
|
@@ -16894,9 +16900,9 @@ declare namespace Office {
|
|
|
16894
16900
|
* When the call completes, the `asyncResult.value` property will contain an array of {@link Office.EmailAddressDetails | EmailAddressDetails}
|
|
16895
16901
|
* objects. Collection size limits:
|
|
16896
16902
|
*
|
|
16897
|
-
* - Windows, Mac, web browser: 500 members
|
|
16903
|
+
* - Windows, classic Mac UI, web browser: 500 members
|
|
16898
16904
|
*
|
|
16899
|
-
* -
|
|
16905
|
+
* - New Mac UI, Android: No limit
|
|
16900
16906
|
*
|
|
16901
16907
|
* **Important**: In Outlook on the web, if a user created a new message by activating a contact's email address link from their contact or
|
|
16902
16908
|
* profile card, your add-in's `getAsync` call currently won't return a value in the `displayName` property of the
|
|
@@ -16929,9 +16935,12 @@ declare namespace Office {
|
|
|
16929
16935
|
*
|
|
16930
16936
|
* Maximum number that can be set:
|
|
16931
16937
|
*
|
|
16932
|
-
* - Windows
|
|
16938
|
+
* - Windows: 100 recipients.
|
|
16939
|
+
* **Note**: Can call API repeatedly but the maximum number of recipients in the target field on the item is 500 recipients.
|
|
16933
16940
|
*
|
|
16934
|
-
* -
|
|
16941
|
+
* - Classic Mac UI, web browser: 100 recipients
|
|
16942
|
+
*
|
|
16943
|
+
* - New Mac UI, Android: No limit
|
|
16935
16944
|
*
|
|
16936
16945
|
* @remarks
|
|
16937
16946
|
* [Api set: Mailbox 1.1]
|
|
@@ -16967,9 +16976,12 @@ declare namespace Office {
|
|
|
16967
16976
|
*
|
|
16968
16977
|
* Maximum number that can be set:
|
|
16969
16978
|
*
|
|
16970
|
-
* - Windows
|
|
16979
|
+
* - Windows: 100 recipients.
|
|
16980
|
+
* **Note**: Can call API repeatedly but the maximum number of recipients in the target field on the item is 500 recipients.
|
|
16981
|
+
*
|
|
16982
|
+
* - Classic Mac UI, web browser: 100 recipients
|
|
16971
16983
|
*
|
|
16972
|
-
* -
|
|
16984
|
+
* - New Mac UI, Android: No limit
|
|
16973
16985
|
*
|
|
16974
16986
|
* @remarks
|
|
16975
16987
|
* [Api set: Mailbox 1.1]
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.265",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "66794b598666aaf73e4945e997e0f4c749ff0c485018cde28493cff662255997",
|
|
49
49
|
"typeScriptVersion": "4.0"
|
|
50
50
|
}
|