@types/office-js-preview 1.0.609 → 1.0.611

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, 16 Jun 2025 17:35:52 GMT
11
+ * Last updated: Mon, 07 Jul 2025 18:02:50 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -5498,6 +5498,8 @@ declare namespace Office {
5498
5498
  *
5499
5499
  * - 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.
5500
5500
  *
5501
+ * - 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.
5502
+ *
5501
5503
  * @param permissions An array of device capabilities to which an add-in is requesting access.
5502
5504
  * In web versions of Excel, PowerPoint, and Word, add-ins can only request access to a user's camera and microphone.
5503
5505
  * Access to a user's geolocation is blocked.
@@ -15945,7 +15947,7 @@ declare namespace Office {
15945
15947
  *
15946
15948
  * 3. The delegate opens the draft from the shared folder then continues composing.
15947
15949
  *
15948
- * 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)**
15949
15951
  *
15950
15952
  * 1. The shared mailbox user starts a message. This can be a new message, a reply, or a forward.
15951
15953
  *
@@ -15953,8 +15955,14 @@ declare namespace Office {
15953
15955
  *
15954
15956
  * 3. Another shared mailbox user opens the draft from the shared mailbox then continues composing.
15955
15957
  *
15956
- * The message is now in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
15957
- * 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.
15958
15966
  *
15959
15967
  * @param options - An object literal that contains one or more of the following properties:-
15960
15968
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -15986,7 +15994,7 @@ declare namespace Office {
15986
15994
  *
15987
15995
  * 3. The delegate opens the draft from the shared folder then continues composing.
15988
15996
  *
15989
- * 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)**
15990
15998
  *
15991
15999
  * 1. The shared mailbox user starts a message. This can be a new message, a reply, or a forward.
15992
16000
  *
@@ -15994,8 +16002,14 @@ declare namespace Office {
15994
16002
  *
15995
16003
  * 3. Another shared mailbox user opens the draft from the shared mailbox then continues composing.
15996
16004
  *
15997
- * The message is now in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
15998
- * 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.
15999
16013
  *
16000
16014
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
16001
16015
  * `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
@@ -19929,7 +19943,7 @@ declare namespace Office {
19929
19943
  *
19930
19944
  * 3. The delegate opens the draft from the shared folder then continues composing.
19931
19945
  *
19932
- * 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)**
19933
19947
  *
19934
19948
  * 1. The shared mailbox user starts a message. This can be a new message, a reply, or a forward.
19935
19949
  *
@@ -19937,8 +19951,14 @@ declare namespace Office {
19937
19951
  *
19938
19952
  * 3. Another shared mailbox user opens the draft from the shared mailbox then continues composing.
19939
19953
  *
19940
- * The message is now in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
19941
- * 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.
19942
19962
  *
19943
19963
  * @param options - An object literal that contains one or more of the following properties:-
19944
19964
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -19972,7 +19992,7 @@ declare namespace Office {
19972
19992
  *
19973
19993
  * 3. The delegate opens the draft from the shared folder then continues composing.
19974
19994
  *
19975
- * 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)**
19976
19996
  *
19977
19997
  * 1. The shared mailbox user starts a message. This can be a new message, a reply, or a forward.
19978
19998
  *
@@ -19980,8 +20000,14 @@ declare namespace Office {
19980
20000
  *
19981
20001
  * 3. Another shared mailbox user opens the draft from the shared mailbox then continues composing.
19982
20002
  *
19983
- * The message is now in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
19984
- * 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.
19985
20011
  *
19986
20012
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
19987
20013
  * `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.609",
3
+ "version": "1.0.611",
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": "25de523899fd11f66f181320eb94174db5d08ec7a6245035cb8dc1bd0407f4d5",
49
+ "typesPublisherContentHash": "731dc14d26db062fcd066df4d575c1b4c5dc71339546ac3ba522384ee772bd7d",
50
50
  "typeScriptVersion": "5.1",
51
51
  "nonNpm": true
52
52
  }