@types/office-js-preview 1.0.571 → 1.0.573
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 +23 -13
- 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: Mon, 17 Mar 2025 21:32:53 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -3365,11 +3365,13 @@ declare namespace Office {
|
|
|
3365
3365
|
*
|
|
3366
3366
|
* This method must be called at the end of a function which was invoked by the following:
|
|
3367
3367
|
*
|
|
3368
|
-
* - A
|
|
3368
|
+
* - A {@link https://learn.microsoft.com/office/dev/add-ins/design/add-in-commands | function command} button.
|
|
3369
3369
|
*
|
|
3370
|
-
* - An {@link https://learn.microsoft.com/
|
|
3371
|
-
*
|
|
3372
|
-
*
|
|
3370
|
+
* - An {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send add-in} in Outlook.
|
|
3371
|
+
*
|
|
3372
|
+
* - An {@link https://learn.microsoft.com/office/dev/add-ins/outlook/online-meeting | online-meeting provider add-in} in Outlook.
|
|
3373
|
+
*
|
|
3374
|
+
* - A {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-log-appointments | note-logging add-in} in Outlook on mobile devices.
|
|
3373
3375
|
*
|
|
3374
3376
|
* @remarks
|
|
3375
3377
|
*
|
|
@@ -3381,16 +3383,20 @@ declare namespace Office {
|
|
|
3381
3383
|
*
|
|
3382
3384
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
3383
3385
|
*
|
|
3384
|
-
* **Important**: The `options` parameter only applies to Outlook add-ins
|
|
3385
|
-
*
|
|
3386
|
+
* **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
|
|
3387
|
+
* 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
|
|
3388
|
+
* 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}.
|
|
3386
3389
|
*
|
|
3387
|
-
* @param options Optional.
|
|
3390
|
+
* @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
|
|
3391
|
+
* when it completes processing an event.
|
|
3388
3392
|
*/
|
|
3389
3393
|
completed(options?: EventCompletedOptions): void;
|
|
3390
3394
|
}
|
|
3391
3395
|
/**
|
|
3392
|
-
* Specifies the behavior of an {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send
|
|
3393
|
-
*
|
|
3396
|
+
* Specifies the behavior of an {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send add-in},
|
|
3397
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/online-meeting | online-meeting provider add-in}, or
|
|
3398
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-log-appointments | note-logging mobile add-in}
|
|
3399
|
+
* when it completes processing an event in Outlook.
|
|
3394
3400
|
*
|
|
3395
3401
|
* @remarks
|
|
3396
3402
|
*
|
|
@@ -3399,6 +3405,10 @@ declare namespace Office {
|
|
|
3399
3405
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **restricted**
|
|
3400
3406
|
*
|
|
3401
3407
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
3408
|
+
*
|
|
3409
|
+
* **Important**: Although Outlook on Android and on iOS support up to Mailbox 1.5, the `EventCompletedOptions` object is supported in online-meeting provider and
|
|
3410
|
+
* note-logging mobile add-ins. For more information on API support in Outlook on mobile devices, see
|
|
3411
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
3402
3412
|
*/
|
|
3403
3413
|
interface EventCompletedOptions {
|
|
3404
3414
|
/**
|
|
@@ -22523,7 +22533,7 @@ declare namespace Office {
|
|
|
22523
22533
|
url?: string;
|
|
22524
22534
|
/**
|
|
22525
22535
|
* If true, indicates that the attachment will be shown inline in the message body and shouldn't be displayed in the attachment list.
|
|
22526
|
-
* Only use if `type` is set to `file`.
|
|
22536
|
+
* Only use if `type` is set to `base64` or `file`.
|
|
22527
22537
|
*/
|
|
22528
22538
|
inLine?: boolean;
|
|
22529
22539
|
/**
|
|
@@ -22537,7 +22547,7 @@ declare namespace Office {
|
|
|
22537
22547
|
*
|
|
22538
22548
|
* [Api set: Mailbox 1.15]
|
|
22539
22549
|
*/
|
|
22540
|
-
|
|
22550
|
+
base64file?: string;
|
|
22541
22551
|
}
|
|
22542
22552
|
/**
|
|
22543
22553
|
* A ReplyFormData object that contains body or attachment data and a callback function. Used when displaying a reply form.
|
|
@@ -111435,7 +111445,7 @@ declare namespace Word {
|
|
|
111435
111445
|
/** An interface for updating data on the `Body` object, for use in `body.set({ ... })`. */
|
|
111436
111446
|
interface BodyUpdateData {
|
|
111437
111447
|
/**
|
|
111438
|
-
* Gets the text format of the body. Use this to get and set font name, size, color and other properties.
|
|
111448
|
+
* Gets the text format of the body. Use this to get and set font name, size, color, and other properties.
|
|
111439
111449
|
*
|
|
111440
111450
|
* @remarks
|
|
111441
111451
|
* [Api set: WordApi 1.1]
|
|
@@ -113343,7 +113353,7 @@ declare namespace Word {
|
|
|
113343
113353
|
*/
|
|
113344
113354
|
fields?: Word.Interfaces.FieldData[];
|
|
113345
113355
|
/**
|
|
113346
|
-
* Gets the text format of the body. Use this to get and set font name, size, color and other properties.
|
|
113356
|
+
* Gets the text format of the body. Use this to get and set font name, size, color, and other properties.
|
|
113347
113357
|
*
|
|
113348
113358
|
* @remarks
|
|
113349
113359
|
* [Api set: WordApi 1.1]
|
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.573",
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "be6e81793e43460724b75c69e8e40fb7ff477ec6e2e492ee1c4e6ff126ae1837",
|
|
50
50
|
"typeScriptVersion": "5.0",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|