@types/office-js 1.0.371 → 1.0.373

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: Tue, 06 Feb 2024 20:35:18 GMT
11
+ * Last updated: Fri, 09 Feb 2024 17:35:52 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -12216,29 +12216,33 @@ declare namespace Office {
12216
12216
  size: number;
12217
12217
  }
12218
12218
  /**
12219
- * Provides information about the attachments that raised the `Office.EventType.AttachmentsChanged` event.
12219
+ * Provides information about an attachment on a mail item that raised the
12220
+ * `Office.EventType.AttachmentsChanged` event.
12220
12221
  *
12221
12222
  * @remarks
12222
12223
  * [Api set: Mailbox 1.8]
12223
12224
  */
12224
12225
  export interface AttachmentsChangedEventArgs {
12225
12226
  /**
12226
- * Represents the set of attachments that were added or removed.
12227
- * For each such attachment, gets `id`, `name`, `size`, and `attachmentType` properties.
12227
+ * Gets the object that represents the attachment that was added or removed from
12228
+ * a mail item. The object contains the `id`, `name`, `size`, and `attachmentType` properties
12229
+ * of the attachment.
12228
12230
  *
12229
12231
  * @remarks
12230
12232
  * [Api set: Mailbox 1.8]
12231
12233
  */
12232
- attachmentDetails: object[];
12234
+ attachmentDetails: object;
12233
12235
  /**
12234
- * Gets whether the attachments were added or removed. For details, refer to {@link Office.MailboxEnums.AttachmentStatus | MailboxEnums.AttachmentStatus}.
12236
+ * Specifies whether the attachment was added or removed from a mail item. For details, see
12237
+ * {@link Office.MailboxEnums.AttachmentStatus | MailboxEnums.AttachmentStatus}.
12235
12238
  *
12236
12239
  * @remarks
12237
12240
  * [Api set: Mailbox 1.8]
12238
12241
  */
12239
12242
  attachmentStatus: MailboxEnums.AttachmentStatus | string;
12240
12243
  /**
12241
- * Gets the type of the event. For details, refer to {@link https://learn.microsoft.com/javascript/api/office/office.eventtype | Office.EventType}.
12244
+ * Gets the type of event that was raised. For details, see
12245
+ * {@link https://learn.microsoft.com/javascript/api/office/office.eventtype | Office.EventType}.
12242
12246
  *
12243
12247
  * @remarks
12244
12248
  * [Api set: Mailbox 1.8]
@@ -12749,14 +12753,13 @@ declare namespace Office {
12749
12753
  *
12750
12754
  * - In Outlook on the web, `setSignatureAsync` only works on messages.
12751
12755
  *
12752
- * - This method is supported in Message Compose on Outlook on Android. Support for this method in Message Compose on Outlook on iOS is currently being
12753
- * rolled out. For a sample scenario, see
12756
+ * - This method is supported in Message Compose on Outlook on Android and on iOS starting in Version 4.2352.0. For a sample scenario, see
12754
12757
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
12755
12758
  * To learn more about APIs supported in Outlook mobile, see
12756
12759
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
12757
12760
  *
12758
12761
  * - The behavior of `setSignatureAsync` differs if you call it in the event handler of an add-in that implements the
12759
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using `LaunchEvent` in the manifest}.
12762
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using LaunchEvent in the manifest}.
12760
12763
  * When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
12761
12764
  * if the user closes the form without making other edits, they won't be prompted to save changes.
12762
12765
  *
@@ -12789,14 +12792,13 @@ declare namespace Office {
12789
12792
  *
12790
12793
  * - In Outlook on the web, `setSignatureAsync` only works on messages.
12791
12794
  *
12792
- * - This method is supported in Message Compose on Outlook on Android. Support for this method in Message Compose on Outlook on iOS is currently being
12793
- * rolled out. For a sample scenario, see
12795
+ * - This method is supported in Message Compose on Outlook on Android and on iOS starting in Version 4.2352.0. For a sample scenario, see
12794
12796
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
12795
12797
  * To learn more about APIs supported in Outlook mobile, see
12796
12798
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
12797
12799
  *
12798
12800
  * - The behavior of `setSignatureAsync` differs if you call it in the event handler of an add-in that implements the
12799
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using `LaunchEvent` in the manifest}.
12801
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using LaunchEvent in the manifest}.
12800
12802
  * When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
12801
12803
  * if the user closes the form without making other edits, they won't be prompted to save changes.
12802
12804
  *
@@ -15875,8 +15877,8 @@ declare namespace Office {
15875
15877
  *
15876
15878
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15877
15879
  *
15878
- * **Important**: This method is supported in Message Compose in Outlook on Android. Support for this method in Message Compose on Outlook on iOS is currently
15879
- * being rolled out. For more information on supported APIs in Outlook mobile, see
15880
+ * **Important**: This method is supported in Message Compose on Outlook on Android and on iOS starting in Version 4.2352.0.
15881
+ * For more information on supported APIs in Outlook mobile, see
15880
15882
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
15881
15883
  *
15882
15884
  * @param options - An object literal that contains one or more of the following properties:-
@@ -15905,8 +15907,8 @@ declare namespace Office {
15905
15907
  *
15906
15908
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15907
15909
  *
15908
- * **Important**: This method is supported in Message Compose in Outlook on Android. Support for this method in Message Compose on Outlook on iOS is currently
15909
- * being rolled out. For more information on supported APIs in Outlook mobile, see
15910
+ * **Important**: This method is supported in Message Compose on Outlook on Android and on iOS starting in Version 4.2352.0.
15911
+ * For more information on supported APIs in Outlook mobile, see
15910
15912
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
15911
15913
  *
15912
15914
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter,
@@ -16016,7 +16018,7 @@ declare namespace Office {
16016
16018
  *
16017
16019
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16018
16020
  *
16019
- * **Important**: This method is supported in Outlook on Android. Support for this method in Outlook on iOS is currently being rolled out.
16021
+ * **Important**: This method is supported in Outlook on Android and on iOS starting in Version 4.2352.0.
16020
16022
  * For more information on supported APIs in Outlook mobile, see
16021
16023
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
16022
16024
  *
@@ -16041,7 +16043,7 @@ declare namespace Office {
16041
16043
  *
16042
16044
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16043
16045
  *
16044
- * **Important**: This method is supported in Outlook on Android. Support for this method in Outlook on iOS is currently being rolled out.
16046
+ * **Important**: This method is supported in Outlook on Android and on iOS starting in Version 4.2352.0.
16045
16047
  * For more information on supported APIs in Outlook mobile, see
16046
16048
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
16047
16049
  *
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.371",
3
+ "version": "1.0.373",
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": "9283e795f2e2fec9ee9bfbb1e3bb6e331c2676146d1810faa28d8b17e61ba4a7",
48
+ "typesPublisherContentHash": "d6336df89fecd7193c0d8bd7e63877e88222824f386e10888a1006731afd510c",
49
49
  "typeScriptVersion": "4.6"
50
50
  }