@types/office-js-preview 1.0.610 → 1.0.612

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, 26 Jun 2025 21:02:18 GMT
11
+ * Last updated: Fri, 11 Jul 2025 17:36:19 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -15947,7 +15947,7 @@ declare namespace Office {
15947
15947
  *
15948
15948
  * 3. The delegate opens the draft from the shared folder then continues composing.
15949
15949
  *
15950
- * b. **Shared mailbox**
15950
+ * b. **Shared mailbox opened in the same panel as the user's primary mailbox (web, classic Windows) or shared mailbox that hasn't been promoted to a full account (new Windows)**
15951
15951
  *
15952
15952
  * 1. The shared mailbox user starts a message. This can be a new message, a reply, or a forward.
15953
15953
  *
@@ -15955,8 +15955,14 @@ declare namespace Office {
15955
15955
  *
15956
15956
  * 3. Another shared mailbox user opens the draft from the shared mailbox then continues composing.
15957
15957
  *
15958
- * The message is now in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
15959
- * After the message has been sent, it's usually found in the sender's **Sent Items** folder.
15958
+ * Once these conditions are met, the message becomes available in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
15959
+ * After the message is sent, it's usually found in the **Sent Items** folder of the sender's personal mailbox.
15960
+ *
15961
+ * The `getSharedPropertiesAsync` method is supported on the following platforms without additional conditions.
15962
+ *
15963
+ * - Outlook on the web when the shared mailbox is opened in a separate tab or window using the **Open another mailbox** option.
15964
+ *
15965
+ * - New Outlook on Windows when the shared mailbox is promoted to a full account.
15960
15966
  *
15961
15967
  * @param options - An object literal that contains one or more of the following properties:-
15962
15968
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -15988,7 +15994,7 @@ declare namespace Office {
15988
15994
  *
15989
15995
  * 3. The delegate opens the draft from the shared folder then continues composing.
15990
15996
  *
15991
- * b. **Shared mailbox**
15997
+ * b. **Shared mailbox opened in the same panel as the user's primary mailbox (web, classic Windows) or shared mailbox that hasn't been promoted to a full account (new Windows)**
15992
15998
  *
15993
15999
  * 1. The shared mailbox user starts a message. This can be a new message, a reply, or a forward.
15994
16000
  *
@@ -15996,8 +16002,14 @@ declare namespace Office {
15996
16002
  *
15997
16003
  * 3. Another shared mailbox user opens the draft from the shared mailbox then continues composing.
15998
16004
  *
15999
- * The message is now in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
16000
- * After the message has been sent, it's usually found in the sender's **Sent Items** folder.
16005
+ * Once these conditions are met, the message becomes available in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
16006
+ * After the message is sent, it's usually found in the **Sent Items** folder of the sender's personal mailbox.
16007
+ *
16008
+ * The `getSharedPropertiesAsync` method is supported on the following platforms without additional conditions.
16009
+ *
16010
+ * - Outlook on the web when the shared mailbox is opened in a separate tab or window using the **Open another mailbox** option.
16011
+ *
16012
+ * - New Outlook on Windows when the shared mailbox is promoted to a full account.
16001
16013
  *
16002
16014
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
16003
16015
  * `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
@@ -19931,7 +19943,7 @@ declare namespace Office {
19931
19943
  *
19932
19944
  * 3. The delegate opens the draft from the shared folder then continues composing.
19933
19945
  *
19934
- * b. **Shared mailbox**
19946
+ * b. **Shared mailbox opened in the same panel as the user's primary mailbox (web, classic Windows) or shared mailbox that hasn't been promoted to a full account (new Windows)**
19935
19947
  *
19936
19948
  * 1. The shared mailbox user starts a message. This can be a new message, a reply, or a forward.
19937
19949
  *
@@ -19939,8 +19951,14 @@ declare namespace Office {
19939
19951
  *
19940
19952
  * 3. Another shared mailbox user opens the draft from the shared mailbox then continues composing.
19941
19953
  *
19942
- * The message is now in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
19943
- * After the message has been sent, it's usually found in the sender's **Sent Items** folder.
19954
+ * Once these conditions are met, the message becomes available in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
19955
+ * After the message is sent, it's usually found in the **Sent Items** folder of the sender's personal mailbox.
19956
+ *
19957
+ * The `getSharedPropertiesAsync` method is supported on the following platforms without additional conditions.
19958
+ *
19959
+ * - Outlook on the web when the shared mailbox is opened in a separate tab or window using the **Open another mailbox** option.
19960
+ *
19961
+ * - New Outlook on Windows when the shared mailbox is promoted to a full account.
19944
19962
  *
19945
19963
  * @param options - An object literal that contains one or more of the following properties:-
19946
19964
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -19974,7 +19992,7 @@ declare namespace Office {
19974
19992
  *
19975
19993
  * 3. The delegate opens the draft from the shared folder then continues composing.
19976
19994
  *
19977
- * b. **Shared mailbox**
19995
+ * b. **Shared mailbox opened in the same panel as the user's primary mailbox (web, classic Windows) or shared mailbox that hasn't been promoted to a full account (new Windows)**
19978
19996
  *
19979
19997
  * 1. The shared mailbox user starts a message. This can be a new message, a reply, or a forward.
19980
19998
  *
@@ -19982,8 +20000,14 @@ declare namespace Office {
19982
20000
  *
19983
20001
  * 3. Another shared mailbox user opens the draft from the shared mailbox then continues composing.
19984
20002
  *
19985
- * The message is now in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
19986
- * After the message has been sent, it's usually found in the sender's **Sent Items** folder.
20003
+ * Once these conditions are met, the message becomes available in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
20004
+ * After the message is sent, it's usually found in the **Sent Items** folder of the sender's personal mailbox.
20005
+ *
20006
+ * The `getSharedPropertiesAsync` method is supported on the following platforms without additional conditions.
20007
+ *
20008
+ * - Outlook on the web when the shared mailbox is opened in a separate tab or window using the **Open another mailbox** option.
20009
+ *
20010
+ * - New Outlook on Windows when the shared mailbox is promoted to a full account.
19987
20011
  *
19988
20012
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
19989
20013
  * `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
@@ -136377,21 +136401,21 @@ declare namespace PowerPoint {
136377
136401
  */
136378
136402
  readonly columnIndex: number;
136379
136403
  /**
136380
- * 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.
136381
136405
  *
136382
136406
  * @remarks
136383
136407
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136384
136408
  * @beta
136385
136409
  */
136386
- horizontalAlignment: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
136410
+ horizontalAlignment: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
136387
136411
  /**
136388
- * 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.
136389
136413
  *
136390
136414
  * @remarks
136391
136415
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
136392
136416
  * @beta
136393
136417
  */
136394
- indentLevel: number;
136418
+ indentLevel: number | null;
136395
136419
  /**
136396
136420
  * Gets the number of table rows this cell spans across.
136397
136421
  Will be greater than or equal to 1.
@@ -140880,21 +140904,21 @@ declare namespace PowerPoint {
140880
140904
  /** An interface for updating data on the `TableCell` object, for use in `tableCell.set({ ... })`. */
140881
140905
  interface TableCellUpdateData {
140882
140906
  /**
140883
- * 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.
140884
140908
  *
140885
140909
  * @remarks
140886
140910
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
140887
140911
  * @beta
140888
140912
  */
140889
- horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
140913
+ horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
140890
140914
  /**
140891
- * 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.
140892
140916
  *
140893
140917
  * @remarks
140894
140918
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
140895
140919
  * @beta
140896
140920
  */
140897
- indentLevel?: number;
140921
+ indentLevel?: number | null;
140898
140922
  /**
140899
140923
  * Specifies the text content of the table cell.
140900
140924
  *
@@ -141642,21 +141666,21 @@ declare namespace PowerPoint {
141642
141666
  */
141643
141667
  columnIndex?: number;
141644
141668
  /**
141645
- * 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.
141646
141670
  *
141647
141671
  * @remarks
141648
141672
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
141649
141673
  * @beta
141650
141674
  */
141651
- horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
141675
+ horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;
141652
141676
  /**
141653
- * 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.
141654
141678
  *
141655
141679
  * @remarks
141656
141680
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
141657
141681
  * @beta
141658
141682
  */
141659
- indentLevel?: number;
141683
+ indentLevel?: number | null;
141660
141684
  /**
141661
141685
  * Gets the number of table rows this cell spans across.
141662
141686
  Will be greater than or equal to 1.
@@ -142875,7 +142899,7 @@ declare namespace PowerPoint {
142875
142899
  */
142876
142900
  columnIndex?: boolean;
142877
142901
  /**
142878
- * 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.
142879
142903
  *
142880
142904
  * @remarks
142881
142905
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
@@ -142883,7 +142907,7 @@ declare namespace PowerPoint {
142883
142907
  */
142884
142908
  horizontalAlignment?: boolean;
142885
142909
  /**
142886
- * 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.
142887
142911
  *
142888
142912
  * @remarks
142889
142913
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
@@ -142989,7 +143013,7 @@ declare namespace PowerPoint {
142989
143013
  */
142990
143014
  columnIndex?: boolean;
142991
143015
  /**
142992
- * 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.
142993
143017
  *
142994
143018
  * @remarks
142995
143019
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
@@ -142997,7 +143021,7 @@ declare namespace PowerPoint {
142997
143021
  */
142998
143022
  horizontalAlignment?: boolean;
142999
143023
  /**
143000
- * 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.
143001
143025
  *
143002
143026
  * @remarks
143003
143027
  * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.610",
3
+ "version": "1.0.612",
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": "ac75d9bf62a3713a95fa4da981e00542af8b11effae099fd278dbdd8cc8bec01",
49
+ "typesPublisherContentHash": "b889add30a0d5805b1cd1bdb16560067c1d2717c22cb26f28c02d95fc1ea02be",
50
50
  "typeScriptVersion": "5.1",
51
51
  "nonNpm": true
52
52
  }