@types/office-js 1.0.271 → 1.0.274

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: Thu, 18 Aug 2022 00:32:31 GMT
11
+ * Last updated: Wed, 31 Aug 2022 17:32:44 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
office-js/index.d.ts CHANGED
@@ -10956,7 +10956,7 @@ declare namespace Office {
10956
10956
  */
10957
10957
  optionalAttendees: EmailAddressDetails[];
10958
10958
  /**
10959
- * Gets the email address of the meeting organizer for a specified meeting.
10959
+ * Gets the meeting organizer's email properties.
10960
10960
  *
10961
10961
  * @remarks
10962
10962
  *
@@ -11803,14 +11803,17 @@ declare namespace Office {
11803
11803
  /**
11804
11804
  * Appends on send the specified content to the end of the item body, after any signature.
11805
11805
  *
11806
- * If the user is running add-ins that implement the
11807
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows | on-send feature using `ItemSend` in the manifest},
11808
- * append-on-send runs before on-send functionality.
11809
- *
11810
- * **Important**: If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
11811
- * the `appendOnSendAsync` call returns an error as this scenario is not supported.
11806
+ * To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission. To learn more
11807
+ * about append-on-send and its configuration, see
11808
+ * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/append-on-send | Implement append-on-send in your Outlook add-in}.
11809
+ *
11810
+ * **Important**: If the {@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows | on-send feature}
11811
+ * is implemented with append-on-send, the following apply.
11812
+ *
11813
+ * - If the user is running add-ins that implement the on-send feature using `ItemSend` in the manifest, append-on-send runs before on-send functionality.
11812
11814
  *
11813
- * **Important**: To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission.
11815
+ * - If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
11816
+ * the `appendOnSendAsync` call returns an error as this scenario isn't supported.
11814
11817
  *
11815
11818
  * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11816
11819
  *
@@ -11840,14 +11843,17 @@ declare namespace Office {
11840
11843
  /**
11841
11844
  * Appends on send the specified content to the end of the item body, after any signature.
11842
11845
  *
11843
- * If the user is running add-ins that implement the
11844
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows | on-send feature using `ItemSend` in the manifest},
11845
- * append-on-send runs before on-send functionality.
11846
- *
11847
- * **Important**: If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
11848
- * the `appendOnSendAsync` call returns an error as this scenario is not supported.
11846
+ * To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission. To learn more
11847
+ * about append-on-send and its configuration, see
11848
+ * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/append-on-send | Implement append-on-send in your Outlook add-in}.
11849
+ *
11850
+ * **Important**: If the {@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows | on-send feature}
11851
+ * is implemented with append-on-send, the following apply.
11852
+ *
11853
+ * - If the user is running add-ins that implement the on-send feature using `ItemSend` in the manifest, append-on-send runs before on-send functionality.
11849
11854
  *
11850
- * **Important**: To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission.
11855
+ * - If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
11856
+ * the `appendOnSendAsync` call returns an error as this scenario isn't supported.
11851
11857
  *
11852
11858
  * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11853
11859
  *
@@ -16581,6 +16587,13 @@ declare namespace Office {
16581
16587
  *
16582
16588
  * There are a maximum of 5 notifications per message. Setting more will return a `NumberOfNotificationMessagesExceeded` error.
16583
16589
  *
16590
+ * **Important**:
16591
+ *
16592
+ * - Only one notification of type {@link https://docs.microsoft.com/javascript/api/outlook/office.mailboxenums.itemnotificationmessagetype#fields | InsightMessage}
16593
+ * is allowed per add-in. Attempting to add more will throw an error.
16594
+ *
16595
+ * - In modern Outlook on the web, you can add an `InsightMessage` notification only in Compose mode.
16596
+ *
16584
16597
  * @remarks
16585
16598
  * [Api set: Mailbox 1.3]
16586
16599
  *
@@ -16603,6 +16616,13 @@ declare namespace Office {
16603
16616
  *
16604
16617
  * There are a maximum of 5 notifications per message. Setting more will return a `NumberOfNotificationMessagesExceeded` error.
16605
16618
  *
16619
+ * **Important**:
16620
+ *
16621
+ * - Only one notification of type {@link https://docs.microsoft.com/javascript/api/outlook/office.mailboxenums.itemnotificationmessagetype#fields | InsightMessage}
16622
+ * is allowed per add-in. Attempting to add more will throw an error.
16623
+ *
16624
+ * - In modern Outlook on the web, you can add an `InsightMessage` notification only in Compose mode.
16625
+ *
16606
16626
  * @remarks
16607
16627
  * [Api set: Mailbox 1.3]
16608
16628
  *
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.271",
3
+ "version": "1.0.274",
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": "bc1186c90cb9df749c0f634fe28410fde73afe140cc302649a241d93720acbe5",
49
- "typeScriptVersion": "4.0"
48
+ "typesPublisherContentHash": "916f52dc93ca4c42ea21844a3e60c9b40232999634e667cd470340f1f67b9416",
49
+ "typeScriptVersion": "4.1"
50
50
  }