Skip to content

Commit a2a1b7a

Browse files
[office-js][office-js-preview] (Outlook) Update length of an attachment's Base64-encoded string (DefinitelyTyped#74867)
1 parent 5f225ce commit a2a1b7a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

types/office-js-preview/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11307,7 +11307,7 @@ declare namespace Office {
1130711307
*
1130811308
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
1130911309
*
11310-
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 27,892,122 characters (about 25 MB).
11310+
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 34,865,152 characters. This corresponds to a maximum attachment size of 25 MB before Base64 encoding.
1131111311
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
1131211312
* @param options - An object literal that contains one or more of the following properties:-
1131311313
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -11354,7 +11354,7 @@ declare namespace Office {
1135411354
*
1135511355
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
1135611356
*
11357-
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 27,892,122 characters (about 25 MB).
11357+
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 34,865,152 characters. This corresponds to a maximum attachment size of 25 MB before Base64 encoding.
1135811358
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
1135911359
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
1136011360
* of type `Office.AsyncResult`.
@@ -20207,7 +20207,7 @@ declare namespace Office {
2020720207
*
2020820208
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
2020920209
*
20210-
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 27,892,122 characters (about 25 MB).
20210+
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 34,865,152 characters. This corresponds to a maximum attachment size of 25 MB before Base64 encoding.
2021120211
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
2021220212
* @param options - An object literal that contains one or more of the following properties:-
2021320213
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -20263,7 +20263,7 @@ declare namespace Office {
2026320263
*
2026420264
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
2026520265
*
20266-
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 27,892,122 characters (about 25 MB).
20266+
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 34,865,152 characters. This corresponds to a maximum attachment size of 25 MB before Base64 encoding.
2026720267
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
2026820268
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of type `Office.AsyncResult`.
2026920269
* On success, the attachment identifier is provided in the `asyncResult.value` property. The identifier varies depending on the Outlook client.

types/office-js/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11265,7 +11265,7 @@ declare namespace Office {
1126511265
*
1126611266
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
1126711267
*
11268-
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 27,892,122 characters (about 25 MB).
11268+
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 34,865,152 characters. This corresponds to a maximum attachment size of 25 MB before Base64 encoding.
1126911269
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
1127011270
* @param options - An object literal that contains one or more of the following properties:-
1127111271
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -11312,7 +11312,7 @@ declare namespace Office {
1131211312
*
1131311313
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
1131411314
*
11315-
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 27,892,122 characters (about 25 MB).
11315+
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 34,865,152 characters. This corresponds to a maximum attachment size of 25 MB before Base64 encoding.
1131611316
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
1131711317
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
1131811318
* of type `Office.AsyncResult`.
@@ -19677,7 +19677,7 @@ declare namespace Office {
1967719677
*
1967819678
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
1967919679
*
19680-
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 27,892,122 characters (about 25 MB).
19680+
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 34,865,152 characters. This corresponds to a maximum attachment size of 25 MB before Base64 encoding.
1968119681
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
1968219682
* @param options - An object literal that contains one or more of the following properties:-
1968319683
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -19733,7 +19733,7 @@ declare namespace Office {
1973319733
*
1973419734
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
1973519735
*
19736-
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 27,892,122 characters (about 25 MB).
19736+
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 34,865,152 characters. This corresponds to a maximum attachment size of 25 MB before Base64 encoding.
1973719737
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
1973819738
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of type `Office.AsyncResult`.
1973919739
* On success, the attachment identifier is provided in the `asyncResult.value` property. The identifier varies depending on the Outlook client.

0 commit comments

Comments
 (0)