@types/office-js 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/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, 27 May 2025 16:39:04 GMT
11
+ * Last updated: Mon, 02 Jun 2025 15:36:26 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -10367,7 +10367,12 @@ declare namespace Office {
10367
10367
  *
10368
10368
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10369
10369
  *
10370
- * **Important**: This property isn't supported in Outlook on Android or on iOS. For more information on supported APIs in Outlook mobile, see
10370
+ * **Important**:
10371
+ *
10372
+ * - To learn about the different types of notification messages you can implement, see
10373
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/notifications | Create notifications for your Outlook add-in}.
10374
+ *
10375
+ * - This property isn't supported in Outlook on Android or on iOS. For more information on supported APIs in Outlook mobile, see
10371
10376
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
10372
10377
  */
10373
10378
  notificationMessages: NotificationMessages;
@@ -11935,7 +11940,12 @@ declare namespace Office {
11935
11940
  *
11936
11941
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
11937
11942
  *
11938
- * **Important**: This property isn't supported in Outlook on Android or on iOS. For more information on supported APIs in Outlook mobile, see
11943
+ * **Important**:
11944
+ *
11945
+ * - To learn about the different types of notification messages you can implement, see
11946
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/notifications | Create notifications for your Outlook add-in}.
11947
+ *
11948
+ * - This property isn't supported in Outlook on Android or on iOS. For more information on supported APIs in Outlook mobile, see
11939
11949
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
11940
11950
  */
11941
11951
  notificationMessages: NotificationMessages;
@@ -15102,7 +15112,12 @@ declare namespace Office {
15102
15112
  *
15103
15113
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15104
15114
  *
15105
- * **Important**: Only the `getAllAsync` method of the NotificationMessages object is supported.
15115
+ * **Important**:
15116
+ *
15117
+ * - To learn about the different types of notification messages you can implement, see
15118
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/notifications | Create notifications for your Outlook add-in}.
15119
+ *
15120
+ * - Only the `getAllAsync` method of the NotificationMessages object is supported.
15106
15121
  */
15107
15122
  notificationMessages: NotificationMessages;
15108
15123
  /**
@@ -16103,6 +16118,9 @@ declare namespace Office {
16103
16118
  *
16104
16119
  * **Important**:
16105
16120
  *
16121
+ * - To learn about the different types of notification messages you can implement, see
16122
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/notifications | Create notifications for your Outlook add-in}.
16123
+ *
16106
16124
  * - Only the `getAllAsync` method of the NotificationMessages object is supported.
16107
16125
  */
16108
16126
  notificationMessages: NotificationMessages;
@@ -18520,6 +18538,9 @@ declare namespace Office {
18520
18538
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
18521
18539
  *
18522
18540
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
18541
+ *
18542
+ * **Important**: To learn about the different types of notification messages you can implement, see
18543
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/notifications | Create notifications for your Outlook add-in}.
18523
18544
  */
18524
18545
  notificationMessages: NotificationMessages;
18525
18546
  /**
@@ -20246,6 +20267,9 @@ declare namespace Office {
20246
20267
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
20247
20268
  *
20248
20269
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
20270
+ *
20271
+ * **Important**: To learn about the different types of notification messages you can implement, see
20272
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/notifications | Create notifications for your Outlook add-in}.
20249
20273
  */
20250
20274
  notificationMessages: NotificationMessages;
20251
20275
  /**
@@ -21109,6 +21133,9 @@ declare namespace Office {
21109
21133
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
21110
21134
  *
21111
21135
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
21136
+ *
21137
+ * **Important**: To learn about the different types of notification messages you can implement, see
21138
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/notifications | Create notifications for your Outlook add-in}.
21112
21139
  */
