@types/office-js 1.0.478 → 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 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: Wed, 12 Mar 2025 22:02:27 GMT
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 function command button (that is, an add-in command defined with an **\<Action\>** element, where the `xsi:type` attribute is set to `ExecuteFunction`).
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/javascript/api/manifest/event | event} defined in the
3369
- * {@link https://learn.microsoft.com/javascript/api/manifest/extensionpoint#events | Events extension point} of an on-send add-in in Outlook.
3370
- * For example, an `ItemSend` event.
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 that implement the
3383
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send feature}. It was introduced in Mailbox 1.8.
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. An object that specifies the behavior of an on-send add-in in Outlook when it completes processing an `ItemSend` event.
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} add-in in Outlook
3391
- * when it completes processing an `ItemSend` event.
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
- base64File?: string;
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.
@@ -104981,7 +104991,7 @@ declare namespace Word {
104981
104991
  /** An interface for updating data on the `Body` object, for use in `body.set({ ... })`. */
104982
104992
  interface BodyUpdateData {
104983
104993
  /**
104984
- * Gets the text format of the body. Use this to get and set font name, size, color and other properties.
104994
+ * Gets the text format of the body. Use this to get and set font name, size, color, and other properties.
104985
104995
  *
104986
104996
  * @remarks
104987
104997
  * [Api set: WordApi 1.1]
@@ -106881,7 +106891,7 @@ declare namespace Word {
106881
106891
  */
106882
106892
  fields?: Word.Interfaces.FieldData[];
106883
106893
  /**
106884
- * Gets the text format of the body. Use this to get and set font name, size, color and other properties.
106894
+ * Gets the text format of the body. Use this to get and set font name, size, color, and other properties.
106885
106895
  *
106886
106896
  * @remarks
106887
106897
  * [Api set: WordApi 1.1]
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.478",
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": "e1834259e69827012807927626d6e3ae6c04ab8ffbf83f401a3ae047eabea9bd",
49
+ "typesPublisherContentHash": "c38bc2b1b41d0fda5b1223ad957843dd256ca01c51516d5d9440732d8f1410d1",
50
50
  "typeScriptVersion": "5.0"
51
51
  }