@types/office-js 1.0.479 → 1.0.480
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 +21 -11
- 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: Mon, 17 Mar 2025
|
|
11
|
+
* Last updated: Mon, 17 Mar 2025 21:32:53 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -3363,11 +3363,13 @@ declare namespace Office {
|
|
|
3363
3363
|
*
|
|
3364
3364
|
* This method must be called at the end of a function which was invoked by the following:
|
|
3365
3365
|
*
|
|
3366
|
-
* - A
|
|
3366
|
+
* - A {@link https://learn.microsoft.com/office/dev/add-ins/design/add-in-commands | function command} button.
|
|
3367
3367
|
*
|
|
3368
|
-
* - An {@link https://learn.microsoft.com/
|
|
3369
|
-
*
|
|
3370
|
-
*
|
|
3368
|
+
* - An {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send add-in} in Outlook.
|
|
3369
|
+
*
|
|
3370
|
+
* - An {@link https://learn.microsoft.com/office/dev/add-ins/outlook/online-meeting | online-meeting provider add-in} in Outlook.
|
|
3371
|
+
*
|
|
3372
|
+
* - A {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-log-appointments | note-logging add-in} in Outlook on mobile devices.
|
|
3371
3373
|
*
|
|
3372
3374
|
* @remarks
|
|
3373
3375
|
*
|
|
@@ -3379,16 +3381,20 @@ declare namespace Office {
|
|
|
3379
3381
|
*
|
|
3380
3382
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
3381
3383
|
*
|
|
3382
|
-
* **Important**: The `options` parameter only applies to Outlook add-ins
|
|
3383
|
-
*
|
|
3384
|
+
* **Important**: The `options` parameter only applies to Outlook add-ins. It was introduced in Mailbox 1.8. Although Outlook on Android and on iOS support up to
|
|
3385
|
+
* Mailbox 1.5, the `options` parameter is supported in online-meeting provider and note-logging mobile add-ins. For more information on API support in
|
|
3386
|
+
* Outlook on mobile devices, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
3384
3387
|
*
|
|
3385
|
-
* @param options Optional.
|
|
3388
|
+
* @param options Optional. In Outlook, an object that specifies the behavior of an on-send add-in, online-meeting provider add-in, or note-logging mobile add-in
|
|
3389
|
+
* when it completes processing an event.
|
|
3386
3390
|
*/
|
|
3387
3391
|
completed(options?: EventCompletedOptions): void;
|
|
3388
3392
|
}
|
|
3389
3393
|
/**
|
|
3390
|
-
* Specifies the behavior of an {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send
|
|
3391
|
-
*
|
|
3394
|
+
* Specifies the behavior of an {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send add-in},
|
|
3395
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/online-meeting | online-meeting provider add-in}, or
|
|
3396
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-log-appointments | note-logging mobile add-in}
|
|
3397
|
+
* when it completes processing an event in Outlook.
|
|
3392
3398
|
*
|
|
3393
3399
|
* @remarks
|
|
3394
3400
|
*
|
|
@@ -3397,6 +3403,10 @@ declare namespace Office {
|
|
|
3397
3403
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **restricted**
|
|
3398
3404
|
*
|
|
3399
3405
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
3406
|
+
*
|
|
3407
|
+
* **Important**: Although Outlook on Android and on iOS support up to Mailbox 1.5, the `EventCompletedOptions` object is supported in online-meeting provider and
|
|
3408
|
+
* note-logging mobile add-ins. For more information on API support in Outlook on mobile devices, see
|
|
3409
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
3400
3410
|
*/
|
|
3401
3411
|
interface EventCompletedOptions {
|
|
3402
3412
|
/**
|
|
@@ -22008,7 +22018,7 @@ declare namespace Office {
|
|
|
22008
22018
|
url?: string;
|
|
22009
22019
|
/**
|
|
22010
22020
|
* If true, indicates that the attachment will be shown inline in the message body and shouldn't be displayed in the attachment list.
|
|
22011
|
-
* Only use if `type` is set to `file`.
|
|
22021
|
+
* Only use if `type` is set to `base64` or `file`.
|
|
22012
22022
|
*/
|
|
22013
22023
|
inLine?: boolean;
|
|
22014
22024
|
/**
|
|
@@ -22022,7 +22032,7 @@ declare namespace Office {
|
|
|
22022
22032
|
*
|
|
22023
22033
|
* [Api set: Mailbox 1.15]
|
|
22024
22034
|
*/
|
|
22025
|
-
|
|
22035
|
+
base64file?: string;
|
|
22026
22036
|
}
|
|
22027
22037
|
/**
|
|
22028
22038
|
* A ReplyFormData object that contains body or attachment data and a callback function. Used when displaying a reply form.
|
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.480",
|
|
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": "c38bc2b1b41d0fda5b1223ad957843dd256ca01c51516d5d9440732d8f1410d1",
|
|
50
50
|
"typeScriptVersion": "5.0"
|
|
51
51
|
}
|