@types/office-js-preview 1.0.671 → 1.0.673
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 +81 -21
- office-js-preview/package.json +2 -2
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: Thu, 18 Dec 2025 00:04:25 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -13076,17 +13076,15 @@ declare namespace Office {
|
|
|
13076
13076
|
*
|
|
13077
13077
|
* **Important**:
|
|
13078
13078
|
*
|
|
13079
|
-
* - The `contentId` property is only supported in Outlook on the web
|
|
13079
|
+
* - The `contentId` property is only supported in Outlook on the web, the new Outlook on Windows, and classic Outlook on Windows (preview).
|
|
13080
13080
|
* To preview the `contentId` property in classic Outlook on Windows, your Outlook client must run Version 2510 (Build 19312.20000)
|
|
13081
13081
|
* or later and must be on the Beta Channel. For more information, see {@link https://aka.ms/Msft365InsiderProgram | Microsoft 365 Insider Program}.
|
|
13082
13082
|
*
|
|
13083
|
-
* -
|
|
13084
|
-
* Outlook on the web and the new Outlook on Windows will begin rolling out to production users.
|
|
13083
|
+
* - 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.
|
|
13085
13084
|
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
|
|
13086
|
-
*
|
|
13087
|
-
*
|
|
13088
|
-
*
|
|
13089
|
-
* {@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}.
|
|
13085
|
+
* Now, the image is represented by a content ID (`cid`) in the `src` attribute instead.
|
|
13086
|
+
* If you parse the attachment ID from the HTML editor or get the Base64-encoded value of the image from the URL in the `src` attribute, you must update your add-in's parsing logic.
|
|
13087
|
+
* For more information, see {@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}.
|
|
13090
13088
|
*/
|
|
13091
13089
|
contentId: string;
|
|
13092
13090
|
/**
|
|
@@ -13144,6 +13142,24 @@ declare namespace Office {
|
|
|
13144
13142
|
* Gets a value that indicates the attachment's type.
|
|
13145
13143
|
*/
|
|
13146
13144
|
attachmentType: MailboxEnums.AttachmentType | string;
|
|
13145
|
+
/**
|
|
13146
|
+
* Gets the content identifier of an inline attachment.
|
|
13147
|
+
*
|
|
13148
|
+
* @remarks
|
|
13149
|
+
*
|
|
13150
|
+
* **Important**:
|
|
13151
|
+
*
|
|
13152
|
+
* - The `contentId` property is only supported in Outlook on the web, the new Outlook on Windows, and classic Outlook on Windows (preview).
|
|
13153
|
+
* To preview the `contentId` property in classic Outlook on Windows, your Outlook client must run Version 2510 (Build 19312.20000)
|
|
13154
|
+
* or later and must be on the Beta Channel. For more information, see {@link https://aka.ms/Msft365InsiderProgram | Microsoft 365 Insider Program}.
|
|
13155
|
+
*
|
|
13156
|
+
* - 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.
|
|
13157
|
+
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
|
|
13158
|
+
* Now, the image is represented by a content ID (`cid`) in the `src` attribute instead.
|
|
13159
|
+
* If you parse the attachment ID from the HTML editor or get the Base64-encoded value of the image from the URL in the `src` attribute, you must update your add-in's parsing logic.
|
|
13160
|
+
* For more information, see {@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}.
|
|
13161
|
+
*/
|
|
13162
|
+
contentId: string;
|
|
13147
13163
|
/**
|
|
13148
13164
|
* Gets the MIME content type of the attachment.
|
|
13149
13165
|
*
|
|
@@ -14974,6 +14990,24 @@ declare namespace Office {
|
|
|
14974
14990
|
* [Api set: Mailbox 1.5]
|
|
14975
14991
|
*/
|
|
14976
14992
|
pageY: number;
|
|
14993
|
+
/**
|
|
14994
|
+
* Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels.
|
|
14995
|
+
* The position is relative to the left edge of the add-in's task pane.
|
|
14996
|
+
*
|
|
14997
|
+
* @remarks
|
|
14998
|
+
*
|
|
14999
|
+
* [Api set: Mailbox 1.5]
|
|
15000
|
+
*/
|
|
15001
|
+
taskPaneX: number;
|
|
15002
|
+
/**
|
|
15003
|
+
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
|
|
15004
|
+
* The position is relative to the top edge of the add-in's task pane.
|
|
15005
|
+
*
|
|
15006
|
+
* @remarks
|
|
15007
|
+
*
|
|
15008
|
+
* [Api set: Mailbox 1.5]
|
|
15009
|
+
*/
|
|
15010
|
+
taskPaneY: number;
|
|
14977
15011
|
/**
|
|
14978
15012
|
* Gets the type of drag-and-drop event. The `dragover` event occurs when messages or file attachments are dragged over an add-in's task pane.
|
|
14979
15013
|
*
|
|
@@ -15020,6 +15054,24 @@ declare namespace Office {
|
|
|
15020
15054
|
* [Api set: Mailbox 1.5]
|
|
15021
15055
|
*/
|
|
15022
15056
|
pageY: number;
|
|
15057
|
+
/**
|
|
15058
|
+
* Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels.
|
|
15059
|
+
* The position is relative to the left edge of the add-in's task pane.
|
|
15060
|
+
*
|
|
15061
|
+
* @remarks
|
|
15062
|
+
*
|
|
15063
|
+
* [Api set: Mailbox 1.5]
|
|
15064
|
+
*/
|
|
15065
|
+
taskPaneX: number;
|
|
15066
|
+
/**
|
|
15067
|
+
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
|
|
15068
|
+
* The position is relative to the top edge of the add-in's task pane.
|
|
15069
|
+
*
|
|
15070
|
+
* @remarks
|
|
15071
|
+
*
|
|
15072
|
+
* [Api set: Mailbox 1.5]
|
|
15073
|
+
*/
|
|
15074
|
+
taskPaneY: number;
|
|
15023
15075
|
/**
|
|
15024
15076
|
* Gets the type of drag-and-drop event. The `drop` event occurs when messages or file attachments are dropped into an add-in's task pane.
|
|
15025
15077
|
*
|
|
@@ -16993,8 +17045,9 @@ declare namespace Office {
|
|
|
16993
17045
|
*
|
|
16994
17046
|
* **Important**:
|
|
16995
17047
|
*
|
|
16996
|
-
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate.
|
|
16997
|
-
* In
|
|
17048
|
+
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
|
|
17049
|
+
* In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
|
|
17050
|
+
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
|
|
16998
17051
|
*
|
|
16999
17052
|
* - The `recipientType` property of the `EmailAddressDetails` object in the `from` property is undefined.
|
|
17000
17053
|
*/
|
|
@@ -17198,8 +17251,9 @@ declare namespace Office {
|
|
|
17198
17251
|
*
|
|
17199
17252
|
* **Important**:
|
|
17200
17253
|
*
|
|
17201
|
-
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate.
|
|
17202
|
-
* In
|
|
17254
|
+
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
|
|
17255
|
+
* In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
|
|
17256
|
+
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
|
|
17203
17257
|
*
|
|
17204
17258
|
* - The `recipientType` property of the `EmailAddressDetails` object in the `sender` property is undefined.
|
|
17205
17259
|
*/
|
|
@@ -21290,11 +21344,6 @@ declare namespace Office {
|
|
|
21290
21344
|
/**
|
|
21291
21345
|
* Gets the email address of the sender of a message.
|
|
21292
21346
|
*
|
|
21293
|
-
* The `from` and `sender` properties represent the same person unless the message is sent by a delegate.
|
|
21294
|
-
* In that case, the `from` property represents the delegator, and the `sender` property represents the delegate.
|
|
21295
|
-
*
|
|
21296
|
-
* **Note**: The `recipientType` property of the `EmailAddressDetails` object in the `from` property is undefined.
|
|
21297
|
-
*
|
|
21298
21347
|
* The `from` property returns an `EmailAddressDetails` object.
|
|
21299
21348
|
*
|
|
21300
21349
|
* @remarks
|
|
@@ -21302,6 +21351,14 @@ declare namespace Office {
|
|
|
21302
21351
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
21303
21352
|
*
|
|
21304
21353
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
21354
|
+
*
|
|
21355
|
+
* **Important**:
|
|
21356
|
+
*
|
|
21357
|
+
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
|
|
21358
|
+
* In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
|
|
21359
|
+
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
|
|
21360
|
+
*
|
|
21361
|
+
* - The `recipientType` property of the `EmailAddressDetails` object in the `from` property is undefined.
|
|
21305
21362
|
*/
|
|
21306
21363
|
from: EmailAddressDetails;
|
|
21307
21364
|
/**
|
|
@@ -21484,16 +21541,19 @@ declare namespace Office {
|
|
|
21484
21541
|
/**
|
|
21485
21542
|
* Gets the email address of the sender of an email message.
|
|
21486
21543
|
*
|
|
21487
|
-
* The `from` and `sender` properties represent the same person unless the message is sent by a delegate.
|
|
21488
|
-
* In that case, the `from` property represents the delegator, and the `sender` property represents the delegate.
|
|
21489
|
-
*
|
|
21490
|
-
* **Note**: The `recipientType` property of the `EmailAddressDetails` object in the `sender` property is undefined.
|
|
21491
|
-
*
|
|
21492
21544
|
* @remarks
|
|
21493
21545
|
*
|
|
21494
21546
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
21495
21547
|
*
|
|
21496
21548
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
21549
|
+
*
|
|
21550
|
+
* **Important**:
|
|
21551
|
+
*
|
|
21552
|
+
* - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
|
|
21553
|
+
* In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
|
|
21554
|
+
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
|
|
21555
|
+
*
|
|
21556
|
+
* - The `recipientType` property of the `EmailAddressDetails` object in the `sender` property is undefined.
|
|
21497
21557
|
*/
|
|
21498
21558
|
sender: EmailAddressDetails;
|
|
21499
21559
|
/**
|
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.673",
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "e38802f7b232189276563fcb99dda2d25dc47c9139b080356945df0c46907c71",
|
|
50
50
|
"typeScriptVersion": "5.2",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|