@types/office-js 1.0.465 → 1.0.467

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: Mon, 10 Feb 2025 20:04:01 GMT
11
+ * Last updated: Fri, 14 Feb 2025 21:32:13 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -10843,13 +10843,6 @@ declare namespace Office {
10843
10843
  /**
10844
10844
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
10845
10845
  *
10846
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
10847
- * the attachment's identifier from a `getAttachmentsAsync` call, then in the same session, use that identifier to retrieve the attachment.
10848
- * In Outlook on the web, on mobile devices, and in {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
10849
- * the attachment identifier is valid only within the same session.
10850
- * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
10851
- * continue in a separate window.
10852
- *
10853
10846
  * @remarks
10854
10847
  * [Api set: Mailbox 1.8]
10855
10848
  *
@@ -10857,6 +10850,18 @@ declare namespace Office {
10857
10850
  *
10858
10851
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10859
10852
  *
10853
+ * **Important**:
10854
+ *
10855
+ * - The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
10856
+ * the attachment's identifier from a `getAttachmentsAsync` call, then in the same session, use that identifier to retrieve the attachment.
10857
+ *
10858
+ * - In Outlook on the web and the {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
10859
+ * `getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
10860
+ *
10861
+ * - In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid only within the same session.
10862
+ * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
10863
+ * continue in a separate window.
10864
+ *
10860
10865
  * **Errors**:
10861
10866
  *
10862
10867
  * - `AttachmentTypeNotSupported`: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format,
@@ -10875,13 +10880,6 @@ declare namespace Office {
10875
10880
  /**
10876
10881
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
10877
10882
  *
10878
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
10879
- * the attachment's identifier from a `getAttachmentsAsync` call, then in the same session, use that identifier to retrieve the attachment.
10880
- * In Outlook on the web, on mobile devices, and in {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
10881
- * the attachment identifier is valid only within the same session.
10882
- * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
10883
- * continue in a separate window.
10884
- *
10885
10883
  * @remarks
10886
10884
  * [Api set: Mailbox 1.8]
10887
10885
  *
@@ -10889,6 +10887,18 @@ declare namespace Office {
10889
10887
  *
10890
10888
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10891
10889
  *
10890
+ * **Important**:
10891
+ *
10892
+ * - The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
10893
+ * the attachment's identifier from a `getAttachmentsAsync` call, then in the same session, use that identifier to retrieve the attachment.
10894
+ *
10895
+ * - In Outlook on the web and the {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
10896
+ * `getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
10897
+ *
10898
+ * - In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid only within the same session.
10899
+ * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
10900
+ * continue in a separate window.
10901
+ *
10892
10902
  * **Errors**:
10893
10903
  *
10894
10904
  * - `AttachmentTypeNotSupported`: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format,
@@ -10912,6 +10922,9 @@ declare namespace Office {
10912
10922
  *
10913
10923
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10914
10924
  *
10925
+ * **Important**: In Outlook on the web and the new Outlook on Windows, users can select the **Upload and share** option to upload an attachment to OneDrive and
10926
+ * include a link to the file in the mail item. However, since only a link is included, `getAttachmentsAsync` doesn't return this attachment.
10927
+ *
10915
10928
  * @param options - An object literal that contains one or more of the following properties:-
10916
10929
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10917
10930
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
@@ -10929,6 +10942,9 @@ declare namespace Office {
10929
10942
  *
10930
10943
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10931
10944
  *
10945
+ * **Important**: In Outlook on the web and the new Outlook on Windows, users can select the **Upload and share** option to upload an attachment to OneDrive and
10946
+ * include a link to the file in the mail item. However, since only a link is included, `getAttachmentsAsync` doesn't return this attachment.
10947
+ *
10932
10948
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
10933
10949
  * type `Office.AsyncResult`. If the call fails, the `asyncResult.error` property will contain an error code with the reason for
10934
10950
  * the failure.
@@ -11638,9 +11654,12 @@ declare namespace Office {
11638
11654
  *
11639
11655
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
11640
11656
  *
11641
- * **Note**: Certain types of files are blocked by Outlook due to potential security issues and are therefore not returned. For more information, see
11657
+ * **Important**:
11658
+ *
11659
+ * - Certain types of files are blocked by Outlook due to potential security issues and are therefore not returned. For more information, see
11642
11660
  * {@link https://support.microsoft.com/office/434752e1-02d3-4e90-9124-8b81e49a8519 | Blocked attachments in Outlook}.
11643
11661
  *
11662
+ * - Attachments added using the **Upload and share** option aren't returned.
11644
11663
  */
11645
11664
  attachments: AttachmentDetails[];
11646
11665
  /**
@@ -12143,12 +12162,6 @@ declare namespace Office {
12143
12162
  /**
12144
12163
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
12145
12164
  *
12146
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
12147
- * the attachment's identifier from an {@link Office.AppointmentRead.attachments | item.attachments} call, then in the same session, use that identifier
12148
- * to retrieve the attachment. In Outlook on the web, on mobile devices, and in {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
12149
- * the attachment identifier is valid only within the same session. A session is over when the user closes the app, or if the user starts composing an
12150
- * inline form then subsequently pops out the form to continue in a separate window.
12151
- *
12152
12165
  * @remarks
12153
12166
  * [Api set: Mailbox 1.8]
12154
12167
  *
@@ -12156,6 +12169,19 @@ declare namespace Office {
12156
12169
  *
12157
12170
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
12158
12171
  *
12172
+ * **Important**:
12173
+ *
12174
+ * - The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
12175
+ * the attachment's identifier from an {@link Office.MessageRead.attachments | item.attachments} call, then in the same session, use that identifier
12176
+ * to retrieve the attachment.
12177
+ *
12178
+ * - In Outlook on the web and the {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
12179
+ * `getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
12180
+ *
12181
+ * - In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid only within the same session.
12182
+ * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
12183
+ * continue in a separate window.
12184
+ *
12159
12185
  * **Errors**:
12160
12186
  *
12161
12187
  * - `AttachmentTypeNotSupported`: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format,
@@ -12174,12 +12200,6 @@ declare namespace Office {
12174
12200
  /**
12175
12201
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
12176
12202
  *
12177
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
12178
- * the attachment's identifier from an {@link Office.AppointmentRead.attachments | item.attachments} call, then in the same session, use that identifier
12179
- * to retrieve the attachment. In Outlook on the web, on mobile devices, and in {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
12180
- * the attachment identifier is valid only within the same session. A session is over when the user closes the app, or if the user starts composing an
12181
- * inline form then subsequently pops out the form to continue in a separate window.
12182
- *
12183
12203
  * @remarks
12184
12204
  * [Api set: Mailbox 1.8]
12185
12205
  *
@@ -12187,6 +12207,19 @@ declare namespace Office {
12187
12207
  *
12188
12208
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
12189
12209
  *
12210
+ * **Important**:
12211
+ *
12212
+ * - The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
12213
+ * the attachment's identifier from an {@link Office.MessageRead.attachments | item.attachments} call, then in the same session, use that identifier
12214
+ * to retrieve the attachment.
12215
+ *
12216
+ * - In Outlook on the web and the {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
12217
+ * `getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
12218
+ *
12219
+ * - In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid only within the same session.
12220
+ * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
12221
+ * continue in a separate window.
12222
+ *
12190
12223
  * **Errors**:
12191
12224
  *
12192
12225
  * - `AttachmentTypeNotSupported`: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format,
@@ -16910,12 +16943,6 @@ declare namespace Office {
16910
16943
  /**
16911
16944
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
16912
16945
  *
16913
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
16914
- * the attachment's identifier from a `getAttachmentsAsync` call, then in the same session, use that identifier to retrieve the attachment.
16915
- * In Outlook on the web, on mobile devices, and in {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
16916
- * the attachment identifier is valid only within the same session. A session is over when the user closes the app, or if the user starts composing an inline form
16917
- * then subsequently pops out the form to continue in a separate window.
16918
- *
16919
16946
  * @remarks
16920
16947
  * [Api set: Mailbox 1.8]
16921
16948
  *
@@ -16923,6 +16950,18 @@ declare namespace Office {
16923
16950
  *
16924
16951
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16925
16952
  *
16953
+ * **Important**:
16954
+ *
16955
+ * - The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
16956
+ * the attachment's identifier from a `getAttachmentsAsync` call, then in the same session, use that identifier to retrieve the attachment.
16957
+ *
16958
+ * - In Outlook on the web and the {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
16959
+ * `getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
16960
+ *
16961
+ * - In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid only within the same session.
16962
+ * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
16963
+ * continue in a separate window.
16964
+ *
16926
16965
  * **Errors**:
16927
16966
  *
16928
16967
  * - `AttachmentTypeNotSupported`: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format,
@@ -16941,12 +16980,6 @@ declare namespace Office {
16941
16980
  /**
16942
16981
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
16943
16982
  *
16944
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
16945
- * the attachment's identifier from a `getAttachmentsAsync` call, then in the same session, use that identifier to retrieve the attachment.
16946
- * In Outlook on the web, on mobile devices, and in {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
16947
- * the attachment identifier is valid only within the same session. A session is over when the user closes the app, or if the user starts composing an inline form
16948
- * then subsequently pops out the form to continue in a separate window.
16949
- *
16950
16983
  * @remarks
16951
16984
  * [Api set: Mailbox 1.8]
16952
16985
  *
@@ -16954,6 +16987,18 @@ declare namespace Office {
16954
16987
  *
16955
16988
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16956
16989
  *
16990
+ * **Important**:
16991
+ *
16992
+ * - The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
16993
+ * the attachment's identifier from a `getAttachmentsAsync` call, then in the same session, use that identifier to retrieve the attachment.
16994
+ *
16995
+ * - In Outlook on the web and the {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
16996
+ * `getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
16997
+ *
16998
+ * - In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid only within the same session.
16999
+ * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
17000
+ * continue in a separate window.
17001
+ *
16957
17002
  * **Errors**:
16958
17003
  *
16959
17004
  * - `AttachmentTypeNotSupported`: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format,
@@ -16977,6 +17022,9 @@ declare namespace Office {
16977
17022
  *
16978
17023
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16979
17024
  *
17025
+ * **Important**: In Outlook on the web and the new Outlook on Windows, users can select the **Upload and share** option to upload an attachment to OneDrive and
17026
+ * include a link to the file in the mail item. However, since only a link is included, `getAttachmentsAsync` doesn't return this attachment.
17027
+ *
16980
17028
  * @param options - An object literal that contains one or more of the following properties:-
16981
17029
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16982
17030
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
@@ -16994,6 +17042,9 @@ declare namespace Office {
16994
17042
  *
16995
17043
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16996
17044
  *
17045
+ * **Important**: In Outlook on the web and the new Outlook on Windows, users can select the **Upload and share** option to upload an attachment to OneDrive and
17046
+ * include a link to the file in the mail item. However, since only a link is included, `getAttachmentsAsync` doesn't return this attachment.
17047
+ *
16997
17048
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
16998
17049
  * type `Office.AsyncResult`. If the call fails, the `asyncResult.error` property will contain an error code with the reason for
16999
17050
  * the failure.
@@ -17779,10 +17830,13 @@ declare namespace Office {
17779
17830
  *
17780
17831
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
17781
17832
  *
17782
- * **Note**: Certain types of files are blocked by Outlook due to potential security issues and are therefore not returned.
17833
+ * **Important**:
17834
+ *
17835
+ * - Certain types of files are blocked by Outlook due to potential security issues and are therefore not returned.
17783
17836
  * For more information, see
17784
17837
  * {@link https://support.microsoft.com/office/434752e1-02d3-4e90-9124-8b81e49a8519 | Blocked attachments in Outlook}.
17785
17838
  *
17839
+ * - Attachments added using the **Upload and share** option aren't returned.
17786
17840
  */
17787
17841
  attachments: AttachmentDetails[];
17788
17842
  /**
@@ -18445,12 +18499,6 @@ declare namespace Office {
18445
18499
  /**
18446
18500
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
18447
18501
  *
18448
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
18449
- * the attachment's identifier from an {@link Office.MessageRead.attachments | item.attachments} call, then in the same session, use that identifier
18450
- * to retrieve the attachment. In Outlook on the web, on mobile devices, and in {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
18451
- * the attachment identifier is valid only within the same session. A session is over when the user closes the app, or if the user starts composing an
18452
- * inline form then subsequently pops out the form to continue in a separate window.
18453
- *
18454
18502
  * @remarks
18455
18503
  * [Api set: Mailbox 1.8]
18456
18504
  *
@@ -18458,6 +18506,19 @@ declare namespace Office {
18458
18506
  *
18459
18507
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
18460
18508
  *
18509
+ * **Important**:
18510
+ *
18511
+ * - The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
18512
+ * the attachment's identifier from an {@link Office.MessageRead.attachments | item.attachments} call, then in the same session, use that identifier
18513
+ * to retrieve the attachment.
18514
+ *
18515
+ * - In Outlook on the web and the {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
18516
+ * `getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
18517
+ *
18518
+ * - In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid only within the same session.
18519
+ * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
18520
+ * continue in a separate window.
18521
+ *
18461
18522
  * **Errors**:
18462
18523
  *
18463
18524
  * - `AttachmentTypeNotSupported`: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format,
@@ -18476,12 +18537,6 @@ declare namespace Office {
18476
18537
  /**
18477
18538
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
18478
18539
  *
18479
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
18480
- * the attachment's identifier from an {@link Office.MessageRead.attachments | item.attachments} call, then in the same session, use that identifier
18481
- * to retrieve the attachment. In Outlook on the web, on mobile devices, and in {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
18482
- * the attachment identifier is valid only within the same session. A session is over when the user closes the app, or if the user starts composing an
18483
- * inline form then subsequently pops out the form to continue in a separate window.
18484
- *
18485
18540
  * @remarks
18486
18541
  * [Api set: Mailbox 1.8]
18487
18542
  *
@@ -18489,6 +18544,19 @@ declare namespace Office {
18489
18544
  *
18490
18545
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
18491
18546
  *
18547
+ * **Important**:
18548
+ *
18549
+ * - The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
18550
+ * the attachment's identifier from an {@link Office.MessageRead.attachments | item.attachments} call, then in the same session, use that identifier
18551
+ * to retrieve the attachment.
18552
+ *
18553
+ * - In Outlook on the web and the {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
18554
+ * `getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
18555
+ *
18556
+ * - In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid only within the same session.
18557
+ * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
18558
+ * continue in a separate window.
18559
+ *
18492
18560
  * **Errors**:
18493
18561
  *
18494
18562
  * - `AttachmentTypeNotSupported`: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format,
@@ -20917,6 +20985,8 @@ declare namespace Office {
20917
20985
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level (Outlook)}**: **restricted**
20918
20986
  *
20919
20987
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
20988
+ *
20989
+ * **Important**: The error message must be 500 characters or less.
20920
20990
  */
20921
20991
  errorMessage?: string;
20922
20992
  /**
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.465",
3
+ "version": "1.0.467",
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",
@@ -46,6 +46,6 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "9c20920bcf9deb6576f1d2d7734a26cb9f784325d564d61aef4c6087466d71bb",
49
+ "typesPublisherContentHash": "b480ef645ee3d623e1c783336eed22d096a7b30a3a62b8a7985d2d7311af05a0",
50
50
  "typeScriptVersion": "5.0"
51
51
  }