@types/office-js-preview 1.0.511 → 1.0.513
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-preview/README.md +1 -1
- office-js-preview/index.d.ts +58 -30
- office-js-preview/package.json +2 -2
office-js-preview/README.md
CHANGED
|
@@ -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:
|
|
11
|
+
* Last updated: Wed, 25 Sep 2024 22:37:25 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -10470,12 +10470,6 @@ declare namespace Office {
|
|
|
10470
10470
|
*
|
|
10471
10471
|
* The `addFileAttachmentAsync` method uploads the file at the specified URI and attaches it to the item in the compose form.
|
|
10472
10472
|
*
|
|
10473
|
-
* You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
|
|
10474
|
-
*
|
|
10475
|
-
* **Important**: In recent builds of Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
|
|
10476
|
-
* this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
|
|
10477
|
-
* introduced with requirement set 1.8.
|
|
10478
|
-
*
|
|
10479
10473
|
* @remarks
|
|
10480
10474
|
* [Api set: Mailbox 1.1]
|
|
10481
10475
|
*
|
|
@@ -10483,6 +10477,18 @@ declare namespace Office {
|
|
|
10483
10477
|
*
|
|
10484
10478
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
|
|
10485
10479
|
*
|
|
10480
|
+
* **Important**:
|
|
10481
|
+
*
|
|
10482
|
+
* - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
|
|
10483
|
+
* this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
|
|
10484
|
+
* introduced with requirement set 1.8.
|
|
10485
|
+
*
|
|
10486
|
+
* - The URI of the file to be attached must support caching in production. The server hosting the image shouldn't return a `Cache-Control` header that
|
|
10487
|
+
* specifies `no-cache`, `no-store`, or similar options in the HTTP response. However, when you're developing the add-in and making changes to files,
|
|
10488
|
+
* caching can prevent you from seeing your changes. We recommend using `Cache-Control` headers during development.
|
|
10489
|
+
*
|
|
10490
|
+
* - You can use the same URI with the `removeAttachmentAsync` method to remove the attachment in the same session.
|
|
10491
|
+
*
|
|
10486
10492
|
* **Errors**:
|
|
10487
10493
|
*
|
|
10488
10494
|
* - `AttachmentSizeExceeded`: The attachment is larger than allowed.
|
|
@@ -10508,12 +10514,6 @@ declare namespace Office {
|
|
|
10508
10514
|
*
|
|
10509
10515
|
* The `addFileAttachmentAsync` method uploads the file at the specified URI and attaches it to the item in the compose form.
|
|
10510
10516
|
*
|
|
10511
|
-
* You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
|
|
10512
|
-
*
|
|
10513
|
-
* **Important**: In recent builds of Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
|
|
10514
|
-
* this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
|
|
10515
|
-
* introduced with requirement set 1.8.
|
|
10516
|
-
*
|
|
10517
10517
|
* @remarks
|
|
10518
10518
|
* [Api set: Mailbox 1.1]
|
|
10519
10519
|
*
|
|
@@ -10521,6 +10521,18 @@ declare namespace Office {
|
|
|
10521
10521
|
*
|
|
10522
10522
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
|
|
10523
10523
|
*
|
|
10524
|
+
* **Important**:
|
|
10525
|
+
*
|
|
10526
|
+
* - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
|
|
10527
|
+
* this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
|
|
10528
|
+
* introduced with requirement set 1.8.
|
|
10529
|
+
*
|
|
10530
|
+
* - The URI of the file to be attached must support caching in production. The server hosting the image shouldn't return a `Cache-Control` header that
|
|
10531
|
+
* specifies `no-cache`, `no-store`, or similar options in the HTTP response. However, when you're developing the add-in and making changes to files,
|
|
10532
|
+
* caching can prevent you from seeing your changes. We recommend using `Cache-Control` headers during development.
|
|
10533
|
+
*
|
|
10534
|
+
* - You can use the same URI with the `removeAttachmentAsync` method to remove the attachment in the same session.
|
|
10535
|
+
*
|
|
10524
10536
|
* **Errors**:
|
|
10525
10537
|
*
|
|
10526
10538
|
* - `AttachmentSizeExceeded`: The attachment is larger than allowed.
|
|
@@ -13761,10 +13773,12 @@ declare namespace Office {
|
|
|
13761
13773
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
13762
13774
|
*
|
|
13763
13775
|
* **Important**: When `item.delayDeliveryTime.setAsync` is used to schedule the delivery of a message, the delay is processed on the server.
|
|
13764
|
-
* This allows the message to be sent even if the Outlook client isn't running.
|
|
13776
|
+
* This allows the message to be sent even if the Outlook client isn't running. In classic Outlook on Windows, the message doesn't appear in the
|
|
13765
13777
|
* **Outbox** folder, so you won't be able to edit the message or cancel its delivery after selecting **Send**. You'll only be able to review
|
|
13766
|
-
* the
|
|
13767
|
-
* {@link https://
|
|
13778
|
+
* the message from the **Sent Items** folder. In Outlook on the web, on Mac, and in
|
|
13779
|
+
* {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows}, the message appears in the **Drafts** folder
|
|
13780
|
+
* until the scheduled delivery time. While it's in the **Drafts** folder, you'll be able to edit the message before it's sent.
|
|
13781
|
+
* To learn more, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delay-delivery | Manage the delivery date and time of a message}.
|
|
13768
13782
|
*
|
|
13769
13783
|
* **Errors**:
|
|
13770
13784
|
*
|
|
@@ -13788,10 +13802,12 @@ declare namespace Office {
|
|
|
13788
13802
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
13789
13803
|
*
|
|
13790
13804
|
* **Important**: When `item.delayDeliveryTime.setAsync` is used to schedule the delivery of a message, the delay is processed on the server.
|
|
13791
|
-
* This allows the message to be sent even if the Outlook client isn't running.
|
|
13805
|
+
* This allows the message to be sent even if the Outlook client isn't running. In classic Outlook on Windows, the message doesn't appear in the
|
|
13792
13806
|
* **Outbox** folder, so you won't be able to edit the message or cancel its delivery after selecting **Send**. You'll only be able to review
|
|
13793
|
-
* the
|
|
13794
|
-
* {@link https://
|
|
13807
|
+
* the message from the **Sent Items** folder. In Outlook on the web, on Mac, and in
|
|
13808
|
+
* {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows}, the message appears in the **Drafts** folder
|
|
13809
|
+
* until the scheduled delivery time. While it's in the **Drafts** folder, you'll be able to edit the message before it's sent.
|
|
13810
|
+
* To learn more, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delay-delivery | Manage the delivery date and time of a message}.
|
|
13795
13811
|
*
|
|
13796
13812
|
* **Errors**:
|
|
13797
13813
|
*
|
|
@@ -16478,12 +16494,6 @@ declare namespace Office {
|
|
|
16478
16494
|
*
|
|
16479
16495
|
* The `addFileAttachmentAsync` method uploads the file at the specified URI and attaches it to the item in the compose form.
|
|
16480
16496
|
*
|
|
16481
|
-
* You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
|
|
16482
|
-
*
|
|
16483
|
-
* **Important**: In recent builds of Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
|
|
16484
|
-
* this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
|
|
16485
|
-
* introduced with requirement set 1.8.
|
|
16486
|
-
*
|
|
16487
16497
|
* @remarks
|
|
16488
16498
|
* [Api set: Mailbox 1.1]
|
|
16489
16499
|
*
|
|
@@ -16491,6 +16501,18 @@ declare namespace Office {
|
|
|
16491
16501
|
*
|
|
16492
16502
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
|
|
16493
16503
|
*
|
|
16504
|
+
* **Important**:
|
|
16505
|
+
*
|
|
16506
|
+
* - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
|
|
16507
|
+
* this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
|
|
16508
|
+
* introduced with requirement set 1.8.
|
|
16509
|
+
*
|
|
16510
|
+
* - The URI of the file to be attached must support caching in production. The server hosting the image shouldn't return a `Cache-Control` header that
|
|
16511
|
+
* specifies `no-cache`, `no-store`, or similar options in the HTTP response. However, when you're developing the add-in and making changes to files,
|
|
16512
|
+
* caching can prevent you from seeing your changes. We recommend using `Cache-Control` headers during development.
|
|
16513
|
+
*
|
|
16514
|
+
* - You can use the same URI with the `removeAttachmentAsync` method to remove the attachment in the same session.
|
|
16515
|
+
*
|
|
16494
16516
|
* **Errors**:
|
|
16495
16517
|
*
|
|
16496
16518
|
* - `AttachmentSizeExceeded`: The attachment is larger than allowed.
|
|
@@ -16515,12 +16537,6 @@ declare namespace Office {
|
|
|
16515
16537
|
*
|
|
16516
16538
|
* The `addFileAttachmentAsync` method uploads the file at the specified URI and attaches it to the item in the compose form.
|
|
16517
16539
|
*
|
|
16518
|
-
* You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
|
|
16519
|
-
*
|
|
16520
|
-
* **Important**: In recent builds of Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
|
|
16521
|
-
* this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
|
|
16522
|
-
* introduced with requirement set 1.8.
|
|
16523
|
-
*
|
|
16524
16540
|
* @remarks
|
|
16525
16541
|
* [Api set: Mailbox 1.1]
|
|
16526
16542
|
*
|
|
@@ -16528,6 +16544,18 @@ declare namespace Office {
|
|
|
16528
16544
|
*
|
|
16529
16545
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
|
|
16530
16546
|
*
|
|
16547
|
+
* **Important**:
|
|
16548
|
+
*
|
|
16549
|
+
* - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
|
|
16550
|
+
* this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
|
|
16551
|
+
* introduced with requirement set 1.8.
|
|
16552
|
+
*
|
|
16553
|
+
* - The URI of the file to be attached must support caching in production. The server hosting the image shouldn't return a `Cache-Control` header that
|
|
16554
|
+
* specifies `no-cache`, `no-store`, or similar options in the HTTP response. However, when you're developing the add-in and making changes to files,
|
|
16555
|
+
* caching can prevent you from seeing your changes. We recommend using `Cache-Control` headers during development.
|
|
16556
|
+
*
|
|
16557
|
+
* - You can use the same URI with the `removeAttachmentAsync` method to remove the attachment in the same session.
|
|
16558
|
+
*
|
|
16531
16559
|
* **Errors**:
|
|
16532
16560
|
*
|
|
16533
16561
|
* - `AttachmentSizeExceeded`: The attachment is larger than allowed.
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.513",
|
|
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",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "0c68670349a5d4d0163591266685d7c4f24a6ed8d02a3cf4400bf503f42b60f2",
|
|
49
49
|
"typeScriptVersion": "4.8",
|
|
50
50
|
"nonNpm": true
|
|
51
51
|
}
|