@types/office-js-preview 1.0.648 → 1.0.650
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-preview/README.md +1 -1
- office-js-preview/index.d.ts +300 -6
- office-js-preview/package.json +2 -2
office-js-preview/README.md
CHANGED
|
@@ -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:
|
|
11
|
+
* Last updated: Fri, 10 Oct 2025 20:02:21 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -6885,6 +6885,23 @@ declare namespace Office {
|
|
|
6885
6885
|
*/
|
|
6886
6886
|
name: string;
|
|
6887
6887
|
}
|
|
6888
|
+
/**
|
|
6889
|
+
* Provides options to manage the user interface of an Office Add-in while the add-in is running.
|
|
6890
|
+
*
|
|
6891
|
+
* @remarks
|
|
6892
|
+
*
|
|
6893
|
+
* **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/task-pane-api-requirement-sets | TaskPaneApi 1.1}
|
|
6894
|
+
*/
|
|
6895
|
+
interface ExtensionLifeCycle {
|
|
6896
|
+
/**
|
|
6897
|
+
* Gets an object that represents the task pane of an add-in.
|
|
6898
|
+
*
|
|
6899
|
+
* @remarks
|
|
6900
|
+
*
|
|
6901
|
+
* **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/task-pane-api-requirement-sets | TaskPaneApi 1.1}
|
|
6902
|
+
*/
|
|
6903
|
+
taskpane: TaskPane;
|
|
6904
|
+
}
|
|
6888
6905
|
/**
|
|
6889
6906
|
* Represents the document file associated with an Office Add-in.
|
|
6890
6907
|
*
|
|
@@ -8574,6 +8591,37 @@ declare namespace Office {
|
|
|
8574
8591
|
*/
|
|
8575
8592
|
rows: any[][];
|
|
8576
8593
|
}
|
|
8594
|
+
/**
|
|
8595
|
+
* Provides methods to manage the task pane of an add-in.
|
|
8596
|
+
*
|
|
8597
|
+
* @remarks
|
|
8598
|
+
*
|
|
8599
|
+
* **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/task-pane-api-requirement-sets | TaskPaneApi 1.1}
|
|
8600
|
+
*/
|
|
8601
|
+
interface TaskPane {
|
|
8602
|
+
/**
|
|
8603
|
+
* Sets the width of the task pane of an add-in in pixels.
|
|
8604
|
+
*
|
|
8605
|
+
* @remarks
|
|
8606
|
+
*
|
|
8607
|
+
* **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/task-pane-api-requirement-sets | TaskPaneApi 1.1}
|
|
8608
|
+
*
|
|
8609
|
+
* **Important**: The default width of the task pane of an add-in varies depending on the platform.
|
|
8610
|
+
*
|
|
8611
|
+
* - **Web (Excel)**: 350 px
|
|
8612
|
+
*
|
|
8613
|
+
* - **Web (Word)**: 330 px
|
|
8614
|
+
*
|
|
8615
|
+
* - **Windows**: 51 px
|
|
8616
|
+
*
|
|
8617
|
+
* If you pass a width beyond the minimum and maximum constraints, the task pane isn't resized and no error is shown.
|
|
8618
|
+
*
|
|
8619
|
+
* @param width The width of a task pane in pixels. The minimum and maximum constraints vary by platform. In Excel on the web, the width must be between
|
|
8620
|
+
* 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows, the width
|
|
8621
|
+
* must be between 51 px and 50% of the client window.
|
|
8622
|
+
*/
|
|
8623
|
+
setWidth(width: number): void;
|
|
8624
|
+
}
|
|
8577
8625
|
/**
|
|
8578
8626
|
* Represents a bound text selection in the document.
|
|
8579
8627
|
*
|
|
@@ -12985,7 +13033,9 @@ declare namespace Office {
|
|
|
12985
13033
|
*
|
|
12986
13034
|
* **Important**:
|
|
12987
13035
|
*
|
|
12988
|
-
* - The `contentId` property is only supported in Outlook on the web and
|
|
13036
|
+
* - The `contentId` property is only supported in Outlook on the web and Outlook on Windows (new and classic (preview)).
|
|
13037
|
+
* To preview the `contentId` property in classic Outlook on Windows, your Outlook client must run Version 2510 (Build 19312.20000)
|
|
13038
|
+
* or later and must be on the Beta Channel. For more information, see {@link https://aka.ms/Msft365InsiderProgram | Microsoft 365 Insider Program}.
|
|
12989
13039
|
*
|
|
12990
13040
|
* - Starting November 15, 2025, changes to how inline images are represented in the HTML body of Outlook emails in
|
|
12991
13041
|
* Outlook on the web and the new Outlook on Windows will begin rolling out to production users.
|
|
@@ -14249,6 +14299,164 @@ declare namespace Office {
|
|
|
14249
14299
|
*/
|
|
14250
14300
|
set(name: string, value: string): void;
|
|
14251
14301
|
}
|
|
14302
|
+
/**
|
|
14303
|
+
* Represents an attachment in a decrypted message.
|
|
14304
|
+
*
|
|
14305
|
+
* @remarks
|
|
14306
|
+
*
|
|
14307
|
+
* [Api set: Mailbox preview]
|
|
14308
|
+
*
|
|
14309
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14310
|
+
*
|
|
14311
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14312
|
+
*
|
|
14313
|
+
* To learn how to develop an encryption add-in in Outlook, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/encryption-decryption | Create an encryption Outlook add-in}.
|
|
14314
|
+
*
|
|
14315
|
+
* @beta
|
|
14316
|
+
*/
|
|
14317
|
+
interface DecryptedMessageAttachment {
|
|
14318
|
+
/**
|
|
14319
|
+
* Specifies the type of attachment.
|
|
14320
|
+
*
|
|
14321
|
+
* @remarks
|
|
14322
|
+
*
|
|
14323
|
+
* [Api set: Mailbox preview]
|
|
14324
|
+
*
|
|
14325
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14326
|
+
*
|
|
14327
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14328
|
+
*
|
|
14329
|
+
* @beta
|
|
14330
|
+
*/
|
|
14331
|
+
attachmentType: MailboxEnums.AttachmentType;
|
|
14332
|
+
/**
|
|
14333
|
+
* Specifies the Base64-encoded content of the attachment.
|
|
14334
|
+
*
|
|
14335
|
+
* @remarks
|
|
14336
|
+
*
|
|
14337
|
+
* [Api set: Mailbox preview]
|
|
14338
|
+
*
|
|
14339
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14340
|
+
*
|
|
14341
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14342
|
+
*
|
|
14343
|
+
* **Important**: The `content` property isn't supported by attachments of type `MailboxEnums.AttachmentType.Cloud`.
|
|
14344
|
+
*
|
|
14345
|
+
* @beta
|
|
14346
|
+
*/
|
|
14347
|
+
content: string;
|
|
14348
|
+
/**
|
|
14349
|
+
* Specifies the content identifier of an inline attachment.
|
|
14350
|
+
*
|
|
14351
|
+
* The `contentId` property must be specified if `isInline` is set to `true`.
|
|
14352
|
+
*
|
|
14353
|
+
* @remarks
|
|
14354
|
+
*
|
|
14355
|
+
* [Api set: Mailbox preview]
|
|
14356
|
+
*
|
|
14357
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14358
|
+
*
|
|
14359
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14360
|
+
*
|
|
14361
|
+
* **Important**: When images are added to a message as inline attachments, they're automatically assigned a content ID. In the body of a message, the content ID of an inline attachment is
|
|
14362
|
+
* specified in the `src` attribute of the `<img>` element (for example, `<img width=96 height=96 id="Picture_1" src="cid:image001.png@01DC1E6F.FC7C7410">`).
|
|
14363
|
+
* To easily identify and provide these inline attachments during decryption, we recommend saving the content IDs of inline attachments to the message header during encryption.
|
|
14364
|
+
* Call `Office.context.mailbox.item.getAttachmentsAsync` to get the content ID of an inline attachment. Then, call `Office.context.mailbox.item.internetHeaders.setAsync` to save the ID to the header of the message.
|
|
14365
|
+
*
|
|
14366
|
+
* @beta
|
|
14367
|
+
*/
|
|
14368
|
+
contentId?: string;
|
|
14369
|
+
/**
|
|
14370
|
+
* If true, specifies that the decrypted attachment appears as an image in the body of the message instead of in the attachment list.
|
|
14371
|
+
* If the `isInline` property isn't specified, its value is set to false.
|
|
14372
|
+
*
|
|
14373
|
+
* @remarks
|
|
14374
|
+
*
|
|
14375
|
+
* [Api set: Mailbox preview]
|
|
14376
|
+
*
|
|
14377
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14378
|
+
*
|
|
14379
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14380
|
+
*
|
|
14381
|
+
* @beta
|
|
14382
|
+
*/
|
|
14383
|
+
isInline?: boolean;
|
|
14384
|
+
/**
|
|
14385
|
+
* Specifies the name of the attachment.
|
|
14386
|
+
*
|
|
14387
|
+
* @remarks
|
|
14388
|
+
*
|
|
14389
|
+
* [Api set: Mailbox preview]
|
|
14390
|
+
*
|
|
14391
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14392
|
+
*
|
|
14393
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14394
|
+
*
|
|
14395
|
+
* @beta
|
|
14396
|
+
*/
|
|
14397
|
+
name: string;
|
|
14398
|
+
/**
|
|
14399
|
+
* Specifies the URL reference path of the attachment if its type is `MailboxEnums.AttachmentType.Cloud`.
|
|
14400
|
+
* The `path` property must be specified for attachments of type `MailboxEnums.AttachmentType.Cloud`.
|
|
14401
|
+
*
|
|
14402
|
+
* @remarks
|
|
14403
|
+
*
|
|
14404
|
+
* [Api set: Mailbox preview]
|
|
14405
|
+
*
|
|
14406
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14407
|
+
*
|
|
14408
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14409
|
+
*
|
|
14410
|
+
* @beta
|
|
14411
|
+
*/
|
|
14412
|
+
path?: string;
|
|
14413
|
+
}
|
|
14414
|
+
/**
|
|
14415
|
+
* Represents the body of a decrypted message.
|
|
14416
|
+
*
|
|
14417
|
+
* @remarks
|
|
14418
|
+
*
|
|
14419
|
+
* [Api set: Mailbox preview]
|
|
14420
|
+
*
|
|
14421
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14422
|
+
*
|
|
14423
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14424
|
+
*
|
|
14425
|
+
* To learn how to develop an encryption add-in in Outlook, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/encryption-decryption | Create an encryption Outlook add-in}.
|
|
14426
|
+
*
|
|
14427
|
+
* @beta
|
|
14428
|
+
*/
|
|
14429
|
+
interface DecryptedMessageBody {
|
|
14430
|
+
/**
|
|
14431
|
+
* Specifies the format of the body of a message.
|
|
14432
|
+
* The body of a message can be formatted as `Office.CoercionType.Html` or `Office.CoercionType.Text`.
|
|
14433
|
+
*
|
|
14434
|
+
* @remarks
|
|
14435
|
+
*
|
|
14436
|
+
* [Api set: Mailbox preview]
|
|
14437
|
+
*
|
|
14438
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14439
|
+
*
|
|
14440
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14441
|
+
*
|
|
14442
|
+
* @beta
|
|
14443
|
+
*/
|
|
14444
|
+
coercionType: Office.CoercionType;
|
|
14445
|
+
/**
|
|
14446
|
+
* Specifies the content displayed in the body of the message.
|
|
14447
|
+
*
|
|
14448
|
+
* @remarks
|
|
14449
|
+
*
|
|
14450
|
+
* [Api set: Mailbox preview]
|
|
14451
|
+
*
|
|
14452
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
14453
|
+
*
|
|
14454
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
14455
|
+
*
|
|
14456
|
+
* @beta
|
|
14457
|
+
*/
|
|
14458
|
+
content: string;
|
|
14459
|
+
}
|
|
14252
14460
|
/**
|
|
14253
14461
|
* The `DelayDeliveryTime` object enables you to manage the delayed delivery date and time of a message.
|
|
14254
14462
|
*
|
|
@@ -18760,8 +18968,9 @@ declare namespace Office {
|
|
|
18760
18968
|
/**
|
|
18761
18969
|
* The `MailboxEvent` object is passed as an argument to the event handler of an add-in that implements
|
|
18762
18970
|
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based activation}, including
|
|
18763
|
-
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/onmessagesend-onappointmentsend-events | Smart Alerts},
|
|
18764
|
-
*
|
|
18971
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/onmessagesend-onappointmentsend-events | Smart Alerts}, the
|
|
18972
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | integrated spam-reporting feature}, or
|
|
18973
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/encryption-decryption | decryption} (preview).
|
|
18765
18974
|
* It allows the add-in to signify to the Outlook client that it has completed processing an event.
|
|
18766
18975
|
*
|
|
18767
18976
|
* @remarks
|
|
@@ -18783,7 +18992,7 @@ declare namespace Office {
|
|
|
18783
18992
|
*/
|
|
18784
18993
|
interface MailboxEvent {
|
|
18785
18994
|
/**
|
|
18786
|
-
* Indicates that the event-based
|
|
18995
|
+
* Indicates that the event-based, spam-reporting, or decryption (preview) add-in has completed processing an event.
|
|
18787
18996
|
*
|
|
18788
18997
|
* @remarks
|
|
18789
18998
|
* [Api set: Mailbox 1.10]
|
|
@@ -18798,9 +19007,9 @@ declare namespace Office {
|
|
|
18798
19007
|
*
|
|
18799
19008
|
* - Support to assign a `SmartAlertsEventCompletedOptions` object to the `options` parameter was introduced in Mailbox 1.12.
|
|
18800
19009
|
*
|
|
18801
|
-
* @param options - Optional. An object that specifies the behavior of an event-based
|
|
19010
|
+
* @param options - Optional. An object that specifies the behavior of an event-based, spam-reporting, or decryption add-in when it completes processing an event.
|
|
18802
19011
|
*/
|
|
18803
|
-
completed(options?: SmartAlertsEventCompletedOptions | SpamReportingEventCompletedOptions): void;
|
|
19012
|
+
completed(options?: SmartAlertsEventCompletedOptions | SpamReportingEventCompletedOptions | MessageDecryptEventCompletedOptions): void;
|
|
18804
19013
|
}
|
|
18805
19014
|
/**
|
|
18806
19015
|
* Represents the categories master list on the mailbox.
|
|
@@ -20681,6 +20890,91 @@ declare namespace Office {
|
|
|
20681
20890
|
*/
|
|
20682
20891
|
setSelectedDataAsync(data: string, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
|
20683
20892
|
}
|
|
20893
|
+
/**
|
|
20894
|
+
* Specifies the behavior of an {@link https://learn.microsoft.com/office/dev/add-ins/outlook/encryption-decryption | encryption add-in} after it completes processing an
|
|
20895
|
+
* {@link https://learn.microsoft.com/javascript/api/office/office.eventtype#fields | OnMessageRead} event.
|
|
20896
|
+
*
|
|
20897
|
+
* @remarks
|
|
20898
|
+
*
|
|
20899
|
+
* [Api set: Mailbox preview]
|
|
20900
|
+
*
|
|
20901
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
20902
|
+
*
|
|
20903
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
20904
|
+
*
|
|
20905
|
+
* @beta
|
|
20906
|
+
*/
|
|
20907
|
+
interface MessageDecryptEventCompletedOptions {
|
|
20908
|
+
/**
|
|
20909
|
+
* When you use the {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent#outlook-office-mailboxevent-completed-member(1) | completed method} to signal completion of an event handler,
|
|
20910
|
+
* this value indicates if the `OnMessageRead` event should continue to run or be canceled. If the `allowEvent` property is set to `true`, the decrypted contents of the message is displayed.
|
|
20911
|
+
*
|
|
20912
|
+
* @remarks
|
|
20913
|
+
*
|
|
20914
|
+
* [Api set: Mailbox preview]
|
|
20915
|
+
*
|
|
20916
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
20917
|
+
*
|
|
20918
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
20919
|
+
*
|
|
20920
|
+
* @beta
|
|
20921
|
+
*/
|
|
20922
|
+
allowEvent: boolean;
|
|
20923
|
+
/**
|
|
20924
|
+
* When you use the {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent#outlook-office-mailboxevent-completed-member(1) | completed method} to signal completion of an event handler
|
|
20925
|
+
* and set its `allowEvent` property to `true`, this property sets the decrypted attachments of the message.
|
|
20926
|
+
*
|
|
20927
|
+
* @remarks
|
|
20928
|
+
*
|
|
20929
|
+
* [Api set: Mailbox preview]
|
|
20930
|
+
*
|
|
20931
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
20932
|
+
*
|
|
20933
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
20934
|
+
*
|
|
20935
|
+
* @beta
|
|
20936
|
+
*/
|
|
20937
|
+
attachments?: DecryptedMessageAttachment[];
|
|
20938
|
+
/**
|
|
20939
|
+
* When you use the {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent#outlook-office-mailboxevent-completed-member(1) | completed method} to signal completion of an event handler
|
|
20940
|
+
* and set its `allowEvent` property to `true`, this property specifies any JSON data passed to the add-in for processing.
|
|
20941
|
+
*
|
|
20942
|
+
* @remarks
|
|
20943
|
+
*
|
|
20944
|
+
* [Api set: Mailbox preview]
|
|
20945
|
+
*
|
|
20946
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
20947
|
+
*
|
|
20948
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
20949
|
+
*
|
|
20950
|
+
* **Important**:
|
|
20951
|
+
*
|
|
20952
|
+
* - To retrieve the value of the `contextData` property, you must call `Office.context.mailbox.item.getInitializationContextAsync`.
|
|
20953
|
+
* If you create a JSON string using `JSON.stringify()` and assign it to the `contextData` property, you must parse the string using `JSON.parse()` once you retrieve it.
|
|
20954
|
+
*
|
|
20955
|
+
* - You can use the `contextData` property to store custom internet headers to decrypt messages in reply and forward scenarios.
|
|
20956
|
+
*
|
|
20957
|
+
* @beta
|
|
20958
|
+
*/
|
|
20959
|
+
contextData?: any;
|
|
20960
|
+
/**
|
|
20961
|
+
* When you use the {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent#outlook-office-mailboxevent-completed-member(1) | completed method} to signal completion of an event handler
|
|
20962
|
+
* and set its `allowEvent` property to `true`, this property sets the decrypted contents of the body of the message.
|
|
20963
|
+
*
|
|
20964
|
+
* @remarks
|
|
20965
|
+
*
|
|
20966
|
+
* [Api set: Mailbox preview]
|
|
20967
|
+
*
|
|
20968
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
|
|
20969
|
+
*
|
|
20970
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
20971
|
+
*
|
|
20972
|
+
* **Important**: If the `emailBody` property isn't specified, an empty body is returned.
|
|
20973
|
+
*
|
|
20974
|
+
* @beta
|
|
20975
|
+
*/
|
|
20976
|
+
emailBody?: DecryptedMessageBody;
|
|
20977
|
+
}
|
|
20684
20978
|
/**
|
|
20685
20979
|
* The message read mode of {@link Office.Item | Office.context.mailbox.item}.
|
|
20686
20980
|
*
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.650",
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "838247ef937551bacafd8f5512fe39532fd7587ce5b79d53842715e94a9a47eb",
|
|
50
50
|
"typeScriptVersion": "5.2",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|