@types/office-js 1.0.425 → 1.0.427

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 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: Tue, 24 Sep 2024 21:36:31 GMT
11
+ * Last updated: Wed, 25 Sep 2024 22:37:25 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -10406,12 +10406,6 @@ declare namespace Office {
10406
10406
  *
10407
10407
  * The `addFileAttachmentAsync` method uploads the file at the specified URI and attaches it to the item in the compose form.
10408
10408
  *
10409
- * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
10410
- *
10411
- * **Important**: In recent builds of Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
10412
- * this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
10413
- * introduced with requirement set 1.8.
10414
- *
10415
10409
  * @remarks
10416
10410
  * [Api set: Mailbox 1.1]
10417
10411
  *
@@ -10419,6 +10413,18 @@ declare namespace Office {
10419
10413
  *
10420
10414
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10421
10415
  *
10416
+ * **Important**:
10417
+ *
10418
+ * - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
10419
+ * this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
10420
+ * introduced with requirement set 1.8.
10421
+ *
10422
+ * - 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
10423
+ * 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,
10424
+ * caching can prevent you from seeing your changes. We recommend using `Cache-Control` headers during development.
10425
+ *
10426
+ * - You can use the same URI with the `removeAttachmentAsync` method to remove the attachment in the same session.
10427
+ *
10422
10428
  * **Errors**:
10423
10429
  *
10424
10430
  * - `AttachmentSizeExceeded`: The attachment is larger than allowed.
@@ -10444,12 +10450,6 @@ declare namespace Office {
10444
10450
  *
10445
10451
  * The `addFileAttachmentAsync` method uploads the file at the specified URI and attaches it to the item in the compose form.
10446
10452
  *
10447
- * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
10448
- *
10449
- * **Important**: In recent builds of Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
10450
- * this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
10451
- * introduced with requirement set 1.8.
10452
- *
10453
10453
  * @remarks
10454
10454
  * [Api set: Mailbox 1.1]
10455
10455
  *
@@ -10457,6 +10457,18 @@ declare namespace Office {
10457
10457
  *
10458
10458
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10459
10459
  *
10460
+ * **Important**:
10461
+ *
10462
+ * - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
10463
+ * this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
10464
+ * introduced with requirement set 1.8.
10465
+ *
10466
+ * - 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
10467
+ * 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,
10468
+ * caching can prevent you from seeing your changes. We recommend using `Cache-Control` headers during development.
10469
+ *
10470
+ * - You can use the same URI with the `removeAttachmentAsync` method to remove the attachment in the same session.
10471
+ *
10460
10472
  * **Errors**:
10461
10473
  *
10462
10474
  * - `AttachmentSizeExceeded`: The attachment is larger than allowed.
@@ -13697,10 +13709,12 @@ declare namespace Office {
13697
13709
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13698
13710
  *
13699
13711
  * **Important**: When `item.delayDeliveryTime.setAsync` is used to schedule the delivery of a message, the delay is processed on the server.
13700
- * This allows the message to be sent even if the Outlook client isn't running. However, because of this, the message doesn't appear in the
13712
+ * 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
13701
13713
  * **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
13702
- * the mesasge from the **Sent Items** folder once the message is sent. To learn more, see
13703
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delay-delivery | Manage the delivery date and time of a message}.
13714
+ * the message from the **Sent Items** folder. In Outlook on the web, on Mac, and in
13715
+ * {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows}, the message appears in the **Drafts** folder
13716
+ * until the scheduled delivery time. While it's in the **Drafts** folder, you'll be able to edit the message before it's sent.
13717
+ * 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}.
13704
13718
  *
13705
13719
  * **Errors**:
13706
13720
  *
@@ -13724,10 +13738,12 @@ declare namespace Office {
13724
13738
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13725
13739
  *
13726
13740
  * **Important**: When `item.delayDeliveryTime.setAsync` is used to schedule the delivery of a message, the delay is processed on the server.
13727
- * This allows the message to be sent even if the Outlook client isn't running. However, because of this, the message doesn't appear in the
13741
+ * 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
13728
13742
  * **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
13729
- * the mesasge from the **Sent Items** folder once the message is sent. To learn more, see
13730
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delay-delivery | Manage the delivery date and time of a message}.
13743
+ * the message from the **Sent Items** folder. In Outlook on the web, on Mac, and in
13744
+ * {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows}, the message appears in the **Drafts** folder
13745
+ * until the scheduled delivery time. While it's in the **Drafts** folder, you'll be able to edit the message before it's sent.
13746
+ * 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}.
13731
13747
  *
13732
13748
  * **Errors**:
13733
13749
  *
@@ -16220,12 +16236,6 @@ declare namespace Office {
16220
16236
  *
16221
16237
  * The `addFileAttachmentAsync` method uploads the file at the specified URI and attaches it to the item in the compose form.
16222
16238
  *
16223
- * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
16224
- *
16225
- * **Important**: In recent builds of Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
16226
- * this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
16227
- * introduced with requirement set 1.8.
16228
- *
16229
16239
  * @remarks
16230
16240
  * [Api set: Mailbox 1.1]
16231
16241
  *
@@ -16233,6 +16243,18 @@ declare namespace Office {
16233
16243
  *
16234
16244
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16235
16245
  *
16246
+ * **Important**:
16247
+ *
16248
+ * - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
16249
+ * this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
16250
+ * introduced with requirement set 1.8.
16251
+ *
16252
+ * - 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
16253
+ * 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,
16254
+ * caching can prevent you from seeing your changes. We recommend using `Cache-Control` headers during development.
16255
+ *
16256
+ * - You can use the same URI with the `removeAttachmentAsync` method to remove the attachment in the same session.
16257
+ *
16236
16258
  * **Errors**:
16237
16259
  *
16238
16260
  * - `AttachmentSizeExceeded`: The attachment is larger than allowed.
@@ -16257,12 +16279,6 @@ declare namespace Office {
16257
16279
  *
16258
16280
  * The `addFileAttachmentAsync` method uploads the file at the specified URI and attaches it to the item in the compose form.
16259
16281
  *
16260
- * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
16261
- *
16262
- * **Important**: In recent builds of Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
16263
- * this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
16264
- * introduced with requirement set 1.8.
16265
- *
16266
16282
  * @remarks
16267
16283
  * [Api set: Mailbox 1.1]
16268
16284
  *
@@ -16270,6 +16286,18 @@ declare namespace Office {
16270
16286
  *
16271
16287
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16272
16288
  *
16289
+ * **Important**:
16290
+ *
16291
+ * - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
16292
+ * this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
16293
+ * introduced with requirement set 1.8.
16294
+ *
16295
+ * - 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
16296
+ * 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,
16297
+ * caching can prevent you from seeing your changes. We recommend using `Cache-Control` headers during development.
16298
+ *
16299
+ * - You can use the same URI with the `removeAttachmentAsync` method to remove the attachment in the same session.
16300
+ *
16273
16301
  * **Errors**:
16274
16302
  *
16275
16303
  * - `AttachmentSizeExceeded`: The attachment is larger than allowed.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.425",
3
+ "version": "1.0.427",
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",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "a92dbad76c846ca01423fb3393f6480781cc5a2c924966c6e31fb72f2cdcc77a",
48
+ "typesPublisherContentHash": "7d11912fbf937ff97adf4474c5cd3d05854bcc727afe7b6dbe3c9b193856f37e",
49
49
  "typeScriptVersion": "4.8"
50
50
  }