@types/office-js-preview 1.0.428 → 1.0.430

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.
@@ -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: Wed, 25 Oct 2023 21:16:39 GMT
11
+ * Last updated: Tue, 31 Oct 2023 19:44:15 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -13312,6 +13312,8 @@ declare namespace Office {
13312
13312
  *
13313
13313
  * @remarks
13314
13314
  *
13315
+ * [Api set: Mailbox 1.1]
13316
+ *
13315
13317
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
13316
13318
  *
13317
13319
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
@@ -13322,27 +13324,33 @@ declare namespace Office {
13322
13324
  */
13323
13325
  interface Diagnostics {
13324
13326
  /**
13325
- * Gets a string that represents the name of the Office application.
13327
+ * Gets a string that represents the type of Outlook client.
13326
13328
  *
13327
- * A string that can be one of the following values: `Outlook`, `OutlookWebApp`, `OutlookIOS`, or `OutlookAndroid`.
13328
- *
13329
- * **Note**: The `Outlook` value is returned for Outlook on desktop clients (i.e., Windows and Mac).
13329
+ * The string can be one of the following values: `Outlook`, `newOutlookWindows`, `OutlookWebApp`, `OutlookIOS`, or `OutlookAndroid`.
13330
13330
  *
13331
13331
  * @remarks
13332
13332
  *
13333
+ * [Api set: Mailbox 1.1]
13334
+ *
13333
13335
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
13334
13336
  *
13335
13337
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
13338
+ *
13339
+ * **Important**: The `Outlook` value is returned for Outlook desktop clients on Windows and on Mac. `newOutlookWindows` is returned for the
13340
+ * {@link https://insider.microsoft365.com/blog/new-outlook-for-windows-available-to-all-office-insiders | new Outlook on Windows desktop client}
13341
+ * currently in preview.
13336
13342
  */
13337
13343
  hostName: string;
13338
13344
  /**
13339
- * Gets a string that represents the version of either the Office application or the Exchange Server (e.g., "15.0.468.0").
13345
+ * Gets a string that represents the version of either the Outlook client or the Exchange Server (for example, "15.0.468.0").
13340
13346
  *
13341
13347
  * If the mail add-in is running in Outlook on a desktop or mobile client, the `hostVersion` property returns the version of the
13342
- * application, Outlook. In Outlook on the web, the property returns the version of the Exchange Server.
13348
+ * Outlook client. In Outlook on the web, the property returns the version of the Exchange Server.
13343
13349
  *
13344
13350
  * @remarks
13345
13351
  *
13352
+ * [Api set: Mailbox 1.1]
13353
+ *
13346
13354
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
13347
13355
  *
13348
13356
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
@@ -13367,6 +13375,8 @@ declare namespace Office {
13367
13375
  *
13368
13376
  * @remarks
13369
13377
  *
13378
+ * [Api set: Mailbox 1.1]
13379
+ *
13370
13380
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
13371
13381
  *
13372
13382
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
@@ -19948,6 +19958,38 @@ declare namespace Office {
19948
19958
  * @beta
19949
19959
  */
19950
19960
  export interface SpamReportingEventArgs {
19961
+ /**
19962
+ * The text provided by the user in the preprocessing dialog of a spam-reporting add-in.
19963
+ *
19964
+ * @remarks
19965
+ * [Api set: Mailbox preview]
19966
+ *
19967
+ * To add an optional text box to the preprocessing dialog of your spam-reporting add-in, you must configure the
19968
+ * {@link https://learn.microsoft.com/javascript/api/manifest/preprocessingdialog?view=outlook-js-preview&preserve-view=true#child-elements | FreeTextLabel}
19969
+ * element in the manifest of your add-in.
19970
+ *
19971
+ * To learn more about how to develop a spam-reporting add-in, see
19972
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | Implement an integrated spam-reporting add-in (preview)}.
19973
+ *
19974
+ * @beta
19975
+ */
19976
+ freeText: string;
19977
+ /**
19978
+ * Returns `true` for each reporting option selected by the user in the preprocessing dialog of a spam-reporting add-in.
19979
+ *
19980
+ * @remarks
19981
+ * [Api set: Mailbox preview]
19982
+ *
19983
+ * The order of the booleans in the array corresponds to the order of the reporting options specified in the
19984
+ * {@link https://learn.microsoft.com/javascript/api/manifest/reportingoptions?view=outlook-js-preview&preserve-view=true | ReportingOptions}
19985
+ * element of your add-in's manifest.
19986
+ *
19987
+ * To learn more about how to develop a spam-reporting add-in, see
19988
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | Implement an integrated spam-reporting add-in (preview)}.
19989
+ *
19990
+ * @beta
19991
+ */
19992
+ options: boolean[];
19951
19993
  /**
19952
19994
  * The type of event that was raised. For details, see {@link https://learn.microsoft.com/javascript/api/office/office.eventtype | Office.EventType}.
19953
19995
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.428",
3
+ "version": "1.0.430",
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,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "14c473de29a96bfa280d94f2e710f013b8225ce9629ff8f94e28d7a77501d79d",
48
+ "typesPublisherContentHash": "5d95d23f4363a345e24b66d6d1aac202ee7b7825081fd62afdcc4e724f945cc8",
49
49
  "typeScriptVersion": "4.5"
50
50
  }