@types/office-js-preview 1.0.504 → 1.0.506
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 +54 -55
- 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: Tue, 10 Sep 2024 19:07:18 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -8885,7 +8885,7 @@ declare namespace Office {
|
|
|
8885
8885
|
Removed = "removed"
|
|
8886
8886
|
}
|
|
8887
8887
|
/**
|
|
8888
|
-
* Specifies
|
|
8888
|
+
* Specifies the attachment's type.
|
|
8889
8889
|
*
|
|
8890
8890
|
* @remarks
|
|
8891
8891
|
*
|
|
@@ -10399,16 +10399,17 @@ declare namespace Office {
|
|
|
10399
10399
|
/**
|
|
10400
10400
|
* Gets the ID of the series that an instance belongs to.
|
|
10401
10401
|
*
|
|
10402
|
-
* In Outlook on the web
|
|
10403
|
-
*
|
|
10402
|
+
* In Outlook on the web, on Windows ({@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new} and classic), and on Mac,
|
|
10403
|
+
* the `seriesId` property returns the Exchange Web Services (EWS) ID of the parent (series) item that this item belongs to.
|
|
10404
|
+
* However, in Outlook on Android and on iOS, `seriesId` returns the REST ID of the parent item.
|
|
10404
10405
|
*
|
|
10405
10406
|
* **Note**: The identifier returned by the `seriesId` property is the same as the Exchange Web Services item identifier.
|
|
10406
|
-
* The `seriesId` property
|
|
10407
|
+
* The `seriesId` property isn't identical to the Outlook IDs used by the Outlook REST API.
|
|
10407
10408
|
* Before making REST API calls using this value, it should be converted using `Office.context.mailbox.convertToRestId`.
|
|
10408
10409
|
* For more details, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-rest-api | Use the Outlook REST APIs from an Outlook add-in}.
|
|
10409
10410
|
*
|
|
10410
|
-
* The `seriesId` property returns `null` for items that
|
|
10411
|
-
* and returns `undefined` for any other items that
|
|
10411
|
+
* The `seriesId` property returns `null` for items that don't have parent items such as single appointments, series items, or meeting requests
|
|
10412
|
+
* and returns `undefined` for any other items that aren't meeting requests.
|
|
10412
10413
|
*
|
|
10413
10414
|
* @remarks
|
|
10414
10415
|
* [Api set: Mailbox 1.7]
|
|
@@ -10494,8 +10495,7 @@ declare namespace Office {
|
|
|
10494
10495
|
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
|
|
10495
10496
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
10496
10497
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
10497
|
-
* `isInline`: If true, indicates that the attachment will be shown inline in the message body
|
|
10498
|
-
* and should not be displayed in the attachment list.
|
|
10498
|
+
* `isInline`: If true, indicates that the attachment will be shown inline as an image in the message body and won't be displayed in the attachment list.
|
|
10499
10499
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
|
|
10500
10500
|
* of type `Office.AsyncResult`.
|
|
10501
10501
|
* On success, the attachment identifier will be provided in the `asyncResult.value` property.
|
|
@@ -10573,8 +10573,7 @@ declare namespace Office {
|
|
|
10573
10573
|
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
|
|
10574
10574
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
10575
10575
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
10576
|
-
* `isInline`: If true, indicates that the attachment will be shown inline in the message body
|
|
10577
|
-
* and should not be displayed in the attachment list.
|
|
10576
|
+
* `isInline`: If true, indicates that the attachment will be shown inline as an image in the message body and won't be displayed in the attachment list.
|
|
10578
10577
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
|
|
10579
10578
|
* of type `Office.AsyncResult`.
|
|
10580
10579
|
* On success, the attachment identifier will be provided in the `asyncResult.value` property.
|
|
@@ -10738,7 +10737,7 @@ declare namespace Office {
|
|
|
10738
10737
|
* The behavior of the `close` method depends on the current state of the item being composed.
|
|
10739
10738
|
* If the item has unsaved changes, the client prompts the user to save, discard, or close the action.
|
|
10740
10739
|
*
|
|
10741
|
-
* In
|
|
10740
|
+
* In Outlook on Windows (classic) and on Mac, the `close` method has no effect on a reply in the Reading Pane.
|
|
10742
10741
|
*
|
|
10743
10742
|
* @remarks
|
|
10744
10743
|
* [Api set: Mailbox 1.3]
|
|
@@ -11065,10 +11064,10 @@ declare namespace Office {
|
|
|
11065
11064
|
/**
|
|
11066
11065
|
* Gets if the client signature is enabled.
|
|
11067
11066
|
*
|
|
11068
|
-
*
|
|
11069
|
-
*
|
|
11070
|
-
* If the settings are set to "(none)" in Windows (classic) or Mac
|
|
11071
|
-
*
|
|
11067
|
+
* In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
|
|
11068
|
+
* returns `true` if the signature is enabled for compose types `newMail`, `reply`, or `forward`.
|
|
11069
|
+
* If the settings are set to "(none)" in Outlook on Windows (classic) or on Mac or disabled in Outlook on the web or new Outlook on Windows,
|
|
11070
|
+
* returns `false`.
|
|
11072
11071
|
*
|
|
11073
11072
|
* @remarks
|
|
11074
11073
|
* [Api set: Mailbox 1.10]
|
|
@@ -11086,10 +11085,10 @@ declare namespace Office {
|
|
|
11086
11085
|
/**
|
|
11087
11086
|
* Gets if the client signature is enabled.
|
|
11088
11087
|
*
|
|
11089
|
-
*
|
|
11090
|
-
*
|
|
11091
|
-
* If the settings are set to "(none)" in Windows (classic) or Mac
|
|
11092
|
-
*
|
|
11088
|
+
* In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
|
|
11089
|
+
* returns `true` if the signature is enabled for compose types `newMail`, `reply`, or `forward`.
|
|
11090
|
+
* If the settings are set to "(none)" in Outlook on Windows (classic) or on Mac or disabled in Outlook on the web or new Outlook on Windows,
|
|
11091
|
+
* returns `false`.
|
|
11093
11092
|
*
|
|
11094
11093
|
* @remarks
|
|
11095
11094
|
* [Api set: Mailbox 1.10]
|
|
@@ -11824,8 +11823,9 @@ declare namespace Office {
|
|
|
11824
11823
|
/**
|
|
11825
11824
|
* Gets the ID of the series that an instance belongs to.
|
|
11826
11825
|
*
|
|
11827
|
-
* In Outlook on the web
|
|
11828
|
-
*
|
|
11826
|
+
* In Outlook on the web, on Windows ({@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new} and classic), and on Mac,
|
|
11827
|
+
* the `seriesId` returns the Exchange Web Services (EWS) ID of the parent (series) item that this item belongs to.
|
|
11828
|
+
* However, on iOS and Android, the seriesId returns the REST ID of the parent item.
|
|
11829
11829
|
*
|
|
11830
11830
|
* **Note**: The identifier returned by the `seriesId` property is the same as the Exchange Web Services item identifier.
|
|
11831
11831
|
* The `seriesId` property is not identical to the Outlook IDs used by the Outlook REST API. Before making REST API calls using this value, it
|
|
@@ -12547,7 +12547,7 @@ declare namespace Office {
|
|
|
12547
12547
|
/**
|
|
12548
12548
|
* Represents an attachment on an item. Compose mode only.
|
|
12549
12549
|
*
|
|
12550
|
-
* An array of `AttachmentDetailsCompose` objects is returned
|
|
12550
|
+
* An array of `AttachmentDetailsCompose` objects is returned by the `getAttachmentsAsync` method.
|
|
12551
12551
|
*
|
|
12552
12552
|
* @remarks
|
|
12553
12553
|
* [Api set: Mailbox 1.8]
|
|
@@ -12558,7 +12558,7 @@ declare namespace Office {
|
|
|
12558
12558
|
*/
|
|
12559
12559
|
interface AttachmentDetailsCompose {
|
|
12560
12560
|
/**
|
|
12561
|
-
* Gets a value that indicates the type
|
|
12561
|
+
* Gets a value that indicates the attachment's type.
|
|
12562
12562
|
*/
|
|
12563
12563
|
attachmentType: MailboxEnums.AttachmentType | string;
|
|
12564
12564
|
/**
|
|
@@ -12566,7 +12566,7 @@ declare namespace Office {
|
|
|
12566
12566
|
*/
|
|
12567
12567
|
id: string;
|
|
12568
12568
|
/**
|
|
12569
|
-
* Gets a value that indicates whether the attachment
|
|
12569
|
+
* Gets a value that indicates whether the attachment appears as an image in the body of the item instead of in the attachment list.
|
|
12570
12570
|
*/
|
|
12571
12571
|
isInline: boolean;
|
|
12572
12572
|
/**
|
|
@@ -12588,7 +12588,7 @@ declare namespace Office {
|
|
|
12588
12588
|
/**
|
|
12589
12589
|
* Represents an attachment on an item from the server. Read mode only.
|
|
12590
12590
|
*
|
|
12591
|
-
* An array of `AttachmentDetails` objects is returned as the attachments property of an appointment or message item.
|
|
12591
|
+
* An array of `AttachmentDetails` objects is returned as the `attachments` property of an appointment or message item.
|
|
12592
12592
|
*
|
|
12593
12593
|
* @remarks
|
|
12594
12594
|
* [Api set: Mailbox 1.1]
|
|
@@ -12599,7 +12599,7 @@ declare namespace Office {
|
|
|
12599
12599
|
*/
|
|
12600
12600
|
interface AttachmentDetails {
|
|
12601
12601
|
/**
|
|
12602
|
-
* Gets a value that indicates the type
|
|
12602
|
+
* Gets a value that indicates the attachment's type.
|
|
12603
12603
|
*/
|
|
12604
12604
|
attachmentType: MailboxEnums.AttachmentType | string;
|
|
12605
12605
|
/**
|
|
@@ -12618,7 +12618,7 @@ declare namespace Office {
|
|
|
12618
12618
|
*/
|
|
12619
12619
|
id: string;
|
|
12620
12620
|
/**
|
|
12621
|
-
* Gets a value that indicates whether the attachment
|
|
12621
|
+
* Gets a value that indicates whether the attachment appears as an image in the body of the item instead of in the attachment list.
|
|
12622
12622
|
*/
|
|
12623
12623
|
isInline: boolean;
|
|
12624
12624
|
/**
|
|
@@ -12634,7 +12634,7 @@ declare namespace Office {
|
|
|
12634
12634
|
size: number;
|
|
12635
12635
|
}
|
|
12636
12636
|
/**
|
|
12637
|
-
* Provides information about
|
|
12637
|
+
* Provides information about the attachment on a mail item that raised the
|
|
12638
12638
|
* `Office.EventType.AttachmentsChanged` event.
|
|
12639
12639
|
*
|
|
12640
12640
|
* @remarks
|
|
@@ -13832,8 +13832,8 @@ declare namespace Office {
|
|
|
13832
13832
|
*
|
|
13833
13833
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
13834
13834
|
*
|
|
13835
|
-
* **Important**: The `Outlook` value is returned for Outlook
|
|
13836
|
-
* {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows
|
|
13835
|
+
* **Important**: The `Outlook` value is returned for Outlook on Windows (classic) and on Mac. `newOutlookWindows` is returned for
|
|
13836
|
+
* {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows}.
|
|
13837
13837
|
*/
|
|
13838
13838
|
hostName: string;
|
|
13839
13839
|
/**
|
|
@@ -14970,8 +14970,8 @@ declare namespace Office {
|
|
|
14970
14970
|
* Contains the following members.
|
|
14971
14971
|
*
|
|
14972
14972
|
* - `hostName` (string): A string that represents the name of the Office application.
|
|
14973
|
-
* It should be one of the following values: `Outlook`, `OutlookWebApp`, `OutlookIOS`, or `OutlookAndroid`.
|
|
14974
|
-
* **Note**: The "Outlook" value is returned for Outlook on
|
|
14973
|
+
* It should be one of the following values: `Outlook`, `newOutlookWindows`, `OutlookWebApp`, `OutlookIOS`, or `OutlookAndroid`.
|
|
14974
|
+
* **Note**: The "Outlook" value is returned for Outlook on Windows (classic) and on Mac.
|
|
14975
14975
|
*
|
|
14976
14976
|
* - `hostVersion` (string): A string that represents the version of either the Office application or the Exchange Server (e.g., "15.0.468.0").
|
|
14977
14977
|
* If the mail add-in is running in Outlook on Windows (classic), on Mac, or on mobile devices, the `hostVersion` property returns the version of the
|
|
@@ -15390,7 +15390,7 @@ declare namespace Office {
|
|
|
15390
15390
|
* If you don't specify any attendees as input arguments, the method displays a form with a **Save** button.
|
|
15391
15391
|
* If you have specified attendees, the form would include the attendees and a **Send** button.
|
|
15392
15392
|
*
|
|
15393
|
-
* In
|
|
15393
|
+
* In Outlook on Windows (classic) and on Mac, if you specify any attendees or resources in the `requiredAttendees`, `optionalAttendees`, or
|
|
15394
15394
|
* `resources` parameter, this method displays a meeting form with a **Send** button.
|
|
15395
15395
|
* If you don't specify any recipients, this method displays an appointment form with a **Save & Close** button.
|
|
15396
15396
|
*
|
|
@@ -15420,7 +15420,7 @@ declare namespace Office {
|
|
|
15420
15420
|
* If you do not specify any attendees as input arguments, the method displays a form with a **Save** button.
|
|
15421
15421
|
* If you have specified attendees, the form would include the attendees and a **Send** button.
|
|
15422
15422
|
*
|
|
15423
|
-
* In
|
|
15423
|
+
* In Outlook on Windows (classic) and on Mac, if you specify any attendees or resources in the `requiredAttendees`, `optionalAttendees`, or
|
|
15424
15424
|
* `resources` parameter, this method displays a meeting form with a **Send** button.
|
|
15425
15425
|
* If you don't specify any recipients, this method displays an appointment form with a **Save & Close** button.
|
|
15426
15426
|
*
|
|
@@ -15453,7 +15453,7 @@ declare namespace Office {
|
|
|
15453
15453
|
* If you do not specify any attendees as input arguments, the method displays a form with a **Save** button.
|
|
15454
15454
|
* If you have specified attendees, the form would include the attendees and a **Send** button.
|
|
15455
15455
|
*
|
|
15456
|
-
* In
|
|
15456
|
+
* In Outlook on Windows (classic) and on Mac, if you specify any attendees or resources in the `requiredAttendees`, `optionalAttendees`, or
|
|
15457
15457
|
* `resources` parameter, this method displays a meeting form with a **Send** button.
|
|
15458
15458
|
* If you don't specify any recipients, this method displays an appointment form with a **Save & Close** button.
|
|
15459
15459
|
*
|
|
@@ -15505,18 +15505,18 @@ declare namespace Office {
|
|
|
15505
15505
|
*
|
|
15506
15506
|
* `attachments`: An array of JSON objects that are either file or item attachments.
|
|
15507
15507
|
*
|
|
15508
|
-
* `attachments.type`: Indicates the type of attachment. Must be file for a file attachment or item for an item attachment.
|
|
15508
|
+
* `attachments.type`: Indicates the type of attachment. Must be `file` for a file attachment or `item` for an item attachment.
|
|
15509
15509
|
*
|
|
15510
15510
|
* `attachments.name`: A string that contains the name of the attachment, up to 255 characters in length.
|
|
15511
15511
|
*
|
|
15512
|
-
* `attachments.url`: Only used if type is set to file
|
|
15512
|
+
* `attachments.url`: Only used if the attachment type is set to `file`. The URI of the location for the file. **Important**: This link must be
|
|
15513
15513
|
* publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can
|
|
15514
15514
|
* be accessible on a private network as long as it doesn't need further authentication.
|
|
15515
15515
|
*
|
|
15516
|
-
* `attachments.isInline`: Only used if type is set to file
|
|
15517
|
-
* message body
|
|
15516
|
+
* `attachments.isInline`: Only used if the attachment type is set to `file`. If true, indicates that the attachment will be shown inline as an image
|
|
15517
|
+
* in the message body and won't be displayed in the attachment list.
|
|
15518
15518
|
*
|
|
15519
|
-
* `attachments.itemId`: Only used if type is set to item
|
|
15519
|
+
* `attachments.itemId`: Only used if the attachment type is set to `item`. The EWS item ID of the existing e-mail you want to attach to the new message.
|
|
15520
15520
|
* This is a string up to 100 characters.
|
|
15521
15521
|
*/
|
|
15522
15522
|
displayNewMessageForm(parameters: any): void;
|
|
@@ -15552,18 +15552,18 @@ declare namespace Office {
|
|
|
15552
15552
|
*
|
|
15553
15553
|
* `attachments`: An array of JSON objects that are either file or item attachments.
|
|
15554
15554
|
*
|
|
15555
|
-
* `attachments.type`: Indicates the type of attachment. Must be file for a file attachment or item for an item attachment.
|
|
15555
|
+
* `attachments.type`: Indicates the type of attachment. Must be `file` for a file attachment or `item` for an item attachment.
|
|
15556
15556
|
*
|
|
15557
15557
|
* `attachments.name`: A string that contains the name of the attachment, up to 255 characters in length.
|
|
15558
15558
|
*
|
|
15559
|
-
* `attachments.url`: Only used if type is set to file
|
|
15559
|
+
* `attachments.url`: Only used if the attachment type is set to `file`. The URI of the location for the file. **Important**: This link must be
|
|
15560
15560
|
* publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can
|
|
15561
15561
|
* be accessible on a private network as long as it doesn't need further authentication.
|
|
15562
15562
|
*
|
|
15563
|
-
* `attachments.isInline`: Only used if type is set to file
|
|
15564
|
-
* message body
|
|
15563
|
+
* `attachments.isInline`: Only used if the attachment type is set to `file`. If true, indicates that the attachment will be shown inline as an image
|
|
15564
|
+
* in the message body and won't be displayed in the attachment list.
|
|
15565
15565
|
*
|
|
15566
|
-
* `attachments.itemId`: Only used if type is set to item
|
|
15566
|
+
* `attachments.itemId`: Only used if the attachment type is set to `item`. The EWS item ID of the existing e-mail you want to attach to the new message.
|
|
15567
15567
|
* This is a string up to 100 characters.
|
|
15568
15568
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
15569
15569
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
@@ -15603,18 +15603,18 @@ declare namespace Office {
|
|
|
15603
15603
|
*
|
|
15604
15604
|
* `attachments`: An array of JSON objects that are either file or item attachments.
|
|
15605
15605
|
*
|
|
15606
|
-
* `attachments.type`: Indicates the type of attachment. Must be file for a file attachment or item for an item attachment.
|
|
15606
|
+
* `attachments.type`: Indicates the type of attachment. Must be `file` for a file attachment or `item` for an item attachment.
|
|
15607
15607
|
*
|
|
15608
15608
|
* `attachments.name`: A string that contains the name of the attachment, up to 255 characters in length.
|
|
15609
15609
|
*
|
|
15610
|
-
* `attachments.url`: Only used if type is set to file
|
|
15610
|
+
* `attachments.url`: Only used if the attachment type is set to `file`. The URI of the location for the file. **Important**: This link must be
|
|
15611
15611
|
* publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can
|
|
15612
15612
|
* be accessible on a private network as long as it doesn't need further authentication.
|
|
15613
15613
|
*
|
|
15614
|
-
* `attachments.isInline`: Only used if type is set to file
|
|
15615
|
-
* message body
|
|
15614
|
+
* `attachments.isInline`: Only used if the attachment type is set to `file`. If true, indicates that the attachment will be shown inline as an image
|
|
15615
|
+
* in the message body and won't be displayed in the attachment list.
|
|
15616
15616
|
*
|
|
15617
|
-
* `attachments.itemId`: Only used if type is set to item
|
|
15617
|
+
* `attachments.itemId`: Only used if the attachment type is set to `item`. The EWS item ID of the existing e-mail you want to attach to the new message.
|
|
15618
15618
|
* This is a string up to 100 characters.
|
|
15619
15619
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
15620
15620
|
* `asyncResult`, which is an `Office.AsyncResult` object.
|
|
@@ -16503,8 +16503,7 @@ declare namespace Office {
|
|
|
16503
16503
|
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
|
|
16504
16504
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
16505
16505
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
16506
|
-
* `isInline`: If true, indicates that the attachment will be shown inline in the message body
|
|
16507
|
-
* attachment list.
|
|
16506
|
+
* `isInline`: If true, indicates that the attachment will be shown inline as an image in the message body and won't be displayed in the attachment list.
|
|
16508
16507
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
|
|
16509
16508
|
* type `Office.AsyncResult`. On success, the attachment identifier will be provided in the `asyncResult.value` property.
|
|
16510
16509
|
* If uploading the attachment fails, the `asyncResult` object will contain an `Error` object that provides a description of
|
|
@@ -16585,7 +16584,7 @@ declare namespace Office {
|
|
|
16585
16584
|
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
|
|
16586
16585
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
16587
16586
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
16588
|
-
* `isInline`: If true, indicates that the attachment will be shown inline in the message body and
|
|
16587
|
+
* `isInline`: If true, indicates that the attachment will be shown inline as an image in the message body and won't be displayed in the attachment list.
|
|
16589
16588
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
|
|
16590
16589
|
* type Office.AsyncResult. On success, the attachment identifier will be provided in the `asyncResult.value` property.
|
|
16591
16590
|
* If uploading the attachment fails, the `asyncResult` object will contain an `Error` object that provides a description of the error.
|
|
@@ -16748,7 +16747,7 @@ declare namespace Office {
|
|
|
16748
16747
|
* The behavior of the `close` method depends on the current state of the item being composed.
|
|
16749
16748
|
* If the item has unsaved changes, the client prompts the user to save, discard, or close the action.
|
|
16750
16749
|
*
|
|
16751
|
-
* In
|
|
16750
|
+
* In Outlook on Windows (classic) and on Mac, the `close` method has no effect on a reply in the Reading Pane.
|
|
16752
16751
|
*
|
|
16753
16752
|
* @remarks
|
|
16754
16753
|
* [Api set: Mailbox 1.3]
|
|
@@ -16769,7 +16768,7 @@ declare namespace Office {
|
|
|
16769
16768
|
*
|
|
16770
16769
|
* - Determine when a user cancels the save item dialog on a message being composed.
|
|
16771
16770
|
*
|
|
16772
|
-
* - Close a reply in the Reading Pane or an existing draft
|
|
16771
|
+
* - Close a reply in the Reading Pane or an existing draft.
|
|
16773
16772
|
*/
|
|
16774
16773
|
close(): void;
|
|
16775
16774
|
/**
|
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.506",
|
|
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",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "c96dcc5464b54a7074506d66998a3d4f0717fe2e5c0f0dcd8af18681532c90f6",
|
|
49
49
|
"typeScriptVersion": "4.8",
|
|
50
50
|
"nonNpm": true
|
|
51
51
|
}
|