@types/office-js-preview 1.0.611 → 1.0.613

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: Mon, 07 Jul 2025 18:02:50 GMT
11
+ * Last updated: Fri, 11 Jul 2025 18:02:44 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -653,7 +653,7 @@ declare namespace Office {
653
653
  *
654
654
  * - Although Outlook on Mac supports the `InsightMessage` notification type, it currently doesn't support the `InfobarClicked` event.
655
655
  * To determine when the **Dismiss** action is selected from the notification, implement a handler for the `OnInfoBarDismissClicked` event instead.
656
- * For more information, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch#supported-events | Configure your Outlook add-in for event-based activation}.
656
+ * For more information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation#supported-events | Activate add-ins with events}.
657
657
  *
658
658
  * [Api set: Mailbox 1.10]
659
659
  */
@@ -708,7 +708,7 @@ declare namespace Office {
708
708
  * - The `OfficeThemeChanged` event can only be handled in a task pane. Function commands can't register a handler for this event.
709
709
  *
710
710
  * - The `OfficeThemeChanged` event isn't supported in add-ins that implement
711
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
711
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based activation}.
712
712
  *
713
713
  * [Api set: Mailbox 1.14]
714
714
  */
@@ -3395,7 +3395,7 @@ declare namespace Office {
3395
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
3396
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}.
3397
3397
  *
3398
- * - {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | Event-based activation} and
3398
+ * - {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | Event-based activation} and
3399
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
3400
  * completed processing an event. For more information, see {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent | Office.MailboxEvent}.
3401
3401
  *
@@ -3424,7 +3424,7 @@ declare namespace Office {
3424
3424
  * note-logging mobile add-ins. For more information on API support in Outlook on mobile devices, see
3425
3425
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
3426
3426
  *
3427
- * - {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | Event-based activation} and
3427
+ * - {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | Event-based activation} and
3428
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
3429
  * completed processing an event. For more information, see {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent | Office.MailboxEvent}.
3430
3430
  */
@@ -5531,7 +5531,7 @@ declare namespace Office {
5531
5531
  *
5532
5532
  * - 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.
5533
5533
  *
5534
- * - If your add-in implements {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation},
5534
+ * - If your add-in implements {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based activation},
5535
5535
  * browser permissions to device capabilities aren't inherited and the `requestPermissionsAsync` method isn't supported.
5536
5536
  *
5537
5537
  * @param permissions An array of device capabilities to which an add-in is requesting access.
@@ -5572,7 +5572,7 @@ declare namespace Office {
5572
5572
  *
5573
5573
  * - 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.
5574
5574
  *
5575
- * - If your add-in implements {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation},
5575
+ * - If your add-in implements {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based activation},
5576
5576
  * browser permissions to device capabilities aren't inherited and the `requestPermissionsAsync` method isn't supported.
5577
5577
  *
5578
5578
  * @param permissions An array of device capabilities to which an add-in is requesting access.
@@ -7223,7 +7223,7 @@ declare namespace Office {
7223
7223
  *
7224
7224
  * **Important**: In Outlook, the Office theme API is supported starting in
7225
7225
  * {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.14/outlook-requirement-set-1.14 | Mailbox requirement set 1.14}.
7226
- * It isn't supported in Outlook add-ins that implement {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
7226
+ * It isn't supported in Outlook add-ins that implement {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based activation}.
7227
7227
  */
7228
7228
  interface OfficeTheme {
7229
7229
  /**
@@ -8788,7 +8788,7 @@ declare namespace Office {
8788
8788
  *
8789
8789
  * - The URL that's returned points to the location of the JavaScript file that classic Outlook on Windows uses to handle event-based activation
8790
8790
  * and integrated spam reporting. To learn more about these features, see
8791
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | Configure your Outlook add-in for event-based activation} and
8791
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | Activate add-ins with events} and
8792
8792
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | Implement an integrated spam-reporting add-in}.
8793
8793
  *
8794
8794
  * - In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
@@ -11571,7 +11571,7 @@ declare namespace Office {
11571
11571
  * **Important**:
11572
11572
  *
11573
11573
  * - The `sendAsync` method is only supported in task pane and function command implementations. It isn't supported in
11574
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based handlers} or
11574
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based handlers} or
11575
11575
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | item multi-select scenarios}.
11576
11576
  *
11577
11577
  * - In a function command implementation, the value returned in `asyncResult.status` may not reflect whether the appointment being composed is successfully sent.
@@ -11606,7 +11606,7 @@ declare namespace Office {
11606
11606
  * **Important**:
11607
11607
  *
11608
11608
  * - The `sendAsync` method is only supported in task pane and function command implementations. It isn't supported in
11609
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based handlers} or
11609
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based handlers} or
11610
11610
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | item multi-select scenarios}.
11611
11611
  *
11612
11612
  * - In a function command implementation, the value returned in `asyncResult.status` may not reflect whether the appointment being composed is successfully sent.
@@ -13688,7 +13688,7 @@ declare namespace Office {
13688
13688
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
13689
13689
  *
13690
13690
  * - The behavior of `setSignatureAsync` differs if you call it in the event handler of an add-in that implements the
13691
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using LaunchEvent in the manifest}.
13691
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based activation feature using LaunchEvent in the manifest}.
13692
13692
  * When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
13693
13693
  * if the user closes the form without making other edits, they won't be prompted to save changes.
13694
13694
  *
@@ -13735,7 +13735,7 @@ declare namespace Office {
13735
13735
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
13736
13736
  *
13737
13737
  * - The behavior of `setSignatureAsync` differs if you call it in the event handler of an add-in that implements the
13738
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using LaunchEvent in the manifest}.
13738
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based activation feature using LaunchEvent in the manifest}.
13739
13739
  * When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
13740
13740
  * if the user closes the form without making other edits, they won't be prompted to save changes.
13741
13741
  *
@@ -18484,7 +18484,7 @@ declare namespace Office {
18484
18484
  }
18485
18485
  /**
18486
18486
  * The `MailboxEvent` object is passed as an argument to the event handler of an add-in that implements
18487
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}, including
18487
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based activation}, including
18488
18488
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/onmessagesend-onappointmentsend-events | Smart Alerts},
18489
18489
  * or the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | integrated spam-reporting feature}.
18490
18490
  * It allows the add-in to signify to the Outlook client that it has completed processing an event.
@@ -19364,7 +19364,7 @@ declare namespace Office {
19364
19364
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
19365
19365
  *
19366
19366
  * **Important**: The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
19367
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based handlers} or
19367
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based handlers} or
19368
19368
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | item multi-select scenarios}.
19369
19369
  *
19370
19370
  * **Errors**:
@@ -19400,7 +19400,7 @@ declare namespace Office {
19400
19400
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
19401
19401
  *
19402
19402
  * **Important**: The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
19403
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based handlers} or
19403
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based handlers} or
19404
19404
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | item multi-select scenarios}.
19405
19405
  *
19406
19406
  * **Errors**:
@@ -20284,7 +20284,7 @@ declare namespace Office {
20284
20284
  * **Important**:
20285
20285
  *
20286
20286
  * - The `sendAsync` method is only supported in task pane and function command implementations. It isn't supported in
20287
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based handlers} or
20287
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based handlers} or
20288
20288
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | item multi-select scenarios}.
20289
20289
  *
20290
20290
  * - In a function command implementation, the value returned in `asyncResult.status` may not reflect whether the appointment being composed is successfully sent.
@@ -20319,7 +20319,7 @@ declare namespace Office {
20319
20319
  * **Important**:
20320
20320
  *
20321
20321
  * - The `sendAsync` method is only supported in task pane and function command implementations. It isn't supported in
20322
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based handlers} or
20322
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based handlers} or
20323
20323
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | item multi-select scenarios}.
20324
20324
  *
20325
20325
  * - In a function command implementation, the value returned in `asyncResult.status` may not reflect whether the appointment being composed is successfully sent.
@@ -136401,21 +136401,21 @@ declare namespace PowerPoint {
136401
136401
  */
136402
136402
  readonly columnIndex: number;
136403
136403
  /**
136404
- * Specifies the horizontal alignment of the text in the table cell.
136404
+ * Specifies the horizontal alignment of the text in the table cell. Returns `null` if the cell text contains different alignments.
136405
136405
  *
136406
136406
  * @remarks
136407
136407
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136408
136408
  * @beta
136409
136409
  */
136410
- horizontalAlignment: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
136410
+ horizontalAlignment: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
136411
136411
  /**
136412
- * Specifies the indent level of the text in the table cell.
136412
+ * Specifies the indent level of the text in the table cell. Returns `null` if the cell text contains different indent levels.
136413
136413
  *
136414
136414
  * @remarks
136415
136415
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136416
136416
  * @beta
136417
136417
  */
136418
- indentLevel: number;
136418
+ indentLevel: number | null;
136419
136419
  /**
136420
136420
  * Gets the number of table rows this cell spans across.
136421
136421
  Will be greater than or equal to 1.
@@ -140904,21 +140904,21 @@ declare namespace PowerPoint {
140904
140904
  /** An interface for updating data on the `TableCell` object, for use in `tableCell.set({ ... })`. */
140905
140905
  interface TableCellUpdateData {
140906
140906
  /**
140907
- * Specifies the horizontal alignment of the text in the table cell.
140907
+ * Specifies the horizontal alignment of the text in the table cell. Returns `null` if the cell text contains different alignments.
140908
140908
  *
140909
140909
  * @remarks
140910
140910
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
140911
140911
  * @beta
140912
140912
  */
140913
- horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
140913
+ horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
140914
140914
  /**
140915
- * Specifies the indent level of the text in the table cell.
140915
+ * Specifies the indent level of the text in the table cell. Returns `null` if the cell text contains different indent levels.
140916
140916
  *
140917
140917
  * @remarks
140918
140918
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
140919
140919
  * @beta
140920
140920
  */
140921
- indentLevel?: number;
140921
+ indentLevel?: number | null;
140922
140922
  /**
140923
140923
  * Specifies the text content of the table cell.
140924
140924
  *
@@ -141666,21 +141666,21 @@ declare namespace PowerPoint {
141666
141666
  */
141667
141667
  columnIndex?: number;
141668
141668
  /**
141669
- * Specifies the horizontal alignment of the text in the table cell.
141669
+ * Specifies the horizontal alignment of the text in the table cell. Returns `null` if the cell text contains different alignments.
141670
141670
  *
141671
141671
  * @remarks
141672
141672
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
141673
141673
  * @beta
141674
141674
  */
141675
- horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
141675
+ horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
141676
141676
  /**
141677
- * Specifies the indent level of the text in the table cell.
141677
+ * Specifies the indent level of the text in the table cell. Returns `null` if the cell text contains different indent levels.
141678
141678
  *
141679
141679
  * @remarks
141680
141680
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
141681
141681
  * @beta
141682
141682
  */
141683
- indentLevel?: number;
141683
+ indentLevel?: number | null;
141684
141684
  /**
141685
141685
  * Gets the number of table rows this cell spans across.
141686
141686
  Will be greater than or equal to 1.
@@ -142899,7 +142899,7 @@ declare namespace PowerPoint {
142899
142899
  */
142900
142900
  columnIndex?: boolean;
142901
142901
  /**
142902
- * Specifies the horizontal alignment of the text in the table cell.
142902
+ * Specifies the horizontal alignment of the text in the table cell. Returns `null` if the cell text contains different alignments.
142903
142903
  *
142904
142904
  * @remarks
142905
142905
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
@@ -142907,7 +142907,7 @@ declare namespace PowerPoint {
142907
142907
  */
142908
142908
  horizontalAlignment?: boolean;
142909
142909
  /**
142910
- * Specifies the indent level of the text in the table cell.
142910
+ * Specifies the indent level of the text in the table cell. Returns `null` if the cell text contains different indent levels.
142911
142911
  *
142912
142912
  * @remarks
142913
142913
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
@@ -143013,7 +143013,7 @@ declare namespace PowerPoint {
143013
143013
  */
143014
143014
  columnIndex?: boolean;
143015
143015
  /**
143016
- * For EACH ITEM in the collection: Specifies the horizontal alignment of the text in the table cell.
143016
+ * For EACH ITEM in the collection: Specifies the horizontal alignment of the text in the table cell. Returns `null` if the cell text contains different alignments.
143017
143017
  *
143018
143018
  * @remarks
143019
143019
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
@@ -143021,7 +143021,7 @@ declare namespace PowerPoint {
143021
143021
  */
143022
143022
  horizontalAlignment?: boolean;
143023
143023
  /**
143024
- * For EACH ITEM in the collection: Specifies the indent level of the text in the table cell.
143024
+ * For EACH ITEM in the collection: Specifies the indent level of the text in the table cell. Returns `null` if the cell text contains different indent levels.
143025
143025
  *
143026
143026
  * @remarks
143027
143027
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.611",
3
+ "version": "1.0.613",
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": "731dc14d26db062fcd066df4d575c1b4c5dc71339546ac3ba522384ee772bd7d",
49
+ "typesPublisherContentHash": "fea378add46c5fe0f775a92d03bddb759b6fa1452c1372974fba84d2ce5a8500",
50
50
  "typeScriptVersion": "5.1",
51
51
  "nonNpm": true
52
52
  }