@types/office-js 1.0.543 → 1.0.544
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- office-js/README.md +1 -1
- office-js/index.d.ts +52 -8
- office-js/package.json +2 -2
office-js/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: 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/index.d.ts
CHANGED
|
@@ -10457,6 +10457,10 @@ declare namespace Office {
|
|
|
10457
10457
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
10458
10458
|
*
|
|
10459
10459
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
|
|
10460
|
+
*
|
|
10461
|
+
* **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.
|
|
10462
|
+
* For guidance on selecting the right location API for your scenario, see
|
|
10463
|
+
* {@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}.
|
|
10460
10464
|
*/
|
|
10461
10465
|
enhancedLocation: EnhancedLocation;
|
|
10462
10466
|
/**
|
|
@@ -10477,9 +10481,15 @@ declare namespace Office {
|
|
|
10477
10481
|
*
|
|
10478
10482
|
* @remarks
|
|
10479
10483
|
*
|
|
10484
|
+
* [Api set: Mailbox 1.1]
|
|
10485
|
+
*
|
|
10480
10486
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
10481
10487
|
*
|
|
10482
10488
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
|
|
10489
|
+
*
|
|
10490
|
+
* **Important**: The `enhancedLocation` property was introduced in Mailbox requirement set 1.8. Use the `enhancedLocation` property to better identify and manage
|
|
10491
|
+
* appointment locations, especially if you need to determine the location type. For guidance on selecting the right location API for your scenario, see
|
|
10492
|
+
* {@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}.
|
|
10483
10493
|
*/
|
|
10484
10494
|
location: Location;
|
|
10485
10495
|
/**
|
|
@@ -11982,6 +11992,10 @@ declare namespace Office {
|
|
|
11982
11992
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
11983
11993
|
*
|
|
11984
11994
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
|
|
11995
|
+
*
|
|
11996
|
+
* **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.
|
|
11997
|
+
* For guidance on selecting the right location API for your scenario, see
|
|
11998
|
+
* {@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}.
|
|
11985
11999
|
*/
|
|
11986
12000
|
enhancedLocation: EnhancedLocation;
|
|
11987
12001
|
/**
|
|
@@ -12037,9 +12051,15 @@ declare namespace Office {
|
|
|
12037
12051
|
*
|
|
12038
12052
|
* @remarks
|
|
12039
12053
|
*
|
|
12054
|
+
* [Api set: Mailbox 1.1]
|
|
12055
|
+
*
|
|
12040
12056
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
12041
12057
|
*
|
|
12042
12058
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
|
|
12059
|
+
*
|
|
12060
|
+
* **Important**: The `enhancedLocation` property was introduced in Mailbox requirement set 1.8. Use the `enhancedLocation` property to better identify and manage
|
|
12061
|
+
* appointment locations, especially if you need to determine the location type. For guidance on selecting the right location API for your scenario, see
|
|
12062
|
+
* {@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}.
|
|
12043
12063
|
*/
|
|
12044
12064
|
location: string;
|
|
12045
12065
|
/**
|
|
@@ -14612,6 +14632,10 @@ declare namespace Office {
|
|
|
14612
14632
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
14613
14633
|
*
|
|
14614
14634
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
14635
|
+
*
|
|
14636
|
+
* **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.
|
|
14637
|
+
* For guidance on selecting the right location API for your scenario, see
|
|
14638
|
+
* {@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}.
|
|
14615
14639
|
*/
|
|
14616
14640
|
export interface EnhancedLocation {
|
|
14617
14641
|
/**
|
|
@@ -14657,9 +14681,6 @@ declare namespace Office {
|
|
|
14657
14681
|
/**
|
|
14658
14682
|
* Gets the set of locations associated with the appointment.
|
|
14659
14683
|
*
|
|
14660
|
-
* **Note**: {@link https://support.microsoft.com/office/88ff6c60-0a1d-4b54-8c9d-9e1a71bc3023 | Personal contact groups}
|
|
14661
|
-
* added as appointment locations aren't returned by this method.
|
|
14662
|
-
*
|
|
14663
14684
|
* @remarks
|
|
14664
14685
|
* [Api set: Mailbox 1.8]
|
|
14665
14686
|
*
|
|
@@ -14667,18 +14688,23 @@ declare namespace Office {
|
|
|
14667
14688
|
*
|
|
14668
14689
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
14669
14690
|
*
|
|
14691
|
+
* **Important**:
|
|
14692
|
+
*
|
|
14693
|
+
* - The `getAsync` method doesn't return {@link https://support.microsoft.com/office/88ff6c60-0a1d-4b54-8c9d-9e1a71bc3023 | personal contact groups} that
|
|
14694
|
+
* were added to the **Location** field of an appointment.
|
|
14695
|
+
*
|
|
14696
|
+
* - If a location was added using `Office.context.mailbox.item.location.setAsync`, its location type is `Office.MailboxEnums.LocationType.Custom`.
|
|
14697
|
+
*
|
|
14670
14698
|
* @param options An object literal that contains one or more of the following properties:-
|
|
14671
14699
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
14672
14700
|
* @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
14673
|
-
*
|
|
14701
|
+
* `asyncResult`, which is an `Office.AsyncResult` object. An array of `Office.LocationDetails` objects representing the locations of the
|
|
14702
|
+
* appointment is returned in the `asyncResult.value` property.
|
|
14674
14703
|
*/
|
|
14675
14704
|
getAsync(options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<LocationDetails[]>) => void): void;
|
|
14676
14705
|
/**
|
|
14677
14706
|
* Gets the set of locations associated with the appointment.
|
|
14678
14707
|
*
|
|
14679
|
-
* **Note**: {@link https://support.microsoft.com/office/88ff6c60-0a1d-4b54-8c9d-9e1a71bc3023 | Personal contact groups}
|
|
14680
|
-
* added as appointment locations aren't returned by this method.
|
|
14681
|
-
*
|
|
14682
14708
|
* @remarks
|
|
14683
14709
|
* [Api set: Mailbox 1.8]
|
|
14684
14710
|
*
|
|
@@ -14686,8 +14712,16 @@ declare namespace Office {
|
|
|
14686
14712
|
*
|
|
14687
14713
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
14688
14714
|
*
|
|
14715
|
+
* **Important**:
|
|
14716
|
+
*
|
|
14717
|
+
* - The `getAsync` method doesn't return {@link https://support.microsoft.com/office/88ff6c60-0a1d-4b54-8c9d-9e1a71bc3023 | personal contact groups} that
|
|
14718
|
+
* were added to the **Location** field of an appointment.
|
|
14719
|
+
*
|
|
14720
|
+
* - If a location was added using `Office.context.mailbox.item.location.setAsync`, its location type is `Office.MailboxEnums.LocationType.Custom`.
|
|
14721
|
+
*
|
|
14689
14722
|
* @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
14690
|
-
*
|
|
14723
|
+
* `asyncResult`, which is an `Office.AsyncResult` object. An array of `Office.LocationDetails` objects representing the locations of the
|
|
14724
|
+
* appointment is returned in the `asyncResult.value` property.
|
|
14691
14725
|
*/
|
|
14692
14726
|
getAsync(callback?: (asyncResult: Office.AsyncResult<LocationDetails[]>) => void): void;
|
|
14693
14727
|
/**
|
|
@@ -17125,6 +17159,10 @@ declare namespace Office {
|
|
|
17125
17159
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
17126
17160
|
*
|
|
17127
17161
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
17162
|
+
*
|
|
17163
|
+
* **Important**: The Office.EnhancedLocation API was introduced in Mailbox requirement set 1.8. Use the EnhancedLocation API to better identify and manage
|
|
17164
|
+
* appointment locations, especially if you need to determine the location type. For guidance on selecting the right location API for your scenario, see
|
|
17165
|
+
* {@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}.
|
|
17128
17166
|
*/
|
|
17129
17167
|
interface Location {
|
|
17130
17168
|
/**
|
|
@@ -17176,6 +17214,9 @@ declare namespace Office {
|
|
|
17176
17214
|
*
|
|
17177
17215
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
17178
17216
|
*
|
|
17217
|
+
* **Important**: To ensure that multiple locations resolve correctly in Outlook, separate them with a semicolon and a space. For example,
|
|
17218
|
+
* "Conference Room 1; Conference Room 2".
|
|
17219
|
+
*
|
|
17179
17220
|
* **Errors**:
|
|
17180
17221
|
*
|
|
17181
17222
|
* - DataExceedsMaximumSize: The location parameter is longer than 255 characters.
|
|
@@ -17200,6 +17241,9 @@ declare namespace Office {
|
|
|
17200
17241
|
*
|
|
17201
17242
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
17202
17243
|
*
|
|
17244
|
+
* **Important**: To ensure that multiple locations resolve correctly in Outlook, separate them with a semicolon and a space. For example,
|
|
17245
|
+
* "Conference Room 1; Conference Room 2".
|
|
17246
|
+
*
|
|
17203
17247
|
* **Errors**:
|
|
17204
17248
|
*
|
|
17205
17249
|
* - DataExceedsMaximumSize: The location parameter is longer than 255 characters.
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.544",
|
|
4
4
|
"description": "TypeScript definitions for office-js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "234f42dffb9fd67d1a07a28e99659056badcf22447fea73c97a64f5ce0ab9633",
|
|
50
50
|
"typeScriptVersion": "5.2"
|
|
51
51
|
}
|