@types/office-js-preview 1.0.672 → 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.
@@ -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: Wed, 17 Dec 2025 22:37:01 GMT
11
+ * Last updated: Thu, 18 Dec 2025 00:04:25 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -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 and Outlook on Windows (new and classic (preview)).
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
- * - Starting November 15, 2025, changes to how inline images are represented in the HTML body of Outlook emails in
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
- * After the change, the image will be represented by a content ID (`cid`) in the `src` attribute instead.
13087
- * As a result, you'll need to update your add-in's parsing logic if you parse the attachment ID from the HTML editor or
13088
- * get the Base64 value of the image from the URL in the `src` attribute. For more information, see
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
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.672",
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": "d2c807df70fa1b96a93a01e404e2925bdda923448a0f52fd04256daeb4c8ce79",
49
+ "typesPublisherContentHash": "e38802f7b232189276563fcb99dda2d25dc47c9139b080356945df0c46907c71",
50
50
  "typeScriptVersion": "5.2",
51
51
  "nonNpm": true
52
52
  }