@types/office-js-preview 1.0.583 → 1.0.585

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-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: Wed, 16 Apr 2025 21:02:22 GMT
11
+ * Last updated: Mon, 21 Apr 2025 20:34:41 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -17373,8 +17373,9 @@ declare namespace Office {
17373
17373
  *
17374
17374
  * **Important**:
17375
17375
  *
17376
- * - In February 2025, legacy Exchange {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity} and
17377
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback} tokens will be turned off by default for all Exchange Online tenants.
17376
+ * - 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
17377
+ * {@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.
17378
+ * 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.
17378
17379
  * 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},
17379
17380
  * which gives organizations the tools needed to respond to the current threat landscape. Exchange user identity tokens will still work for Exchange on-premises.
17380
17381
  * Nested app authentication (NAA) is the recommended approach for tokens going forward. For more information, see the {@link https://aka.ms/naafaq | FAQ page}.
@@ -17892,8 +17893,9 @@ declare namespace Office {
17892
17893
  *
17893
17894
  * **Important**:
17894
17895
  *
17895
- * - In February 2025, legacy Exchange {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity} and
17896
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback} tokens will be turned off by default for all Exchange Online tenants.
17896
+ * - 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
17897
+ * {@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.
17898
+ * 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.
17897
17899
  * 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},
17898
17900
  * which gives organizations the tools needed to respond to the current threat landscape. Exchange user identity tokens will still work for Exchange on-premises.
17899
17901
  * Nested app authentication (NAA) is the recommended approach for tokens going forward. For more information, see the {@link https://aka.ms/naafaq | FAQ page}.
@@ -17996,8 +17998,9 @@ declare namespace Office {
17996
17998
  *
17997
17999
  * **Important**:
17998
18000
  *
17999
- * - In February 2025, legacy Exchange {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity} and
18000
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback} tokens will be turned off by default for all Exchange Online tenants.
18001
+ * - 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
18002
+ * {@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.
18003
+ * 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.
18001
18004
  * 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},
18002
18005
  * which gives organizations the tools needed to respond to the current threat landscape. Exchange user identity tokens will still work for Exchange on-premises.
18003
18006
  * Nested app authentication (NAA) is the recommended approach for tokens going forward. For more information, see the {@link https://aka.ms/naafaq | FAQ page}.
@@ -18170,8 +18173,9 @@ declare namespace Office {
18170
18173
  *
18171
18174
  * **Important**:
18172
18175
  *
18173
- * - In February 2025, legacy Exchange {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity} and
18174
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback} tokens will be turned off by default for all Exchange Online tenants.
18176
+ * - 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
18177
+ * {@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.
18178
+ * 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.
18175
18179
  * 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},
18176
18180
  * which gives organizations the tools needed to respond to the current threat landscape. Exchange user identity tokens will still work for Exchange on-premises.
18177
18181
  * Nested app authentication (NAA) is the recommended approach for tokens going forward. For more information, see the {@link https://aka.ms/naafaq | FAQ page}.
@@ -18285,8 +18289,9 @@ declare namespace Office {
18285
18289
  *
18286
18290
  * **Important**:
18287
18291
  *
18288
- * - In February 2025, legacy Exchange {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#exchange-user-identity-token | user identity} and
18289
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/authentication#callback-tokens | callback} tokens will be turned off by default for all Exchange Online tenants.
18292
+ * - 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
18293
+ * {@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.
18294
+ * 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.
18290
18295
  * 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},
18291
18296
  * which gives organizations the tools needed to respond to the current threat landscape. Exchange user identity tokens will still work for Exchange on-premises.
18292
18297
  * Nested app authentication (NAA) is the recommended approach for tokens going forward. For more information, see the {@link https://aka.ms/naafaq | FAQ page}.
@@ -24991,7 +24996,7 @@ declare namespace Excel {
24991
24996
  icon?: string | EntityCompactLayoutIcons;
24992
24997
  }
24993
24998
  /**
24994
- * Represents a card layout used for the boolean, double, and string basic types.
24999
+ * Represents a card layout used for the Boolean, double, and string basic types.
24995
25000
  *
24996
25001
  * @remarks
24997
25002
  * [Api set: ExcelApi BETA (PREVIEW ONLY)]
@@ -31041,36 +31046,36 @@ declare namespace Excel {
31041
31046
  */
31042
31047
  preview?: CellValue;
31043
31048
  /**
31044
- * Represents the runtime language of this external code service.
31045
- *
31046
- * @remarks
31047
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31048
- * @beta
31049
- */
31049
+ * Represents the runtime language of this external code service.
31050
+ *
31051
+ * @remarks
31052
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31053
+ * @beta
31054
+ */
31050
31055
  language: "Python";
31051
31056
  /**
31052
- * Represents the full type name of this object.
31053
- *
31054
- * @remarks
31055
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31056
- * @beta
31057
- */
31057
+ * Represents the full type name of this object.
31058
+ *
31059
+ * @remarks
31060
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31061
+ * @beta
31062
+ */
31058
31063
  Python_type: string;
31059
31064
  /**
31060
- * Represents the short type name of this object.
31061
- *
31062
- * @remarks
31063
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31064
- * @beta
31065
- */
31065
+ * Represents the short type name of this object.
31066
+ *
31067
+ * @remarks
31068
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31069
+ * @beta
31070
+ */
31066
31071
  Python_typeName: string;
31067
31072
  /**
31068
- * Represents the output of str() function when used on this object.
31069
- *
31070
- * @remarks
31071
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31072
- * @beta
31073
- */
31073
+ * Represents the output of the `str()` function when used on this object.
31074
+ *
31075
+ * @remarks
31076
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31077
+ * @beta
31078
+ */
31074
31079
  Python_str: string;
31075
31080
  /**
31076
31081
  * Represents information about the service that provided the data in this `ExternalCodeServiceObjectCellValue`.
@@ -41713,6 +41718,26 @@ declare namespace Excel {
41713
41718
  * @param groupOption Specifies whether to show the details of grouped rows or grouped columns.
41714
41719
  */
41715
41720
  showGroupDetails(groupOption: "ByRows" | "ByColumns"): void;
41721
+ /**
41722
+ * Sets the marshaling mode of the Python in Excel formula =PY.
41723
+ *
41724
+ * @remarks
41725
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
41726
+ * @beta
41727
+ *
41728
+ * @param marshalMode The mode to set. If not specified, switches from `ExcelValue` to `PythonObject` or vice versa.
41729
+ */
41730
+ togglePythonMarshalMode(marshalMode?: Excel.PythonMarshalMode): void;
41731
+ /**
41732
+ * Sets the marshaling mode of the Python in Excel formula =PY.
41733
+ *
41734
+ * @remarks
41735
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
41736
+ * @beta
41737
+ *
41738
+ * @param marshalMode The mode to set. If not specified, switches from `ExcelValue` to `PythonObject` or vice versa.
41739
+ */
41740
+ togglePythonMarshalMode(marshalMode?: "PythonObject" | "ExcelValue"): void;
41716
41741
  /**
41717
41742
  * Ungroups columns and rows for an outline.
41718
41743
  *
@@ -51707,6 +51732,14 @@ declare namespace Excel {
51707
51732
  * [Api set: ExcelApi 1.12]
51708
51733
  */
51709
51734
  allowMultipleFiltersPerField: boolean;
51735
+ /**
51736
+ * Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
51737
+ *
51738
+ * @remarks
51739
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
51740
+ * @beta
51741
+ */
51742
+ autoRefresh: boolean;
51710
51743
  /**
51711
51744
  * Specifies if the PivotTable allows values in the data body to be edited by the user.
51712
51745
  *
@@ -62270,6 +62303,29 @@ declare namespace Excel {
62270
62303
  */
62271
62304
  power = "Power"
62272
62305
  }
62306
+ /**
62307
+ * Specifies what an =PY formula returns, such as an Excel value or a Python object.
62308
+ *
62309
+ * @remarks
62310
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
62311
+ * @beta
62312
+ */
62313
+ enum PythonMarshalMode {
62314
+ /**
62315
+ * Specifies that the result of an =PY formula should be a reference to an object in the Python service.
62316
+ * @remarks
62317
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
62318
+ * @beta
62319
+ */
62320
+ pythonObject = "PythonObject",
62321
+ /**
62322
+ * Specifies that the result of an =PY formula should be an Excel value.
62323
+ * @remarks
62324
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
62325
+ * @beta
62326
+ */
62327
+ excelValue = "ExcelValue"
62328
+ }
62273
62329
  /**
62274
62330
  * Specifies where in the z-order a shape should be moved relative to other shapes.
62275
62331
  *
@@ -75008,6 +75064,14 @@ declare namespace Excel {
75008
75064
  * [Api set: ExcelApi 1.12]
75009
75065
  */
75010
75066
  allowMultipleFiltersPerField?: boolean;
75067
+ /**
75068
+ * Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
75069
+ *
75070
+ * @remarks
75071
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
75072
+ * @beta
75073
+ */
75074
+ autoRefresh?: boolean;
75011
75075
  /**
75012
75076
  * Specifies if the PivotTable allows values in the data body to be edited by the user.
75013
75077
  *
@@ -81605,6 +81669,14 @@ declare namespace Excel {
81605
81669
  * [Api set: ExcelApi 1.12]
81606
81670
  */
81607
81671
  allowMultipleFiltersPerField?: boolean;
81672
+ /**
81673
+ * Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
81674
+ *
81675
+ * @remarks
81676
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
81677
+ * @beta
81678
+ */
81679
+ autoRefresh?: boolean;
81608
81680
  /**
81609
81681
  * Specifies if the PivotTable allows values in the data body to be edited by the user.
81610
81682
  *
@@ -91232,6 +91304,14 @@ declare namespace Excel {
91232
91304
  * [Api set: ExcelApi 1.12]
91233
91305
  */
91234
91306
  allowMultipleFiltersPerField?: boolean;
91307
+ /**
91308
+ * For EACH ITEM in the collection: Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
91309
+ *
91310
+ * @remarks
91311
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
91312
+ * @beta
91313
+ */
91314
+ autoRefresh?: boolean;
91235
91315
  /**
91236
91316
  * For EACH ITEM in the collection: Specifies if the PivotTable allows values in the data body to be edited by the user.
91237
91317
  *
@@ -91300,6 +91380,14 @@ declare namespace Excel {
91300
91380
  * [Api set: ExcelApi 1.12]
91301
91381
  */
91302
91382
  allowMultipleFiltersPerField?: boolean;
91383
+ /**
91384
+ * For EACH ITEM in the collection: Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
91385
+ *
91386
+ * @remarks
91387
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
91388
+ * @beta
91389
+ */
91390
+ autoRefresh?: boolean;
91303
91391
  /**
91304
91392
  * For EACH ITEM in the collection: Specifies if the PivotTable allows values in the data body to be edited by the user.
91305
91393
  *
@@ -91369,6 +91457,14 @@ declare namespace Excel {
91369
91457
  * [Api set: ExcelApi 1.12]
91370
91458
  */
91371
91459
  allowMultipleFiltersPerField?: boolean;
91460
+ /**
91461
+ * Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
91462
+ *
91463
+ * @remarks
91464
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
91465
+ * @beta
91466
+ */
91467
+ autoRefresh?: boolean;
91372
91468
  /**
91373
91469
  * Specifies if the PivotTable allows values in the data body to be edited by the user.
91374
91470
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.583",
3
+ "version": "1.0.585",
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": "2b4f01faf5481871bcbbbb568517701f17f39b21dabad2b7520a1d06e9a74db1",
49
+ "typesPublisherContentHash": "2c2f580f22aa4552dfabde5162e7b6da41586feebe9720304453dae8549666c6",
50
50
  "typeScriptVersion": "5.1",
51
51
  "nonNpm": true
52
52
  }