@types/office-js-preview 1.0.512 → 1.0.514

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: Wed, 25 Sep 2024 17:36:54 GMT
11
+ * Last updated: Thu, 26 Sep 2024 17:38:13 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -4659,7 +4659,7 @@ declare namespace Office {
4659
4659
  /**
4660
4660
  * Gets the license information for the user's Office installation.
4661
4661
  */
4662
- license: string;
4662
+ license: object;
4663
4663
  /**
4664
4664
  * Provides access to the Microsoft Outlook add-in object model.
4665
4665
  *
@@ -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.
@@ -16482,12 +16494,6 @@ declare namespace Office {
16482
16494
  *
16483
16495
  * The `addFileAttachmentAsync` method uploads the file at the specified URI and attaches it to the item in the compose form.
16484
16496
  *
16485
- * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
16486
- *
16487
- * **Important**: In recent builds of Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
16488
- * this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
16489
- * introduced with requirement set 1.8.
16490
- *
16491
16497
  * @remarks
16492
16498
  * [Api set: Mailbox 1.1]
16493
16499
  *
@@ -16495,6 +16501,18 @@ declare namespace Office {
16495
16501
  *
16496
16502
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16497
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
+ *
16498
16516
  * **Errors**:
16499
16517
  *
16500
16518
  * - `AttachmentSizeExceeded`: The attachment is larger than allowed.
@@ -16519,12 +16537,6 @@ declare namespace Office {
16519
16537
  *
16520
16538
  * The `addFileAttachmentAsync` method uploads the file at the specified URI and attaches it to the item in the compose form.
16521
16539
  *
16522
- * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
16523
- *
16524
- * **Important**: In recent builds of Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
16525
- * this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
16526
- * introduced with requirement set 1.8.
16527
- *
16528
16540
  * @remarks
16529
16541
  * [Api set: Mailbox 1.1]
16530
16542
  *
@@ -16532,6 +16544,18 @@ declare namespace Office {
16532
16544
  *
16533
16545
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16534
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
+ *
16535
16559
  * **Errors**:
16536
16560
  *
16537
16561
  * - `AttachmentSizeExceeded`: The attachment is larger than allowed.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.512",
3
+ "version": "1.0.514",
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": "fb5cb5c589d2ac03782ac23671cc653c712a224399931c9aa06ae4af50a10d21",
48
+ "typesPublisherContentHash": "95926cee7b239bcf4d21ca7ec6936b57b853ea92ce7ccae72f4342a396a29fe3",
49
49
  "typeScriptVersion": "4.8",
50
50
  "nonNpm": true
51
51
  }