@types/office-js-preview 1.0.607 → 1.0.609

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: Thu, 12 Jun 2025 21:33:34 GMT
11
+ * Last updated: Mon, 16 Jun 2025 17:35:52 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -3389,10 +3389,16 @@ declare namespace Office {
3389
3389
  *
3390
3390
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
3391
3391
  *
3392
- * **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
3392
+ * **Important**:
3393
+ *
3394
+ * - 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
3393
3395
  * 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
3394
3396
  * 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}.
3395
3397
  *
3398
+ * - {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | Event-based activation} and
3399
+ * {@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
3400
+ * completed processing an event. For more information, see {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent | Office.MailboxEvent}.
3401
+ *
3396
3402
  * @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
3397
3403
  * when it completes processing an event.
3398
3404
  */
@@ -3412,9 +3418,15 @@ declare namespace Office {
3412
3418
  *
3413
3419
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
3414
3420
  *
3415
- * **Important**: Although Outlook on Android and on iOS support up to Mailbox 1.5, the `EventCompletedOptions` object is supported in online-meeting provider and
3421
+ * **Important**:
3422
+ *
3423
+ * - Although Outlook on Android and on iOS support up to Mailbox 1.5, the `EventCompletedOptions` object is supported in online-meeting provider and
3416
3424
  * note-logging mobile add-ins. For more information on API support in Outlook on mobile devices, see
3417
3425
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
3426
+ *
3427
+ * - {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | Event-based activation} and
3428
+ * {@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
3429
+ * completed processing an event. For more information, see {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent | Office.MailboxEvent}.
3418
3430
  */
3419
3431
  interface EventCompletedOptions {
3420
3432
  /**
@@ -18470,7 +18482,15 @@ declare namespace Office {
18470
18482
  *
18471
18483
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
18472
18484
  *
18473
- * **Important**: Support for the integrated spam-reporting feature was introduced in Mailbox 1.14.
18485
+ * **Important**:
18486
+ *
18487
+ * - Support for the integrated spam-reporting feature was introduced in Mailbox 1.14.
18488
+ *
18489
+ * - 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},
18490
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send add-in},
18491
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/online-meeting | online-meeting provider add-in}, and
18492
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-log-appointments | note-logging mobile add-in},
18493
+ * see {@link https://learn.microsoft.com/javascript/api/office/office.addincommands.event | Office.AddinCommands.Event}.
18474
18494
  */
18475
18495
  interface MailboxEvent {
18476
18496
  /**
@@ -139257,12 +139277,12 @@ declare namespace PowerPoint {
139257
139277
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
139258
139278
  context: RequestContext;
139259
139279
  /**
139260
- * Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
139280
+ * Specifies if the bullets in the paragraph are visible. Returns `null` if the {@link PowerPoint.TextRange} includes text fragments with different bullet visibility values.
139261
139281
  *
139262
139282
  * @remarks
139263
139283
  * [Api set: PowerPointApi 1.4]
139264
139284
  */
139265
- visible: boolean;
139285
+ visible: boolean | null;
139266
139286
  /**
139267
139287
  * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
139268
139288
  *
@@ -141065,12 +141085,12 @@ declare namespace PowerPoint {
141065
141085
  /** An interface for updating data on the `BulletFormat` object, for use in `bulletFormat.set({ ... })`. */
141066
141086
  interface BulletFormatUpdateData {
141067
141087
  /**
141068
- * Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
141088
+ * Specifies if the bullets in the paragraph are visible. Returns `null` if the {@link PowerPoint.TextRange} includes text fragments with different bullet visibility values.
141069
141089
  *
141070
141090
  * @remarks
141071
141091
  * [Api set: PowerPointApi 1.4]
141072
141092
  */
141073
- visible?: boolean;
141093
+ visible?: boolean | null;
141074
141094
  }
141075
141095
  /** An interface for updating data on the `ParagraphFormat` object, for use in `paragraphFormat.set({ ... })`. */
141076
141096
  interface ParagraphFormatUpdateData {
@@ -141965,12 +141985,12 @@ declare namespace PowerPoint {
141965
141985
  /** An interface describing the data returned by calling `bulletFormat.toJSON()`. */
141966
141986
  interface BulletFormatData {
141967
141987
  /**
141968
- * Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
141988
+ * Specifies if the bullets in the paragraph are visible. Returns `null` if the {@link PowerPoint.TextRange} includes text fragments with different bullet visibility values.
141969
141989
  *
141970
141990
  * @remarks
141971
141991
  * [Api set: PowerPointApi 1.4]
141972
141992
  */
141973
- visible?: boolean;
141993
+ visible?: boolean | null;
141974
141994
  }
141975
141995
  /** An interface describing the data returned by calling `paragraphFormat.toJSON()`. */
141976
141996
  interface ParagraphFormatData {
@@ -143794,7 +143814,7 @@ declare namespace PowerPoint {
143794
143814
  */
143795
143815
  $all?: boolean;
143796
143816
  /**
143797
- * Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
143817
+ * Specifies if the bullets in the paragraph are visible. Returns `null` if the {@link PowerPoint.TextRange} includes text fragments with different bullet visibility values.
143798
143818
  *
143799
143819
  * @remarks
143800
143820
  * [Api set: PowerPointApi 1.4]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.607",
3
+ "version": "1.0.609",
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": "ae808077f838cbe3fa8977cae7fc4430b59ccaf295b1e4e44153327397969939",
49
+ "typesPublisherContentHash": "25de523899fd11f66f181320eb94174db5d08ec7a6245035cb8dc1bd0407f4d5",
50
50
  "typeScriptVersion": "5.1",
51
51
  "nonNpm": true
52
52
  }