@types/office-js-preview 1.0.428 → 1.0.429

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: Mon, 30 Oct 2023 21:43:36 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -19948,6 +19948,38 @@ declare namespace Office {
19948
19948
  * @beta
19949
19949
  */
19950
19950
  export interface SpamReportingEventArgs {
19951
+ /**
19952
+ * The text provided by the user in the preprocessing dialog of a spam-reporting add-in.
19953
+ *
19954
+ * @remarks
19955
+ * [Api set: Mailbox preview]
19956
+ *
19957
+ * To add an optional text box to the preprocessing dialog of your spam-reporting add-in, you must configure the
19958
+ * {@link https://learn.microsoft.com/javascript/api/manifest/preprocessingdialog?view=outlook-js-preview&preserve-view=true#child-elements | FreeTextLabel}
19959
+ * element in the manifest of your add-in.
19960
+ *
19961
+ * To learn more about how to develop a spam-reporting add-in, see
19962
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | Implement an integrated spam-reporting add-in (preview)}.
19963
+ *
19964
+ * @beta
19965
+ */
19966
+ freeText: string;
19967
+ /**
19968
+ * Returns `true` for each reporting option selected by the user in the preprocessing dialog of a spam-reporting add-in.
19969
+ *
19970
+ * @remarks
19971
+ * [Api set: Mailbox preview]
19972
+ *
19973
+ * The order of the booleans in the array corresponds to the order of the reporting options specified in the
19974
+ * {@link https://learn.microsoft.com/javascript/api/manifest/reportingoptions?view=outlook-js-preview&preserve-view=true | ReportingOptions}
19975
+ * element of your add-in's manifest.
19976
+ *
19977
+ * To learn more about how to develop a spam-reporting add-in, see
19978
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | Implement an integrated spam-reporting add-in (preview)}.
19979
+ *
19980
+ * @beta
19981
+ */
19982
+ options: boolean[];
19951
19983
  /**
19952
19984
  * The type of event that was raised. For details, see {@link https://learn.microsoft.com/javascript/api/office/office.eventtype | Office.EventType}.
19953
19985
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.428",
3
+ "version": "1.0.429",
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": "09757a6f1939be1e00a0bd3ef026f8212a3a87da72cf5b73fa2bdcab30ed964c",
49
49
  "typeScriptVersion": "4.5"
50
50
  }