@types/office-js 1.0.426 → 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 +1 -1
- office-js/index.d.ts +48 -24
- 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: Wed, 25 Sep 2024
|
|
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.
|
|
@@ -16224,12 +16236,6 @@ declare namespace Office {
|
|
|
16224
16236
|
*
|
|
16225
16237
|
* The `addFileAttachmentAsync` method uploads the file at the specified URI and attaches it to the item in the compose form.
|
|
16226
16238
|
*
|
|
16227
|
-
* You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
|
|
16228
|
-
*
|
|
16229
|
-
* **Important**: In recent builds of Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
|
|
16230
|
-
* this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
|
|
16231
|
-
* introduced with requirement set 1.8.
|
|
16232
|
-
*
|
|
16233
16239
|
* @remarks
|
|
16234
16240
|
* [Api set: Mailbox 1.1]
|
|
16235
16241
|
*
|
|
@@ -16237,6 +16243,18 @@ declare namespace Office {
|
|
|
16237
16243
|
*
|
|
16238
16244
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
|
|
16239
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
|
+
*
|
|
16240
16258
|
* **Errors**:
|
|
16241
16259
|
*
|
|
16242
16260
|
* - `AttachmentSizeExceeded`: The attachment is larger than allowed.
|
|
@@ -16261,12 +16279,6 @@ declare namespace Office {
|
|
|
16261
16279
|
*
|
|
16262
16280
|
* The `addFileAttachmentAsync` method uploads the file at the specified URI and attaches it to the item in the compose form.
|
|
16263
16281
|
*
|
|
16264
|
-
* You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
|
|
16265
|
-
*
|
|
16266
|
-
* **Important**: In recent builds of Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
|
|
16267
|
-
* this action (whether using this API or the Outlook UI). To work around this issue, you can try using the `addFileAttachmentFromBase64` API
|
|
16268
|
-
* introduced with requirement set 1.8.
|
|
16269
|
-
*
|
|
16270
16282
|
* @remarks
|
|
16271
16283
|
* [Api set: Mailbox 1.1]
|
|
16272
16284
|
*
|
|
@@ -16274,6 +16286,18 @@ declare namespace Office {
|
|
|
16274
16286
|
*
|
|
16275
16287
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
|
|
16276
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
|
+
*
|
|
16277
16301
|
* **Errors**:
|
|
16278
16302
|
*
|
|
16279
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.
|
|
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": "
|
|
48
|
+
"typesPublisherContentHash": "7d11912fbf937ff97adf4474c5cd3d05854bcc727afe7b6dbe3c9b193856f37e",
|
|
49
49
|
"typeScriptVersion": "4.8"
|
|
50
50
|
}
|