@types/office-js-preview 1.0.646 → 1.0.647
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
office-js-preview/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Fri, 03 Oct 2025
|
|
11
|
+
* Last updated: Fri, 03 Oct 2025 22:02:17 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -10467,6 +10467,10 @@ declare namespace Office {
|
|
|
10467
10467
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
10468
10468
|
*
|
|
10469
10469
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
|
|
10470
|
+
*
|
|
10471
|
+
* **Important**: To manage the locations of an appointment in Outlook clients that don't support Mailbox requirement set 1.8, use the `location` property instead.
|
|
10472
|
+
* For guidance on selecting the right location API for your scenario, see
|
|
10473
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/get-or-set-the-location-of-an-appointment | Get or set the location when composing an appointmnt in Outlook}.
|
|
10470
10474
|
*/
|
|
10471
10475
|
enhancedLocation: EnhancedLocation;
|
|
10472
10476
|
/**
|
|
@@ -10500,9 +10504,15 @@ declare namespace Office {
|
|
|
10500
10504
|
*
|
|
10501
10505
|
* @remarks
|
|
10502
10506
|
*
|
|
10507
|
+
* [Api set: Mailbox 1.1]
|
|
10508
|
+
*
|
|
10503
10509
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
10504
10510
|
*
|
|
10505
10511
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
|
|
10512
|
+
*
|
|
10513
|
+
* **Important**: The `enhancedLocation` property was introduced in Mailbox requirement set 1.8. Use the `enhancedLocation` property to better identify and manage
|
|
10514
|
+
* appointment locations, especially if you need to determine the location type. For guidance on selecting the right location API for your scenario, see
|
|
10515
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/get-or-set-the-location-of-an-appointment | Get or set the location when composing an appointmnt in Outlook}.
|
|
10506
10516
|
*/
|
|
10507
10517
|
location: Location;
|
|
10508
10518
|
/**
|
|
@@ -12001,6 +12011,10 @@ declare namespace Office {
|
|
|
12001
12011
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
12002
12012
|
*
|
|
12003
12013
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
|
|
12014
|
+
*
|
|
12015
|
+
* **Important**: To manage the locations of an appointment in Outlook clients that don't support Mailbox requirement set 1.8, use the `location` property instead.
|
|
12016
|
+
* For guidance on selecting the right location API for your scenario, see
|
|
12017
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/get-or-set-the-location-of-an-appointment | Get or set the location when composing an appointmnt in Outlook}.
|
|
12004
12018
|
*/
|
|
12005
12019
|
enhancedLocation: EnhancedLocation;
|
|
12006
12020
|
/**
|
|
@@ -12069,9 +12083,15 @@ declare namespace Office {
|
|
|
12069
12083
|
*
|
|
12070
12084
|
* @remarks
|
|
12071
12085
|
*
|
|
12086
|
+
* [Api set: Mailbox 1.1]
|
|
12087
|
+
*
|
|
12072
12088
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
12073
12089
|
*
|
|
12074
12090
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
|
|
12091
|
+
*
|
|
12092
|
+
* **Important**: The `enhancedLocation` property was introduced in Mailbox requirement set 1.8. Use the `enhancedLocation` property to better identify and manage
|
|
12093
|
+
* appointment locations, especially if you need to determine the location type. For guidance on selecting the right location API for your scenario, see
|
|
12094
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/get-or-set-the-location-of-an-appointment | Get or set the location when composing an appointmnt in Outlook}.
|
|
12075
12095
|
*/
|
|
12076
12096
|
location: string;
|
|
12077
12097
|
/**
|
|
@@ -14832,6 +14852,10 @@ declare namespace Office {
|
|
|
14832
14852
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
14833
14853
|
*
|
|
14834
14854
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
14855
|
+
*
|
|
14856
|
+
* **Important**: To manage the locations of an appointment in Outlook clients that don't support Mailbox requirement set 1.8, use the Office.Location API instead.
|
|
14857
|
+
* For guidance on selecting the right location API for your scenario, see
|
|
14858
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/get-or-set-the-location-of-an-appointment | Get or set the location when composing an appointmnt in Outlook}.
|
|
14835
14859
|
*/
|
|
14836
14860
|
export interface EnhancedLocation {
|
|
14837
14861
|
/**
|
|
@@ -14876,9 +14900,6 @@ declare namespace Office {
|
|
|
14876
14900
|
addAsync(locationIdentifiers: LocationIdentifier[], callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
|
14877
14901
|
/**
|
|
14878
14902
|
* Gets the set of locations associated with the appointment.
|
|
14879
|
-
*
|
|
14880
|
-
* **Note**: {@link https://support.microsoft.com/office/88ff6c60-0a1d-4b54-8c9d-9e1a71bc3023 | Personal contact groups}
|
|
14881
|
-
* added as appointment locations aren't returned by this method.
|
|
14882
14903
|
*
|
|
14883
14904
|
* @remarks
|
|
14884
14905
|
* [Api set: Mailbox 1.8]
|
|
@@ -14887,18 +14908,23 @@ declare namespace Office {
|
|
|
14887
14908
|
*
|
|
14888
14909
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
14889
14910
|
*
|
|
14911
|
+
* **Important**:
|
|
14912
|
+
*
|
|
14913
|
+
* - The `getAsync` method doesn't return {@link https://support.microsoft.com/office/88ff6c60-0a1d-4b54-8c9d-9e1a71bc3023 | personal contact groups} that
|
|
14914
|
+
* were added to the **Location** field of an appointment.
|
|
14915
|
+
*
|
|
14916
|
+
* - If a location was added using `Office.context.mailbox.item.location.setAsync`, its location type is `Office.MailboxEnums.LocationType.Custom`.
|
|
14917
|
+
*
|
|
14890
14918
|
* @param options An object literal that contains one or more of the following properties:-
|
|
14891
14919
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
14892
14920
|
* @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
14893
|
-
*
|
|
14921
|
+
* `asyncResult`, which is an `Office.AsyncResult` object. An array of `Office.LocationDetails` objects representing the locations of the
|
|
14922
|
+
* appointment is returned in the `asyncResult.value` property.
|
|
14894
14923
|
*/
|
|
14895
14924
|
getAsync(options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<LocationDetails[]>) => void): void;
|
|
14896
14925
|
/**
|
|
14897
14926
|
* Gets the set of locations associated with the appointment.
|
|
14898
14927
|
*
|
|
14899
|
-
* **Note**: {@link https://support.microsoft.com/office/88ff6c60-0a1d-4b54-8c9d-9e1a71bc3023 | Personal contact groups}
|
|
14900
|
-
* added as appointment locations aren't returned by this method.
|
|
14901
|
-
*
|
|
14902
14928
|
* @remarks
|
|
14903
14929
|
* [Api set: Mailbox 1.8]
|
|
14904
14930
|
*
|
|
@@ -14906,8 +14932,16 @@ declare namespace Office {
|
|
|
14906
14932
|
*
|
|
14907
14933
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
14908
14934
|
*
|
|
14935
|
+
* **Important**:
|
|
14936
|
+
*
|
|
14937
|
+
* - The `getAsync` method doesn't return {@link https://support.microsoft.com/office/88ff6c60-0a1d-4b54-8c9d-9e1a71bc3023 | personal contact groups} that
|
|
14938
|
+
* were added to the **Location** field of an appointment.
|
|
14939
|
+
*
|
|
14940
|
+
* - If a location was added using `Office.context.mailbox.item.location.setAsync`, its location type is `Office.MailboxEnums.LocationType.Custom`.
|
|
14941
|
+
*
|
|
14909
14942
|
* @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
14910
|
-
*
|
|
14943
|
+
* `asyncResult`, which is an `Office.AsyncResult` object. An array of `Office.LocationDetails` objects representing the locations of the
|
|
14944
|
+
* appointment is returned in the `asyncResult.value` property.
|
|
14911
14945
|
*/
|
|
14912
14946
|
getAsync(callback?: (asyncResult: Office.AsyncResult<LocationDetails[]>) => void): void;
|
|
14913
14947
|
/**
|
|
@@ -17380,6 +17414,10 @@ declare namespace Office {
|
|
|
17380
17414
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
17381
17415
|
*
|
|
17382
17416
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
17417
|
+
*
|
|
17418
|
+
* **Important**: The Office.EnhancedLocation API was introduced in Mailbox requirement set 1.8. Use the EnhancedLocation API to better identify and manage
|
|
17419
|
+
* appointment locations, especially if you need to determine the location type. For guidance on selecting the right location API for your scenario, see
|
|
17420
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/get-or-set-the-location-of-an-appointment | Get or set the location when composing an appointmnt in Outlook}.
|
|
17383
17421
|
*/
|
|
17384
17422
|
interface Location {
|
|
17385
17423
|
/**
|
|
@@ -17431,6 +17469,9 @@ declare namespace Office {
|
|
|
17431
17469
|
*
|
|
17432
17470
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
17433
17471
|
*
|
|
17472
|
+
* **Important**: To ensure that multiple locations resolve correctly in Outlook, separate them with a semicolon and a space. For example,
|
|
17473
|
+
* "Conference Room 1; Conference Room 2".
|
|
17474
|
+
*
|
|
17434
17475
|
* **Errors**:
|
|
17435
17476
|
*
|
|
17436
17477
|
* - DataExceedsMaximumSize: The location parameter is longer than 255 characters.
|
|
@@ -17455,6 +17496,9 @@ declare namespace Office {
|
|
|
17455
17496
|
*
|
|
17456
17497
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
17457
17498
|
*
|
|
17499
|
+
* **Important**: To ensure that multiple locations resolve correctly in Outlook, separate them with a semicolon and a space. For example,
|
|
17500
|
+
* "Conference Room 1; Conference Room 2".
|
|
17501
|
+
*
|
|
17458
17502
|
* **Errors**:
|
|
17459
17503
|
*
|
|
17460
17504
|
* - DataExceedsMaximumSize: The location parameter is longer than 255 characters.
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.647",
|
|
4
4
|
"description": "TypeScript definitions for office-js-preview",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "ff72e8acfce814a4f60bba78e04ff49e52fe2b6229e099bd75bbb978b043b2e6",
|
|
50
50
|
"typeScriptVersion": "5.2",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|