@types/office-js-preview 1.0.709 → 1.0.710
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-preview/README.md +1 -1
- office-js-preview/index.d.ts +86 -161
- office-js-preview/package.json +3 -3
office-js-preview/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 24 Jun 2026 01:19:06 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -10822,7 +10822,7 @@ declare namespace Office {
|
|
|
10822
10822
|
* Specifies the status of Exchange Web Services (EWS) callback tokens or REST API tokens in an organization.
|
|
10823
10823
|
*
|
|
10824
10824
|
* @remarks
|
|
10825
|
-
* [Api set: Mailbox
|
|
10825
|
+
* [Api set: Mailbox 1.16]
|
|
10826
10826
|
*
|
|
10827
10827
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
10828
10828
|
*
|
|
@@ -10830,8 +10830,6 @@ declare namespace Office {
|
|
|
10830
10830
|
* If an Outlook add-in requires delegated user access or user identity, we recommend using MSAL (Microsoft Authentication Library) and nested app authentication (NAA).
|
|
10831
10831
|
* Exchange user identity tokens are still supported for Exchange on-premises. For more information, see
|
|
10832
10832
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/faq-nested-app-auth-outlook-legacy-tokens | Nested app authentication FAQ}.
|
|
10833
|
-
*
|
|
10834
|
-
* @beta
|
|
10835
10833
|
*/
|
|
10836
10834
|
enum TokenStatus {
|
|
10837
10835
|
/**
|
|
@@ -11151,7 +11149,8 @@ declare namespace Office {
|
|
|
11151
11149
|
/**
|
|
11152
11150
|
* Manages the {@link Office.SessionData | SessionData} of an item in Compose mode.
|
|
11153
11151
|
*
|
|
11154
|
-
* **Important**:
|
|
11152
|
+
* **Important**: In Outlook clients that support Mailbox 1.15 or earlier, the entire SessionData object for each mail item is limited to 50,000 characters per add-in.
|
|
11153
|
+
* In clients that support Mailbox 1.16 or later, the character limit per add-in is 2,621,440 characters.
|
|
11155
11154
|
*
|
|
11156
11155
|
* @remarks
|
|
11157
11156
|
* [Api set: Mailbox 1.11]
|
|
@@ -12564,13 +12563,13 @@ declare namespace Office {
|
|
|
12564
12563
|
* The `optionalAttendees` property returns an array that contains an {@link Office.EmailAddressDetails | EmailAddressDetails} object for
|
|
12565
12564
|
* each optional attendee to the meeting. The maximum number of attendees returned varies per Outlook client.
|
|
12566
12565
|
*
|
|
12567
|
-
* - Windows (
|
|
12566
|
+
* - Windows (classic - Mailbox 1.15 and earlier): 500 attendees
|
|
12568
12567
|
*
|
|
12569
|
-
* - Windows (classic -
|
|
12568
|
+
* - Web, Windows (new, classic - Mailbox 1.16 and later): 1,000 recipients
|
|
12570
12569
|
*
|
|
12571
12570
|
* - Android, classic Mac UI, iOS: 100 attendees
|
|
12572
12571
|
*
|
|
12573
|
-
* - New Mac UI
|
|
12572
|
+
* - New Mac UI: No limit
|
|
12574
12573
|
*
|
|
12575
12574
|
* @remarks
|
|
12576
12575
|
*
|
|
@@ -12614,13 +12613,13 @@ declare namespace Office {
|
|
|
12614
12613
|
* The `requiredAttendees` property returns an array that contains an {@link Office.EmailAddressDetails | EmailAddressDetails} object for
|
|
12615
12614
|
* each required attendee to the meeting. The maximum number of attendees returned varies per Outlook client.
|
|
12616
12615
|
*
|
|
12617
|
-
* - Windows (
|
|
12616
|
+
* - Windows (classic - Mailbox 1.15 and earlier): 500 attendees
|
|
12618
12617
|
*
|
|
12619
|
-
* - Windows (classic -
|
|
12618
|
+
* - Web, Windows (new, classic - Mailbox 1.16 and later): 1,000 recipients
|
|
12620
12619
|
*
|
|
12621
12620
|
* - Android, classic Mac UI, iOS: 100 attendees
|
|
12622
12621
|
*
|
|
12623
|
-
* - New Mac UI
|
|
12622
|
+
* - New Mac UI: No limit
|
|
12624
12623
|
*
|
|
12625
12624
|
* @remarks
|
|
12626
12625
|
*
|
|
@@ -13414,18 +13413,15 @@ declare namespace Office {
|
|
|
13414
13413
|
* Gets the content identifier of an inline attachment.
|
|
13415
13414
|
*
|
|
13416
13415
|
* @remarks
|
|
13416
|
+
* [Api set: Mailbox 1.16]
|
|
13417
13417
|
*
|
|
13418
|
-
* **Important**:
|
|
13419
|
-
*
|
|
13420
|
-
* - The `contentId` property is only supported in Outlook on the web, the new Outlook on Windows, and classic Outlook on Windows (preview).
|
|
13421
|
-
* To preview the `contentId` property in classic Outlook on Windows, your Outlook client must run Version 2510 (Build 19312.20000)
|
|
13422
|
-
* or later and must be on the Beta Channel. For more information, see {@link https://aka.ms/Msft365InsiderProgram | Microsoft 365 Insider Program}.
|
|
13423
|
-
*
|
|
13424
|
-
* - Changes to how inline images are represented in the HTML body of Outlook emails in Outlook on the web and the new Outlook on Windows released on November 15, 2025.
|
|
13418
|
+
* **Important**: Changes to how inline images are represented in the HTML body of Outlook emails in
|
|
13419
|
+
* Outlook on the web and the new Outlook on Windows released on November 15, 2025.
|
|
13425
13420
|
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
|
|
13426
13421
|
* Now, the image is represented by a content ID (`cid`) in the `src` attribute instead.
|
|
13427
|
-
* If you parse the attachment ID from the HTML editor or get the Base64-encoded value of the image from the URL in the
|
|
13428
|
-
*
|
|
13422
|
+
* If you parse the attachment ID from the HTML editor or get the Base64-encoded value of the image from the URL in the
|
|
13423
|
+
* `src` attribute, you must update your add-in's parsing logic. For more information, see
|
|
13424
|
+
* {@link https://devblogs.microsoft.com/microsoft365dev/changes-to-inline-images-in-outlook | Changes to inline image representation in Outlook on the web and new Outlook for Windows}.
|
|
13429
13425
|
*/
|
|
13430
13426
|
contentId: string;
|
|
13431
13427
|
/**
|
|
@@ -13517,18 +13513,15 @@ declare namespace Office {
|
|
|
13517
13513
|
* Gets the content identifier of an inline attachment.
|
|
13518
13514
|
*
|
|
13519
13515
|
* @remarks
|
|
13516
|
+
* [Api set: Mailbox 1.16]
|
|
13520
13517
|
*
|
|
13521
|
-
* **Important**:
|
|
13522
|
-
*
|
|
13523
|
-
* - The `contentId` property is only supported in Outlook on the web, the new Outlook on Windows, and classic Outlook on Windows (preview).
|
|
13524
|
-
* To preview the `contentId` property in classic Outlook on Windows, your Outlook client must run Version 2510 (Build 19312.20000)
|
|
13525
|
-
* or later and must be on the Beta Channel. For more information, see {@link https://aka.ms/Msft365InsiderProgram | Microsoft 365 Insider Program}.
|
|
13526
|
-
*
|
|
13527
|
-
* - Changes to how inline images are represented in the HTML body of Outlook emails in Outlook on the web and the new Outlook on Windows released on November 15, 2025.
|
|
13518
|
+
* **Important**: Changes to how inline images are represented in the HTML body of Outlook emails in
|
|
13519
|
+
* Outlook on the web and the new Outlook on Windows released on November 15, 2025.
|
|
13528
13520
|
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
|
|
13529
13521
|
* Now, the image is represented by a content ID (`cid`) in the `src` attribute instead.
|
|
13530
|
-
* If you parse the attachment ID from the HTML editor or get the Base64-encoded value of the image from the URL in the
|
|
13531
|
-
*
|
|
13522
|
+
* If you parse the attachment ID from the HTML editor or get the Base64-encoded value of the image from the URL in the
|
|
13523
|
+
* `src` attribute, you must update your add-in's parsing logic. For more information, see
|
|
13524
|
+
* {@link https://devblogs.microsoft.com/microsoft365dev/changes-to-inline-images-in-outlook | Changes to inline image representation in Outlook on the web and new Outlook for Windows}.
|
|
13532
13525
|
*/
|
|
13533
13526
|
contentId: string;
|
|
13534
13527
|
/**
|
|
@@ -14748,15 +14741,13 @@ declare namespace Office {
|
|
|
14748
14741
|
*
|
|
14749
14742
|
* @remarks
|
|
14750
14743
|
*
|
|
14751
|
-
* [Api set: Mailbox
|
|
14744
|
+
* [Api set: Mailbox 1.16]
|
|
14752
14745
|
*
|
|
14753
14746
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14754
14747
|
*
|
|
14755
14748
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14756
14749
|
*
|
|
14757
14750
|
* To learn how to develop an encryption add-in in Outlook, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/encryption-decryption | Create an encryption Outlook add-in}.
|
|
14758
|
-
*
|
|
14759
|
-
* @beta
|
|
14760
14751
|
*/
|
|
14761
14752
|
interface DecryptedMessageAttachment {
|
|
14762
14753
|
/**
|
|
@@ -14764,15 +14755,13 @@ declare namespace Office {
|
|
|
14764
14755
|
*
|
|
14765
14756
|
* @remarks
|
|
14766
14757
|
*
|
|
14767
|
-
* [Api set: Mailbox
|
|
14758
|
+
* [Api set: Mailbox 1.16]
|
|
14768
14759
|
*
|
|
14769
14760
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14770
14761
|
*
|
|
14771
14762
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14772
14763
|
*
|
|
14773
14764
|
* **Important**: Attachments of type `MailboxEnums.AttachmentType.Item` aren't currently supported.
|
|
14774
|
-
*
|
|
14775
|
-
* @beta
|
|
14776
14765
|
*/
|
|
14777
14766
|
attachmentType: MailboxEnums.AttachmentType;
|
|
14778
14767
|
/**
|
|
@@ -14780,15 +14769,13 @@ declare namespace Office {
|
|
|
14780
14769
|
*
|
|
14781
14770
|
* @remarks
|
|
14782
14771
|
*
|
|
14783
|
-
* [Api set: Mailbox
|
|
14772
|
+
* [Api set: Mailbox 1.16]
|
|
14784
14773
|
*
|
|
14785
14774
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14786
14775
|
*
|
|
14787
14776
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14788
14777
|
*
|
|
14789
14778
|
* **Important**: The `content` property isn't supported by attachments of type `MailboxEnums.AttachmentType.Cloud`.
|
|
14790
|
-
*
|
|
14791
|
-
* @beta
|
|
14792
14779
|
*/
|
|
14793
14780
|
content: string;
|
|
14794
14781
|
/**
|
|
@@ -14798,7 +14785,7 @@ declare namespace Office {
|
|
|
14798
14785
|
*
|
|
14799
14786
|
* @remarks
|
|
14800
14787
|
*
|
|
14801
|
-
* [Api set: Mailbox
|
|
14788
|
+
* [Api set: Mailbox 1.16]
|
|
14802
14789
|
*
|
|
14803
14790
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14804
14791
|
*
|
|
@@ -14808,8 +14795,6 @@ declare namespace Office {
|
|
|
14808
14795
|
* specified in the `src` attribute of the `<img>` element (for example, `<img width=96 height=96 id="Picture_1" src="cid:image001.png@01DC1E6F.FC7C7410">`).
|
|
14809
14796
|
* To easily identify and provide these inline attachments during decryption, we recommend saving the content IDs of inline attachments to the message header during encryption.
|
|
14810
14797
|
* Call `Office.context.mailbox.item.getAttachmentsAsync` to get the content ID of an inline attachment. Then, call `Office.context.mailbox.item.internetHeaders.setAsync` to save the ID to the header of the message.
|
|
14811
|
-
*
|
|
14812
|
-
* @beta
|
|
14813
14798
|
*/
|
|
14814
14799
|
contentId?: string;
|
|
14815
14800
|
/**
|
|
@@ -14818,13 +14803,11 @@ declare namespace Office {
|
|
|
14818
14803
|
*
|
|
14819
14804
|
* @remarks
|
|
14820
14805
|
*
|
|
14821
|
-
* [Api set: Mailbox
|
|
14806
|
+
* [Api set: Mailbox 1.16]
|
|
14822
14807
|
*
|
|
14823
14808
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14824
14809
|
*
|
|
14825
14810
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14826
|
-
*
|
|
14827
|
-
* @beta
|
|
14828
14811
|
*/
|
|
14829
14812
|
isInline?: boolean;
|
|
14830
14813
|
/**
|
|
@@ -14832,13 +14815,11 @@ declare namespace Office {
|
|
|
14832
14815
|
*
|
|
14833
14816
|
* @remarks
|
|
14834
14817
|
*
|
|
14835
|
-
* [Api set: Mailbox
|
|
14818
|
+
* [Api set: Mailbox 1.16]
|
|
14836
14819
|
*
|
|
14837
14820
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14838
14821
|
*
|
|
14839
14822
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14840
|
-
*
|
|
14841
|
-
* @beta
|
|
14842
14823
|
*/
|
|
14843
14824
|
name: string;
|
|
14844
14825
|
/**
|
|
@@ -14847,13 +14828,11 @@ declare namespace Office {
|
|
|
14847
14828
|
*
|
|
14848
14829
|
* @remarks
|
|
14849
14830
|
*
|
|
14850
|
-
* [Api set: Mailbox
|
|
14831
|
+
* [Api set: Mailbox 1.16]
|
|
14851
14832
|
*
|
|
14852
14833
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14853
14834
|
*
|
|
14854
14835
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14855
|
-
*
|
|
14856
|
-
* @beta
|
|
14857
14836
|
*/
|
|
14858
14837
|
path?: string;
|
|
14859
14838
|
}
|
|
@@ -14862,15 +14841,13 @@ declare namespace Office {
|
|
|
14862
14841
|
*
|
|
14863
14842
|
* @remarks
|
|
14864
14843
|
*
|
|
14865
|
-
* [Api set: Mailbox
|
|
14844
|
+
* [Api set: Mailbox 1.16]
|
|
14866
14845
|
*
|
|
14867
14846
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14868
14847
|
*
|
|
14869
14848
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14870
14849
|
*
|
|
14871
14850
|
* To learn how to develop an encryption add-in in Outlook, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/encryption-decryption | Create an encryption Outlook add-in}.
|
|
14872
|
-
*
|
|
14873
|
-
* @beta
|
|
14874
14851
|
*/
|
|
14875
14852
|
interface DecryptedMessageBody {
|
|
14876
14853
|
/**
|
|
@@ -14879,13 +14856,11 @@ declare namespace Office {
|
|
|
14879
14856
|
*
|
|
14880
14857
|
* @remarks
|
|
14881
14858
|
*
|
|
14882
|
-
* [Api set: Mailbox
|
|
14859
|
+
* [Api set: Mailbox 1.16]
|
|
14883
14860
|
*
|
|
14884
14861
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14885
14862
|
*
|
|
14886
14863
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14887
|
-
*
|
|
14888
|
-
* @beta
|
|
14889
14864
|
*/
|
|
14890
14865
|
coercionType: Office.CoercionType;
|
|
14891
14866
|
/**
|
|
@@ -14893,13 +14868,11 @@ declare namespace Office {
|
|
|
14893
14868
|
*
|
|
14894
14869
|
* @remarks
|
|
14895
14870
|
*
|
|
14896
|
-
* [Api set: Mailbox
|
|
14871
|
+
* [Api set: Mailbox 1.16]
|
|
14897
14872
|
*
|
|
14898
14873
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14899
14874
|
*
|
|
14900
14875
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14901
|
-
*
|
|
14902
|
-
* @beta
|
|
14903
14876
|
*/
|
|
14904
14877
|
content: string;
|
|
14905
14878
|
}
|
|
@@ -15034,22 +15007,16 @@ declare namespace Office {
|
|
|
15034
15007
|
*
|
|
15035
15008
|
* @remarks
|
|
15036
15009
|
*
|
|
15037
|
-
* [Api set: Mailbox
|
|
15010
|
+
* [Api set: Mailbox 1.16]
|
|
15038
15011
|
*
|
|
15039
15012
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
15040
15013
|
*
|
|
15041
15014
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
15042
15015
|
*
|
|
15043
|
-
* **Important**:
|
|
15044
|
-
*
|
|
15045
|
-
* - The `ews` property is available for preview in Outlook on the web and on Windows (new and classic (Version 2510, Build 19328.20000 and later)).
|
|
15046
|
-
*
|
|
15047
|
-
* - Legacy Exchange Online user identity tokens and callback tokens are no longer supported and are turned off across all Microsoft 365 tenants.
|
|
15016
|
+
* **Important**: Legacy Exchange Online user identity tokens and callback tokens are no longer supported and are turned off across all Microsoft 365 tenants.
|
|
15048
15017
|
* If an Outlook add-in requires delegated user access or user identity, we recommend using MSAL (Microsoft Authentication Library) and nested app authentication (NAA).
|
|
15049
15018
|
* Exchange user identity tokens are still supported for Exchange on-premises. For more information, see
|
|
15050
15019
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/faq-nested-app-auth-outlook-legacy-tokens | Nested app authentication FAQ}.
|
|
15051
|
-
*
|
|
15052
|
-
* @beta
|
|
15053
15020
|
*/
|
|
15054
15021
|
ews: Ews;
|
|
15055
15022
|
/**
|
|
@@ -15854,7 +15821,7 @@ declare namespace Office {
|
|
|
15854
15821
|
*
|
|
15855
15822
|
* @remarks
|
|
15856
15823
|
*
|
|
15857
|
-
* [Api set: Mailbox
|
|
15824
|
+
* [Api set: Mailbox 1.16]
|
|
15858
15825
|
*
|
|
15859
15826
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
15860
15827
|
*
|
|
@@ -15864,8 +15831,6 @@ declare namespace Office {
|
|
|
15864
15831
|
* If an Outlook add-in requires delegated user access or user identity, we recommend using MSAL (Microsoft Authentication Library) and nested app authentication (NAA).
|
|
15865
15832
|
* Exchange user identity tokens are still supported for Exchange on-premises. For more information, see
|
|
15866
15833
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/faq-nested-app-auth-outlook-legacy-tokens | Nested app authentication FAQ}.
|
|
15867
|
-
*
|
|
15868
|
-
* @beta
|
|
15869
15834
|
*/
|
|
15870
15835
|
interface Ews {
|
|
15871
15836
|
/**
|
|
@@ -15873,7 +15838,7 @@ declare namespace Office {
|
|
|
15873
15838
|
*
|
|
15874
15839
|
* @remarks
|
|
15875
15840
|
*
|
|
15876
|
-
* [Api set: Mailbox
|
|
15841
|
+
* [Api set: Mailbox 1.16]
|
|
15877
15842
|
*
|
|
15878
15843
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
15879
15844
|
*
|
|
@@ -15881,8 +15846,6 @@ declare namespace Office {
|
|
|
15881
15846
|
*
|
|
15882
15847
|
* **Important**:
|
|
15883
15848
|
*
|
|
15884
|
-
* - The `getTokenStatusAsync` method is available for preview in Outlook on the web and on Windows (new and classic (Version 2510, Build 19328.20000 and later)).
|
|
15885
|
-
*
|
|
15886
15849
|
* - The `getTokenStatusAsync` method isn't supported if you load an add-in in an Outlook.com or Gmail mailbox.
|
|
15887
15850
|
*
|
|
15888
15851
|
* - Calling the `getTokenStatusAsync` method in compose mode requires you to have saved the item. The `saveAsync` method requires a minimum permission level of **read/write item**.
|
|
@@ -15893,8 +15856,6 @@ declare namespace Office {
|
|
|
15893
15856
|
* The `asyncResult.value` property returns the token status, which can be `Office.MailboxEnums.TokenStatus.Enabled`, `Office.MailboxEnums.TokenStatus.Disabled`, or
|
|
15894
15857
|
* `Office.MailboxEnums.TokenStatus.Removed`. A `Office.MailboxEnums.TokenStatus.Removed` status indicates that the mailbox is hosted in an Exchange Online environment
|
|
15895
15858
|
* where legacy Exchange tokens are turned off and are no longer supported.
|
|
15896
|
-
*
|
|
15897
|
-
* @beta
|
|
15898
15859
|
*/
|
|
15899
15860
|
getTokenStatusAsync(options: Office.AsyncContextOptions & { isRest?: boolean }, callback: (asyncResult: Office.AsyncResult<MailboxEnums.TokenStatus>) => void): void;
|
|
15900
15861
|
/**
|
|
@@ -15902,7 +15863,7 @@ declare namespace Office {
|
|
|
15902
15863
|
*
|
|
15903
15864
|
* @remarks
|
|
15904
15865
|
*
|
|
15905
|
-
* [Api set: Mailbox
|
|
15866
|
+
* [Api set: Mailbox 1.16]
|
|
15906
15867
|
*
|
|
15907
15868
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
15908
15869
|
*
|
|
@@ -15910,8 +15871,6 @@ declare namespace Office {
|
|
|
15910
15871
|
*
|
|
15911
15872
|
* **Important**:
|
|
15912
15873
|
*
|
|
15913
|
-
* - The `getTokenStatusAsync` method is available for preview in Outlook on the web and on Windows (new and classic (Version 2510, Build 19328.20000 and later)).
|
|
15914
|
-
*
|
|
15915
15874
|
* - The `getTokenStatusAsync` method isn't supported if you load an add-in in an Outlook.com or Gmail mailbox.
|
|
15916
15875
|
*
|
|
15917
15876
|
* - Calling the `getTokenStatusAsync` method in compose mode requires you to have saved the item. The `saveAsync` method requires a minimum permission level of **read/write item**.
|
|
@@ -15920,8 +15879,6 @@ declare namespace Office {
|
|
|
15920
15879
|
* The `asyncResult.value` property returns the token status, which can be `Office.MailboxEnums.TokenStatus.Enabled`, `Office.MailboxEnums.TokenStatus.Disabled`, or
|
|
15921
15880
|
* `Office.MailboxEnums.TokenStatus.Removed`. A `Office.MailboxEnums.TokenStatus.Removed` status indicates that the mailbox is hosted in an Exchange Online environment
|
|
15922
15881
|
* where legacy Exchange tokens are turned off and are no longer supported.
|
|
15923
|
-
*
|
|
15924
|
-
* @beta
|
|
15925
15882
|
*/
|
|
15926
15883
|
getTokenStatusAsync(callback: (asyncResult: Office.AsyncResult<MailboxEnums.TokenStatus>) => void): void;
|
|
15927
15884
|
}
|
|
@@ -18425,24 +18382,7 @@ declare namespace Office {
|
|
|
18425
18382
|
/**
|
|
18426
18383
|
* Provides diagnostic information to an Outlook add-in.
|
|
18427
18384
|
*
|
|
18428
|
-
*
|
|
18429
|
-
*
|
|
18430
|
-
* - `hostName` (string): A string that represents the name of the Office application.
|
|
18431
|
-
* It should be one of the following values: `Outlook`, `newOutlookWindows`, `OutlookWebApp`, `OutlookIOS`, or `OutlookAndroid`.
|
|
18432
|
-
* **Note**: The "Outlook" value is returned for Outlook on Windows (classic) and on Mac.
|
|
18433
|
-
*
|
|
18434
|
-
* - `hostVersion` (string): A string that represents the version of either the Office application or the Exchange Server (e.g., "15.0.468.0").
|
|
18435
|
-
* If the mail add-in is running in Outlook on Windows (classic), on Mac, or on mobile devices, the `hostVersion` property returns the version of the
|
|
18436
|
-
* Outlook client. In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
|
|
18437
|
-
* the property returns the version of the Exchange Server.
|
|
18438
|
-
*
|
|
18439
|
-
* - `OWAView` (`MailboxEnums.OWAView` or string): An enum (or string literal) that represents the current view of Outlook on the web.
|
|
18440
|
-
* If the application is not Outlook on the web, then accessing this property results in undefined.
|
|
18441
|
-
* Outlook on the web has three views (`OneColumn` - displayed when the screen is narrow, `TwoColumns` - displayed when the screen is wider,
|
|
18442
|
-
* and `ThreeColumns` - displayed when the screen is wide) that correspond to the width of the screen and the window, and the number of columns
|
|
18443
|
-
* that can be displayed.
|
|
18444
|
-
*
|
|
18445
|
-
* More information is under {@link Office.Diagnostics}.
|
|
18385
|
+
* For information about the diagnostic properties you can access, see {@link Office.Diagnostics}.
|
|
18446
18386
|
*
|
|
18447
18387
|
* @remarks
|
|
18448
18388
|
*
|
|
@@ -19531,7 +19471,7 @@ declare namespace Office {
|
|
|
19531
19471
|
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based activation}, including
|
|
19532
19472
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/onmessagesend-onappointmentsend-events | Smart Alerts}, the
|
|
19533
19473
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | integrated spam-reporting feature}, or
|
|
19534
|
-
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/encryption-decryption | decryption}
|
|
19474
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/encryption-decryption | decryption}.
|
|
19535
19475
|
* It allows the add-in to signify to the Outlook client that it has completed processing an event.
|
|
19536
19476
|
*
|
|
19537
19477
|
* @remarks
|
|
@@ -19545,6 +19485,8 @@ declare namespace Office {
|
|
|
19545
19485
|
*
|
|
19546
19486
|
* - Support for the integrated spam-reporting feature was introduced in Mailbox 1.14.
|
|
19547
19487
|
*
|
|
19488
|
+
* - Support for the decryption feature was introduced in Mailbox 1.16.
|
|
19489
|
+
*
|
|
19548
19490
|
* - For information about the Event object used by the {@link https://learn.microsoft.com/office/dev/add-ins/design/add-in-commands | function command button},
|
|
19549
19491
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send add-in},
|
|
19550
19492
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/online-meeting | online-meeting provider add-in}, and
|
|
@@ -19553,7 +19495,7 @@ declare namespace Office {
|
|
|
19553
19495
|
*/
|
|
19554
19496
|
interface MailboxEvent {
|
|
19555
19497
|
/**
|
|
19556
|
-
* Indicates that the event-based, spam-reporting, or decryption
|
|
19498
|
+
* Indicates that the event-based, spam-reporting, or decryption add-in has completed processing an event.
|
|
19557
19499
|
*
|
|
19558
19500
|
* @remarks
|
|
19559
19501
|
* [Api set: Mailbox 1.10]
|
|
@@ -19568,6 +19510,8 @@ declare namespace Office {
|
|
|
19568
19510
|
*
|
|
19569
19511
|
* - Support to assign a `SmartAlertsEventCompletedOptions` object to the `options` parameter was introduced in Mailbox 1.12.
|
|
19570
19512
|
*
|
|
19513
|
+
* - Support for the decryption feature was introduced in Mailbox 1.16.
|
|
19514
|
+
*
|
|
19571
19515
|
* @param options - Optional. An object that specifies the behavior of an event-based, spam-reporting, or decryption add-in when it completes processing an event.
|
|
19572
19516
|
*/
|
|
19573
19517
|
completed(options?: SmartAlertsEventCompletedOptions | SpamReportingEventCompletedOptions | MessageDecryptEventCompletedOptions): void;
|
|
@@ -20034,7 +19978,8 @@ declare namespace Office {
|
|
|
20034
19978
|
/**
|
|
20035
19979
|
* Manages the {@link Office.SessionData | SessionData} of an item in Compose mode.
|
|
20036
19980
|
*
|
|
20037
|
-
* **Important**:
|
|
19981
|
+
* **Important**: In Outlook clients that support Mailbox 1.15 or earlier, the entire SessionData object for each mail item is limited to 50,000 characters per add-in.
|
|
19982
|
+
* In clients that support Mailbox 1.16 or later, the character limit per add-in is 2,621,440 characters.
|
|
20038
19983
|
*
|
|
20039
19984
|
* @remarks
|
|
20040
19985
|
* [Api set: Mailbox 1.11]
|
|
@@ -21521,13 +21466,11 @@ declare namespace Office {
|
|
|
21521
21466
|
*
|
|
21522
21467
|
* @remarks
|
|
21523
21468
|
*
|
|
21524
|
-
* [Api set: Mailbox
|
|
21469
|
+
* [Api set: Mailbox 1.16]
|
|
21525
21470
|
*
|
|
21526
21471
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
21527
21472
|
*
|
|
21528
21473
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
21529
|
-
*
|
|
21530
|
-
* @beta
|
|
21531
21474
|
*/
|
|
21532
21475
|
interface MessageDecryptEventCompletedOptions {
|
|
21533
21476
|
/**
|
|
@@ -21536,13 +21479,11 @@ declare namespace Office {
|
|
|
21536
21479
|
*
|
|
21537
21480
|
* @remarks
|
|
21538
21481
|
*
|
|
21539
|
-
* [Api set: Mailbox
|
|
21482
|
+
* [Api set: Mailbox 1.16]
|
|
21540
21483
|
*
|
|
21541
21484
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
21542
21485
|
*
|
|
21543
21486
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
21544
|
-
*
|
|
21545
|
-
* @beta
|
|
21546
21487
|
*/
|
|
21547
21488
|
allowEvent: boolean;
|
|
21548
21489
|
/**
|
|
@@ -21551,13 +21492,11 @@ declare namespace Office {
|
|
|
21551
21492
|
*
|
|
21552
21493
|
* @remarks
|
|
21553
21494
|
*
|
|
21554
|
-
* [Api set: Mailbox
|
|
21495
|
+
* [Api set: Mailbox 1.16]
|
|
21555
21496
|
*
|
|
21556
21497
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
21557
21498
|
*
|
|
21558
21499
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
21559
|
-
*
|
|
21560
|
-
* @beta
|
|
21561
21500
|
*/
|
|
21562
21501
|
attachments?: DecryptedMessageAttachment[];
|
|
21563
21502
|
/**
|
|
@@ -21566,7 +21505,7 @@ declare namespace Office {
|
|
|
21566
21505
|
*
|
|
21567
21506
|
* @remarks
|
|
21568
21507
|
*
|
|
21569
|
-
* [Api set: Mailbox
|
|
21508
|
+
* [Api set: Mailbox 1.16]
|
|
21570
21509
|
*
|
|
21571
21510
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
21572
21511
|
*
|
|
@@ -21578,8 +21517,6 @@ declare namespace Office {
|
|
|
21578
21517
|
* If you create a JSON string using `JSON.stringify()` and assign it to the `contextData` property, you must parse the string using `JSON.parse()` once you retrieve it.
|
|
21579
21518
|
*
|
|
21580
21519
|
* - You can use the `contextData` property to store custom internet headers to decrypt messages in reply and forward scenarios.
|
|
21581
|
-
*
|
|
21582
|
-
* @beta
|
|
21583
21520
|
*/
|
|
21584
21521
|
contextData?: any;
|
|
21585
21522
|
/**
|
|
@@ -21588,15 +21525,13 @@ declare namespace Office {
|
|
|
21588
21525
|
*
|
|
21589
21526
|
* @remarks
|
|
21590
21527
|
*
|
|
21591
|
-
* [Api set: Mailbox
|
|
21528
|
+
* [Api set: Mailbox 1.16]
|
|
21592
21529
|
*
|
|
21593
21530
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
21594
21531
|
*
|
|
21595
21532
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
21596
21533
|
*
|
|
21597
21534
|
* **Important**: If the `emailBody` property isn't specified, an empty body is returned.
|
|
21598
|
-
*
|
|
21599
|
-
* @beta
|
|
21600
21535
|
*/
|
|
21601
21536
|
emailBody?: DecryptedMessageBody;
|
|
21602
21537
|
}
|
|
@@ -21843,13 +21778,13 @@ declare namespace Office {
|
|
|
21843
21778
|
* The `cc` property returns an array that contains an {@link Office.EmailAddressDetails | EmailAddressDetails} object for
|
|
21844
21779
|
* each recipient listed on the **Cc** line of the message. The maximum number of recipients returned varies per Outlook client.
|
|
21845
21780
|
*
|
|
21846
|
-
* - Windows (classic): 500 recipients
|
|
21781
|
+
* - Windows (classic - Mailbox 1.15 and earlier): 500 recipients
|
|
21847
21782
|
*
|
|
21848
|
-
* - Windows (classic -
|
|
21783
|
+
* - Windows (classic - Mailbox 1.16 and later): 1,000 recipients
|
|
21849
21784
|
*
|
|
21850
21785
|
* - Android, classic Mac UI, iOS: 100 recipients
|
|
21851
21786
|
*
|
|
21852
|
-
* - Web browser, Windows (new): 20 recipients (collapsed view),
|
|
21787
|
+
* - Web browser, Windows (new): 20 recipients (collapsed view), 1,000 recipients (expanded view)
|
|
21853
21788
|
*
|
|
21854
21789
|
* - New Mac UI: No limit
|
|
21855
21790
|
*
|
|
@@ -22186,13 +22121,13 @@ declare namespace Office {
|
|
|
22186
22121
|
* The `to` property returns an array that contains an {@link Office.EmailAddressDetails | EmailAddressDetails} object for
|
|
22187
22122
|
* each recipient listed on the **To** line of the message. The maximum number of recipients returned varies per Outlook client.
|
|
22188
22123
|
*
|
|
22189
|
-
* - Windows (classic): 500 recipients
|
|
22124
|
+
* - Windows (classic - Mailbox 1.15 and earlier): 500 recipients
|
|
22190
22125
|
*
|
|
22191
|
-
* - Windows (classic -
|
|
22126
|
+
* - Windows (classic - Mailbox 1.16 and later): 1,000 recipients
|
|
22192
22127
|
*
|
|
22193
22128
|
* - Android, classic Mac UI, iOS: 100 recipients
|
|
22194
22129
|
*
|
|
22195
|
-
* - Web browser, Windows (new): 20 recipients (collapsed view),
|
|
22130
|
+
* - Web browser, Windows (new): 20 recipients (collapsed view), 1,000 recipients (expanded view)
|
|
22196
22131
|
*
|
|
22197
22132
|
* - New Mac UI: No limit
|
|
22198
22133
|
*
|
|
@@ -23482,16 +23417,14 @@ declare namespace Office {
|
|
|
23482
23417
|
*
|
|
23483
23418
|
* **Important**:
|
|
23484
23419
|
*
|
|
23485
|
-
* With the `addAsync` method, you can add a maximum of 100 recipients to a mail item in Outlook on the web, on Windows
|
|
23420
|
+
* With the `addAsync` method, you can add a maximum of 100 recipients to a mail item at a time in Outlook on the web, on Windows
|
|
23486
23421
|
* ({@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new} and classic), on Mac (classic UI), on Android, and on iOS.
|
|
23487
23422
|
* However, take note of the following:
|
|
23488
23423
|
*
|
|
23489
|
-
* - In Outlook on
|
|
23490
|
-
*
|
|
23491
|
-
*
|
|
23492
|
-
*
|
|
23493
|
-
* Then, join the {@link https://techcommunity.microsoft.com/kb/microsoft-365-insider-kb/join-the-microsoft-365-insider-program-on-windows/4401748 | Microsoft 365 Insider program} and select the
|
|
23494
|
-
* **Beta Channel** option to access Office beta builds.
|
|
23424
|
+
* - In classic Outlook on Windows (Mailbox 1.15 and earlier) and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
|
|
23425
|
+
* In classic Outlook on Windows, clients that support Mailbox 1.16 and later can have a maximum of 1,000 recipients. Target fields in Outlook on the web and the
|
|
23426
|
+
* new Outlook on Windows have no recipient limits. If you need to add more than 100 recipients to a mail item, you can call `addAsync` repeatedly,
|
|
23427
|
+
* but be mindful of the recipient limit of the field.
|
|
23495
23428
|
*
|
|
23496
23429
|
* - In Outlook on Android and on iOS, the `addAsync` method is supported starting in Version 4.2530.0. On these mobile clients, the `addAsync` method isn't
|
|
23497
23430
|
* supported when a user replies from the the reply field at the bottom of a message.
|
|
@@ -23525,15 +23458,14 @@ declare namespace Office {
|
|
|
23525
23458
|
*
|
|
23526
23459
|
* **Important**:
|
|
23527
23460
|
*
|
|
23528
|
-
* With the `addAsync` method, you can add a maximum of 100 recipients to a mail item in Outlook on the web, on Windows
|
|
23529
|
-
* on Mac (classic UI), on Android, and on iOS.
|
|
23530
|
-
*
|
|
23531
|
-
* - In Outlook on the web, on Windows, and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
|
|
23532
|
-
* If you need to add more than 100 recipients to a mail item, you can call `addAsync` repeatedly, but be mindful of the recipient limit of the field.
|
|
23461
|
+
* With the `addAsync` method, you can add a maximum of 100 recipients to a mail item at a time in Outlook on the web, on Windows
|
|
23462
|
+
* ({@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new} and classic), on Mac (classic UI), on Android, and on iOS.
|
|
23463
|
+
* However, take note of the following:
|
|
23533
23464
|
*
|
|
23534
|
-
* - In classic Outlook on Windows
|
|
23535
|
-
*
|
|
23536
|
-
*
|
|
23465
|
+
* - In classic Outlook on Windows (Mailbox 1.15 and earlier) and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
|
|
23466
|
+
* In classic Outlook on Windows, clients that support Mailbox 1.16 and later can have a maximum of 1,000 recipients. Target fields in Outlook on the web and the
|
|
23467
|
+
* new Outlook on Windows have no recipient limits. If you need to add more than 100 recipients to a mail item, you can call `addAsync` repeatedly,
|
|
23468
|
+
* but be mindful of the recipient limit of the field.
|
|
23537
23469
|
*
|
|
23538
23470
|
* - In Outlook on Android and on iOS, the `addAsync` method is supported starting in Version 4.2530.0. On these mobile clients, the `addAsync` method isn't
|
|
23539
23471
|
* supported when a user replies from the the reply field at the bottom of a message.
|
|
@@ -23567,9 +23499,9 @@ declare namespace Office {
|
|
|
23567
23499
|
*
|
|
23568
23500
|
* The maximum number of recipients returned by this method varies per Outlook client.
|
|
23569
23501
|
*
|
|
23570
|
-
* - Windows (
|
|
23502
|
+
* - Windows (classic - Mailbox 1.15 and earlier), Mac (classic UI): 500 recipients
|
|
23571
23503
|
*
|
|
23572
|
-
* - Windows (
|
|
23504
|
+
* - Web, Windows ({@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new}, classic - Mailbox 1.16 and later): 1,000 recipients
|
|
23573
23505
|
*
|
|
23574
23506
|
* - Android, iOS: 100 recipients
|
|
23575
23507
|
*
|
|
@@ -23623,9 +23555,9 @@ declare namespace Office {
|
|
|
23623
23555
|
*
|
|
23624
23556
|
* The maximum number of recipients returned by this method varies per Outlook client.
|
|
23625
23557
|
*
|
|
23626
|
-
* - Windows (
|
|
23558
|
+
* - Windows (classic - Mailbox 1.15 and earlier), Mac (classic UI): 500 recipients
|
|
23627
23559
|
*
|
|
23628
|
-
* - Windows (
|
|
23560
|
+
* - Web, Windows ({@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new}, classic - Mailbox 1.16 and later): 1,000 recipients
|
|
23629
23561
|
*
|
|
23630
23562
|
* - Android, iOS: 100 recipients
|
|
23631
23563
|
*
|
|
@@ -23674,16 +23606,14 @@ declare namespace Office {
|
|
|
23674
23606
|
*
|
|
23675
23607
|
* **Important**:
|
|
23676
23608
|
*
|
|
23677
|
-
* With the `setAsync` method, you can set a maximum of 100 recipients in Outlook on the web, on Windows
|
|
23609
|
+
* With the `setAsync` method, you can set a maximum of 100 recipients at a time in Outlook on the web, on Windows
|
|
23678
23610
|
* ({@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new} and classic), on Mac (classic UI), on Android, and on iOS.
|
|
23679
23611
|
* However, take note of the following:
|
|
23680
23612
|
*
|
|
23681
|
-
* - In Outlook on
|
|
23682
|
-
*
|
|
23683
|
-
*
|
|
23684
|
-
*
|
|
23685
|
-
* Then, join the {@link https://techcommunity.microsoft.com/kb/microsoft-365-insider-kb/join-the-microsoft-365-insider-program-on-windows/4401748 | Microsoft 365 Insider program} and select the
|
|
23686
|
-
* **Beta Channel** option to access Office beta builds.
|
|
23613
|
+
* - In classic Outlook on Windows (Mailbox 1.15 and earlier) and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
|
|
23614
|
+
* In classic Outlook on Windows, clients that support Mailbox 1.16 and later can have a maximum of 1,000 recipients. Target fields in Outlook on the web and the
|
|
23615
|
+
* new Outlook on Windows have no recipient limits. If you need to add more than 100 recipients to a mail item, you can call `addAsync` repeatedly,
|
|
23616
|
+
* but be mindful of the recipient limit of the field.
|
|
23687
23617
|
*
|
|
23688
23618
|
* - In Outlook on Android and on iOS, the `setAsync` method is supported starting in Version 4.2530.0. On these mobile clients, the `setAsync` method isn't
|
|
23689
23619
|
* supported when a user replies from the the reply field at the bottom of a message.
|
|
@@ -23720,16 +23650,14 @@ declare namespace Office {
|
|
|
23720
23650
|
*
|
|
23721
23651
|
* **Important**:
|
|
23722
23652
|
*
|
|
23723
|
-
* With the `setAsync` method, you can set a maximum of 100 recipients in Outlook on the web, on Windows
|
|
23653
|
+
* With the `setAsync` method, you can set a maximum of 100 recipients at a time in Outlook on the web, on Windows
|
|
23724
23654
|
* ({@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new} and classic), on Mac (classic UI), on Android, and on iOS.
|
|
23725
23655
|
* However, take note of the following:
|
|
23726
23656
|
*
|
|
23727
|
-
* - In Outlook on
|
|
23728
|
-
*
|
|
23729
|
-
*
|
|
23730
|
-
*
|
|
23731
|
-
* Then, join the {@link https://techcommunity.microsoft.com/kb/microsoft-365-insider-kb/join-the-microsoft-365-insider-program-on-windows/4401748 | Microsoft 365 Insider program} and select the
|
|
23732
|
-
* **Beta Channel** option to access Office beta builds.
|
|
23657
|
+
* - In classic Outlook on Windows (Mailbox 1.15 and earlier) and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
|
|
23658
|
+
* In classic Outlook on Windows, clients that support Mailbox 1.16 and later can have a maximum of 1,000 recipients. Target fields in Outlook on the web and the
|
|
23659
|
+
* new Outlook on Windows have no recipient limits. If you need to add more than 100 recipients to a mail item, you can call `addAsync` repeatedly,
|
|
23660
|
+
* but be mindful of the recipient limit of the field.
|
|
23733
23661
|
*
|
|
23734
23662
|
* - In Outlook on Android and on iOS, the `setAsync` method is supported starting in Version 4.2530.0. On these mobile clients, the `setAsync` method isn't
|
|
23735
23663
|
* supported when a user replies from the the reply field at the bottom of a message.
|
|
@@ -25016,7 +24944,8 @@ declare namespace Office {
|
|
|
25016
24944
|
*
|
|
25017
24945
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
25018
24946
|
*
|
|
25019
|
-
* **Important**:
|
|
24947
|
+
* **Important**: In Outlook clients that support Mailbox 1.15 or earlier, the entire SessionData object for each mail item is limited to 50,000 characters per add-in.
|
|
24948
|
+
* In clients that support Mailbox 1.16 or later, the character limit per add-in is 2,621,440 characters.
|
|
25020
24949
|
*/
|
|
25021
24950
|
interface SessionData {
|
|
25022
24951
|
/**
|
|
@@ -25121,9 +25050,7 @@ declare namespace Office {
|
|
|
25121
25050
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
25122
25051
|
*
|
|
25123
25052
|
* **Important**: In Outlook clients that support Mailbox 1.15 or earlier, the entire SessionData object for each mail item is limited to 50,000 characters per add-in.
|
|
25124
|
-
* In
|
|
25125
|
-
* {@link https://aka.ms/MSFT365InsiderProgram | Microsoft 365 Insider program}, then choose the Beta Channel in the classic Outlook on Windows client.
|
|
25126
|
-
* Your client must be on Version 2510 (Build 19317.20000) or later.
|
|
25053
|
+
* In clients that support Mailbox 1.16 or later, the character limit per add-in is 2,621,440 characters.
|
|
25127
25054
|
*
|
|
25128
25055
|
* @param name - The session data key.
|
|
25129
25056
|
* @param value - The session data value as a string.
|
|
@@ -25144,9 +25071,7 @@ declare namespace Office {
|
|
|
25144
25071
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
25145
25072
|
*
|
|
25146
25073
|
* **Important**: In Outlook clients that support Mailbox 1.15 or earlier, the entire SessionData object for each mail item is limited to 50,000 characters per add-in.
|
|
25147
|
-
* In
|
|
25148
|
-
* {@link https://aka.ms/MSFT365InsiderProgram | Microsoft 365 Insider program}, then choose the Beta Channel in the classic Outlook on Windows client.
|
|
25149
|
-
* Your client must be on Version 2510 (Build 19317.20000) or later.
|
|
25074
|
+
* In clients that support Mailbox 1.16 or later, the character limit per add-in is 2,621,440 characters.
|
|
25150
25075
|
*
|
|
25151
25076
|
* @param name - The session data key.
|
|
25152
25077
|
* @param value - The session data value as a string.
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.710",
|
|
4
4
|
"description": "TypeScript definitions for office-js-preview",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"scripts": {},
|
|
42
42
|
"dependencies": {},
|
|
43
43
|
"peerDependencies": {},
|
|
44
|
-
"typesPublisherContentHash": "
|
|
45
|
-
"typeScriptVersion": "5.
|
|
44
|
+
"typesPublisherContentHash": "f1575a26dce88090231402bb0264e071d38a09cce03300f57ccb30ab3676f7bd",
|
|
45
|
+
"typeScriptVersion": "5.6",
|
|
46
46
|
"nonNpm": true
|
|
47
47
|
}
|