21113
21140
  interface NotificationMessageDetails {
21114
21141
  /**
@@ -21135,13 +21162,27 @@ declare namespace Office {
21135
21162
  */
21136
21163
  type: MailboxEnums.ItemNotificationMessageType | string;
21137
21164
  /**
21138
- * A reference to an icon that's defined in the manifest. It appears in the infobar area.
21139
- * It's applicable if the type is `InformationalMessage`, and is required if the type is `InsightMessage`.
21140
- * Specifying this parameter for an unsupported type results in an exception.
21165
+ * A reference to a custom icon that's defined in the manifest. The icon appears before the notification message in the infobar area.
21166
+ * An icon must be specified for `InformationalMessage` and `InsightMessage` notifications.
21141
21167
  *
21142
21168
  * @remarks
21143
21169
  *
21144
- * **Important**: Currently, the custom icon is only displayed in classic Outlook on Windows.
21170
+ * **Important**:
21171
+ *
21172
+ * - Currently, the custom icon is only displayed in classic Outlook on Windows.
21173
+ *
21174
+ * - A custom icon is only supported in `InformationalMessage` and `InsightMessage` notifications. Specifying an icon for other notification
21175
+ * types results in an exception.
21176
+ *
21177
+ * - If your add-in uses the {@link https://learn.microsoft.com/office/dev/add-ins/develop/add-in-manifests | add-in only manifest}, the icon
21178
+ * must be specified in the {@link https://learn.microsoft.com/javascript/api/manifest/images | Images} element of the
21179
+ * {@link https://learn.microsoft.com/javascript/api/manifest/resources | Resources} section of the manifest.
21180
+ *
21181
+ * - If your add-in uses the {@link https://learn.microsoft.com/office/dev/add-ins/develop/unified-manifest-overview | unified manifest for Microsoft 365},
21182
+ * you can't currently customize the icon of an `InformationalMessage` or `InsightMessage` notification. The notification uses the first image specified in the
21183
+ * {@link https://learn.microsoft.com/microsoft-365/extensibility/schema/extension-common-icon | "icons"} array of the first
21184
+ * {@link https://learn.microsoft.com/microsoft-365/extensibility/schema/extension-common-custom-group-controls-item | extensions.ribbons.tabs.groups.controls} object
21185
+ * of the manifest. Although this is the case, you must still specify a string in the `icon` property (for example, "icon-16").
21145
21186
  */
21146
21187
  icon?: string;
21147
21188
  /**
@@ -21181,6 +21222,9 @@ declare namespace Office {
21181
21222
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
21182
21223
  *
21183
21224
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
21225
+ *
21226
+ * **Important**: To learn about the different types of notification messages you can implement, see
21227
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/notifications | Create notifications for your Outlook add-in}.
21184
21228
  */
21185
21229
  interface NotificationMessages {
21186
21230
  /**
@@ -129442,7 +129486,7 @@ declare namespace PowerPoint {
129442
129486
  }
129443
129487
  /**
129444
129488
  * Represents the vertical alignment of a {@link PowerPoint.TextFrame} in a {@link PowerPoint.Shape}.
129445
- If one the centered options are selected, the contents of the `TextFrame` will be centered horizontally within the `Shape` as a group.
129489
+ If one of the centered options is selected, the contents of the `TextFrame` will be centered horizontally within the `Shape` as a group.
129446
129490
  To change the horizontal alignment of a text, see {@link PowerPoint.ParagraphFormat} and {@link PowerPoint.ParagraphHorizontalAlignment}.
129447
129491
  *
129448
129492
  * @remarks
@@ -130064,14 +130108,14 @@ declare namespace PowerPoint {
130064
130108
  /**
130065
130109
  * Specifies the formatting which applies uniformly to all of the table cells.
130066
130110
 
130067
- To apply specific formatting to individual cells, use specificCellProperties.
130111
+ To apply specific formatting to individual cells, use `specificCellProperties`.
130068
130112
 
130069
130113
  If both uniformCellProperties and specificCellProperties are undefined, the default formatting
130070
130114
  will be used, and the default table style will be applied. The table will have the same
130071
130115
  appearance as when the user adds a table through the PowerPoint UI.
130072
130116
 
130073
130117
  To provide a plain appearance for the table, set this property to an empty object
130074
- and don't specify specificCellProperties.
130118
+ and don't specify `specificCellProperties`.
130075
130119
  *
130076
130120
  * @remarks
130077
130121
  * [Api set: PowerPointApi 1.8]
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.504",
3
+ "version": "1.0.506",
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",
@@ -46,6 +46,6 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "006b7ad5f9ef9f2ef8c745e4001bf2a21c73a016b095ede53175cdeadadb451d",
49
+ "typesPublisherContentHash": "946c1afc7ad7cf3b9ea3306001c58d801323e817e39e99f521672a79a3cb5f2b",
50
50
  "typeScriptVersion": "5.1"
51
51
  }