@types/office-js 1.0.479 → 1.0.481

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 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: Mon, 17 Mar 2025 20:34:19 GMT
11
+ * Last updated: Mon, 24 Mar 2025 16:38:37 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -3363,11 +3363,13 @@ declare namespace Office {
3363
3363
  *
3364
3364
  * This method must be called at the end of a function which was invoked by the following:
3365
3365
  *
3366
- * - A function command button (that is, an add-in command defined with an **\<Action\>** element, where the `xsi:type` attribute is set to `ExecuteFunction`).
3366
+ * - A {@link https://learn.microsoft.com/office/dev/add-ins/design/add-in-commands | function command} button.
3367
3367
  *
3368
- * - An {@link https://learn.microsoft.com/javascript/api/manifest/event | event} defined in the
3369
- * {@link https://learn.microsoft.com/javascript/api/manifest/extensionpoint#events | Events extension point} of an on-send add-in in Outlook.
3370
- * For example, an `ItemSend` event.
3368
+ * - An {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send add-in} in Outlook.
3369
+ *
3370
+ * - An {@link https://learn.microsoft.com/office/dev/add-ins/outlook/online-meeting | online-meeting provider add-in} in Outlook.
3371
+ *
3372
+ * - A {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-log-appointments | note-logging add-in} in Outlook on mobile devices.
3371
3373
  *
3372
3374
  * @remarks
3373
3375
  *
@@ -3379,16 +3381,20 @@ declare namespace Office {
3379
3381
  *
3380
3382
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
3381
3383
  *
3382
- * **Important**: The `options` parameter only applies to Outlook add-ins that implement the
3383
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send feature}. It was introduced in Mailbox 1.8.
3384
+ * **Important**: The `options` parameter only applies to Outlook add-ins. It was introduced in Mailbox 1.8. Although Outlook on Android and on iOS support up to
3385
+ * Mailbox 1.5, the `options` parameter is supported in online-meeting provider and note-logging mobile add-ins. For more information on API support in
3386
+ * Outlook on mobile devices, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
3384
3387
  *
3385
- * @param options Optional. An object that specifies the behavior of an on-send add-in in Outlook when it completes processing an `ItemSend` event.
3388
+ * @param options Optional. In Outlook, an object that specifies the behavior of an on-send add-in, online-meeting provider add-in, or note-logging mobile add-in
3389
+ * when it completes processing an event.
3386
3390
  */
3387
3391
  completed(options?: EventCompletedOptions): void;
3388
3392
  }
3389
3393
  /**
3390
- * Specifies the behavior of an {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send} add-in in Outlook
3391
- * when it completes processing an `ItemSend` event.
3394
+ * Specifies the behavior of an {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send add-in},
3395
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/online-meeting | online-meeting provider add-in}, or
3396
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-log-appointments | note-logging mobile add-in}
3397
+ * when it completes processing an event in Outlook.
3392
3398
  *
3393
3399
  * @remarks
3394
3400
  *
@@ -3397,6 +3403,10 @@ declare namespace Office {
3397
3403
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **restricted**
3398
3404
  *
3399
3405
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
3406
+ *
3407
+ * **Important**: Although Outlook on Android and on iOS support up to Mailbox 1.5, the `EventCompletedOptions` object is supported in online-meeting provider and
3408
+ * note-logging mobile add-ins. For more information on API support in Outlook on mobile devices, see
3409
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
3400
3410
  */
3401
3411
  interface EventCompletedOptions {
3402
3412
  /**
@@ -5746,7 +5756,7 @@ declare namespace Office {
5746
5756
  * <table>
5747
5757
  * <tr><th> </th><th> Office on the web </th><th> Office on Windows </th><th> Office on Mac </th><th> Office on iPad </th></tr>
5748
5758
  * <tr><td><strong> Excel </strong></td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td> Not supported </td></tr>
5749
- * <tr><td><strong> PowerPoint </strong></td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code></td></tr>
5759
+ * <tr><td><strong> PowerPoint </strong></td><td><code>Compressed</code> </td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code></td></tr>
5750
5760
  * <tr><td><strong> Word </strong></td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code></td></tr>
5751
5761
  * </table>
5752
5762
  *
@@ -5781,7 +5791,7 @@ declare namespace Office {
5781
5791
  * <table>
5782
5792
  * <tr><th> </th><th> Office on the web </th><th> Office on Windows </th><th> Office on Mac </th><th> Office on iPad </th></tr>
5783
5793
  * <tr><td><strong> Excel </strong></td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td> Not supported </td></tr>
5784
- * <tr><td><strong> PowerPoint </strong></td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code></td></tr>
5794
+ * <tr><td><strong> PowerPoint </strong></td><td><code>Compressed</code> </td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code> </td><td><code>Compressed</code>, <code>Pdf</code></td></tr>
5785
5795
  * <tr><td><strong> Word </strong></td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code>, <code>Text</code></td><td><code>Compressed</code>, <code>Pdf</code></td></tr>
5786
5796
  * </table>
5787
5797
  *
@@ -22008,7 +22018,7 @@ declare namespace Office {
22008
22018
  url?: string;
22009
22019
  /**
22010
22020
  * If true, indicates that the attachment will be shown inline in the message body and shouldn't be displayed in the attachment list.
22011
- * Only use if `type` is set to `file`.
22021
+ * Only use if `type` is set to `base64` or `file`.
22012
22022
  */
22013
22023
  inLine?: boolean;
22014
22024
  /**
@@ -22022,7 +22032,7 @@ declare namespace Office {
22022
22032
  *
22023
22033
  * [Api set: Mailbox 1.15]
22024
22034
  */
22025
- base64File?: string;
22035
+ base64file?: string;
22026
22036
  }
22027
22037
  /**
22028
22038
  * A ReplyFormData object that contains body or attachment data and a callback function. Used when displaying a reply form.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.479",
3
+ "version": "1.0.481",
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",
@@ -46,6 +46,6 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "f469ae5f9869c6d3b42600935a697ab867be7221447881cb863895dbb1532112",
49
+ "typesPublisherContentHash": "471872fb22b85774989695b9b28d3ddcd370ff128a935a4a3de2b07e75345e2d",
50
50
  "typeScriptVersion": "5.0"
51
51
  }