@types/office-js-preview 1.0.468 → 1.0.470
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-preview/README.md +1 -1
- office-js-preview/index.d.ts +192 -15
- office-js-preview/package.json +2 -2
office-js-preview/README.md
CHANGED
|
@@ -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:
|
|
11
|
+
* Last updated: Thu, 16 May 2024 19:06:38 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -496,6 +496,43 @@ declare namespace Office {
|
|
|
496
496
|
*/
|
|
497
497
|
Text,
|
|
498
498
|
}
|
|
499
|
+
/**
|
|
500
|
+
* Specifies the device capability to which an add-in is requesting access.
|
|
501
|
+
*
|
|
502
|
+
* @remarks
|
|
503
|
+
*
|
|
504
|
+
* **Applications**: This API is supported by the following Office applications when running in Chromium-based browsers,
|
|
505
|
+
* such as Microsoft Edge and Google Chrome.
|
|
506
|
+
*
|
|
507
|
+
* - Excel on the web
|
|
508
|
+
*
|
|
509
|
+
* - Outlook on the web
|
|
510
|
+
*
|
|
511
|
+
* - PowerPoint on the web
|
|
512
|
+
*
|
|
513
|
+
* - Word on the web
|
|
514
|
+
*
|
|
515
|
+
* It's also supported in
|
|
516
|
+
* {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows (preview)}.
|
|
517
|
+
*
|
|
518
|
+
* **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/device-permission-service-requirement-sets | DevicePermission 1.1}
|
|
519
|
+
*/
|
|
520
|
+
enum DevicePermissionType {
|
|
521
|
+
/**
|
|
522
|
+
* The add-in is requesting access to the user's camera.
|
|
523
|
+
*/
|
|
524
|
+
camera,
|
|
525
|
+
/**
|
|
526
|
+
* The add-in is requesting access to the user's geolocation.
|
|
527
|
+
*
|
|
528
|
+
* **Important**: Access to a user's geolocation is only supported in Outlook on the web and new Outlook on Windows (preview).
|
|
529
|
+
*/
|
|
530
|
+
geolocation,
|
|
531
|
+
/**
|
|
532
|
+
* The add-in is requesting access to the user's microphone.
|
|
533
|
+
*/
|
|
534
|
+
microphone
|
|
535
|
+
}
|
|
499
536
|
/**
|
|
500
537
|
* Specifies whether the document in the associated application is read-only or read-write.
|
|
501
538
|
*
|
|
@@ -5215,6 +5252,141 @@ declare namespace Office {
|
|
|
5215
5252
|
*/
|
|
5216
5253
|
getPrefixAsync(ns: string, callback?: (result: AsyncResult<string>) => void): void;
|
|
5217
5254
|
}
|
|
5255
|
+
/**
|
|
5256
|
+
* Provides methods for an add-in to request permission from a user to access their device capabilities.
|
|
5257
|
+
* A user's device capabilities include their camera, geolocation, and microphone.
|
|
5258
|
+
*
|
|
5259
|
+
* @remarks
|
|
5260
|
+
*
|
|
5261
|
+
* **Applications**: This API is supported by the following Office applications when running in Chromium-based browsers,
|
|
5262
|
+
* such as Microsoft Edge and Google Chrome.
|
|
5263
|
+
*
|
|
5264
|
+
* - Excel on the web
|
|
5265
|
+
*
|
|
5266
|
+
* - Outlook on the web
|
|
5267
|
+
*
|
|
5268
|
+
* - PowerPoint on the web
|
|
5269
|
+
*
|
|
5270
|
+
* - Word on the web
|
|
5271
|
+
*
|
|
5272
|
+
* It's also supported in
|
|
5273
|
+
* {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows (preview)}.
|
|
5274
|
+
*
|
|
5275
|
+
* **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/device-permission-service-requirement-sets | DevicePermission 1.1}
|
|
5276
|
+
*/
|
|
5277
|
+
interface DevicePermission {
|
|
5278
|
+
/**
|
|
5279
|
+
* Requests permission from a user to access their device capabilities, such as a camera or microphone.
|
|
5280
|
+
*
|
|
5281
|
+
* All the requested permissions are displayed in a single modal dialog to the user.
|
|
5282
|
+
* The dialog includes options to **Allow**, **Allow once**, or **Deny** the requested permissions.
|
|
5283
|
+
*
|
|
5284
|
+
* This method returns a promise. Use it with Excel, PowerPoint, and Word add-ins.
|
|
5285
|
+
*
|
|
5286
|
+
* @remarks
|
|
5287
|
+
*
|
|
5288
|
+
* **Important**:
|
|
5289
|
+
*
|
|
5290
|
+
* - This method isn't supported in Outlook add-ins. Use the `requestPermissionsAsync` method instead.
|
|
5291
|
+
*
|
|
5292
|
+
* - If your add-in uses the same code for both Office on the web and Office desktop clients, verify the platform on which the add-in is running before calling `requestPermissions`.
|
|
5293
|
+
* Use {@link https://learn.microsoft.com/javascript/api/office/office.context#office-office-context-platform-member | Office.context.platform} and verify that it returns
|
|
5294
|
+
* `Office.PlatformType.OfficeOnline`. Otherwise, the `requestPermissions` call will return an error.
|
|
5295
|
+
*
|
|
5296
|
+
* - If the user allows access to their camera or microphone, the add-in must be reloaded in the browser for the permissions to take effect.
|
|
5297
|
+
* For example, you can call `window.location.reload()` to reload your add-in.
|
|
5298
|
+
*
|
|
5299
|
+
* - If a user selects **Allow** from the dialog, the permission persists until the add-in is uninstalled or until the
|
|
5300
|
+
* cache of the browser on which the add-in is running is cleared. If a user wants to change an add-in’s access to their camera or microphone,
|
|
5301
|
+
* they must uninstall the add-in or clear their browser cache.
|
|
5302
|
+
*
|
|
5303
|
+
* - If a user selects **Allow Once** from the dialog, the permission persists until the browser tab or window in which the add-in is running is closed.
|
|
5304
|
+
*
|
|
5305
|
+
* - If a user selects **Deny** from the dialog, the user will be requested for permissions again the next time the add-in requires access to the user's device capabilities.
|
|
5306
|
+
*
|
|
5307
|
+
* @param permissions An array of device capabilities to which an add-in is requesting access.
|
|
5308
|
+
* In web versions of Excel, PowerPoint, and Word, add-ins can only request access to a user's camera and microphone.
|
|
5309
|
+
* Access to a user's geolocation is blocked.
|
|
5310
|
+
*/
|
|
5311
|
+
requestPermissions(permissions: Office.DevicePermissionType[]): Promise<boolean>;
|
|
5312
|
+
/**
|
|
5313
|
+
* Requests permission from a user to access their device capabilities, such as a camera, geolocation, or microphone.
|
|
5314
|
+
*
|
|
5315
|
+
* All the requested permissions are displayed in a single modal dialog to the user.
|
|
5316
|
+
* The dialog includes options to **Allow**, **Allow once**, or **Deny** the requested permissions.
|
|
5317
|
+
*
|
|
5318
|
+
* This method accepts a callback function. Use it with Outlook add-ins.
|
|
5319
|
+
*
|
|
5320
|
+
* @remarks
|
|
5321
|
+
*
|
|
5322
|
+
* **Important**:
|
|
5323
|
+
*
|
|
5324
|
+
* - For Excel, PowerPoint, and Word add-ins, use the `requestPermissions` method instead.
|
|
5325
|
+
*
|
|
5326
|
+
* - If the user allows access to their camera, geolocation, or microphone, the add-in must be reloaded in the browser for the permissions to take effect.
|
|
5327
|
+
* For example, you can call `window.location.reload()` to reload your add-in.
|
|
5328
|
+
*
|
|
5329
|
+
* - If your add-in uses the same code for both Office on the web and Office desktop clients, verify the platform on which the add-in is running before calling `requestPermissionsAsync`.
|
|
5330
|
+
* Use {@link https://learn.microsoft.com/javascript/api/outlook/office.diagnostics#outlook-office-diagnostics-hostname-member | Office.context.mailbox.diagnostics.hostName}
|
|
5331
|
+
* and verify that it returns `OutlookWebApp`. Otherwise, the `requestPermissionsAsync` call will return an error.
|
|
5332
|
+
*
|
|
5333
|
+
* - If a user selects **Allow** from the dialog, the permission persists until the add-in is uninstalled or until the
|
|
5334
|
+
* cache of the browser on which the add-in is running is cleared. If a user wants to change an add-in’s access to their camera or microphone,
|
|
5335
|
+
* they must uninstall the add-in or clear their browser cache.
|
|
5336
|
+
*
|
|
5337
|
+
* - If a user selects **Allow Once** from the dialog, the permission persists until the browser tab or window in which the add-in is running is closed.
|
|
5338
|
+
*
|
|
5339
|
+
* - If a user selects **Deny** from the dialog, the user will be requested for permissions again the next time the add-in requires access to the user's device capabilities.
|
|
5340
|
+
*
|
|
5341
|
+
* - If your add-in implements {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation},
|
|
5342
|
+
* browser permissions to device capabilities aren't inherited and the `requestPermissionsAsync` method isn't supported.
|
|
5343
|
+
*
|
|
5344
|
+
* @param permissions An array of device capabilities to which an add-in is requesting access.
|
|
5345
|
+
* In Outlook on the web, an add-in can request access to a user's camera, geolocation, and microphone.
|
|
5346
|
+
* @param options An object literal that contains the `asyncContext` property. Assign any object you wish to access in the callback function to the `asyncContext` property.
|
|
5347
|
+
* @param callback When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an `Office.AsyncResult object.
|
|
5348
|
+
* If the user grants permission to access the requested device capabilities, `true` is returned in the `asyncResult.value` property.
|
|
5349
|
+
*/
|
|
5350
|
+
requestPermissionsAsync(permissions: Office.DevicePermissionType[], options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<boolean>) => void): void;
|
|
5351
|
+
/**
|
|
5352
|
+
* Requests permission from a user to access their device capabilities, such as a camera, geolocation, or microphone.
|
|
5353
|
+
*
|
|
5354
|
+
* All the requested permissions are displayed in a single modal dialog to the user.
|
|
5355
|
+
* The dialog includes options to **Allow**, **Allow once**, or **Deny** the requested permissions.
|
|
5356
|
+
*
|
|
5357
|
+
* This method accepts a callback function. Use it with Outlook add-ins.
|
|
5358
|
+
*
|
|
5359
|
+
* @remarks
|
|
5360
|
+
*
|
|
5361
|
+
* **Important**:
|
|
5362
|
+
*
|
|
5363
|
+
* - For Excel, PowerPoint, and Word add-ins, use the `requestPermissions` method instead.
|
|
5364
|
+
*
|
|
5365
|
+
* - If the user allows access to their camera, geolocation, or microphone, the add-in must be reloaded in the browser for the permissions to take effect.
|
|
5366
|
+
* For example, you can call `window.location.reload()` to reload your add-in.
|
|
5367
|
+
*
|
|
5368
|
+
* - If your add-in uses the same code for both Office on the web and Office desktop clients, verify the platform on which the add-in is running before calling `requestPermissionsAsync`.
|
|
5369
|
+
* Use {@link https://learn.microsoft.com/javascript/api/outlook/office.diagnostics#outlook-office-diagnostics-hostname-member | Office.context.mailbox.diagnostics.hostName}
|
|
5370
|
+
* and verify that it returns `OutlookWebApp`. Otherwise, the `requestPermissionsAsync` call will return an error.
|
|
5371
|
+
*
|
|
5372
|
+
* - If a user selects **Allow** from the dialog, the permission persists until the add-in is uninstalled or until the
|
|
5373
|
+
* cache of the browser on which the add-in is running is cleared. If a user wants to change an add-in’s access to their camera or microphone,
|
|
5374
|
+
* they must uninstall the add-in or clear their browser cache.
|
|
5375
|
+
*
|
|
5376
|
+
* - If a user selects **Allow Once** from the dialog, the permission persists until the browser tab or window in which the add-in is running is closed.
|
|
5377
|
+
*
|
|
5378
|
+
* - If a user selects **Deny** from the dialog, the user will be requested for permissions again the next time the add-in requires access to the user's device capabilities.
|
|
5379
|
+
*
|
|
5380
|
+
* - If your add-in implements {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation},
|
|
5381
|
+
* browser permissions to device capabilities aren't inherited and the `requestPermissionsAsync` method isn't supported.
|
|
5382
|
+
*
|
|
5383
|
+
* @param permissions An array of device capabilities to which an add-in is requesting access.
|
|
5384
|
+
* In Outlook on the web, an add-in can request access to a user's camera, geolocation, and microphone.
|
|
5385
|
+
* @param callback When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an `Office.AsyncResult object.
|
|
5386
|
+
* If the user grants permission to access the requested device capabilities, `true` is returned in the `asyncResult.value` property.
|
|
5387
|
+
*/
|
|
5388
|
+
requestPermissionsAsync(permissions: Office.DevicePermissionType[], callback: (asyncResult: Office.AsyncResult<boolean>) => void): void;
|
|
5389
|
+
}
|
|
5218
5390
|
/**
|
|
5219
5391
|
* The object that is returned when `UI.displayDialogAsync` is called. It exposes methods for registering event handlers and closing the dialog.
|
|
5220
5392
|
*
|
|
@@ -8197,7 +8369,9 @@ declare namespace Office {
|
|
|
8197
8369
|
*
|
|
8198
8370
|
* This method is available in the DialogApi requirement set for Excel, PowerPoint, or Word add-ins, and in the Mailbox requirement set 1.4
|
|
8199
8371
|
* for Outlook. For more on how to specify a requirement set in your manifest, see
|
|
8200
|
-
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/specify-office-hosts-and-api-requirements | Specify Office applications and API requirements},
|
|
8372
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/specify-office-hosts-and-api-requirements | Specify Office applications and API requirements},
|
|
8373
|
+
* if you're using the XML manifest. If you're using the unified manifest for Microsoft 365, see
|
|
8374
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/unified-manifest-overview | Office Add-ins with the unified app manifest for Microsoft 365}.
|
|
8201
8375
|
*
|
|
8202
8376
|
* The initial page must be on the same domain as the parent page (the startAddress parameter). After the initial page loads, you can go to
|
|
8203
8377
|
* other domains.
|
|
@@ -8298,7 +8472,9 @@ declare namespace Office {
|
|
|
8298
8472
|
*
|
|
8299
8473
|
* This method is available in the DialogApi requirement set for Excel, PowerPoint, or Word add-ins, and in the Mailbox requirement set 1.4
|
|
8300
8474
|
* for Outlook. For more on how to specify a requirement set in your manifest, see
|
|
8301
|
-
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/specify-office-hosts-and-api-requirements | Specify Office applications and API requirements},
|
|
8475
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/specify-office-hosts-and-api-requirements | Specify Office applications and API requirements},
|
|
8476
|
+
* if you're using the XML manifest. If you're using the unified manifest for Microsoft 365, see
|
|
8477
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/unified-manifest-overview | Office Add-ins with the unified app manifest for Microsoft 365}.
|
|
8302
8478
|
*
|
|
8303
8479
|
* The initial page must be on the same domain as the parent page (the startAddress parameter). After the initial page loads, you can go to
|
|
8304
8480
|
* other domains.
|
|
@@ -8471,7 +8647,7 @@ declare namespace Office {
|
|
|
8471
8647
|
* - If your add-in uses the XML manifest, the URL returned matches the `resid` value of the **RuntimeOverride** element of type `javascript`.
|
|
8472
8648
|
* To learn more, see {@link https://learn.microsoft.com/javascript/api/manifest/override#override-element-for-runtime | Override element for Runtime}.
|
|
8473
8649
|
*
|
|
8474
|
-
* - If your add-in uses the unified manifest for Microsoft 365
|
|
8650
|
+
* - If your add-in uses the unified manifest for Microsoft 365, the URL returned matches the value of the `script` property in the
|
|
8475
8651
|
* "code" object.
|
|
8476
8652
|
*
|
|
8477
8653
|
* @beta
|
|
@@ -11989,7 +12165,7 @@ declare namespace Office {
|
|
|
11989
12165
|
* {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
|
|
11990
12166
|
*
|
|
11991
12167
|
* - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
|
|
11992
|
-
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365
|
|
12168
|
+
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
|
|
11993
12169
|
*
|
|
11994
12170
|
* - This method isn't supported in Outlook on Android or on iOS. For more information on supported APIs in Outlook mobile, see
|
|
11995
12171
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
@@ -12057,7 +12233,7 @@ declare namespace Office {
|
|
|
12057
12233
|
* {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
|
|
12058
12234
|
*
|
|
12059
12235
|
* - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
|
|
12060
|
-
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365
|
|
12236
|
+
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
|
|
12061
12237
|
*
|
|
12062
12238
|
* - If you specify an `ItemHasRegularExpressionMatch` rule on the body property of an item, the regular expression should further filter the body
|
|
12063
12239
|
* and shouldn't attempt to return the entire body of the item. Using a regular expression such as `.*` to obtain the entire body of an item doesn't always return the expected results.
|
|
@@ -12091,7 +12267,7 @@ declare namespace Office {
|
|
|
12091
12267
|
* {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
|
|
12092
12268
|
*
|
|
12093
12269
|
* - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
|
|
12094
|
-
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365
|
|
12270
|
+
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
|
|
12095
12271
|
*
|
|
12096
12272
|
* - If you specify an `ItemHasRegularExpressionMatch` rule on the body property of an item, the regular expression should further filter the body
|
|
12097
12273
|
* and shouldn't attempt to return the entire body of the item. Using a regular expression such as `.*` to obtain the entire body of an item doesn't always return the expected results.
|
|
@@ -12124,7 +12300,7 @@ declare namespace Office {
|
|
|
12124
12300
|
* {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
|
|
12125
12301
|
*
|
|
12126
12302
|
* - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
|
|
12127
|
-
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365
|
|
12303
|
+
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
|
|
12128
12304
|
*
|
|
12129
12305
|
* - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see
|
|
12130
12306
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
@@ -12159,7 +12335,7 @@ declare namespace Office {
|
|
|
12159
12335
|
* {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
|
|
12160
12336
|
*
|
|
12161
12337
|
* - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
|
|
12162
|
-
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365
|
|
12338
|
+
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
|
|
12163
12339
|
*
|
|
12164
12340
|
* - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see
|
|
12165
12341
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
@@ -18169,7 +18345,7 @@ declare namespace Office {
|
|
|
18169
18345
|
* {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
|
|
18170
18346
|
*
|
|
18171
18347
|
* - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
|
|
18172
|
-
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365
|
|
18348
|
+
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
|
|
18173
18349
|
*
|
|
18174
18350
|
* - This method isn't supported in Outlook on Android or on iOS. For more information on supported APIs in Outlook mobile, see
|
|
18175
18351
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
@@ -18237,7 +18413,7 @@ declare namespace Office {
|
|
|
18237
18413
|
* {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
|
|
18238
18414
|
*
|
|
18239
18415
|
* - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
|
|
18240
|
-
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365
|
|
18416
|
+
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
|
|
18241
18417
|
*
|
|
18242
18418
|
* - If you specify an `ItemHasRegularExpressionMatch` rule on the body property of an item, the regular expression should further filter the body
|
|
18243
18419
|
* and shouldn't attempt to return the entire body of the item. Using a regular expression such as `.*` to obtain the entire body of an item doesn't always return the expected results.
|
|
@@ -18271,7 +18447,7 @@ declare namespace Office {
|
|
|
18271
18447
|
* {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
|
|
18272
18448
|
*
|
|
18273
18449
|
* - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
|
|
18274
|
-
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365
|
|
18450
|
+
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
|
|
18275
18451
|
*
|
|
18276
18452
|
* - If you specify an `ItemHasRegularExpressionMatch` rule on the body property of an item, the regular expression should further filter the body
|
|
18277
18453
|
* and shouldn't attempt to return the entire body of the item. Using a regular expression such as `.*` to obtain the entire body of an item doesn't always return the expected results.
|
|
@@ -18286,7 +18462,8 @@ declare namespace Office {
|
|
|
18286
18462
|
/**
|
|
18287
18463
|
* Gets the entities found in a highlighted match a user has selected. Highlighted matches apply to contextual add-ins.
|
|
18288
18464
|
*
|
|
18289
|
-
* **Note**: This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins}, which isn't supported by the
|
|
18465
|
+
* **Note**: This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins}, which isn't supported by the
|
|
18466
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/unified-manifest-overview | unified manifest for Microsoft 365}.
|
|
18290
18467
|
*
|
|
18291
18468
|
* **Note**: This method isn't supported in Outlook on iOS or on Android.
|
|
18292
18469
|
*
|
|
@@ -18308,7 +18485,7 @@ declare namespace Office {
|
|
|
18308
18485
|
* {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
|
|
18309
18486
|
*
|
|
18310
18487
|
* - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
|
|
18311
|
-
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365
|
|
18488
|
+
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
|
|
18312
18489
|
*
|
|
18313
18490
|
* - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see
|
|
18314
18491
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
@@ -18343,7 +18520,7 @@ declare namespace Office {
|
|
|
18343
18520
|
* {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
|
|
18344
18521
|
*
|
|
18345
18522
|
* - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
|
|
18346
|
-
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365
|
|
18523
|
+
* which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
|
|
18347
18524
|
*
|
|
18348
18525
|
* - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see
|
|
18349
18526
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
@@ -20537,7 +20714,7 @@ declare namespace Office {
|
|
|
20537
20714
|
*
|
|
20538
20715
|
* - **XML manifest**: The `id` attribute of the {@link https://learn.microsoft.com/javascript/api/manifest/control | Control} element representing the task pane.
|
|
20539
20716
|
*
|
|
20540
|
-
* - **Unified manifest for Microsoft 365
|
|
20717
|
+
* - **Unified manifest for Microsoft 365**: The "id" property of the task pane command in the "extensions.ribbons.tabs.groups.controls" array.
|
|
20541
20718
|
*
|
|
20542
20719
|
* If you specify the `contextData` option in your `event.completed` call, you must also assign a task pane ID to the `commandId` option.
|
|
20543
20720
|
* Otherwise, the JSON data assigned to `contextData` is ignored.
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.470",
|
|
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,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "3a36dcdb2b4aa13e83b8a31232a2e86f773703ca9e0f0e39040f912e0537d506",
|
|
49
49
|
"typeScriptVersion": "4.7",
|
|
50
50
|
"nonNpm": true
|
|
51
51
|
}
|