@types/office-js 1.0.554 → 1.0.556

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
office-js/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for office-js (https://github.com/OfficeD
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 31 Oct 2025 16:38:34 GMT
11
+ * Last updated: Thu, 06 Nov 2025 22:35:16 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -17577,12 +17577,11 @@ declare namespace Office {
17577
17577
  *
17578
17578
  * **Important**:
17579
17579
  *
17580
- * - Legacy Exchange tokens are deprecated. Legacy Exchange {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity} and
17581
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback} tokens have been turned off by default for most Exchange Online tenants.
17582
- * Administrators can reenable legacy tokens for tenants and add-ins until June 2025. In October 2025, legacy tokens will be completely turned off for all tenants.
17583
- * This is part of {@link https://blogs.microsoft.com/on-the-issues/2023/11/02/secure-future-initiative-sfi-cybersecurity-cyberattacks/ | Microsoft's Secure Future Initiative},
17584
- * which gives organizations the tools needed to respond to the current threat landscape. Exchange user identity tokens will still work for Exchange on-premises.
17585
- * Nested app authentication (NAA) is the recommended approach for tokens going forward. For more information, see the {@link https://aka.ms/naafaq | FAQ page}.
17580
+ * - Legacy Exchange Online {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity tokens} and
17581
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback tokens} are no longer supported and are turned off across all Microsoft 365 tenants.
17582
+ * If an Outlook add-in requires delegated user access or user identity, we recommend using
17583
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/enable-nested-app-authentication-in-your-add-in | MSAL (Microsoft Authentication Library) and nested app authentication}.
17584
+ * Exchange user identity tokens are still supported for Exchange on-premises.
17586
17585
  *
17587
17586
  * - This method isn't supported in Outlook on Android or on iOS. For more information on supported APIs in Outlook mobile, see
17588
17587
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
@@ -18097,12 +18096,11 @@ declare namespace Office {
18097
18096
  *
18098
18097
  * **Important**:
18099
18098
  *
18100
- * - Legacy Exchange tokens are deprecated. Legacy Exchange {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity} and
18101
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback} tokens have been turned off by default for most Exchange Online tenants.
18102
- * Administrators can reenable legacy tokens for tenants and add-ins until June 2025. In October 2025, legacy tokens will be completely turned off for all tenants.
18103
- * This is part of {@link https://blogs.microsoft.com/on-the-issues/2023/11/02/secure-future-initiative-sfi-cybersecurity-cyberattacks/ | Microsoft's Secure Future Initiative},
18104
- * which gives organizations the tools needed to respond to the current threat landscape. Exchange user identity tokens will still work for Exchange on-premises.
18105
- * Nested app authentication (NAA) is the recommended approach for tokens going forward. For more information, see the {@link https://aka.ms/naafaq | FAQ page}.
18099
+ * - Legacy Exchange Online {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity tokens} and
18100
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback tokens} are no longer supported and are turned off across all Microsoft 365 tenants.
18101
+ * If an Outlook add-in requires delegated user access or user identity, we recommend using
18102
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/enable-nested-app-authentication-in-your-add-in | MSAL (Microsoft Authentication Library) and nested app authentication (NAA)}.
18103
+ * Exchange user identity tokens are still supported for Exchange on-premises.
18106
18104
  *
18107
18105
  * - The Outlook REST v2.0 and beta endpoints are now deprecated. However, privately released and AppSource-hosted add-ins are able to use the REST service
18108
18106
  * until extended support ends for Outlook 2019 on October 14, 2025. Traffic from these add-ins is automatically identified for exemption. This exemption also
@@ -18166,14 +18164,13 @@ declare namespace Office {
18166
18164
  * property to view details about the error.
18167
18165
  *
18168
18166
  * - `GenericTokenError: An internal error has occurred.` - In Exchange Online environments, this error occurs when the token can't be retrieved because legacy Exchange tokens
18169
- * for Outlook add-ins are turned off. We recommend using NAA as a single sign-on solution for your add-in. For guidance on how to implement NAA, see the
18170
- * {@link https://aka.ms/naafaq | FAQ page}.
18167
+ * for Outlook add-ins are turned off. We recommend using {@link https://learn.microsoft.com/office/dev/add-ins/develop/enable-nested-app-authentication-in-your-add-in | NAA} as a single sign-on solution for your add-in.
18171
18168
  *
18172
18169
  * - `HTTPRequestFailure: The request has failed. Please look at the diagnostics object for the HTTP error code.`
18173
18170
  *
18174
18171
  * - `InternalServerError: The Exchange server returned an error. Please look at the diagnostics object for more information.` - In Exchange Online environments,
18175
- * this error occurs when the token can't be retrieved because legacy Exchange tokens for Outlook add-ins are turned off. We recommend using NAA as a single sign-on solution for your add-in.
18176
- * For guidance on how to implement NAA, see the {@link https://aka.ms/naafaq | FAQ page}.
18172
+ * this error occurs when the token can't be retrieved because legacy Exchange tokens for Outlook add-ins are turned off. We recommend using
18173
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/enable-nested-app-authentication-in-your-add-in | NAA} as a single sign-on solution for your add-in.
18177
18174
  *
18178
18175
  * - `NetworkError: The user is no longer connected to the network. Please check your network connection and try again.`
18179
18176
  *
@@ -18202,12 +18199,11 @@ declare namespace Office {
18202
18199
  *
18203
18200
  * **Important**:
18204
18201
  *
18205
- * - Legacy Exchange tokens are deprecated. Legacy Exchange {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity} and
18206
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback} tokens have been turned off by default for most Exchange Online tenants.
18207
- * Administrators can reenable legacy tokens for tenants and add-ins until June 2025. In October 2025, legacy tokens will be completely turned off for all tenants.
18208
- * This is part of {@link https://blogs.microsoft.com/on-the-issues/2023/11/02/secure-future-initiative-sfi-cybersecurity-cyberattacks/ | Microsoft's Secure Future Initiative},
18209
- * which gives organizations the tools needed to respond to the current threat landscape. Exchange user identity tokens will still work for Exchange on-premises.
18210
- * Nested app authentication (NAA) is the recommended approach for tokens going forward. For more information, see the {@link https://aka.ms/naafaq | FAQ page}.
18202
+ * - Legacy Exchange Online {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity tokens} and
18203
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback tokens} are no longer supported and are turned off across all Microsoft 365 tenants.
18204
+ * If an Outlook add-in requires delegated user access or user identity, we recommend using
18205
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/enable-nested-app-authentication-in-your-add-in | MSAL (Microsoft Authentication Library) and nested app authentication (NAA)}.
18206
+ * Exchange user identity tokens are still supported for Exchange on-premises.
18211
18207
  *
18212
18208
  * - You can pass both the token and either an attachment identifier or item identifier to an external system. That system uses
18213
18209
  * the token as a bearer authorization token to call the Exchange Web Services (EWS)
@@ -18236,14 +18232,13 @@ declare namespace Office {
18236
18232
  * property to view details about the error.
18237
18233
  *
18238
18234
  * - `GenericTokenError: An internal error has occurred.` - In Exchange Online environments, this error occurs when the token can't be retrieved because legacy Exchange tokens
18239
- * for Outlook add-ins are turned off. We recommend using NAA as a single sign-on solution for your add-in. For guidance on how to implement NAA, see the
18240
- * {@link https://aka.ms/naafaq | FAQ page}.
18235
+ * for Outlook add-ins are turned off. We recommend using {@link https://learn.microsoft.com/office/dev/add-ins/develop/enable-nested-app-authentication-in-your-add-in | NAA} as a single sign-on solution for your add-in.
18241
18236
  *
18242
18237
  * - `HTTPRequestFailure: The request has failed. Please look at the diagnostics object for the HTTP error code.`
18243
18238
  *
18244
18239
  * - `InternalServerError: The Exchange server returned an error. Please look at the diagnostics object for more information.` - In Exchange Online environments,
18245
- * this error occurs when the token can't be retrieved because legacy Exchange tokens for Outlook add-ins are turned off. We recommend using NAA as a single sign-on solution for your add-in.
18246
- * For guidance on how to implement NAA, see the {@link https://aka.ms/naafaq | FAQ page}.
18240
+ * this error occurs when the token can't be retrieved because legacy Exchange tokens for Outlook add-ins are turned off. We recommend using
18241
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/enable-nested-app-authentication-in-your-add-in | NAA} as a single sign-on solution for your add-in.
18247
18242
  *
18248
18243
  * - `NetworkError: The user is no longer connected to the network. Please check your network connection and try again.`
18249
18244
  *
@@ -18377,12 +18372,11 @@ declare namespace Office {
18377
18372
  *
18378
18373
  * **Important**:
18379
18374
  *
18380
- * - Legacy Exchange tokens are deprecated. Legacy Exchange {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity} and
18381
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback} tokens have been turned off by default for most Exchange Online tenants.
18382
- * Administrators can reenable legacy tokens for tenants and add-ins until June 2025. In October 2025, legacy tokens will be completely turned off for all tenants.
18383
- * This is part of {@link https://blogs.microsoft.com/on-the-issues/2023/11/02/secure-future-initiative-sfi-cybersecurity-cyberattacks/ | Microsoft's Secure Future Initiative},
18384
- * which gives organizations the tools needed to respond to the current threat landscape. Exchange user identity tokens will still work for Exchange on-premises.
18385
- * Nested app authentication (NAA) is the recommended approach for tokens going forward. For more information, see the {@link https://aka.ms/naafaq | FAQ page}.
18375
+ * - Legacy Exchange Online {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity tokens} and
18376
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback tokens} are no longer supported and are turned off across all Microsoft 365 tenants.
18377
+ * If an Outlook add-in requires delegated user access or user identity, we recommend using
18378
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/enable-nested-app-authentication-in-your-add-in | MSAL (Microsoft Authentication Library) and nested app authentication (NAA)}.
18379
+ * Exchange user identity tokens are still supported for Exchange on-premises.
18386
18380
  *
18387
18381
  * - The `getUserIdentityTokenAsync` method returns a token that you can use to identify and
18388
18382
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication | authenticate the add-in and user with an external system}.
@@ -18395,14 +18389,13 @@ declare namespace Office {
18395
18389
  * property to view details about the error.
18396
18390
  *
18397
18391
  * - `GenericTokenError: An internal error has occurred.` - In Exchange Online environments, this error occurs when the token can't be retrieved because legacy Exchange tokens
18398
- * for Outlook add-ins are turned off. We recommend using NAA as a single sign-on solution for your add-in. For guidance on how to implement NAA, see the
18399
- * {@link https://aka.ms/naafaq | FAQ page}.
18392
+ * for Outlook add-ins are turned off. We recommend using {@link https://learn.microsoft.com/office/dev/add-ins/develop/enable-nested-app-authentication-in-your-add-in | NAA} as a single sign-on solution for your add-in.
18400
18393
  *
18401
18394
  * - `HTTPRequestFailure: The request has failed. Please look at the diagnostics object for the HTTP error code.`
18402
18395
  *
18403
18396
  * - `InternalServerError: The Exchange server returned an error. Please look at the diagnostics object for more information.` - In Exchange Online environments,
18404
- * this error occurs when the token can't be retrieved because legacy Exchange tokens for Outlook add-ins are turned off. We recommend using NAA as a single sign-on solution for your add-in.
18405
- * For guidance on how to implement NAA, see the {@link https://aka.ms/naafaq | FAQ page}.
18397
+ * this error occurs when the token can't be retrieved because legacy Exchange tokens for Outlook add-ins are turned off. We recommend using
18398
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/enable-nested-app-authentication-in-your-add-in | NAA} as a single sign-on solution for your add-in.
18406
18399
  *
18407
18400
  * - `NetworkError: The user is no longer connected to the network. Please check your network connection and try again.`
18408
18401
  *
@@ -18493,12 +18486,11 @@ declare namespace Office {
18493
18486
  *
18494
18487
  * **Important**:
18495
18488
  *
18496
- * - Legacy Exchange tokens are deprecated. Legacy Exchange {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity} and
18497
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback} tokens have been turned off by default for most Exchange Online tenants.
18498
- * Administrators can reenable legacy tokens for tenants and add-ins until June 2025. In October 2025, legacy tokens will be completely turned off for all tenants.
18499
- * This is part of {@link https://blogs.microsoft.com/on-the-issues/2023/11/02/secure-future-initiative-sfi-cybersecurity-cyberattacks/ | Microsoft's Secure Future Initiative},
18500
- * which gives organizations the tools needed to respond to the current threat landscape. Exchange user identity tokens will still work for Exchange on-premises.
18501
- * Nested app authentication (NAA) is the recommended approach for tokens going forward. For more information, see the {@link https://aka.ms/naafaq | FAQ page}.
18489
+ * - Legacy Exchange Online {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity tokens} and
18490
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback tokens} are no longer supported and are turned off across all Microsoft 365 tenants.
18491
+ * If an Outlook add-in requires delegated user access or user identity, we recommend using
18492
+ * {@link https://learn.microsoft.com/office/dev/add-ins/develop/enable-nested-app-authentication-in-your-add-in | MSAL (Microsoft Authentication Library) and nested app authentication (NAA)}.
18493
+ * Exchange user identity tokens are still supported for Exchange on-premises.
18502
18494
  *
18503
18495
  * - To enable the `makeEwsRequestAsync` method to make EWS requests, the server administrator must set `OAuthAuthentication` to `true` on the
18504
18496
  * Client Access Server EWS directory .
@@ -118841,7 +118833,7 @@ declare namespace Word {
118841
118833
  after = "After",
118842
118834
  }
118843
118835
  /**
118844
- * Represents the location of a {@link https://learn.microsoft.com/javascript/api/word/word.border | border}.
118836
+ * Represents the location of a {@link Word.Border | border}.
118845
118837
  *
118846
118838
  * @remarks
118847
118839
  * [Api set: WordApi 1.3]
@@ -119009,7 +119001,7 @@ declare namespace Word {
119009
119001
  mixed = "Mixed",
119010
119002
  }
119011
119003
  /**
119012
- * The {@link https://learn.microsoft.com/javascript/api/word/word.border | border} types.
119004
+ * The {@link Word.Border | border} types.
119013
119005
  *
119014
119006
  * @remarks
119015
119007
  * [Api set: WordApi 1.3]
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.554",
3
+ "version": "1.0.556",
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": "380b83e24867f22cf8195af901a1d9f21376b4b1d884d5d2fa715fe760286c84",
49
+ "typesPublisherContentHash": "6ede200dc1dfb90e9f960eea9f1e53759232c0f4fda11c3209ee7bafba730587",
50
50
  "typeScriptVersion": "5.2"
51
51
  }