@types/office-js 1.0.512 → 1.0.514

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: Fri, 13 Jun 2025 17:02:20 GMT
11
+ * Last updated: Thu, 26 Jun 2025 21:02:18 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -3387,10 +3387,16 @@ declare namespace Office {
3387
3387
  *
3388
3388
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
3389
3389
  *
3390
- * **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
3390
+ * **Important**:
3391
+ *
3392
+ * - 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
3391
3393
  * 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
3392
3394
  * 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}.
3393
3395
  *
3396
+ * - {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | Event-based activation} and
3397
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | integrated spam-reporting} add-ins use a different event object to signal when they've
3398
+ * completed processing an event. For more information, see {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent | Office.MailboxEvent}.
3399
+ *
3394
3400
  * @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
3395
3401
  * when it completes processing an event.
3396
3402
  */
@@ -3410,9 +3416,15 @@ declare namespace Office {
3410
3416
  *
3411
3417
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
3412
3418
  *
3413
- * **Important**: Although Outlook on Android and on iOS support up to Mailbox 1.5, the `EventCompletedOptions` object is supported in online-meeting provider and
3419
+ * **Important**:
3420
+ *
3421
+ * - Although Outlook on Android and on iOS support up to Mailbox 1.5, the `EventCompletedOptions` object is supported in online-meeting provider and
3414
3422
  * note-logging mobile add-ins. For more information on API support in Outlook on mobile devices, see
3415
3423
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
3424
+ *
3425
+ * - {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | Event-based activation} and
3426
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | integrated spam-reporting} add-ins use a different event object to signal when they've
3427
+ * completed processing an event. For more information, see {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent | Office.MailboxEvent}.
3416
3428
  */
3417
3429
  interface EventCompletedOptions {
3418
3430
  /**
@@ -5434,6 +5446,8 @@ declare namespace Office {
5434
5446
  *
5435
5447
  * - If a user selects **Deny** from the dialog, the user will be requested for permissions again the next time the add-in requires access to the user's device capabilities.
5436
5448
  *
5449
+ * - Access to a user's geolocation isn't supported in Excel, PowerPoint, and Word. It's only supported in Outlook on the web and new Outlook on Windows using the `requestPermissionsAsync` method.
5450
+ *
5437
5451
  * @param permissions An array of device capabilities to which an add-in is requesting access.
5438
5452
  * In web versions of Excel, PowerPoint, and Word, add-ins can only request access to a user's camera and microphone.
5439
5453
  * Access to a user's geolocation is blocked.
@@ -18100,7 +18114,15 @@ declare namespace Office {
18100
18114
  *
18101
18115
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
18102
18116
  *
18103
- * **Important**: Support for the integrated spam-reporting feature was introduced in Mailbox 1.14.
18117
+ * **Important**:
18118
+ *
18119
+ * - Support for the integrated spam-reporting feature was introduced in Mailbox 1.14.
18120
+ *
18121
+ * - 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},
18122
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send add-in},
18123
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/online-meeting | online-meeting provider add-in}, and
18124
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-log-appointments | note-logging mobile add-in},
18125
+ * see {@link https://learn.microsoft.com/javascript/api/office/office.addincommands.event | Office.AddinCommands.Event}.
18104
18126
  */
18105
18127
  interface MailboxEvent {
18106
18128
  /**
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.512",
3
+ "version": "1.0.514",
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": "8847c343ff2e918304076b5346a7b520d3124340fa71a523ed8a2ae20bd6a5ef",
49
+ "typesPublisherContentHash": "9fee624c29009ad589318f8b86bcda4e007ceff3571cea131fd7904f811fb906",
50
50
  "typeScriptVersion": "5.1"
51
51
  }