@types/office-js 1.0.504 → 1.0.505
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 +1 -1
- office-js/index.d.ts +51 -7
- office-js/package.json +2 -2
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:
|
|
11
|
+
* Last updated: Wed, 28 May 2025 19:32:15 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**:
|
|
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**:
|
|
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**:
|
|
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
|
|
21139
|
-
*
|
|
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**:
|
|
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
|
/**
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.505",
|
|
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": "
|
|
49
|
+
"typesPublisherContentHash": "05e16286f50edab321f666975f426e39d56687047f99ea1fe16a3d9a70d5de49",
|
|
50
50
|
"typeScriptVersion": "5.1"
|
|
51
51
|
}
|