@types/office-js 1.0.513 → 1.0.515
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 +1 -1
- office-js/index.d.ts +38 -12
- office-js/package.json +2 -2
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: Mon,
|
|
11
|
+
* Last updated: Mon, 07 Jul 2025 18:02:50 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -5446,6 +5446,8 @@ declare namespace Office {
|
|
|
5446
5446
|
*
|
|
5447
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.
|
|
5448
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
|
+
*
|
|
5449
5451
|
* @param permissions An array of device capabilities to which an add-in is requesting access.
|
|
5450
5452
|
* In web versions of Excel, PowerPoint, and Word, add-ins can only request access to a user's camera and microphone.
|
|
5451
5453
|
* Access to a user's geolocation is blocked.
|
|
@@ -15591,7 +15593,7 @@ declare namespace Office {
|
|
|
15591
15593
|
*
|
|
15592
15594
|
* 3. The delegate opens the draft from the shared folder then continues composing.
|
|
15593
15595
|
*
|
|
15594
|
-
* b. **Shared mailbox (
|
|
15596
|
+
* 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)**
|
|
15595
15597
|
*
|
|
15596
15598
|
* 1. The shared mailbox user starts a message. This can be a new message, a reply, or a forward.
|
|
15597
15599
|
*
|
|
@@ -15599,8 +15601,14 @@ declare namespace Office {
|
|
|
15599
15601
|
*
|
|
15600
15602
|
* 3. Another shared mailbox user opens the draft from the shared mailbox then continues composing.
|
|
15601
15603
|
*
|
|
15602
|
-
*
|
|
15603
|
-
* After the message
|
|
15604
|
+
* 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.
|
|
15605
|
+
* After the message is sent, it's usually found in the **Sent Items** folder of the sender's personal mailbox.
|
|
15606
|
+
*
|
|
15607
|
+
* The `getSharedPropertiesAsync` method is supported on the following platforms without additional conditions.
|
|
15608
|
+
*
|
|
15609
|
+
* - Outlook on the web when the shared mailbox is opened in a separate tab or window using the **Open another mailbox** option.
|
|
15610
|
+
*
|
|
15611
|
+
* - New Outlook on Windows when the shared mailbox is promoted to a full account.
|
|
15604
15612
|
*
|
|
15605
15613
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
15606
15614
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
@@ -15632,7 +15640,7 @@ declare namespace Office {
|
|
|
15632
15640
|
*
|
|
15633
15641
|
* 3. The delegate opens the draft from the shared folder then continues composing.
|
|
15634
15642
|
*
|
|
15635
|
-
* b. **Shared mailbox (
|
|
15643
|
+
* 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)**
|
|
15636
15644
|
*
|
|
15637
15645
|
* 1. The shared mailbox user starts a message. This can be a new message, a reply, or a forward.
|
|
15638
15646
|
*
|
|
@@ -15640,8 +15648,14 @@ declare namespace Office {
|
|
|
15640
15648
|
*
|
|
15641
15649
|
* 3. Another shared mailbox user opens the draft from the shared mailbox then continues composing.
|
|
15642
15650
|
*
|
|
15643
|
-
*
|
|
15644
|
-
* After the message
|
|
15651
|
+
* 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.
|
|
15652
|
+
* After the message is sent, it's usually found in the **Sent Items** folder of the sender's personal mailbox.
|
|
15653
|
+
*
|
|
15654
|
+
* The `getSharedPropertiesAsync` method is supported on the following platforms without additional conditions.
|
|
15655
|
+
*
|
|
15656
|
+
* - Outlook on the web when the shared mailbox is opened in a separate tab or window using the **Open another mailbox** option.
|
|
15657
|
+
*
|
|
15658
|
+
* - New Outlook on Windows when the shared mailbox is promoted to a full account.
|
|
15645
15659
|
*
|
|
15646
15660
|
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
|
|
15647
15661
|
* `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
|
|
@@ -19560,7 +19574,7 @@ declare namespace Office {
|
|
|
19560
19574
|
*
|
|
19561
19575
|
* 3. The delegate opens the draft from the shared folder then continues composing.
|
|
19562
19576
|
*
|
|
19563
|
-
* b. **Shared mailbox**
|
|
19577
|
+
* 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)**
|
|
19564
19578
|
*
|
|
19565
19579
|
* 1. The shared mailbox user starts a message. This can be a new message, a reply, or a forward.
|
|
19566
19580
|
*
|
|
@@ -19568,8 +19582,14 @@ declare namespace Office {
|
|
|
19568
19582
|
*
|
|
19569
19583
|
* 3. Another shared mailbox user opens the draft from the shared mailbox then continues composing.
|
|
19570
19584
|
*
|
|
19571
|
-
*
|
|
19572
|
-
* After the message
|
|
19585
|
+
* 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.
|
|
19586
|
+
* After the message is sent, it's usually found in the **Sent Items** folder of the sender's personal mailbox.
|
|
19587
|
+
*
|
|
19588
|
+
* The `getSharedPropertiesAsync` method is supported on the following platforms without additional conditions.
|
|
19589
|
+
*
|
|
19590
|
+
* - Outlook on the web when the shared mailbox is opened in a separate tab or window using the **Open another mailbox** option.
|
|
19591
|
+
*
|
|
19592
|
+
* - New Outlook on Windows when the shared mailbox is promoted to a full account.
|
|
19573
19593
|
*
|
|
19574
19594
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
19575
19595
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
@@ -19603,7 +19623,7 @@ declare namespace Office {
|
|
|
19603
19623
|
*
|
|
19604
19624
|
* 3. The delegate opens the draft from the shared folder then continues composing.
|
|
19605
19625
|
*
|
|
19606
|
-
* b. **Shared mailbox**
|
|
19626
|
+
* 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)**
|
|
19607
19627
|
*
|
|
19608
19628
|
* 1. The shared mailbox user starts a message. This can be a new message, a reply, or a forward.
|
|
19609
19629
|
*
|
|
@@ -19611,8 +19631,14 @@ declare namespace Office {
|
|
|
19611
19631
|
*
|
|
19612
19632
|
* 3. Another shared mailbox user opens the draft from the shared mailbox then continues composing.
|
|
19613
19633
|
*
|
|
19614
|
-
*
|
|
19615
|
-
* After the message
|
|
19634
|
+
* 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.
|
|
19635
|
+
* After the message is sent, it's usually found in the **Sent Items** folder of the sender's personal mailbox.
|
|
19636
|
+
*
|
|
19637
|
+
* The `getSharedPropertiesAsync` method is supported on the following platforms without additional conditions.
|
|
19638
|
+
*
|
|
19639
|
+
* - Outlook on the web when the shared mailbox is opened in a separate tab or window using the **Open another mailbox** option.
|
|
19640
|
+
*
|
|
19641
|
+
* - New Outlook on Windows when the shared mailbox is promoted to a full account.
|
|
19616
19642
|
*
|
|
19617
19643
|
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
|
|
19618
19644
|
* `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.515",
|
|
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": "
|
|
49
|
+
"typesPublisherContentHash": "0699998c1830defe00268b05d73878dcae3b8a0332fea4da67fa4228c446caef",
|
|
50
50
|
"typeScriptVersion": "5.1"
|
|
51
51
|
}
|