@types/office-js-preview 1.0.352 → 1.0.354

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 (https://github.com/OfficeD
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: Tue, 08 Nov 2022 20:51:48 GMT
11
+ * Last updated: Mon, 14 Nov 2022 16:32:54 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -13406,7 +13406,7 @@ declare namespace Office {
13406
13406
  * The `InternetHeaders` object represents custom internet headers that are preserved after the message item leaves Exchange
13407
13407
  * and is converted to a MIME message. These headers are stored as x-headers in the MIME message.
13408
13408
  *
13409
- * Internet headers are stored as key/value pairs on a per-item basis.
13409
+ * Internet headers are stored as string key-value pairs on a per-item basis.
13410
13410
  *
13411
13411
  * **Note**: This object is intended for you to set and get your custom headers on a message item. To learn more, see
13412
13412
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/internet-headers | Get and set internet headers on a message in an Outlook add-in}.
@@ -13436,8 +13436,8 @@ declare namespace Office {
13436
13436
  */
13437
13437
  interface InternetHeaders {
13438
13438
  /**
13439
- * Given an array of internet header names, this method returns a dictionary containing those internet headers and their values.
13440
- * If the add-in requests an x-header that is not available, that x-header will not be returned in the results.
13439
+ * Given an array of internet header names, this method returns a record containing those internet headers and their values.
13440
+ * If the add-in requests an x-header that isn't available, that x-header will not be returned in the results.
13441
13441
  *
13442
13442
  * **Note**: This method is intended to return the values of the custom headers you set using the `setAsync` method.
13443
13443
  *
@@ -13451,13 +13451,14 @@ declare namespace Office {
13451
13451
  * @param names - The names of the internet headers to be returned.
13452
13452
  * @param options - An object literal that contains one or more of the following properties:-
13453
13453
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13454
- * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13455
- * `asyncResult`, which is an `Office.AsyncResult` object.
13454
+ * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13455
+ * `asyncResult`, of type `Office.AsyncResult`. The string key-value pairs of internet headers are returned in the
13456
+ * `asyncResult.value` property. Any errors encountered are provided in the `asyncResult.error` property.
13456
13457
  */
13457
- getAsync(names: string[], options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<InternetHeaders>) => void): void;
13458
+ getAsync(names: string[], options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<Record<string, string>>) => void): void;
13458
13459
  /**
13459
- * Given an array of internet header names, this method returns a dictionary containing those internet headers and their values.
13460
- * If the add-in requests an x-header that is not available, that x-header will not be returned in the results.
13460
+ * Given an array of internet header names, this method returns a record containing those internet headers and their values.
13461
+ * If the add-in requests an x-header that isn't available, that x-header will not be returned in the results.
13461
13462
  *
13462
13463
  * **Note**: This method is intended to return the values of the custom headers you set using the `setAsync` method.
13463
13464
  *
@@ -13469,10 +13470,11 @@ declare namespace Office {
13469
13470
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13470
13471
  *
13471
13472
  * @param names - The names of the internet headers to be returned.
13472
- * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13473
- * `asyncResult`, which is an `Office.AsyncResult` object.
13473
+ * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13474
+ * `asyncResult`, of type `Office.AsyncResult`. The string key-value pairs of internet headers are returned in the
13475
+ * `asyncResult.value` property. Any errors encountered are provided in the `asyncResult.error` property.
13474
13476
  */
13475
- getAsync(names: string[], callback?: (asyncResult: Office.AsyncResult<InternetHeaders>) => void): void;
13477
+ getAsync(names: string[], callback: (asyncResult: Office.AsyncResult<Record<string, string>>) => void): void;
13476
13478
  /**
13477
13479
  * Given an array of internet header names, this method removes the specified headers from the internet header collection.
13478
13480
  *
@@ -13489,9 +13491,9 @@ declare namespace Office {
13489
13491
  * @param options - An object literal that contains one or more of the following properties:-
13490
13492
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13491
13493
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13492
- * `asyncResult`, which is an `Office.AsyncResult` object.
13494
+ * `asyncResult`, of type `Office.AsyncResult`. Any errors encountered are provided in the `asyncResult.error` property.
13493
13495
  */
13494
- removeAsync(names: string[], options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<InternetHeaders>) => void): void;
13496
+ removeAsync(names: string[], options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
13495
13497
  /**
13496
13498
  * Given an array of internet header names, this method removes the specified headers from the internet header collection.
13497
13499
  *
@@ -13506,9 +13508,9 @@ declare namespace Office {
13506
13508
  *
13507
13509
  * @param names - The names of the internet headers to be removed.
13508
13510
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13509
- * `asyncResult`, which is an `Office.AsyncResult` object.
13511
+ * `asyncResult`, of type `Office.AsyncResult`. Any errors encountered are provided in the `asyncResult.error` property.
13510
13512
  */
13511
- removeAsync(names: string[], callback?: (asyncResult: Office.AsyncResult<InternetHeaders>) => void): void;
13513
+ removeAsync(names: string[], callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
13512
13514
  /**
13513
13515
  * Sets the specified internet headers to the specified values.
13514
13516
  *
@@ -13530,14 +13532,14 @@ declare namespace Office {
13530
13532
  *
13531
13533
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13532
13534
  *
13533
- * @param headers - The names and corresponding values of the headers to be set. Should be a dictionary object with keys being the names of the
13534
- * internet headers and values being the values of the internet headers.
13535
+ * @param headers - The names and corresponding values of the headers to be set. This should be a record object with its keys being internet header names
13536
+ * and values being the corresponding header value strings.
13535
13537
  * @param options - An object literal that contains one or more of the following properties:-
13536
13538
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13537
- * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
13538
- * of type Office.AsyncResult. Any errors encountered will be provided in the `asyncResult.error` property.
13539
+ * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13540
+ * `asyncResult`, of type `Office.AsyncResult`. Any errors encountered are provided in the `asyncResult.error` property.
13539
13541
  */
13540
- setAsync(headers: Object, options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
13542
+ setAsync(headers: Record<string, string>, options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
13541
13543
  /**
13542
13544
  * Sets the specified internet headers to the specified values.
13543
13545
  *
@@ -13559,12 +13561,12 @@ declare namespace Office {
13559
13561
  *
13560
13562
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13561
13563
  *
13562
- * @param headers - The names and corresponding values of the headers to be set. Should be a dictionary object with keys being the names of the
13563
- * internet headers and values being the values of the internet headers.
13564
- * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
13565
- * of type Office.AsyncResult. Any errors encountered will be provided in the `asyncResult.error` property.
13564
+ * @param headers - The names and corresponding values of the headers to be set. This should be a record object with its keys being internet header names
13565
+ * and values being the corresponding header value strings.
13566
+ * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13567
+ * `asyncResult`, of type `Office.AsyncResult`. Any errors encountered are provided in the `asyncResult.error` property.
13566
13568
  */
13567
- setAsync(headers: Object, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
13569
+ setAsync(headers: Record<string, string>, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
13568
13570
  }
13569
13571
  /**
13570
13572
  * The item namespace is used to access the currently selected message, meeting request, or appointment.
@@ -112040,8 +112042,7 @@ declare namespace PowerPoint {
112040
112042
  If no shapes are selected, an empty collection is returned.
112041
112043
  *
112042
112044
  * @remarks
112043
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
112044
- * @beta
112045
+ * [Api set: PowerPointApi 1.5]
112045
112046
  */
112046
112047
  getSelectedShapes(): PowerPoint.ShapeScopedCollection;
112047
112048
  /**
@@ -112050,8 +112051,7 @@ declare namespace PowerPoint {
112050
112051
  If no slides are selected, an empty collection is returned.
112051
112052
  *
112052
112053
  * @remarks
112053
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
112054
- * @beta
112054
+ * [Api set: PowerPointApi 1.5]
112055
112055
  */
112056
112056
  getSelectedSlides(): PowerPoint.SlideScopedCollection;
112057
112057
  /**
@@ -112059,8 +112059,7 @@ declare namespace PowerPoint {
112059
112059
  Throws an exception if no text is selected.
112060
112060
  *
112061
112061
  * @remarks
112062
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
112063
- * @beta
112062
+ * [Api set: PowerPointApi 1.5]
112064
112063
  */
112065
112064
  getSelectedTextRange(): PowerPoint.TextRange;
112066
112065
  /**
@@ -112068,8 +112067,7 @@ declare namespace PowerPoint {
112068
112067
  If no text is selected, an object with an `isNullObject` property set to `true` is returned.
112069
112068
  *
112070
112069
  * @remarks
112071
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
112072
- * @beta
112070
+ * [Api set: PowerPointApi 1.5]
112073
112071
  */
112074
112072
  getSelectedTextRangeOrNullObject(): PowerPoint.TextRange;
112075
112073
  /**
@@ -112086,8 +112084,7 @@ declare namespace PowerPoint {
112086
112084
  * Selects the slides in the current view of the presentation. Existing slide selection is replaced with the new selection.
112087
112085
  *
112088
112086
  * @remarks
112089
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
112090
- * @beta
112087
+ * [Api set: PowerPointApi 1.5]
112091
112088
  *
112092
112089
  * @param slideIds List of slide IDs to select in the presentation. If the list is empty, selection is cleared.
112093
112090
  */
@@ -114002,8 +113999,7 @@ declare namespace PowerPoint {
114002
113999
  * Selects the specified shapes. Existing shape selection is replaced with the new selection.
114003
114000
  *
114004
114001
  * @remarks
114005
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
114006
- * @beta
114002
+ * [Api set: PowerPointApi 1.5]
114007
114003
  *
114008
114004
  * @param shapeIds List of shape IDs to select in the slide. If the list is empty, the selection is cleared.
114009
114005
  */
@@ -114680,8 +114676,7 @@ declare namespace PowerPoint {
114680
114676
  Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the available text from the starting point.
114681
114677
  *
114682
114678
  * @remarks
114683
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
114684
- * @beta
114679
+ * [Api set: PowerPointApi 1.5]
114685
114680
  */
114686
114681
  length: number;
114687
114682
  /**
@@ -114689,8 +114684,7 @@ declare namespace PowerPoint {
114689
114684
  Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the text.
114690
114685
  *
114691
114686
  * @remarks
114692
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
114693
- * @beta
114687
+ * [Api set: PowerPointApi 1.5]
114694
114688
  */
114695
114689
  start: number;
114696
114690
  /**
@@ -114704,8 +114698,7 @@ declare namespace PowerPoint {
114704
114698
  * Returns the parent {@link PowerPoint.TextFrame} object that holds this `TextRange`.
114705
114699
  *
114706
114700
  * @remarks
114707
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
114708
- * @beta
114701
+ * [Api set: PowerPointApi 1.5]
114709
114702
  */
114710
114703
  getParentTextFrame(): PowerPoint.TextFrame;
114711
114704
  /**
@@ -114722,8 +114715,7 @@ declare namespace PowerPoint {
114722
114715
  * Selects this `TextRange` in the current view.
114723
114716
  *
114724
114717
  * @remarks
114725
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
114726
- * @beta
114718
+ * [Api set: PowerPointApi 1.5]
114727
114719
  */
114728
114720
  setSelected(): void;
114729
114721
  /**
@@ -114836,8 +114828,7 @@ declare namespace PowerPoint {
114836
114828
  * Returns the parent {@link PowerPoint.Shape} object that holds this `TextFrame`.
114837
114829
  *
114838
114830
  * @remarks
114839
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
114840
- * @beta
114831
+ * [Api set: PowerPointApi 1.5]
114841
114832
  */
114842
114833
  getParentShape(): PowerPoint.Shape;
114843
114834
  /**
@@ -114964,48 +114955,42 @@ declare namespace PowerPoint {
114964
114955
  * Returns the parent {@link PowerPoint.Slide} object that holds this `Shape`. Throws an exception if this shape does not belong to a `Slide`.
114965
114956
  *
114966
114957
  * @remarks
114967
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
114968
- * @beta
114958
+ * [Api set: PowerPointApi 1.5]
114969
114959
  */
114970
114960
  getParentSlide(): PowerPoint.Slide;
114971
114961
  /**
114972
114962
  * Returns the parent {@link PowerPoint.SlideLayout} object that holds this `Shape`. Throws an exception if this shape does not belong to a `SlideLayout`.
114973
114963
  *
114974
114964
  * @remarks
114975
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
114976
- * @beta
114965
+ * [Api set: PowerPointApi 1.5]
114977
114966
  */
114978
114967
  getParentSlideLayout(): PowerPoint.SlideLayout;
114979
114968
  /**
114980
114969
  * Returns the parent {@link PowerPoint.SlideLayout} object that holds this `Shape`. If this shape does not belong to a `SlideLayout`, an object with an `isNullObject` property set to `true` is returned.
114981
114970
  *
114982
114971
  * @remarks
114983
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
114984
- * @beta
114972
+ * [Api set: PowerPointApi 1.5]
114985
114973
  */
114986
114974
  getParentSlideLayoutOrNullObject(): PowerPoint.SlideLayout;
114987
114975
  /**
114988
114976
  * Returns the parent {@link PowerPoint.SlideMaster} object that holds this `Shape`. Throws an exception if this shape does not belong to a `SlideMaster`.
114989
114977
  *
114990
114978
  * @remarks
114991
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
114992
- * @beta
114979
+ * [Api set: PowerPointApi 1.5]
114993
114980
  */
114994
114981
  getParentSlideMaster(): PowerPoint.SlideMaster;
114995
114982
  /**
114996
114983
  * Returns the parent {@link PowerPoint.SlideMaster} object that holds this `Shape`. If this shape does not belong to a `SlideMaster`, an object with an `isNullObject` property set to `true` is returned.
114997
114984
  *
114998
114985
  * @remarks
114999
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115000
- * @beta
114986
+ * [Api set: PowerPointApi 1.5]
115001
114987
  */
115002
114988
  getParentSlideMasterOrNullObject(): PowerPoint.SlideMaster;
115003
114989
  /**
115004
114990
  * Returns the parent {@link PowerPoint.Slide} object that holds this `Shape`. If this shape does not belong to a `Slide`, an object with an `isNullObject` property set to `true` is returned.
115005
114991
  *
115006
114992
  * @remarks
115007
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115008
- * @beta
114993
+ * [Api set: PowerPointApi 1.5]
115009
114994
  */
115010
114995
  getParentSlideOrNullObject(): PowerPoint.Slide;
115011
114996
  /**
@@ -115039,8 +115024,7 @@ declare namespace PowerPoint {
115039
115024
  * Represents a collection of shapes.
115040
115025
  *
115041
115026
  * @remarks
115042
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115043
- * @beta
115027
+ * [Api set: PowerPointApi 1.5]
115044
115028
  */
115045
115029
  class ShapeScopedCollection extends OfficeExtension.ClientObject {
115046
115030
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
@@ -115051,8 +115035,7 @@ declare namespace PowerPoint {
115051
115035
  * Gets the number of shapes in the collection.
115052
115036
  *
115053
115037
  * @remarks
115054
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115055
- * @beta
115038
+ * [Api set: PowerPointApi 1.5]
115056
115039
  * @returns The number of shapes in the collection.
115057
115040
  */
115058
115041
  getCount(): OfficeExtension.ClientResult<number>;
@@ -115060,8 +115043,7 @@ declare namespace PowerPoint {
115060
115043
  * Gets a shape using its unique ID. An error is thrown if the shape does not exist.
115061
115044
  *
115062
115045
  * @remarks
115063
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115064
- * @beta
115046
+ * [Api set: PowerPointApi 1.5]
115065
115047
  *
115066
115048
  * @param key The ID of the shape.
115067
115049
  * @returns The shape with the unique ID. If such a shape does not exist, an error is thrown.
@@ -115071,8 +115053,7 @@ declare namespace PowerPoint {
115071
115053
  * Gets a shape using its zero-based index in the collection. An error is thrown if the index is out of range.
115072
115054
  *
115073
115055
  * @remarks
115074
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115075
- * @beta
115056
+ * [Api set: PowerPointApi 1.5]
115076
115057
  *
115077
115058
  * @param index The index of the shape in the collection.
115078
115059
  * @returns The shape at the given index. An error is thrown if index is out of range.
@@ -115082,8 +115063,7 @@ declare namespace PowerPoint {
115082
115063
  * Gets a shape using its unique ID. If such a shape does not exist, an object with an `isNullObject` property set to true is returned.
115083
115064
  *
115084
115065
  * @remarks
115085
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115086
- * @beta
115066
+ * [Api set: PowerPointApi 1.5]
115087
115067
  *
115088
115068
  * @param id The ID of the shape.
115089
115069
  * @returns The shape with the unique ID. If such a shape does not exist, an object with an `isNullObject` property set to true is returned.
@@ -115202,8 +115182,7 @@ declare namespace PowerPoint {
115202
115182
  * Represents a collection of slides in the presentation.
115203
115183
  *
115204
115184
  * @remarks
115205
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115206
- * @beta
115185
+ * [Api set: PowerPointApi 1.5]
115207
115186
  */
115208
115187
  class SlideScopedCollection extends OfficeExtension.ClientObject {
115209
115188
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
@@ -115214,8 +115193,7 @@ declare namespace PowerPoint {
115214
115193
  * Gets the number of slides in the collection.
115215
115194
  *
115216
115195
  * @remarks
115217
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115218
- * @beta
115196
+ * [Api set: PowerPointApi 1.5]
115219
115197
  * @returns The number of slides in the collection.
115220
115198
  */
115221
115199
  getCount(): OfficeExtension.ClientResult<number>;
@@ -115223,8 +115201,7 @@ declare namespace PowerPoint {
115223
115201
  * Gets a slide using its unique ID.
115224
115202
  *
115225
115203
  * @remarks
115226
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115227
- * @beta
115204
+ * [Api set: PowerPointApi 1.5]
115228
115205
  *
115229
115206
  * @param key The ID of the slide.
115230
115207
  * @returns The slide with the unique ID. If such a slide does not exist, an error is thrown.
@@ -115234,8 +115211,7 @@ declare namespace PowerPoint {
115234
115211
  * Gets a slide using its zero-based index in the collection.
115235
115212
  *
115236
115213
  * @remarks
115237
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115238
- * @beta
115214
+ * [Api set: PowerPointApi 1.5]
115239
115215
  *
115240
115216
  * @param index The index of the slide in the collection.
115241
115217
  * @returns The slide at the given index. An error is thrown if index is out of range.
@@ -115247,8 +115223,7 @@ declare namespace PowerPoint {
115247
115223
  and properties}.
115248
115224
  *
115249
115225
  * @remarks
115250
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115251
- * @beta
115226
+ * [Api set: PowerPointApi 1.5]
115252
115227
  *
115253
115228
  * @param id The ID of the slide.
115254
115229
  * @returns The slide with the unique ID.
@@ -115525,8 +115500,7 @@ declare namespace PowerPoint {
115525
115500
  Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the available text from the starting point.
115526
115501
  *
115527
115502
  * @remarks
115528
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115529
- * @beta
115503
+ * [Api set: PowerPointApi 1.5]
115530
115504
  */
115531
115505
  length?: number;
115532
115506
  /**
@@ -115534,8 +115508,7 @@ declare namespace PowerPoint {
115534
115508
  Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the text.
115535
115509
  *
115536
115510
  * @remarks
115537
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115538
- * @beta
115511
+ * [Api set: PowerPointApi 1.5]
115539
115512
  */
115540
115513
  start?: number;
115541
115514
  /**
@@ -115870,8 +115843,7 @@ declare namespace PowerPoint {
115870
115843
  Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the available text from the starting point.
115871
115844
  *
115872
115845
  * @remarks
115873
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115874
- * @beta
115846
+ * [Api set: PowerPointApi 1.5]
115875
115847
  */
115876
115848
  length?: number;
115877
115849
  /**
@@ -115879,8 +115851,7 @@ declare namespace PowerPoint {
115879
115851
  Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the text.
115880
115852
  *
115881
115853
  * @remarks
115882
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
115883
- * @beta
115854
+ * [Api set: PowerPointApi 1.5]
115884
115855
  */
115885
115856
  start?: number;
115886
115857
  /**
@@ -116490,8 +116461,7 @@ declare namespace PowerPoint {
116490
116461
  Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the available text from the starting point.
116491
116462
  *
116492
116463
  * @remarks
116493
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
116494
- * @beta
116464
+ * [Api set: PowerPointApi 1.5]
116495
116465
  */
116496
116466
  length?: boolean;
116497
116467
  /**
@@ -116499,8 +116469,7 @@ declare namespace PowerPoint {
116499
116469
  Throws an `InvalidArgument` exception when set with a negative value or if the value is greater than the length of the text.
116500
116470
  *
116501
116471
  * @remarks
116502
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
116503
- * @beta
116472
+ * [Api set: PowerPointApi 1.5]
116504
116473
  */
116505
116474
  start?: boolean;
116506
116475
  /**
@@ -116672,8 +116641,7 @@ declare namespace PowerPoint {
116672
116641
  * Represents a collection of shapes.
116673
116642
  *
116674
116643
  * @remarks
116675
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
116676
- * @beta
116644
+ * [Api set: PowerPointApi 1.3]
116677
116645
  */
116678
116646
  interface ShapeScopedCollectionLoadOptions {
116679
116647
  /**
@@ -116788,8 +116756,7 @@ declare namespace PowerPoint {
116788
116756
  * Represents a collection of slides in the presentation.
116789
116757
  *
116790
116758
  * @remarks
116791
- * [Api set: PowerPointApi BETA (PREVIEW ONLY)]
116792
- * @beta
116759
+ * [Api set: PowerPointApi 1.2]
116793
116760
  */
116794
116761
  interface SlideScopedCollectionLoadOptions {
116795
116762
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.352",
3
+ "version": "1.0.354",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "6fd9cd2e042a84f93385c020dc4d5028a49f01e6e2fa9320d0b03a9cfd001e58",
48
+ "typesPublisherContentHash": "6ffd19341915560b80ce21bd528ad247fdb107201ef1eb04ab079944ab75f2fb",
49
49
  "typeScriptVersion": "4.1"
50
50
  }