@types/office-js-preview 1.0.318 → 1.0.319

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.
@@ -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-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 08 Jul 2022 00:32:15 GMT
11
+ * Last updated: Thu, 14 Jul 2022 22:02:27 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -274,8 +274,8 @@ declare namespace Office {
274
274
  *
275
275
  * **Support details**
276
276
  *
277
- * A capital Y in the following matrix indicates that this method is supported in the corresponding Office host application.
278
- * An empty cell indicates that the Office host application doesn't support this method.
277
+ * A capital Y in the following matrix indicates that this function is supported in the corresponding Office host application.
278
+ * An empty cell indicates that the Office host application doesn't support this function.
279
279
  *
280
280
  * For more information about Office host application and server requirements, see
281
281
  * {@link https://docs.microsoft.com/office/dev/add-ins/concepts/requirements-for-running-office-add-ins | Requirements for running Office Add-ins}.
@@ -299,7 +299,7 @@ declare namespace Office {
299
299
  * also be used outside the add-in. In that case, once Office.js determines that it is running outside of an Office host application, it will call
300
300
  * the callback and resolve the promise with "null" for both the host and platform.
301
301
  *
302
- * @param callback - An optional callback method, that will receive the host and platform info.
302
+ * @param callback - An optional callback function, that will receive the host and platform info.
303
303
  * Alternatively, rather than use a callback, an add-in may simply wait for the Promise returned by the function to resolve.
304
304
  * @returns A Promise that contains the host and platform info, once initialization is completed.
305
305
  */
@@ -311,8 +311,8 @@ declare namespace Office {
311
311
  *
312
312
  * **Support details**
313
313
  *
314
- * A capital Y in the following matrix indicates that this method is supported in the corresponding Office host application.
315
- * An empty cell indicates that the Office host application doesn't support this method.
314
+ * A capital Y in the following matrix indicates that this function is supported in the corresponding Office host application.
315
+ * An empty cell indicates that the Office host application doesn't support this function.
316
316
  *
317
317
  * For more information about Office host application and server requirements, see
318
318
  * {@link https://docs.microsoft.com/office/dev/add-ins/concepts/requirements-for-running-office-add-ins | Requirements for running Office Add-ins}.
@@ -1263,7 +1263,7 @@ declare namespace Office {
1263
1263
  *
1264
1264
  * @param startAddress - Accepts the initial full HTTPS URL that opens in the dialog. Relative URLs must not be used.
1265
1265
  * @param options - Optional. Accepts an {@link Office.DialogOptions} object to define dialog display.
1266
- * @param callback - Optional. Accepts a callback method to handle the dialog creation attempt. If successful, the AsyncResult.value is a Dialog object.
1266
+ * @param callback - Optional. Accepts a callback function to handle the dialog creation attempt. If successful, the AsyncResult.value is a Dialog object.
1267
1267
  */
1268
1268
  displayDialogAsync(startAddress: string, options?: DialogOptions, callback?: (result: AsyncResult<Dialog>) => void): void;
1269
1269
  /**
@@ -1363,7 +1363,7 @@ declare namespace Office {
1363
1363
  * </table>
1364
1364
  *
1365
1365
  * @param startAddress - Accepts the initial full HTTPS URL that opens in the dialog. Relative URLs must not be used.
1366
- * @param callback - Optional. Accepts a callback method to handle the dialog creation attempt. If successful, the AsyncResult.value is a Dialog object.
1366
+ * @param callback - Optional. Accepts a callback function to handle the dialog creation attempt. If successful, the AsyncResult.value is a Dialog object.
1367
1367
  */
1368
1368
  displayDialogAsync(startAddress: string, callback?: (result: AsyncResult<Dialog>) => void): void;
1369
1369
  /**
@@ -1497,7 +1497,7 @@ declare namespace Office {
1497
1497
  * Accounts and Microsoft Accounts. Microsoft Azure returns tokens intended for both user account types to access resources in the Microsoft Graph.
1498
1498
  *
1499
1499
  * @param options - Optional. Accepts an `AuthOptions` object to define sign-on behaviors.
1500
- * @param callback - Optional. Accepts a callback method that can parse the token for the user's ID or use the token in the "on behalf of" flow to get access to Microsoft Graph.
1500
+ * @param callback - Optional. Accepts a callback function that can parse the token for the user's ID or use the token in the "on behalf of" flow to get access to Microsoft Graph.
1501
1501
  * If `AsyncResult.status` is "succeeded", then `AsyncResult.value` is the raw AAD v. 2.0-formatted access token.
1502
1502
  */
1503
1503
  getAccessTokenAsync(options?: AuthOptions, callback?: (result: AsyncResult<string>) => void): void;
@@ -1521,7 +1521,7 @@ declare namespace Office {
1521
1521
  * This API requires a single sign-on configuration that bridges the add-in to an Azure application. Office users sign in with Organizational
1522
1522
  * Accounts and Microsoft Accounts. Microsoft Azure returns tokens intended for both user account types to access resources in the Microsoft Graph.
1523
1523
  *
1524
- * @param callback - Optional. Accepts a callback method that can parse the token for the user's ID or use the token in the "on behalf of" flow to get access to Microsoft Graph.
1524
+ * @param callback - Optional. Accepts a callback function that can parse the token for the user's ID or use the token in the "on behalf of" flow to get access to Microsoft Graph.
1525
1525
  * If `AsyncResult.status` is "succeeded", then `AsyncResult.value` is the raw AAD v. 2.0-formatted access token.
1526
1526
  */
1527
1527
  getAccessTokenAsync(callback?: (result: AsyncResult<string>) => void): void;
@@ -2045,7 +2045,7 @@ declare namespace Office {
2045
2045
  }
2046
2046
 
2047
2047
  /**
2048
- * Returns a promise of an object described in the expression. Callback is invoked only if method fails.
2048
+ * Returns a promise of an object described in the expression. Callback is invoked only if the function fails.
2049
2049
  *
2050
2050
  * @param expression The object to be retrieved. Example "bindings#BindingName", retrieves a binding promise for a binding named 'BindingName'
2051
2051
  * @param callback Optional. A function that is invoked when the callback returns, whose only parameter is of type {@link Office.AsyncResult}.
@@ -2054,8 +2054,8 @@ declare namespace Office {
2054
2054
  *
2055
2055
  * **Support details**
2056
2056
  *
2057
- * A capital Y in the following matrix indicates that this method is supported in the corresponding Office host application.
2058
- * An empty cell indicates that the Office host application doesn't support this method.
2057
+ * A capital Y in the following matrix indicates that this function is supported in the corresponding Office host application.
2058
+ * An empty cell indicates that the Office host application doesn't support this function.
2059
2059
  *
2060
2060
  * For more information about Office host application and server requirements, see
2061
2061
  * {@link https://docs.microsoft.com/office/dev/add-ins/concepts/requirements-for-running-office-add-ins | Requirements for running Office Add-ins}.
@@ -9888,7 +9888,7 @@ declare namespace Office {
9888
9888
  * @param uri - The URI that provides the location of the file to attach to the message or appointment. The maximum length is 2048 characters.
9889
9889
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
9890
9890
  * @param options - An object literal that contains one or more of the following properties.
9891
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
9891
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
9892
9892
  * `isInline`: If true, indicates that the attachment will be shown inline in the message body,
9893
9893
  * and should not be displayed in the attachment list.
9894
9894
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
@@ -9962,7 +9962,7 @@ declare namespace Office {
9962
9962
  * @param base64File - The base64 encoded content of an image or file to be added to an email or event.
9963
9963
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
9964
9964
  * @param options - An object literal that contains one or more of the following properties.
9965
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
9965
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
9966
9966
  * `isInline`: If true, indicates that the attachment will be shown inline in the message body
9967
9967
  * and should not be displayed in the attachment list.
9968
9968
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
@@ -10024,7 +10024,7 @@ declare namespace Office {
10024
10024
  * @param handler - The function to handle the event. The function must accept a single parameter, which is an object literal.
10025
10025
  * The `type` property on the parameter will match the `eventType` parameter passed to `addHandlerAsync`.
10026
10026
  * @param options - An object literal that contains one or more of the following properties.
10027
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10027
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10028
10028
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
10029
10029
  * `asyncResult`, which is an `Office.AsyncResult` object.
10030
10030
  */
@@ -10053,9 +10053,9 @@ declare namespace Office {
10053
10053
  * Adds an Exchange item, such as a message, as an attachment to the message or appointment.
10054
10054
  *
10055
10055
  * The `addItemAttachmentAsync` method attaches the item with the specified Exchange identifier to the item in the compose form.
10056
- * If you specify a callback method, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
10056
+ * If you specify a callback function, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
10057
10057
  * a code that indicates any error that occurred while attaching the item.
10058
- * You can use the `options` parameter to pass state information to the callback method, if needed.
10058
+ * You can use the `options` parameter to pass state information to the callback function, if needed.
10059
10059
  *
10060
10060
  * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
10061
10061
  *
@@ -10076,7 +10076,7 @@ declare namespace Office {
10076
10076
  * @param itemId - The Exchange identifier of the item to attach. The maximum length is 100 characters.
10077
10077
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
10078
10078
  * @param options - An object literal that contains one or more of the following properties.
10079
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10079
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10080
10080
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter of
10081
10081
  * type `Office.AsyncResult`.
10082
10082
  * On success, the attachment identifier will be provided in the `asyncResult.value` property.
@@ -10088,9 +10088,9 @@ declare namespace Office {
10088
10088
  * Adds an Exchange item, such as a message, as an attachment to the message or appointment.
10089
10089
  *
10090
10090
  * The `addItemAttachmentAsync` method attaches the item with the specified Exchange identifier to the item in the compose form.
10091
- * If you specify a callback method, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
10091
+ * If you specify a callback function, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
10092
10092
  * a code that indicates any error that occurred while attaching the item.
10093
- * You can use the `options` parameter to pass state information to the callback method, if needed.
10093
+ * You can use the `options` parameter to pass state information to the callback function, if needed.
10094
10094
  *
10095
10095
  * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
10096
10096
  *
@@ -10152,7 +10152,7 @@ declare namespace Office {
10152
10152
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10153
10153
  *
10154
10154
  * @param options - An object literal that contains one or more of the following properties.
10155
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10155
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10156
10156
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter,
10157
10157
  * `asyncResult`, which is an `Office.AsyncResult` object.
10158
10158
  */
@@ -10201,7 +10201,7 @@ declare namespace Office {
10201
10201
  *
10202
10202
  * @param attachmentId - The identifier of the attachment you want to get.
10203
10203
  * @param options - An object literal that contains one or more of the following properties.
10204
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10204
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10205
10205
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
10206
10206
  * `asyncResult`, which is an `Office.AsyncResult` object. If the call fails, the `asyncResult.error` property will contain
10207
10207
  * an error code with the reason for the failure.
@@ -10247,7 +10247,7 @@ declare namespace Office {
10247
10247
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10248
10248
  *
10249
10249
  * @param options - An object literal that contains one or more of the following properties.
10250
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10250
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10251
10251
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
10252
10252
  * type `Office.AsyncResult`. If the call fails, the `asyncResult.error` property will contain an error code with the reason for
10253
10253
  * the failure.
@@ -10284,7 +10284,7 @@ declare namespace Office {
10284
10284
  * More information on {@link https://docs.microsoft.com/outlook/actionable-messages/invoke-add-in-from-actionable-message | actionable messages}.
10285
10285
  *
10286
10286
  * @param options - An object literal that contains one or more of the following properties.
10287
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10287
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10288
10288
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
10289
10289
  * of type `Office.AsyncResult`.
10290
10290
  * On success, the initialization context data is provided in the `asyncResult.value` property as a string.
@@ -10321,7 +10321,7 @@ declare namespace Office {
10321
10321
  /**
10322
10322
  * Asynchronously gets the ID of a saved item.
10323
10323
  *
10324
- * When invoked, this method returns the item ID via the callback method.
10324
+ * When invoked, this method returns the item ID via the callback function.
10325
10325
  *
10326
10326
  * **Note**: If your add-in calls `getItemIdAsync` on an item in compose mode (e.g., to get an `itemId` to use with EWS or the REST API),
10327
10327
  * be aware that when Outlook is in cached mode, it may take some time before the item is synced to the server.
@@ -10339,7 +10339,7 @@ declare namespace Office {
10339
10339
  * - `ItemNotSaved`: The id can't be retrieved until the item is saved.
10340
10340
  *
10341
10341
  * @param options - An object literal that contains one or more of the following properties.
10342
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10342
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10343
10343
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
10344
10344
  * of type `Office.AsyncResult`.
10345
10345
  */
@@ -10347,7 +10347,7 @@ declare namespace Office {
10347
10347
  /**
10348
10348
  * Asynchronously gets the ID of a saved item.
10349
10349
  *
10350
- * When invoked, this method returns the item ID via the callback method.
10350
+ * When invoked, this method returns the item ID via the callback function.
10351
10351
  *
10352
10352
  * **Note**: If your add-in calls `getItemIdAsync` on an item in compose mode (e.g., to get an `itemId` to use with EWS or the REST API),
10353
10353
  * be aware that when Outlook is in cached mode, it may take some time before the item is synced to the server.
@@ -10374,7 +10374,7 @@ declare namespace Office {
10374
10374
  * If there is no selection but the cursor is in the body or subject, the method returns an empty string for the selected data.
10375
10375
  * If a field other than the body or subject is selected, the method returns the `InvalidSelection` error.
10376
10376
  *
10377
- * To access the selected data from the callback method, call `asyncResult.value.data`.
10377
+ * To access the selected data from the callback function, call `asyncResult.value.data`.
10378
10378
  * To access the `source` property that the selection comes from, call `asyncResult.value.sourceProperty`, which will be either `body` or `subject`.
10379
10379
  *
10380
10380
  * @returns
@@ -10390,7 +10390,7 @@ declare namespace Office {
10390
10390
  * @param coercionType - Requests a format for the data. If `Text`, the method returns the plain text as a string, removing any HTML tags present.
10391
10391
  * If `HTML`, the method returns the selected text, whether it is plaintext or HTML.
10392
10392
  * @param options - An object literal that contains one or more of the following properties.
10393
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10393
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10394
10394
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
10395
10395
  * of type `Office.AsyncResult`.
10396
10396
  */
@@ -10401,7 +10401,7 @@ declare namespace Office {
10401
10401
  * If there is no selection but the cursor is in the body or subject, the method returns an empty string for the selected data.
10402
10402
  * If a field other than the body or subject is selected, the method returns the `InvalidSelection` error.
10403
10403
  *
10404
- * To access the selected data from the callback method, call `asyncResult.value.data`.
10404
+ * To access the selected data from the callback function, call `asyncResult.value.data`.
10405
10405
  * To access the `source` property that the selection comes from, call `asyncResult.value.sourceProperty`, which will be either `body` or `subject`.
10406
10406
  *
10407
10407
  * @returns
@@ -10436,7 +10436,7 @@ declare namespace Office {
10436
10436
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10437
10437
  *
10438
10438
  * @param options - An object literal that contains one or more of the following properties.
10439
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10439
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10440
10440
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
10441
10441
  * type `Office.AsyncResult`.
10442
10442
  * The `value` property of the result is the properties of the shared item.
@@ -10478,7 +10478,7 @@ declare namespace Office {
10478
10478
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10479
10479
  *
10480
10480
  * @param options - An object literal that contains one or more of the following properties.
10481
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10481
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10482
10482
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
10483
10483
  * type `Office.AsyncResult`.
10484
10484
  */
@@ -10548,7 +10548,7 @@ declare namespace Office {
10548
10548
  * @param attachmentId - The identifier of the attachment to remove. The maximum string length of the `attachmentId`
10549
10549
  * is 200 characters in Outlook on the web and on Windows.
10550
10550
  * @param options - An object literal that contains one or more of the following properties.
10551
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10551
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10552
10552
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
10553
10553
  * type `Office.AsyncResult`.
10554
10554
  * If removing the attachment fails, the `asyncResult.error` property will contain an error code with the reason for the failure.
@@ -10596,7 +10596,7 @@ declare namespace Office {
10596
10596
  *
10597
10597
  * @param eventType - The event that should revoke the handler.
10598
10598
  * @param options - An object literal that contains one or more of the following properties.
10599
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10599
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10600
10600
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
10601
10601
  * `asyncResult`, which is an `Office.AsyncResult` object.
10602
10602
  */
@@ -10622,7 +10622,7 @@ declare namespace Office {
10622
10622
  /**
10623
10623
  * Asynchronously saves an item.
10624
10624
  *
10625
- * When invoked, this method saves the current message as a draft and returns the item ID via the callback method.
10625
+ * When invoked, this method saves the current message as a draft and returns the item ID via the callback function.
10626
10626
  * In Outlook on the web or Outlook in online mode, the item is saved to the server.
10627
10627
  * In Outlook in cached mode, the item is saved to the local cache.
10628
10628
  *
@@ -10653,7 +10653,7 @@ declare namespace Office {
10653
10653
  * - `InvalidAttachmentId`: The attachment identifier does not exist.
10654
10654
  *
10655
10655
  * @param options - An object literal that contains one or more of the following properties.
10656
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10656
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10657
10657
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
10658
10658
  * type `Office.AsyncResult`.
10659
10659
  */
@@ -10661,7 +10661,7 @@ declare namespace Office {
10661
10661
  /**
10662
10662
  * Asynchronously saves an item.
10663
10663
  *
10664
- * When invoked, this method saves the current message as a draft and returns the item ID via the callback method.
10664
+ * When invoked, this method saves the current message as a draft and returns the item ID via the callback function.
10665
10665
  * In Outlook on the web or Outlook in online mode, the item is saved to the server. In Outlook in cached mode, the item is saved to the local cache.
10666
10666
  *
10667
10667
  * Since appointments have no draft state, if `saveAsync` is called on an appointment in compose mode, the item will be saved as a normal
@@ -10715,7 +10715,7 @@ declare namespace Office {
10715
10715
  * @param data - The data to be inserted. Data is not to exceed 1,000,000 characters.
10716
10716
  * If more than 1,000,000 characters are passed in, an `ArgumentOutOfRange` exception is thrown.
10717
10717
  * @param options - An object literal that contains one or more of the following properties.
10718
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10718
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10719
10719
  * `coercionType`: If text, the current style is applied in Outlook on the web and Windows.
10720
10720
  * If the field is an HTML editor, only the text data is inserted, even if the data is HTML.
10721
10721
  * If html and the field supports HTML (the subject doesn't), the current style is applied in Outlook on the web and the
@@ -11288,7 +11288,7 @@ declare namespace Office {
11288
11288
  * @param handler - The function to handle the event. The function must accept a single parameter, which is an object literal.
11289
11289
  * The `type` property on the parameter will match the `eventType` parameter passed to `addHandlerAsync`.
11290
11290
  * @param options - An object literal that contains one or more of the following properties.
11291
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11291
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11292
11292
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
11293
11293
  * `asyncResult`, which is an `Office.AsyncResult` object.
11294
11294
  */
@@ -11359,7 +11359,7 @@ declare namespace Office {
11359
11359
  * @param formData - A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB
11360
11360
  * OR a {@link Office.ReplyFormData | ReplyFormData} object that contains body or attachment data and a callback function.
11361
11361
  * @param options - An object literal that contains one or more of the following properties.
11362
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11362
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11363
11363
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
11364
11364
  * `asyncResult`, which is an `Office.AsyncResult` object.
11365
11365
  */
@@ -11434,7 +11434,7 @@ declare namespace Office {
11434
11434
  * @param formData - A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB
11435
11435
  * OR a {@link Office.ReplyFormData | ReplyFormData} object that contains body or attachment data and a callback function.
11436
11436
  * @param options - An object literal that contains one or more of the following properties.
11437
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11437
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11438
11438
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
11439
11439
  * `asyncResult`, which is an `Office.AsyncResult` object.
11440
11440
  */
@@ -11489,7 +11489,7 @@ declare namespace Office {
11489
11489
  *
11490
11490
  * @param attachmentId - The identifier of the attachment you want to get.
11491
11491
  * @param options - An object literal that contains one or more of the following properties.
11492
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11492
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11493
11493
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
11494
11494
  * `asyncResult`, which is an `Office.AsyncResult` object. If the call fails, the `asyncResult.error` property will contain
11495
11495
  * an error code with the reason for the failure.
@@ -11538,7 +11538,7 @@ declare namespace Office {
11538
11538
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
11539
11539
  *
11540
11540
  * @param options - An object literal that contains one or more of the following properties.
11541
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11541
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11542
11542
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
11543
11543
  * of type `Office.AsyncResult`.
11544
11544
  * On success, the initialization context data is provided in the `asyncResult.value` property as a string.
@@ -11780,7 +11780,7 @@ declare namespace Office {
11780
11780
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
11781
11781
  *
11782
11782
  * @param options - An object literal that contains one or more of the following properties.
11783
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11783
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11784
11784
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
11785
11785
  * type `Office.AsyncResult`.
11786
11786
  * The `value` property of the result is the properties of the shared item.
@@ -11844,7 +11844,7 @@ declare namespace Office {
11844
11844
  *
11845
11845
  * @param eventType - The event that should revoke the handler.
11846
11846
  * @param options - An object literal that contains one or more of the following properties.
11847
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11847
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11848
11848
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
11849
11849
  * `asyncResult`, which is an `Office.AsyncResult` object.
11850
11850
  */
@@ -12096,7 +12096,7 @@ declare namespace Office {
12096
12096
  *
12097
12097
  * @param data - The string to be added to the end of the body. The string is limited to 5,000 characters.
12098
12098
  * @param options - An object literal that contains one or more of the following properties.
12099
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12099
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12100
12100
  * `coercionType`: The desired format for the data to be appended. The string in the `data` parameter will be converted to this format.
12101
12101
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12102
12102
  * of type `Office.AsyncResult`. Any errors encountered will be provided in the `asyncResult.error` property.
@@ -12154,7 +12154,7 @@ declare namespace Office {
12154
12154
  *
12155
12155
  * @param coercionType - The format for the returned body.
12156
12156
  * @param options - An object literal that contains one or more of the following properties:
12157
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12157
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12158
12158
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12159
12159
  * of type Office.AsyncResult. The body is provided in the requested format in the `asyncResult.value` property.
12160
12160
  */
@@ -12191,7 +12191,7 @@ declare namespace Office {
12191
12191
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
12192
12192
  *
12193
12193
  * @param options - An object literal that contains one or more of the following properties.
12194
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12194
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12195
12195
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12196
12196
  * of type `Office.AsyncResult`.
12197
12197
  * The content type is returned as one of the `CoercionType` values in the `asyncResult.value` property.
@@ -12240,7 +12240,7 @@ declare namespace Office {
12240
12240
  *
12241
12241
  * @param data - The string to be inserted at the beginning of the body. The string is limited to 1,000,000 characters.
12242
12242
  * @param options - An object literal that contains one or more of the following properties.
12243
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12243
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12244
12244
  * `coercionType`: The desired format for the body. The string in the `data` parameter will be converted to this format.
12245
12245
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12246
12246
  * of type `Office.AsyncResult`. Any errors encountered will be provided in the `asyncResult.error` property.
@@ -12306,7 +12306,7 @@ declare namespace Office {
12306
12306
  *
12307
12307
  * @param data - The string that will replace the existing body. The string is limited to 1,000,000 characters.
12308
12308
  * @param options - An object literal that contains one or more of the following properties.
12309
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12309
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12310
12310
  * `coercionType`: The desired format for the body. The string in the `data` parameter will be converted to this format.
12311
12311
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12312
12312
  * of type Office.AsyncResult. Any errors encountered will be provided in the `asyncResult.error` property.
@@ -12371,7 +12371,7 @@ declare namespace Office {
12371
12371
  *
12372
12372
  * @param data - The string that will replace the existing body. The string is limited to 1,000,000 characters.
12373
12373
  * @param options - An object literal that contains one or more of the following properties.
12374
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12374
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12375
12375
  * `coercionType`: The desired format for the body. The string in the `data` parameter will be converted to this format.
12376
12376
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12377
12377
  * of type `Office.AsyncResult`. Any errors encountered will be provided in the `asyncResult.error` property.
@@ -12434,7 +12434,7 @@ declare namespace Office {
12434
12434
  *
12435
12435
  * @param data - The string that represents the signature to be set in the body of the mail. This string is limited to 30,000 characters.
12436
12436
  * @param options - An object literal that contains one or more of the following properties.
12437
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12437
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12438
12438
  * `coercionType`: The format the signature should be set to. If Text, the method sets the signature to plain text,
12439
12439
  * removing any HTML tags present. If Html, the method sets the signature to HTML.
12440
12440
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
@@ -12508,7 +12508,7 @@ declare namespace Office {
12508
12508
  *
12509
12509
  * @param categories - The categories to be added to the item.
12510
12510
  * @param options - An object literal that contains one or more of the following properties.
12511
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12511
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12512
12512
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
12513
12513
  * type `Office.AsyncResult`.
12514
12514
  */
@@ -12553,7 +12553,7 @@ declare namespace Office {
12553
12553
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
12554
12554
  *
12555
12555
  * @param options - An object literal that contains one or more of the following properties.
12556
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12556
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12557
12557
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
12558
12558
  * type `Office.AsyncResult`. If getting categories fails, the `asyncResult.error` property will contain an error code.
12559
12559
  */
@@ -12593,7 +12593,7 @@ declare namespace Office {
12593
12593
  *
12594
12594
  * @param categories - The categories to be removed from the item.
12595
12595
  * @param options - An object literal that contains one or more of the following properties.
12596
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12596
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12597
12597
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
12598
12598
  * type `Office.AsyncResult`. If removing categories fails, the `asyncResult.error` property will contain an error code.
12599
12599
  */
@@ -12746,7 +12746,7 @@ declare namespace Office {
12746
12746
  * In particular, a read add-in can be activated while the user is in a connected state in a read form, and subsequently the user becomes
12747
12747
  * disconnected.
12748
12748
  * If the add-in calls `saveAsync` while in the disconnected state, `saveAsync` would return an error.
12749
- * Your callback method should handle this error accordingly.
12749
+ * Your callback function should handle this error accordingly.
12750
12750
  *
12751
12751
  * @remarks
12752
12752
  *
@@ -12756,7 +12756,7 @@ declare namespace Office {
12756
12756
  *
12757
12757
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
12758
12758
  * type `Office.AsyncResult`.
12759
- * @param asyncContext - Optional. Any state data that is passed to the callback method.
12759
+ * @param asyncContext - Optional. Any state data that is passed to the callback function.
12760
12760
  */
12761
12761
  saveAsync(callback: (asyncResult: Office.AsyncResult<void>) => void, asyncContext?: any): void;
12762
12762
  /**
@@ -12769,7 +12769,7 @@ declare namespace Office {
12769
12769
  * In particular, a read add-in can be activated while the user is in a connected state in a read form, and subsequently the user becomes
12770
12770
  * disconnected.
12771
12771
  * If the add-in calls `saveAsync` while in the disconnected state, `saveAsync` would return an error.
12772
- * Your callback method should handle this error accordingly.
12772
+ * Your callback function should handle this error accordingly.
12773
12773
  *
12774
12774
  * @remarks
12775
12775
  *
@@ -12777,7 +12777,7 @@ declare namespace Office {
12777
12777
  *
12778
12778
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
12779
12779
  *
12780
- * @param asyncContext - Optional. Any state data that is passed to the callback method.
12780
+ * @param asyncContext - Optional. Any state data that is passed to the callback function.
12781
12781
  */
12782
12782
  saveAsync(asyncContext?: any): void;
12783
12783
  /**
@@ -12824,7 +12824,7 @@ declare namespace Office {
12824
12824
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
12825
12825
  *
12826
12826
  * @param options - An object literal that contains one or more of the following properties:
12827
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12827
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12828
12828
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
12829
12829
  * `asyncResult`, which is an `Office.AsyncResult` object.
12830
12830
  *
@@ -12859,7 +12859,7 @@ declare namespace Office {
12859
12859
  *
12860
12860
  * @param datetime - The future date and time when the message should be sent.
12861
12861
  * @param options - An object literal that contains one or more of the following properties.
12862
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12862
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12863
12863
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12864
12864
  * of type Office.AsyncResult. Any errors encountered will be provided in the `asyncResult.error` property.
12865
12865
  *
@@ -13035,7 +13035,7 @@ declare namespace Office {
13035
13035
  *
13036
13036
  * @param locationIdentifiers The locations to be added to the current list of locations.
13037
13037
  * @param options An object literal that contains one or more of the following properties.
13038
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13038
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13039
13039
  * @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13040
13040
  * `asyncResult`, which is an `Office.AsyncResult` object. Check the `status` property of `asyncResult` to determine if the call succeeded.
13041
13041
  */
@@ -13070,7 +13070,7 @@ declare namespace Office {
13070
13070
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
13071
13071
  *
13072
13072
  * @param options An object literal that contains one or more of the following properties.
13073
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13073
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13074
13074
  * @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13075
13075
  * `asyncResult`, which is an `Office.AsyncResult` object.
13076
13076
  */
@@ -13103,7 +13103,7 @@ declare namespace Office {
13103
13103
  *
13104
13104
  * @param locationIdentifiers The locations to be removed from the current list of locations.
13105
13105
  * @param options An object literal that contains one or more of the following properties.
13106
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13106
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13107
13107
  * @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13108
13108
  * `asyncResult`, which is an `Office.AsyncResult` object. Check the `status` property of `asyncResult` to determine if the call succeeded.
13109
13109
  */
@@ -13236,7 +13236,7 @@ declare namespace Office {
13236
13236
  * The email sender is always a user whose email address is on the Exchange server.
13237
13237
  *
13238
13238
  * @param options - An object literal that contains one or more of the following properties.
13239
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13239
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13240
13240
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13241
13241
  * `asyncResult`, which is an `Office.AsyncResult` object.
13242
13242
  * The `value` property of the result is the item's from value, as an `EmailAddressDetails` object.
@@ -13353,7 +13353,7 @@ declare namespace Office {
13353
13353
  *
13354
13354
  * @param names - The names of the internet headers to be returned.
13355
13355
  * @param options - An object literal that contains one or more of the following properties:
13356
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13356
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13357
13357
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13358
13358
  * `asyncResult`, which is an `Office.AsyncResult` object.
13359
13359
  */
@@ -13390,7 +13390,7 @@ declare namespace Office {
13390
13390
  *
13391
13391
  * @param names - The names of the internet headers to be removed.
13392
13392
  * @param options - An object literal that contains one or more of the following properties:
13393
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13393
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13394
13394
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13395
13395
  * `asyncResult`, which is an `Office.AsyncResult` object.
13396
13396
  */
@@ -13430,7 +13430,7 @@ declare namespace Office {
13430
13430
  * @param headers - The names and corresponding values of the headers to be set. Should be a dictionary object with keys being the names of the
13431
13431
  * internet headers and values being the values of the internet headers.
13432
13432
  * @param options - An object literal that contains one or more of the following properties.
13433
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13433
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13434
13434
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
13435
13435
  * of type Office.AsyncResult. Any errors encountered will be provided in the `asyncResult.error` property.
13436
13436
  */
@@ -13580,7 +13580,7 @@ declare namespace Office {
13580
13580
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13581
13581
  *
13582
13582
  * @param options - An object literal that contains one or more of the following properties.
13583
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13583
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13584
13584
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
13585
13585
  * type `Office.AsyncResult`.
13586
13586
  */
@@ -13621,7 +13621,7 @@ declare namespace Office {
13621
13621
  *
13622
13622
  * @param location - The location of the appointment. The string is limited to 255 characters.
13623
13623
  * @param options - An object literal that contains one or more of the following properties.
13624
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13624
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13625
13625
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
13626
13626
  * type `Office.AsyncResult`. If setting the location fails, the `asyncResult.error` property will contain an error code.
13627
13627
  */
@@ -13990,7 +13990,7 @@ declare namespace Office {
13990
13990
  *
13991
13991
  * @param itemId - The Exchange Web Services (EWS) identifier for an existing calendar appointment.
13992
13992
  * @param options - An object literal that contains one or more of the following properties.
13993
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13993
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13994
13994
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13995
13995
  * `asyncResult`, which is an `Office.AsyncResult` object.
13996
13996
  */
@@ -14073,7 +14073,7 @@ declare namespace Office {
14073
14073
  *
14074
14074
  * @param itemId - The Exchange Web Services (EWS) identifier for an existing message.
14075
14075
  * @param options - An object literal that contains one or more of the following properties.
14076
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14076
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14077
14077
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
14078
14078
  * `asyncResult`, which is an `Office.AsyncResult` object.
14079
14079
  */
@@ -14160,7 +14160,7 @@ declare namespace Office {
14160
14160
  *
14161
14161
  * @param parameters - An `AppointmentForm` describing the new appointment. All properties are optional.
14162
14162
  * @param options - An object literal that contains one or more of the following properties.
14163
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14163
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14164
14164
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
14165
14165
  * `asyncResult`, which is an `Office.AsyncResult` object.
14166
14166
  */
@@ -14288,7 +14288,7 @@ declare namespace Office {
14288
14288
  * `attachments.itemId`: Only used if type is set to item. The EWS item id of the existing e-mail you want to attach to the new message.
14289
14289
  * This is a string up to 100 characters.
14290
14290
  * @param options - An object literal that contains one or more of the following properties.
14291
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14291
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14292
14292
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
14293
14293
  * `asyncResult`, which is an `Office.AsyncResult` object.
14294
14294
  */
@@ -14614,7 +14614,7 @@ declare namespace Office {
14614
14614
  *
14615
14615
  * @param categories - The categories to be added to the master list on the mailbox.
14616
14616
  * @param options - An object literal that contains one or more of the following properties.
14617
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14617
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14618
14618
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
14619
14619
  * type `Office.AsyncResult`.
14620
14620
  */
@@ -14651,7 +14651,7 @@ declare namespace Office {
14651
14651
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
14652
14652
  *
14653
14653
  * @param options - An object literal that contains one or more of the following properties.
14654
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14654
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14655
14655
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
14656
14656
  * type `Office.AsyncResult`. If adding categories fails, the `asyncResult.error` property will contain an error code.
14657
14657
  */
@@ -14686,7 +14686,7 @@ declare namespace Office {
14686
14686
  *
14687
14687
  * @param categories - The categories to be removed from the master list on the mailbox.
14688
14688
  * @param options - An object literal that contains one or more of the following properties.
14689
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14689
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14690
14690
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
14691
14691
  * type `Office.AsyncResult`. If removing categories fails, the `asyncResult.error` property will contain an error code.
14692
14692
  */
@@ -15014,7 +15014,7 @@ declare namespace Office {
15014
15014
  * @param uri - The URI that provides the location of the file to attach to the message or appointment. The maximum length is 2048 characters.
15015
15015
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
15016
15016
  * @param options - An object literal that contains one or more of the following properties.
15017
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15017
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15018
15018
  * `isInline`: If true, indicates that the attachment will be shown inline in the message body, and should not be displayed in the
15019
15019
  * attachment list.
15020
15020
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
@@ -15086,7 +15086,7 @@ declare namespace Office {
15086
15086
  * @param base64File - The base64-encoded content of an image or file to be added to an email or event.
15087
15087
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
15088
15088
  * @param options - An object literal that contains one or more of the following properties.
15089
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15089
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15090
15090
  * `isInline`: If true, indicates that the attachment will be shown inline in the message body and should not be displayed in the attachment list.
15091
15091
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15092
15092
  * type Office.AsyncResult. On success, the attachment identifier will be provided in the `asyncResult.value` property.
@@ -15143,7 +15143,7 @@ declare namespace Office {
15143
15143
  * @param handler - The function to handle the event. The function must accept a single parameter, which is an object literal.
15144
15144
  * The `type` property on the parameter will match the `eventType` parameter passed to `addHandlerAsync`.
15145
15145
  * @param options - An object literal that contains one or more of the following properties.
15146
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15146
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15147
15147
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
15148
15148
  * `asyncResult`, which is an `Office.AsyncResult` object.
15149
15149
  */
@@ -15172,9 +15172,9 @@ declare namespace Office {
15172
15172
  * Adds an Exchange item, such as a message, as an attachment to the message or appointment.
15173
15173
  *
15174
15174
  * The `addItemAttachmentAsync` method attaches the item with the specified Exchange identifier to the item in the compose form.
15175
- * If you specify a callback method, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
15175
+ * If you specify a callback function, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
15176
15176
  * a code that indicates any error that occurred while attaching the item. You can use the options parameter to pass state information to the
15177
- * callback method, if needed.
15177
+ * callback function, if needed.
15178
15178
  *
15179
15179
  * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
15180
15180
  *
@@ -15195,7 +15195,7 @@ declare namespace Office {
15195
15195
  * @param itemId - The Exchange identifier of the item to attach. The maximum length is 100 characters.
15196
15196
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
15197
15197
  * @param options - An object literal that contains one or more of the following properties.
15198
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15198
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15199
15199
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15200
15200
  * type `Office.AsyncResult`. On success, the attachment identifier will be provided in the `asyncResult.value` property.
15201
15201
  * If adding the attachment fails, the `asyncResult` object will contain an `Error` object that provides a description of
@@ -15206,9 +15206,9 @@ declare namespace Office {
15206
15206
  * Adds an Exchange item, such as a message, as an attachment to the message or appointment.
15207
15207
  *
15208
15208
  * The `addItemAttachmentAsync` method attaches the item with the specified Exchange identifier to the item in the compose form.
15209
- * If you specify a callback method, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
15209
+ * If you specify a callback function, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
15210
15210
  * a code that indicates any error that occurred while attaching the item. You can use the options parameter to pass state information to the
15211
- * callback method, if needed.
15211
+ * callback function, if needed.
15212
15212
  *
15213
15213
  * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
15214
15214
  *
@@ -15269,7 +15269,7 @@ declare namespace Office {
15269
15269
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15270
15270
  *
15271
15271
  * @param options - An object literal that contains one or more of the following properties.
15272
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15272
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15273
15273
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter,
15274
15274
  * `asyncResult`, which is an `Office.AsyncResult` object.
15275
15275
  */
@@ -15318,7 +15318,7 @@ declare namespace Office {
15318
15318
  *
15319
15319
  * @param attachmentId - The identifier of the attachment you want to get.
15320
15320
  * @param options - An object literal that contains one or more of the following properties.
15321
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15321
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15322
15322
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
15323
15323
  * `asyncResult`, which is an `Office.AsyncResult` object. If the call fails, the `asyncResult.error` property will contain
15324
15324
  * an error code with the reason for the failure.
@@ -15364,7 +15364,7 @@ declare namespace Office {
15364
15364
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15365
15365
  *
15366
15366
  * @param options - An object literal that contains one or more of the following properties.
15367
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15367
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15368
15368
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15369
15369
  * type `Office.AsyncResult`. If the call fails, the `asyncResult.error` property will contain an error code with the reason for
15370
15370
  * the failure.
@@ -15397,7 +15397,7 @@ declare namespace Office {
15397
15397
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15398
15398
  *
15399
15399
  * @param options - An object literal that contains one or more of the following properties.
15400
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15400
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15401
15401
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15402
15402
  * type `Office.AsyncResult`. On success, the `asyncResult.value` property contains an object with the item's compose type
15403
15403
  * and coercion type.
@@ -15441,7 +15441,7 @@ declare namespace Office {
15441
15441
  * More information on {@link https://docs.microsoft.com/outlook/actionable-messages/invoke-add-in-from-actionable-message | actionable messages}.
15442
15442
  *
15443
15443
  * @param options - An object literal that contains one or more of the following properties.
15444
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15444
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15445
15445
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
15446
15446
  * of type `Office.AsyncResult`.
15447
15447
  * On success, the initialization context data is provided in the `asyncResult.value` property as a string.
@@ -15478,7 +15478,7 @@ declare namespace Office {
15478
15478
  /**
15479
15479
  * Asynchronously gets the ID of a saved item.
15480
15480
  *
15481
- * When invoked, this method returns the item ID via the callback method.
15481
+ * When invoked, this method returns the item ID via the callback function.
15482
15482
  *
15483
15483
  * **Note**: If your add-in calls `getItemIdAsync` on an item in compose mode (e.g., to get an `itemId` to use with EWS or the REST API),
15484
15484
  * be aware that when Outlook is in cached mode, it may take some time before the item is synced to the server.
@@ -15496,7 +15496,7 @@ declare namespace Office {
15496
15496
  * - `ItemNotSaved`: The id can't be retrieved until the item is saved.
15497
15497
  *
15498
15498
  * @param options - An object literal that contains one or more of the following properties.
15499
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15499
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15500
15500
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
15501
15501
  * of type `Office.AsyncResult`.
15502
15502
  */
@@ -15504,7 +15504,7 @@ declare namespace Office {
15504
15504
  /**
15505
15505
  * Asynchronously gets the ID of a saved item.
15506
15506
  *
15507
- * When invoked, this method returns the item ID via the callback method.
15507
+ * When invoked, this method returns the item ID via the callback function.
15508
15508
  *
15509
15509
  * **Note**: If your add-in calls `getItemIdAsync` on an item in compose mode (e.g., to get an `itemId` to use with EWS or the REST API),
15510
15510
  * be aware that when Outlook is in cached mode, it may take some time before the item is synced to the server.
@@ -15531,7 +15531,7 @@ declare namespace Office {
15531
15531
  * If there is no selection but the cursor is in the body or subject, the method returns an empty string for the selected data.
15532
15532
  * If a field other than the body or subject is selected, the method returns the `InvalidSelection` error.
15533
15533
  *
15534
- * To access the selected data from the callback method, call `asyncResult.value.data`.
15534
+ * To access the selected data from the callback function, call `asyncResult.value.data`.
15535
15535
  * To access the source property that the selection comes from, call `asyncResult.value.sourceProperty`, which will be either `body` or `subject`.
15536
15536
  *
15537
15537
  * @returns
@@ -15547,7 +15547,7 @@ declare namespace Office {
15547
15547
  * @param coercionType - Requests a format for the data. If `Text`, the method returns the plain text as a string, removing any HTML tags present.
15548
15548
  * If `Html`, the method returns the selected text, whether it is plaintext or HTML.
15549
15549
  * @param options - An object literal that contains one or more of the following properties.
15550
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15550
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15551
15551
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15552
15552
  * type `Office.AsyncResult`.
15553
15553
  */
@@ -15558,7 +15558,7 @@ declare namespace Office {
15558
15558
  * If there is no selection but the cursor is in the body or subject, the method returns an empty string for the selected data.
15559
15559
  * If a field other than the body or subject is selected, the method returns the `InvalidSelection` error.
15560
15560
  *
15561
- * To access the selected data from the callback method, call `asyncResult.value.data`.
15561
+ * To access the selected data from the callback function, call `asyncResult.value.data`.
15562
15562
  * To access the source property that the selection comes from, call `asyncResult.value.sourceProperty`, which will be either `body` or `subject`.
15563
15563
  *
15564
15564
  * @returns
@@ -15614,7 +15614,7 @@ declare namespace Office {
15614
15614
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15615
15615
  *
15616
15616
  * @param options - An object literal that contains one or more of the following properties.
15617
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15617
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15618
15618
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15619
15619
  * type `Office.AsyncResult`. The `value` property of the result is the properties of the shared item.
15620
15620
  */
@@ -15675,7 +15675,7 @@ declare namespace Office {
15675
15675
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15676
15676
  *
15677
15677
  * @param options - An object literal that contains one or more of the following properties.
15678
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15678
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15679
15679
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15680
15680
  * type `Office.AsyncResult`.
15681
15681
  */
@@ -15745,7 +15745,7 @@ declare namespace Office {
15745
15745
  * @param attachmentId - The identifier of the attachment to remove. The maximum string length of the `attachmentId`
15746
15746
  * is 200 characters in Outlook on the web and on Windows.
15747
15747
  * @param options - An object literal that contains one or more of the following properties.
15748
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15748
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15749
15749
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15750
15750
  * type `Office.AsyncResult`. If removing the attachment fails, the `asyncResult.error` property will contain an error code
15751
15751
  * with the reason for the failure.
@@ -15793,7 +15793,7 @@ declare namespace Office {
15793
15793
  *
15794
15794
  * @param eventType - The event that should revoke the handler.
15795
15795
  * @param options - An object literal that contains one or more of the following properties.
15796
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15796
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15797
15797
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
15798
15798
  * `asyncResult`, which is an `Office.AsyncResult` object.
15799
15799
  */
@@ -15819,7 +15819,7 @@ declare namespace Office {
15819
15819
  /**
15820
15820
  * Asynchronously saves an item.
15821
15821
  *
15822
- * When invoked, this method saves the current message as a draft and returns the item ID via the callback method.
15822
+ * When invoked, this method saves the current message as a draft and returns the item ID via the callback function.
15823
15823
  * In Outlook on the web or Outlook in online mode, the item is saved to the server.
15824
15824
  * In Outlook in cached mode, the item is saved to the local cache.
15825
15825
  *
@@ -15846,7 +15846,7 @@ declare namespace Office {
15846
15846
  * - `InvalidAttachmentId`: The attachment identifier does not exist.
15847
15847
  *
15848
15848
  * @param options - An object literal that contains one or more of the following properties.
15849
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15849
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15850
15850
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15851
15851
  * type `Office.AsyncResult`.
15852
15852
  */
@@ -15854,7 +15854,7 @@ declare namespace Office {
15854
15854
  /**
15855
15855
  * Asynchronously saves an item.
15856
15856
  *
15857
- * When invoked, this method saves the current message as a draft and returns the item id via the callback method.
15857
+ * When invoked, this method saves the current message as a draft and returns the item id via the callback function.
15858
15858
  * In Outlook on the web or Outlook in online mode, the item is saved to the server.
15859
15859
  * In Outlook in cached mode, the item is saved to the local cache.
15860
15860
  *
@@ -15905,7 +15905,7 @@ declare namespace Office {
15905
15905
  * @param data - The data to be inserted. Data is not to exceed 1,000,000 characters.
15906
15906
  * If more than 1,000,000 characters are passed in, an `ArgumentOutOfRange` exception is thrown.
15907
15907
  * @param options - An object literal that contains one or more of the following properties.
15908
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15908
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15909
15909
  * `coercionType`: If text, the current style is applied in Outlook on the web and desktop clients.
15910
15910
  * If the field is an HTML editor, only the text data is inserted, even if the data is HTML.
15911
15911
  * If html and the field supports HTML (the subject doesn't), the current style is applied in Outlook on the web and the default style is
@@ -16330,7 +16330,7 @@ declare namespace Office {
16330
16330
  * @param handler - The function to handle the event. The function must accept a single parameter, which is an object literal.
16331
16331
  * The `type` property on the parameter will match the eventType `parameter` passed to `addHandlerAsync`.
16332
16332
  * @param options - An object literal that contains one or more of the following properties.
16333
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16333
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16334
16334
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
16335
16335
  * `asyncResult`, which is an `Office.AsyncResult` object.
16336
16336
  */
@@ -16401,7 +16401,7 @@ declare namespace Office {
16401
16401
  * @param formData - A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB
16402
16402
  * OR a {@link Office.ReplyFormData | ReplyFormData} object that contains body or attachment data and a callback function.
16403
16403
  * @param options - An object literal that contains one or more of the following properties.
16404
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16404
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16405
16405
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
16406
16406
  * `asyncResult`, which is an `Office.AsyncResult` object.
16407
16407
  */
@@ -16476,7 +16476,7 @@ declare namespace Office {
16476
16476
  * @param formData - A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB
16477
16477
  * OR a {@link Office.ReplyFormData | ReplyFormData} object that contains body or attachment data and a callback function.
16478
16478
  * @param options - An object literal that contains one or more of the following properties.
16479
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16479
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16480
16480
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
16481
16481
  * `asyncResult`, which is an `Office.AsyncResult` object.
16482
16482
  */
@@ -16520,7 +16520,7 @@ declare namespace Office {
16520
16520
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
16521
16521
  *
16522
16522
  * @param options - An object literal that contains one or more of the following properties.
16523
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16523
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16524
16524
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
16525
16525
  * `asyncResult`, which is an `Office.AsyncResult` object.
16526
16526
  * On success, the internet headers data is provided in the `asyncResult.value` property as a string.
@@ -16573,7 +16573,7 @@ declare namespace Office {
16573
16573
  *
16574
16574
  * @param attachmentId - The identifier of the attachment you want to get.
16575
16575
  * @param options - An object literal that contains one or more of the following properties.
16576
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16576
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16577
16577
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
16578
16578
  * `asyncResult`, which is an `Office.AsyncResult` object. If the call fails, the `asyncResult.error` property will contain
16579
16579
  * an error code with the reason for the failure.
@@ -16623,7 +16623,7 @@ declare namespace Office {
16623
16623
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
16624
16624
  *
16625
16625
  * @param options - An object literal that contains one or more of the following properties.
16626
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16626
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16627
16627
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
16628
16628
  * of type `Office.AsyncResult`.
16629
16629
  * On success, the initialization context data is provided in the `asyncResult.value` property as a string.
@@ -16866,7 +16866,7 @@ declare namespace Office {
16866
16866
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
16867
16867
  *
16868
16868
  * @param options - An object literal that contains one or more of the following properties.
16869
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16869
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16870
16870
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
16871
16871
  * type `Office.AsyncResult`. The `value` property of the result is the properties of the shared item.
16872
16872
  */
@@ -16927,7 +16927,7 @@ declare namespace Office {
16927
16927
  *
16928
16928
  * @param eventType - The event that should revoke the handler.
16929
16929
  * @param options - An object literal that contains one or more of the following properties.
16930
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16930
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16931
16931
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
16932
16932
  * `asyncResult`, which is an `Office.AsyncResult` object.
16933
16933
  */
@@ -16975,7 +16975,7 @@ declare namespace Office {
16975
16975
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
16976
16976
  *
16977
16977
  * @param options - An object literal that contains one or more of the following properties.
16978
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16978
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16979
16979
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
16980
16980
  * type `Office.AsyncResult`.
16981
16981
  *
@@ -17013,7 +17013,7 @@ declare namespace Office {
17013
17013
  *
17014
17014
  * @param isAllDayEvent - boolean value to set the all day event status.
17015
17015
  * @param options - An object literal that contains one or more of the following properties.
17016
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17016
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17017
17017
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
17018
17018
  * `asyncResult`, which is an `Office.AsyncResult` object.
17019
17019
  *
@@ -17176,7 +17176,7 @@ declare namespace Office {
17176
17176
  * @param JSONmessage - A JSON object that contains the notification message to be added to the item.
17177
17177
  * It contains a `NotificationMessageDetails` object.
17178
17178
  * @param options - An object literal that contains one or more of the following properties.
17179
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17179
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17180
17180
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
17181
17181
  * of type `Office.AsyncResult`.
17182
17182
  */
@@ -17219,7 +17219,7 @@ declare namespace Office {
17219
17219
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
17220
17220
  *
17221
17221
  * @param options - An object literal that contains one or more of the following properties.
17222
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17222
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17223
17223
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
17224
17224
  * of type `Office.AsyncResult`. The `value` property of the result is an array of `NotificationMessageDetails` objects.
17225
17225
  */
@@ -17250,7 +17250,7 @@ declare namespace Office {
17250
17250
  *
17251
17251
  * @param key - The key for the notification message to remove.
17252
17252
  * @param options - An object literal that contains one or more of the following properties.
17253
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17253
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17254
17254
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
17255
17255
  * of type `Office.AsyncResult`.
17256
17256
  */
@@ -17286,7 +17286,7 @@ declare namespace Office {
17286
17286
  * @param JSONmessage - A JSON object that contains the new notification message to replace the existing message.
17287
17287
  * It contains a `NotificationMessageDetails` object.
17288
17288
  * @param options - An object literal that contains one or more of the following properties.
17289
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17289
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17290
17290
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
17291
17291
  * of type `Office.AsyncResult`.
17292
17292
  */
@@ -17366,7 +17366,7 @@ declare namespace Office {
17366
17366
  * The appointment organizer is always a user whose email address is on the Exchange server.
17367
17367
  *
17368
17368
  * @param options - An object literal that contains one or more of the following properties.
17369
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17369
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17370
17370
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
17371
17371
  * `asyncResult`, which is an `AsyncResult` object. The `value` property of the result is the appointment's organizer value,
17372
17372
  * as an `EmailAddressDetails` object.
@@ -17463,7 +17463,7 @@ declare namespace Office {
17463
17463
  *
17464
17464
  * @param recipients - The recipients to add to the recipients list.
17465
17465
  * @param options - An object literal that contains one or more of the following properties.
17466
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17466
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17467
17467
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
17468
17468
  * of type `Office.AsyncResult`. If adding the recipients fails, the `asyncResult.error` property will contain an error code.
17469
17469
  */
@@ -17540,7 +17540,7 @@ declare namespace Office {
17540
17540
  * the auto-complete list.
17541
17541
  *
17542
17542
  * @param options - An object literal that contains one or more of the following properties.
17543
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17543
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17544
17544
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
17545
17545
  * of type `Office.AsyncResult`. The `value` property of the result is an array of `EmailAddressDetails` objects.
17546
17546
  */
@@ -17619,7 +17619,7 @@ declare namespace Office {
17619
17619
  *
17620
17620
  * @param recipients - The recipients to add to the recipients list.
17621
17621
  * @param options - An object literal that contains one or more of the following properties.
17622
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17622
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17623
17623
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
17624
17624
  * type `Office.AsyncResult`. If setting the recipients fails the `asyncResult.error` property will contain a code that
17625
17625
  * indicates any error that occurred while adding the data.
@@ -17850,7 +17850,7 @@ declare namespace Office {
17850
17850
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
17851
17851
  *
17852
17852
  * @param options - An object literal that contains one or more of the following properties.
17853
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17853
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17854
17854
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
17855
17855
  * `asyncResult`, which is an `Office.AsyncResult` object. The `value` property of the result is a `Recurrence` object.
17856
17856
  */
@@ -17889,7 +17889,7 @@ declare namespace Office {
17889
17889
  *
17890
17890
  * @param recurrencePattern - A recurrence object.
17891
17891
  * @param options - An object literal that contains one or more of the following properties.
17892
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17892
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17893
17893
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
17894
17894
  * `asyncResult`, which is an `Office.AsyncResult` object.
17895
17895
  */
@@ -18048,7 +18048,7 @@ declare namespace Office {
18048
18048
  callback?: (asyncResult: Office.AsyncResult<any>) => void;
18049
18049
  /**
18050
18050
  * An object literal that contains the following property.
18051
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
18051
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18052
18052
  */
18053
18053
  options?: Office.AsyncContextOptions;
18054
18054
  }
@@ -18132,7 +18132,7 @@ declare namespace Office {
18132
18132
  *
18133
18133
  * A maximum of 32KB is available for the settings of each add-in.
18134
18134
  *
18135
- * Any changes made to settings using the set function will not be saved to the server until the `saveAsync` function is called.
18135
+ * Any changes made to settings using the `set` method will not be saved to the server until the `saveAsync` method is called.
18136
18136
  *
18137
18137
  * @remarks
18138
18138
  *
@@ -18169,7 +18169,7 @@ declare namespace Office {
18169
18169
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
18170
18170
  *
18171
18171
  * @param options - An object literal that contains one or more of the following properties.
18172
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
18172
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18173
18173
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
18174
18174
  * type `Office.AsyncResult`.
18175
18175
  *
@@ -18204,7 +18204,7 @@ declare namespace Office {
18204
18204
  *
18205
18205
  * @param sensitivity - The sensitivity value as enum or string.
18206
18206
  * @param options - An object literal that contains one or more of the following properties.
18207
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
18207
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18208
18208
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
18209
18209
  * `asyncResult`, which is an `Office.AsyncResult` object.
18210
18210
  *
@@ -18426,7 +18426,7 @@ declare namespace Office {
18426
18426
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
18427
18427
  *
18428
18428
  * @param options - An object literal that contains one or more of the following properties.
18429
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
18429
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18430
18430
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
18431
18431
  * `asyncResult`, which is an `Office.AsyncResult` object.
18432
18432
  */
@@ -18486,7 +18486,7 @@ declare namespace Office {
18486
18486
  *
18487
18487
  * @param name - The session data key.
18488
18488
  * @param options - An object literal that contains one or more of the following properties.
18489
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
18489
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18490
18490
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
18491
18491
  * `asyncResult`, which is an `Office.AsyncResult` object.
18492
18492
  */
@@ -18521,7 +18521,7 @@ declare namespace Office {
18521
18521
  * @param name - The session data key.
18522
18522
  * @param value - The session data value as a string.
18523
18523
  * @param options - An object literal that contains one or more of the following properties.
18524
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
18524
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18525
18525
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
18526
18526
  * type `Office.AsyncResult`.
18527
18527
  */
@@ -18608,7 +18608,7 @@ declare namespace Office {
18608
18608
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
18609
18609
  *
18610
18610
  * @param options - An object literal that contains one or more of the following properties.
18611
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
18611
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18612
18612
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
18613
18613
  * of type `Office.AsyncResult`. The `value` property of the result is the subject of the item.
18614
18614
  */
@@ -18648,7 +18648,7 @@ declare namespace Office {
18648
18648
  *
18649
18649
  * @param subject - The subject of the appointment or message. The string is limited to 255 characters.
18650
18650
  * @param options - An object literal that contains one or more of the following properties.
18651
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
18651
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18652
18652
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
18653
18653
  * of type `Office.AsyncResult`. If setting the subject fails, the `asyncResult.error` property will contain an error code.
18654
18654
  */
@@ -18723,7 +18723,7 @@ declare namespace Office {
18723
18723
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
18724
18724
  *
18725
18725
  * @param options - An object literal that contains one or more of the following properties.
18726
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
18726
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18727
18727
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
18728
18728
  * of type `Office.AsyncResult`. The `value` property of the result is a `Date` object.
18729
18729
  */
@@ -18753,7 +18753,7 @@ declare namespace Office {
18753
18753
  *
18754
18754
  * The time must be in UTC; you can get the correct UTC time by using the `convertToUtcClientTime` method.
18755
18755
  *
18756
- * **Important**: In the Windows client, you can't use this function to update the start or end of a recurrence.
18756
+ * **Important**: In the Windows client, you can't use this method to update the start or end of a recurrence.
18757
18757
  *
18758
18758
  * @remarks
18759
18759
  * [Api set: Mailbox 1.1]
@@ -18768,7 +18768,7 @@ declare namespace Office {
18768
18768
  *
18769
18769
  * @param dateTime - A date-time object in Coordinated Universal Time (UTC).
18770
18770
  * @param options - An object literal that contains one or more of the following properties.
18771
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
18771
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18772
18772
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
18773
18773
  * type `Office.AsyncResult`. If setting the date and time fails, the `asyncResult.error` property will contain an error code.
18774
18774
  */
@@ -18781,7 +18781,7 @@ declare namespace Office {
18781
18781
  *
18782
18782
  * The time must be in UTC; you can get the correct UTC time by using the `convertToUtcClientTime` method.
18783
18783
  *
18784
- * **Important**: In the Windows client, you can't use this function to update the start or end of a recurrence.
18784
+ * **Important**: In the Windows client, you can't use this method to update the start or end of a recurrence.
18785
18785
  *
18786
18786
  * @remarks
18787
18787
  * [Api set: Mailbox 1.1]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.318",
3
+ "version": "1.0.319",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "bf8642e42365f504fdabe3aa84a7a02ca4d53fc8dd8056c72ed6be5c0d143aeb",
48
+ "typesPublisherContentHash": "c4b38d7c0e21a9776cc18281f0548196bc5571c98a4b40408ff78e0b3dc7a68b",
49
49
  "typeScriptVersion": "4.0"
50
50
  }