@types/office-js 1.0.449 → 1.0.451

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: 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
office-js/index.d.ts CHANGED
@@ -3515,8 +3515,6 @@ declare namespace Office {
3515
3515
  *
3516
3516
  * **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
3517
3517
  *
3518
- * **Warning**: `getAccessTokenAsync` has been deprecated. Use `Office.auth.getAccessToken` instead.
3519
- *
3520
3518
  * @deprecated Use `Office.auth.getAccessToken` instead.
3521
3519
  *
3522
3520
  * @remarks
@@ -3540,8 +3538,6 @@ declare namespace Office {
3540
3538
  *
3541
3539
  * **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
3542
3540
  *
3543
- * **Warning**: `getAccessTokenAsync` has been deprecated. Use `Office.auth.getAccessToken` instead.
3544
- *
3545
3541
  * @deprecated Use `Office.auth.getAccessToken` instead.
3546
3542
  *
3547
3543
  * @remarks
@@ -3612,8 +3608,6 @@ declare namespace Office {
3612
3608
  /**
3613
3609
  * Prompts the user to add their Office account (or to switch to it, if it is already added). Default value is `false`.
3614
3610
  *
3615
- * **Warning**: `forceAddAccount` has been deprecated. Use `allowSignInPrompt` instead.
3616
- *
3617
3611
  * @deprecated Use `allowSignInPrompt` instead.
3618
3612
  */
3619
3613
  forceAddAccount?: boolean;
@@ -3621,8 +3615,6 @@ declare namespace Office {
3621
3615
  * 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
3622
3616
  * been revoked. Default value is `false`.
3623
3617
  *
3624
- * **Warning**: `forceConsent` has been deprecated. Use `allowConsentPrompt` instead.
3625
- *
3626
3618
  * @deprecated Use `allowConsentPrompt` instead.
3627
3619
  */
3628
3620
  forceConsent?: boolean;
@@ -7161,8 +7153,6 @@ declare namespace Office {
7161
7153
  /**
7162
7154
  * Check if the specified requirement set is supported by the Office application.
7163
7155
  *
7164
- * **Warning**: This overload of `isSetSupported` (where `minVersionNumber` is a number) has been deprecated. Use the string overload of `isSetSupported` instead.
7165
- *
7166
7156
  * @deprecated Use the string overload of `isSetSupported` instead.
7167
7157
  * @param name - The requirement set name (e.g., "ExcelApi").
7168
7158
  * @param minVersionNumber - The minimum required version (e.g., 1.4).
@@ -119921,6 +119911,90 @@ declare namespace PowerPoint {
119921
119911
  * [Api set: PowerPointApi 1.4]
119922
119912
  */
119923
119913
  line = "Line",
119914
+ /**
119915
+ * The shape is a table.
119916
+ * @remarks
119917
+ * [Api set: PowerPointApi 1.4]
119918
+ */
119919
+ table = "Table",
119920
+ /**
119921
+ * The shape is a callout.
119922
+ * @remarks
119923
+ * [Api set: PowerPointApi 1.4]
119924
+ */
119925
+ callout = "Callout",
119926
+ /**
119927
+ * The shape is a chart.
119928
+ * @remarks
119929
+ * [Api set: PowerPointApi 1.4]
119930
+ */
119931
+ chart = "Chart",
119932
+ /**
119933
+ * The shape is a content Office Add-in.
119934
+ * @remarks
119935
+ * [Api set: PowerPointApi 1.4]
119936
+ */
119937
+ contentApp = "ContentApp",
119938
+ /**
119939
+ * The shape is a diagram.
119940
+ * @remarks
119941
+ * [Api set: PowerPointApi 1.4]
119942
+ */
119943
+ diagram = "Diagram",
119944
+ /**
119945
+ * The shape is a freeform object.
119946
+ * @remarks
119947
+ * [Api set: PowerPointApi 1.4]
119948
+ */
119949
+ freeform = "Freeform",
119950
+ /**
119951
+ * The shape is a graphic.
119952
+ * @remarks
119953
+ * [Api set: PowerPointApi 1.4]
119954
+ */
119955
+ graphic = "Graphic",
119956
+ /**
119957
+ * The shape is an ink object.
119958
+ * @remarks
119959
+ * [Api set: PowerPointApi 1.4]
119960
+ */
119961
+ ink = "Ink",
119962
+ /**
119963
+ * The shape is a media object.
119964
+ * @remarks
119965
+ * [Api set: PowerPointApi 1.4]
119966
+ */
119967
+ media = "Media",
119968
+ /**
119969
+ * The shape is a 3D model.
119970
+ * @remarks
119971
+ * [Api set: PowerPointApi 1.4]
119972
+ */
119973
+ model3D = "Model3D",
119974
+ /**
119975
+ * The shape is an OLE (Object Linking and Embedding) object.
119976
+ * @remarks
119977
+ * [Api set: PowerPointApi 1.4]
119978
+ */
119979
+ ole = "Ole",
119980
+ /**
119981
+ * The shape is a placeholder.
119982
+ * @remarks
119983
+ * [Api set: PowerPointApi 1.4]
119984
+ */
119985
+ placeholder = "Placeholder",
119986
+ /**
119987
+ * The shape is a SmartArt graphic.
119988
+ * @remarks
119989
+ * [Api set: PowerPointApi 1.4]
119990
+ */
119991
+ smartArt = "SmartArt",
119992
+ /**
119993
+ * The shape is a text box.
119994
+ * @remarks
119995
+ * [Api set: PowerPointApi 1.4]
119996
+ */
119997
+ textBox = "TextBox",
119924
119998
  }
119925
119999
  /**
119926
120000
  * Determines the type of automatic sizing allowed.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.449",
3
+ "version": "1.0.451",
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": "fbe1ad460bb063e92ca5da8df34257cef4f2c54925e43ab7c08e540a646f4200",
50
- "typeScriptVersion": "4.9"
49
+ "typesPublisherContentHash": "e2c1416302d1bebe4b1c0e18a3297b24e7f38e0ec20224bffdfad6d2167c80c1",
50
+ "typeScriptVersion": "5.0"
51
51
  }