@types/office-js-preview 1.0.535 → 1.0.537

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: Thu, 21 Nov 2024 00:04:08 GMT
11
+ * Last updated: Tue, 03 Dec 2024 21:33:41 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -3519,8 +3519,6 @@ declare namespace Office {
3519
3519
  *
3520
3520
  * **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
3521
3521
  *
3522
- * **Warning**: `getAccessTokenAsync` has been deprecated. Use `Office.auth.getAccessToken` instead.
3523
- *
3524
3522
  * @deprecated Use `Office.auth.getAccessToken` instead.
3525
3523
  *
3526
3524
  * @remarks
@@ -3544,8 +3542,6 @@ declare namespace Office {
3544
3542
  *
3545
3543
  * **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
3546
3544
  *
3547
- * **Warning**: `getAccessTokenAsync` has been deprecated. Use `Office.auth.getAccessToken` instead.
3548
- *
3549
3545
  * @deprecated Use `Office.auth.getAccessToken` instead.
3550
3546
  *
3551
3547
  * @remarks
@@ -3629,8 +3625,6 @@ declare namespace Office {
3629
3625
  /**
3630
3626
  * Prompts the user to add their Office account (or to switch to it, if it is already added). Default value is `false`.
3631
3627
  *
3632
- * **Warning**: `forceAddAccount` has been deprecated. Use `allowSignInPrompt` instead.
3633
- *
3634
3628
  * @deprecated Use `allowSignInPrompt` instead.
3635
3629
  */
3636
3630
  forceAddAccount?: boolean;
@@ -3638,8 +3632,6 @@ declare namespace Office {
3638
3632
  * Causes Office to display the add-in consent experience. Useful if the add-in's Azure permissions have changed or if the user's consent has
3639
3633
  * been revoked. Default value is `false`.
3640
3634
  *
3641
- * **Warning**: `forceConsent` has been deprecated. Use `allowConsentPrompt` instead.
3642
- *
3643
3635
  * @deprecated Use `allowConsentPrompt` instead.
3644
3636
  */
3645
3637
  forceConsent?: boolean;
@@ -7213,8 +7205,6 @@ declare namespace Office {
7213
7205
  /**
7214
7206
  * Check if the specified requirement set is supported by the Office application.
7215
7207
  *
7216
- * **Warning**: This overload of `isSetSupported` (where `minVersionNumber` is a number) has been deprecated. Use the string overload of `isSetSupported` instead.
7217
- *
7218
7208
  * @deprecated Use the string overload of `isSetSupported` instead.
7219
7209
  * @param name - The requirement set name (e.g., "ExcelApi").
7220
7210
  * @param minVersionNumber - The minimum required version (e.g., 1.4).
@@ -128808,99 +128798,85 @@ declare namespace PowerPoint {
128808
128798
  /**
128809
128799
  * The shape is a table.
128810
128800
  * @remarks
128811
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128812
- * @beta
128801
+ * [Api set: PowerPointApi 1.4]
128813
128802
  */
128814
128803
  table = "Table",
128815
128804
  /**
128816
128805
  * The shape is a callout.
128817
128806
  * @remarks
128818
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128819
- * @beta
128807
+ * [Api set: PowerPointApi 1.4]
128820
128808
  */
128821
128809
  callout = "Callout",
128822
128810
  /**
128823
128811
  * The shape is a chart.
128824
128812
  * @remarks
128825
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128826
- * @beta
128813
+ * [Api set: PowerPointApi 1.4]
128827
128814
  */
128828
128815
  chart = "Chart",
128829
128816
  /**
128830
128817
  * The shape is a content Office Add-in.
128831
128818
  * @remarks
128832
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128833
- * @beta
128819
+ * [Api set: PowerPointApi 1.4]
128834
128820
  */
128835
128821
  contentApp = "ContentApp",
128836
128822
  /**
128837
128823
  * The shape is a diagram.
128838
128824
  * @remarks
128839
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128840
- * @beta
128825
+ * [Api set: PowerPointApi 1.4]
128841
128826
  */
128842
128827
  diagram = "Diagram",
128843
128828
  /**
128844
128829
  * The shape is a freeform object.
128845
128830
  * @remarks
128846
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128847
- * @beta
128831
+ * [Api set: PowerPointApi 1.4]
128848
128832
  */
128849
128833
  freeform = "Freeform",
128850
128834
  /**
128851
128835
  * The shape is a graphic.
128852
128836
  * @remarks
128853
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128854
- * @beta
128837
+ * [Api set: PowerPointApi 1.4]
128855
128838
  */
128856
128839
  graphic = "Graphic",
128857
128840
  /**
128858
128841
  * The shape is an ink object.
128859
128842
  * @remarks
128860
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128861
- * @beta
128843
+ * [Api set: PowerPointApi 1.4]
128862
128844
  */
128863
128845
  ink = "Ink",
128864
128846
  /**
128865
128847
  * The shape is a media object.
128866
128848
  * @remarks
128867
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128868
- * @beta
128849
+ * [Api set: PowerPointApi 1.4]
128869
128850
  */
128870
128851
  media = "Media",
128871
128852
  /**
128872
128853
  * The shape is a 3D model.
128873
128854
  * @remarks
128874
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128875
- * @beta
128855
+ * [Api set: PowerPointApi 1.4]
128876
128856
  */
128877
128857
  model3D = "Model3D",
128878
128858
  /**
128879
128859
  * The shape is an OLE (Object Linking and Embedding) object.
128880
128860
  * @remarks
128881
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128882
- * @beta
128861
+ * [Api set: PowerPointApi 1.4]
128883
128862
  */
128884
128863
  ole = "Ole",
128885
128864
  /**
128886
128865
  * The shape is a placeholder.
128887
128866
  * @remarks
128888
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128889
- * @beta
128867
+ * [Api set: PowerPointApi 1.4]
128890
128868
  */
128891
128869
  placeholder = "Placeholder",
128892
128870
  /**
128893
128871
  * The shape is a SmartArt graphic.
128894
128872
  * @remarks
128895
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128896
- * @beta
128873
+ * [Api set: PowerPointApi 1.4]
128897
128874
  */
128898
128875
  smartArt = "SmartArt",
128899
128876
  /**
128900
128877
  * The shape is a text box.
128901
128878
  * @remarks
128902
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
128903
- * @beta
128879
+ * [Api set: PowerPointApi 1.4]
128904
128880
  */
128905
128881
  textBox = "TextBox",
128906
128882
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.535",
3
+ "version": "1.0.537",
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": "39b2667fb8880fbcba66c55f4c9811a33cd1325048589b18ae9e5c62830b84e3",
50
- "typeScriptVersion": "4.9",
49
+ "typesPublisherContentHash": "5364144124048c72519154ee618c8d6d5a5d5dcd82c1846222826962f876c0ff",
50
+ "typeScriptVersion": "5.0",
51
51
  "nonNpm": true
52
52
  }