@types/office-js-preview 1.0.703 → 1.0.705
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-preview/README.md +1 -1
- office-js-preview/index.d.ts +710 -9
- office-js-preview/package.json +2 -2
office-js-preview/README.md
CHANGED
|
@@ -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:
|
|
11
|
+
* Last updated: Tue, 12 May 2026 17:15:08 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -36141,15 +36141,6 @@ declare namespace Excel {
|
|
|
36141
36141
|
* @beta
|
|
36142
36142
|
*/
|
|
36143
36143
|
delete(): void;
|
|
36144
|
-
/**
|
|
36145
|
-
* Refreshes the query.
|
|
36146
|
-
This only starts the refresh.
|
|
36147
|
-
*
|
|
36148
|
-
* @remarks
|
|
36149
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
36150
|
-
* @beta
|
|
36151
|
-
*/
|
|
36152
|
-
refresh(): void;
|
|
36153
36144
|
/**
|
|
36154
36145
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
36155
36146
|
*
|
|
@@ -187967,6 +187958,65 @@ declare namespace PowerPoint {
|
|
|
187967
187958
|
[key: string]: string;
|
|
187968
187959
|
};
|
|
187969
187960
|
}
|
|
187961
|
+
/**
|
|
187962
|
+
* Provides methods to check the status of the catalog of sensitivity labels in PowerPoint
|
|
187963
|
+
and retrieve all available sensitivity labels if the catalog is enabled.
|
|
187964
|
+
*
|
|
187965
|
+
* @remarks
|
|
187966
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
187967
|
+
* @beta
|
|
187968
|
+
*/
|
|
187969
|
+
class SensitivityLabelsCatalog extends OfficeExtension.ClientObject {
|
|
187970
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
187971
|
+
context: RequestContext;
|
|
187972
|
+
/**
|
|
187973
|
+
* Gets whether the catalog of sensitivity labels is enabled in PowerPoint.
|
|
187974
|
+
*
|
|
187975
|
+
* @remarks
|
|
187976
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
187977
|
+
* @beta
|
|
187978
|
+
*/
|
|
187979
|
+
readonly getLabelingCapability: PowerPoint.LabelingCapability | "NoLicense" | "LabelingDisabled" | "LabelingPolicyNotFound" | "LabelingEnabled";
|
|
187980
|
+
/**
|
|
187981
|
+
* Gets sensitivity labels that are available to the current user.
|
|
187982
|
+
*
|
|
187983
|
+
* @remarks
|
|
187984
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
187985
|
+
* @beta
|
|
187986
|
+
* @returns The current object.
|
|
187987
|
+
*/
|
|
187988
|
+
getLabels(): PowerPoint.SensitivityLabelDetailsCollection;
|
|
187989
|
+
/**
|
|
187990
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
187991
|
+
*
|
|
187992
|
+
* @param options Provides options for which properties of the object to load.
|
|
187993
|
+
*/
|
|
187994
|
+
load(options?: PowerPoint.Interfaces.SensitivityLabelsCatalogLoadOptions): PowerPoint.SensitivityLabelsCatalog;
|
|
187995
|
+
/**
|
|
187996
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
187997
|
+
*
|
|
187998
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
187999
|
+
*/
|
|
188000
|
+
load(propertyNames?: string | string[]): PowerPoint.SensitivityLabelsCatalog;
|
|
188001
|
+
/**
|
|
188002
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
188003
|
+
*
|
|
188004
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
188005
|
+
*/
|
|
188006
|
+
load(propertyNamesAndPaths?: {
|
|
188007
|
+
select?: string;
|
|
188008
|
+
expand?: string;
|
|
188009
|
+
}): PowerPoint.SensitivityLabelsCatalog;
|
|
188010
|
+
/**
|
|
188011
|
+
* Create a new instance of the `PowerPoint.SensitivityLabelsCatalog` object.
|
|
188012
|
+
*/
|
|
188013
|
+
static newObject(context: OfficeExtension.ClientRequestContext): PowerPoint.SensitivityLabelsCatalog;
|
|
188014
|
+
/**
|
|
188015
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
|
|
188016
|
+
* Whereas the original `PowerPoint.SensitivityLabelsCatalog` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SensitivityLabelsCatalogData`) that contains shallow copies of any loaded child properties from the original object.
|
|
188017
|
+
*/
|
|
188018
|
+
toJSON(): PowerPoint.Interfaces.SensitivityLabelsCatalogData;
|
|
188019
|
+
}
|
|
187970
188020
|
/**
|
|
187971
188021
|
* The `Presentation` object is the top-level object with one or more slides that contain the contents of the presentation.
|
|
187972
188022
|
To learn more about the PowerPoint object model,
|
|
@@ -188006,6 +188056,14 @@ declare namespace PowerPoint {
|
|
|
188006
188056
|
* [Api set: PowerPointApi 1.7]
|
|
188007
188057
|
*/
|
|
188008
188058
|
readonly properties: PowerPoint.DocumentProperties;
|
|
188059
|
+
/**
|
|
188060
|
+
* Returns the sensitivity label of the presentation.
|
|
188061
|
+
*
|
|
188062
|
+
* @remarks
|
|
188063
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
188064
|
+
* @beta
|
|
188065
|
+
*/
|
|
188066
|
+
readonly sensitivityLabel: PowerPoint.SensitivityLabel;
|
|
188009
188067
|
/**
|
|
188010
188068
|
* Returns the collection of `SlideMaster` objects that are in the presentation.
|
|
188011
188069
|
*
|
|
@@ -196789,6 +196847,43 @@ declare namespace PowerPoint {
|
|
|
196789
196847
|
*/
|
|
196790
196848
|
targetSlideId?: string;
|
|
196791
196849
|
}
|
|
196850
|
+
/**
|
|
196851
|
+
* Indicates the labeling capability.
|
|
196852
|
+
*
|
|
196853
|
+
* @remarks
|
|
196854
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196855
|
+
* @beta
|
|
196856
|
+
*/
|
|
196857
|
+
enum LabelingCapability {
|
|
196858
|
+
/**
|
|
196859
|
+
* Represents there's no valid licenses.
|
|
196860
|
+
* @remarks
|
|
196861
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196862
|
+
* @beta
|
|
196863
|
+
*/
|
|
196864
|
+
noLicense = "NoLicense",
|
|
196865
|
+
/**
|
|
196866
|
+
* Represents labeling being disabled.
|
|
196867
|
+
* @remarks
|
|
196868
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196869
|
+
* @beta
|
|
196870
|
+
*/
|
|
196871
|
+
labelingDisabled = "LabelingDisabled",
|
|
196872
|
+
/**
|
|
196873
|
+
* Represents labeling policy not found.
|
|
196874
|
+
* @remarks
|
|
196875
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196876
|
+
* @beta
|
|
196877
|
+
*/
|
|
196878
|
+
labelingPolicyNotFound = "LabelingPolicyNotFound",
|
|
196879
|
+
/**
|
|
196880
|
+
* Represents labeling being enabled.
|
|
196881
|
+
* @remarks
|
|
196882
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196883
|
+
* @beta
|
|
196884
|
+
*/
|
|
196885
|
+
labelingEnabled = "LabelingEnabled",
|
|
196886
|
+
}
|
|
196792
196887
|
/**
|
|
196793
196888
|
* Represents the page setup information for the presentation.
|
|
196794
196889
|
*
|
|
@@ -196839,6 +196934,349 @@ declare namespace PowerPoint {
|
|
|
196839
196934
|
*/
|
|
196840
196935
|
toJSON(): PowerPoint.Interfaces.PageSetupData;
|
|
196841
196936
|
}
|
|
196937
|
+
/**
|
|
196938
|
+
* Represents the collection of {@link PowerPoint.SensitivityLabelDetails} objects.
|
|
196939
|
+
*
|
|
196940
|
+
* @remarks
|
|
196941
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196942
|
+
* @beta
|
|
196943
|
+
*/
|
|
196944
|
+
class SensitivityLabelDetailsCollection extends OfficeExtension.ClientObject {
|
|
196945
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
196946
|
+
context: RequestContext;
|
|
196947
|
+
/** Gets the loaded child items in this collection. */
|
|
196948
|
+
readonly items: PowerPoint.SensitivityLabelDetails[];
|
|
196949
|
+
/**
|
|
196950
|
+
* Gets the number of {@link PowerPoint.SensitivityLabelDetails} objects in this collection.
|
|
196951
|
+
*
|
|
196952
|
+
* @remarks
|
|
196953
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196954
|
+
* @beta
|
|
196955
|
+
* @returns The number of `SensitivityLabelDetails` objects.
|
|
196956
|
+
*/
|
|
196957
|
+
getCount(): OfficeExtension.ClientResult<number>;
|
|
196958
|
+
/**
|
|
196959
|
+
* Gets the specified `SensitivityLabelDetails` object in this collection. Throws an `ItemNotFound` error if an item with the specified ID isn't found.
|
|
196960
|
+
*
|
|
196961
|
+
* @remarks
|
|
196962
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196963
|
+
* @beta
|
|
196964
|
+
*
|
|
196965
|
+
* @param id The ID of the sensitivity label.
|
|
196966
|
+
* @returns The specified `SensitivityLabelDetails` object.
|
|
196967
|
+
*/
|
|
196968
|
+
getItem(id: string): PowerPoint.SensitivityLabelDetails;
|
|
196969
|
+
/**
|
|
196970
|
+
* Gets the `SensitivityLabelDetails` object at the specified index in this collection. Throws an `IndexOutOfRange` error if the index is out of range.
|
|
196971
|
+
*
|
|
196972
|
+
* @remarks
|
|
196973
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196974
|
+
* @beta
|
|
196975
|
+
*
|
|
196976
|
+
* @param index The index of the item to retrieve. Zero-indexed.
|
|
196977
|
+
* @returns The `SensitivityLabelDetails` object at the specified index.
|
|
196978
|
+
*/
|
|
196979
|
+
getItemAt(index: number): PowerPoint.SensitivityLabelDetails;
|
|
196980
|
+
/**
|
|
196981
|
+
* Gets the specified `SensitivityLabelDetails` object in this collection. If an item with the specified ID isn't found, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
196982
|
+
*
|
|
196983
|
+
* @remarks
|
|
196984
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196985
|
+
* @beta
|
|
196986
|
+
*
|
|
196987
|
+
* @param id The ID of the sensitivity label.
|
|
196988
|
+
* @returns The specified `SensitivityLabelDetails` object.
|
|
196989
|
+
*/
|
|
196990
|
+
getItemOrNullObject(id: string): PowerPoint.SensitivityLabelDetails;
|
|
196991
|
+
/**
|
|
196992
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
196993
|
+
*
|
|
196994
|
+
* @param options Provides options for which properties of the object to load.
|
|
196995
|
+
*/
|
|
196996
|
+
load(options?: PowerPoint.Interfaces.SensitivityLabelDetailsCollectionLoadOptions & PowerPoint.Interfaces.CollectionLoadOptions): PowerPoint.SensitivityLabelDetailsCollection;
|
|
196997
|
+
/**
|
|
196998
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
196999
|
+
*
|
|
197000
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
197001
|
+
*/
|
|
197002
|
+
load(propertyNames?: string | string[]): PowerPoint.SensitivityLabelDetailsCollection;
|
|
197003
|
+
/**
|
|
197004
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
197005
|
+
*
|
|
197006
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
197007
|
+
*/
|
|
197008
|
+
load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.SensitivityLabelDetailsCollection;
|
|
197009
|
+
/**
|
|
197010
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
|
|
197011
|
+
* Whereas the original `PowerPoint.SensitivityLabelDetailsCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SensitivityLabelDetailsCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
|
|
197012
|
+
*/
|
|
197013
|
+
toJSON(): PowerPoint.Interfaces.SensitivityLabelDetailsCollectionData;
|
|
197014
|
+
}
|
|
197015
|
+
/**
|
|
197016
|
+
* Represents the protection type.
|
|
197017
|
+
*
|
|
197018
|
+
* @remarks
|
|
197019
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197020
|
+
* @beta
|
|
197021
|
+
*/
|
|
197022
|
+
enum SensitivityLabelProtectionType {
|
|
197023
|
+
/**
|
|
197024
|
+
* No protection is applied by this label.
|
|
197025
|
+
* @remarks
|
|
197026
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197027
|
+
* @beta
|
|
197028
|
+
*/
|
|
197029
|
+
noProtection = "NoProtection",
|
|
197030
|
+
/**
|
|
197031
|
+
* Protection is defined by an administrator.
|
|
197032
|
+
* @remarks
|
|
197033
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197034
|
+
* @beta
|
|
197035
|
+
*/
|
|
197036
|
+
adminDefined = "AdminDefined",
|
|
197037
|
+
/**
|
|
197038
|
+
* Protection is defined by the user.
|
|
197039
|
+
* @remarks
|
|
197040
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197041
|
+
* @beta
|
|
197042
|
+
*/
|
|
197043
|
+
userDefined = "UserDefined",
|
|
197044
|
+
}
|
|
197045
|
+
/**
|
|
197046
|
+
* Represents the properties of available sensitivity labels in PowerPoint.
|
|
197047
|
+
*
|
|
197048
|
+
* @remarks
|
|
197049
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197050
|
+
* @beta
|
|
197051
|
+
*/
|
|
197052
|
+
class SensitivityLabelDetails extends OfficeExtension.ClientObject {
|
|
197053
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
197054
|
+
context: RequestContext;
|
|
197055
|
+
/**
|
|
197056
|
+
* Gets the sublabels of the sensitivity label.
|
|
197057
|
+
*
|
|
197058
|
+
* @remarks
|
|
197059
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197060
|
+
* @beta
|
|
197061
|
+
*/
|
|
197062
|
+
readonly children: PowerPoint.SensitivityLabelDetailsCollection;
|
|
197063
|
+
/**
|
|
197064
|
+
* Gets the color of the sensitivity label.
|
|
197065
|
+
*
|
|
197066
|
+
* @remarks
|
|
197067
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197068
|
+
* @beta
|
|
197069
|
+
*/
|
|
197070
|
+
readonly color: string;
|
|
197071
|
+
/**
|
|
197072
|
+
* Gets the unique ID of the sensitivity label.
|
|
197073
|
+
*
|
|
197074
|
+
* @remarks
|
|
197075
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197076
|
+
* @beta
|
|
197077
|
+
*/
|
|
197078
|
+
readonly id: string;
|
|
197079
|
+
/**
|
|
197080
|
+
* Gets a value indicating whether the label is enabled.
|
|
197081
|
+
*
|
|
197082
|
+
* @remarks
|
|
197083
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197084
|
+
* @beta
|
|
197085
|
+
*/
|
|
197086
|
+
readonly isEnabled: boolean;
|
|
197087
|
+
/**
|
|
197088
|
+
* Gets the name of the sensitivity label.
|
|
197089
|
+
*
|
|
197090
|
+
* @remarks
|
|
197091
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197092
|
+
* @beta
|
|
197093
|
+
*/
|
|
197094
|
+
readonly name: string;
|
|
197095
|
+
/**
|
|
197096
|
+
* Gets the priority of the sensitivity label, with 0 as lowest priority.
|
|
197097
|
+
*
|
|
197098
|
+
* @remarks
|
|
197099
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197100
|
+
* @beta
|
|
197101
|
+
*/
|
|
197102
|
+
readonly order: number;
|
|
197103
|
+
/**
|
|
197104
|
+
* Gets a value indicating the protection type provided by this label.
|
|
197105
|
+
*
|
|
197106
|
+
* @remarks
|
|
197107
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197108
|
+
* @beta
|
|
197109
|
+
*/
|
|
197110
|
+
readonly protectionType: PowerPoint.SensitivityLabelProtectionType | "NoProtection" | "AdminDefined" | "UserDefined";
|
|
197111
|
+
/**
|
|
197112
|
+
* Gets the unique ID of the tenant which the sensitivity label is belonged.
|
|
197113
|
+
*
|
|
197114
|
+
* @remarks
|
|
197115
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197116
|
+
* @beta
|
|
197117
|
+
*/
|
|
197118
|
+
readonly siteId: string;
|
|
197119
|
+
/**
|
|
197120
|
+
* Gets the description of the sensitivity label.
|
|
197121
|
+
*
|
|
197122
|
+
* @remarks
|
|
197123
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197124
|
+
* @beta
|
|
197125
|
+
*/
|
|
197126
|
+
readonly tooltip: string;
|
|
197127
|
+
/**
|
|
197128
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
197129
|
+
*
|
|
197130
|
+
* @param options Provides options for which properties of the object to load.
|
|
197131
|
+
*/
|
|
197132
|
+
load(options?: PowerPoint.Interfaces.SensitivityLabelDetailsLoadOptions): PowerPoint.SensitivityLabelDetails;
|
|
197133
|
+
/**
|
|
197134
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
197135
|
+
*
|
|
197136
|
+
* @param propertyNames A comma-delimited string or an array of strings that specify the properties to load.
|
|
197137
|
+
*/
|
|
197138
|
+
load(propertyNames?: string | string[]): PowerPoint.SensitivityLabelDetails;
|
|
197139
|
+
/**
|
|
197140
|
+
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
197141
|
+
*
|
|
197142
|
+
* @param propertyNamesAndPaths `propertyNamesAndPaths.select` is a comma-delimited string that specifies the properties to load, and `propertyNamesAndPaths.expand` is a comma-delimited string that specifies the navigation properties to load.
|
|
197143
|
+
*/
|
|
197144
|
+
load(propertyNamesAndPaths?: {
|
|
197145
|
+
select?: string;
|
|
197146
|
+
expand?: string;
|
|
197147
|
+
}): PowerPoint.SensitivityLabelDetails;
|
|
197148
|
+
/**
|
|
197149
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
|
|
197150
|
+
* Whereas the original `PowerPoint.SensitivityLabelDetails` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SensitivityLabelDetailsData`) that contains shallow copies of any loaded child properties from the original object.
|
|
197151
|
+
*/
|
|
197152
|
+
toJSON(): PowerPoint.Interfaces.SensitivityLabelDetailsData;
|
|
197153
|
+
}
|
|
197154
|
+
/**
|
|
197155
|
+
* Represents the result of updating the sensitivity label on the presentation.
|
|
197156
|
+
*
|
|
197157
|
+
* @remarks
|
|
197158
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197159
|
+
* @beta
|
|
197160
|
+
*/
|
|
197161
|
+
enum SensitivityLabelUpdateResult {
|
|
197162
|
+
/**
|
|
197163
|
+
* The sensitivity label was successfully updated.
|
|
197164
|
+
* @remarks
|
|
197165
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197166
|
+
* @beta
|
|
197167
|
+
*/
|
|
197168
|
+
success = "Success",
|
|
197169
|
+
/**
|
|
197170
|
+
* The update failed due to an unspecified error.
|
|
197171
|
+
* @remarks
|
|
197172
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197173
|
+
* @beta
|
|
197174
|
+
*/
|
|
197175
|
+
unspecifiedFailure = "UnspecifiedFailure",
|
|
197176
|
+
/**
|
|
197177
|
+
* The specified sensitivity label could not be found.
|
|
197178
|
+
* @remarks
|
|
197179
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197180
|
+
* @beta
|
|
197181
|
+
*/
|
|
197182
|
+
labelNotFound = "LabelNotFound",
|
|
197183
|
+
/**
|
|
197184
|
+
* The presentation is read-only and cannot be modified.
|
|
197185
|
+
* @remarks
|
|
197186
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197187
|
+
* @beta
|
|
197188
|
+
*/
|
|
197189
|
+
documentReadOnly = "DocumentReadOnly",
|
|
197190
|
+
/**
|
|
197191
|
+
* The user does not have sufficient permissions to update the label.
|
|
197192
|
+
* @remarks
|
|
197193
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197194
|
+
* @beta
|
|
197195
|
+
*/
|
|
197196
|
+
insufficientPermission = "InsufficientPermission",
|
|
197197
|
+
/**
|
|
197198
|
+
* The label update failed due to unsupported Double Key Encryption (DKE).
|
|
197199
|
+
* @remarks
|
|
197200
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197201
|
+
* @beta
|
|
197202
|
+
*/
|
|
197203
|
+
unsupportedDoubleKeyEncryption = "UnsupportedDoubleKeyEncryption",
|
|
197204
|
+
/**
|
|
197205
|
+
* The label update failed because native labeling is not enabled for the user or installed SKU.
|
|
197206
|
+
* @remarks
|
|
197207
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197208
|
+
* @beta
|
|
197209
|
+
*/
|
|
197210
|
+
labelingDisabled = "LabelingDisabled",
|
|
197211
|
+
/**
|
|
197212
|
+
* The label update failed because the user's identity is not valid for applying a label.
|
|
197213
|
+
* @remarks
|
|
197214
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197215
|
+
* @beta
|
|
197216
|
+
*/
|
|
197217
|
+
userNotFound = "UserNotFound",
|
|
197218
|
+
/**
|
|
197219
|
+
* The label update failed due to unsupported User Defined Permissions (UDP).
|
|
197220
|
+
* @remarks
|
|
197221
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197222
|
+
* @beta
|
|
197223
|
+
*/
|
|
197224
|
+
unsupportedUdp = "UnsupportedUdp",
|
|
197225
|
+
/**
|
|
197226
|
+
* The label update failed because the specified label is a parent label, which cannot be applied.
|
|
197227
|
+
* @remarks
|
|
197228
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197229
|
+
* @beta
|
|
197230
|
+
*/
|
|
197231
|
+
parentLabelNotSupported = "ParentLabelNotSupported",
|
|
197232
|
+
/**
|
|
197233
|
+
* The label update failed because the document doesn't belong to the same tenant as the user.
|
|
197234
|
+
* @remarks
|
|
197235
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197236
|
+
* @beta
|
|
197237
|
+
*/
|
|
197238
|
+
crossTenant = "CrossTenant",
|
|
197239
|
+
}
|
|
197240
|
+
/**
|
|
197241
|
+
* Represents the sensitivity label on the presentation.
|
|
197242
|
+
*
|
|
197243
|
+
* @remarks
|
|
197244
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197245
|
+
* @beta
|
|
197246
|
+
*/
|
|
197247
|
+
class SensitivityLabel extends OfficeExtension.ClientObject {
|
|
197248
|
+
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
197249
|
+
context: RequestContext;
|
|
197250
|
+
/**
|
|
197251
|
+
* Gets the current label information that exists on the presentation for the user.
|
|
197252
|
+
If there's no sensitivity label on the current presentation, an object with an `isNullObject` property set to `true` is returned.
|
|
197253
|
+
For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
197254
|
+
*
|
|
197255
|
+
* @remarks
|
|
197256
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197257
|
+
* @beta
|
|
197258
|
+
* @returns The current `SensitivityLabelDetails` object.
|
|
197259
|
+
*/
|
|
197260
|
+
getCurrentOrNullObject(): PowerPoint.SensitivityLabelDetails;
|
|
197261
|
+
/**
|
|
197262
|
+
* Tries to update to the provided sensitivity label on the presentation for the user.
|
|
197263
|
+
*
|
|
197264
|
+
* @remarks
|
|
197265
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197266
|
+
* @beta
|
|
197267
|
+
*
|
|
197268
|
+
* @param labelId The ID of the label to apply.
|
|
197269
|
+
* @returns The `SensitivityLabelUpdateResult` object.
|
|
197270
|
+
*/
|
|
197271
|
+
tryToUpdate(labelId: string): OfficeExtension.ClientResult<PowerPoint.SensitivityLabelUpdateResult>;
|
|
197272
|
+
/**
|
|
197273
|
+
* Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that's passed to it.)
|
|
197274
|
+
* Whereas the original `PowerPoint.SensitivityLabel` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SensitivityLabelData`) that contains shallow copies of any loaded child properties from the original object.
|
|
197275
|
+
*/
|
|
197276
|
+
toJSON(): {
|
|
197277
|
+
[key: string]: string;
|
|
197278
|
+
};
|
|
197279
|
+
}
|
|
196842
197280
|
/**
|
|
196843
197281
|
* Represents the collection of slides in the presentation.
|
|
196844
197282
|
*
|
|
@@ -197967,6 +198405,10 @@ declare namespace PowerPoint {
|
|
|
197967
198405
|
*/
|
|
197968
198406
|
slideWidth?: number;
|
|
197969
198407
|
}
|
|
198408
|
+
/** An interface for updating data on the `SensitivityLabelDetailsCollection` object, for use in `sensitivityLabelDetailsCollection.set({ ... })`. */
|
|
198409
|
+
interface SensitivityLabelDetailsCollectionUpdateData {
|
|
198410
|
+
items?: PowerPoint.Interfaces.SensitivityLabelDetailsData[];
|
|
198411
|
+
}
|
|
197970
198412
|
/** An interface for updating data on the `SlideCollection` object, for use in `slideCollection.set({ ... })`. */
|
|
197971
198413
|
interface SlideCollectionUpdateData {
|
|
197972
198414
|
items?: PowerPoint.Interfaces.SlideData[];
|
|
@@ -197979,6 +198421,17 @@ declare namespace PowerPoint {
|
|
|
197979
198421
|
interface SlideMasterCollectionUpdateData {
|
|
197980
198422
|
items?: PowerPoint.Interfaces.SlideMasterData[];
|
|
197981
198423
|
}
|
|
198424
|
+
/** An interface describing the data returned by calling `sensitivityLabelsCatalog.toJSON()`. */
|
|
198425
|
+
interface SensitivityLabelsCatalogData {
|
|
198426
|
+
/**
|
|
198427
|
+
* Gets whether the catalog of sensitivity labels is enabled in PowerPoint.
|
|
198428
|
+
*
|
|
198429
|
+
* @remarks
|
|
198430
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
198431
|
+
* @beta
|
|
198432
|
+
*/
|
|
198433
|
+
getLabelingCapability?: PowerPoint.LabelingCapability | "NoLicense" | "LabelingDisabled" | "LabelingPolicyNotFound" | "LabelingEnabled";
|
|
198434
|
+
}
|
|
197982
198435
|
/** An interface describing the data returned by calling `presentation.toJSON()`. */
|
|
197983
198436
|
interface PresentationData {
|
|
197984
198437
|
/**
|
|
@@ -199168,6 +199621,77 @@ declare namespace PowerPoint {
|
|
|
199168
199621
|
*/
|
|
199169
199622
|
slideWidth?: number;
|
|
199170
199623
|
}
|
|
199624
|
+
/** An interface describing the data returned by calling `sensitivityLabelDetailsCollection.toJSON()`. */
|
|
199625
|
+
interface SensitivityLabelDetailsCollectionData {
|
|
199626
|
+
items?: PowerPoint.Interfaces.SensitivityLabelDetailsData[];
|
|
199627
|
+
}
|
|
199628
|
+
/** An interface describing the data returned by calling `sensitivityLabelDetails.toJSON()`. */
|
|
199629
|
+
interface SensitivityLabelDetailsData {
|
|
199630
|
+
/**
|
|
199631
|
+
* Gets the color of the sensitivity label.
|
|
199632
|
+
*
|
|
199633
|
+
* @remarks
|
|
199634
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199635
|
+
* @beta
|
|
199636
|
+
*/
|
|
199637
|
+
color?: string;
|
|
199638
|
+
/**
|
|
199639
|
+
* Gets the unique ID of the sensitivity label.
|
|
199640
|
+
*
|
|
199641
|
+
* @remarks
|
|
199642
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199643
|
+
* @beta
|
|
199644
|
+
*/
|
|
199645
|
+
id?: string;
|
|
199646
|
+
/**
|
|
199647
|
+
* Gets a value indicating whether the label is enabled.
|
|
199648
|
+
*
|
|
199649
|
+
* @remarks
|
|
199650
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199651
|
+
* @beta
|
|
199652
|
+
*/
|
|
199653
|
+
isEnabled?: boolean;
|
|
199654
|
+
/**
|
|
199655
|
+
* Gets the name of the sensitivity label.
|
|
199656
|
+
*
|
|
199657
|
+
* @remarks
|
|
199658
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199659
|
+
* @beta
|
|
199660
|
+
*/
|
|
199661
|
+
name?: string;
|
|
199662
|
+
/**
|
|
199663
|
+
* Gets the priority of the sensitivity label, with 0 as lowest priority.
|
|
199664
|
+
*
|
|
199665
|
+
* @remarks
|
|
199666
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199667
|
+
* @beta
|
|
199668
|
+
*/
|
|
199669
|
+
order?: number;
|
|
199670
|
+
/**
|
|
199671
|
+
* Gets a value indicating the protection type provided by this label.
|
|
199672
|
+
*
|
|
199673
|
+
* @remarks
|
|
199674
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199675
|
+
* @beta
|
|
199676
|
+
*/
|
|
199677
|
+
protectionType?: PowerPoint.SensitivityLabelProtectionType | "NoProtection" | "AdminDefined" | "UserDefined";
|
|
199678
|
+
/**
|
|
199679
|
+
* Gets the unique ID of the tenant which the sensitivity label is belonged.
|
|
199680
|
+
*
|
|
199681
|
+
* @remarks
|
|
199682
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199683
|
+
* @beta
|
|
199684
|
+
*/
|
|
199685
|
+
siteId?: string;
|
|
199686
|
+
/**
|
|
199687
|
+
* Gets the description of the sensitivity label.
|
|
199688
|
+
*
|
|
199689
|
+
* @remarks
|
|
199690
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199691
|
+
* @beta
|
|
199692
|
+
*/
|
|
199693
|
+
tooltip?: string;
|
|
199694
|
+
}
|
|
199171
199695
|
/** An interface describing the data returned by calling `slideCollection.toJSON()`. */
|
|
199172
199696
|
interface SlideCollectionData {
|
|
199173
199697
|
items?: PowerPoint.Interfaces.SlideData[];
|
|
@@ -199180,6 +199704,28 @@ declare namespace PowerPoint {
|
|
|
199180
199704
|
interface SlideMasterCollectionData {
|
|
199181
199705
|
items?: PowerPoint.Interfaces.SlideMasterData[];
|
|
199182
199706
|
}
|
|
199707
|
+
/**
|
|
199708
|
+
* Provides methods to check the status of the catalog of sensitivity labels in PowerPoint
|
|
199709
|
+
and retrieve all available sensitivity labels if the catalog is enabled.
|
|
199710
|
+
*
|
|
199711
|
+
* @remarks
|
|
199712
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199713
|
+
* @beta
|
|
199714
|
+
*/
|
|
199715
|
+
interface SensitivityLabelsCatalogLoadOptions {
|
|
199716
|
+
/**
|
|
199717
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
199718
|
+
*/
|
|
199719
|
+
$all?: boolean;
|
|
199720
|
+
/**
|
|
199721
|
+
* Gets whether the catalog of sensitivity labels is enabled in PowerPoint.
|
|
199722
|
+
*
|
|
199723
|
+
* @remarks
|
|
199724
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199725
|
+
* @beta
|
|
199726
|
+
*/
|
|
199727
|
+
getLabelingCapability?: boolean;
|
|
199728
|
+
}
|
|
199183
199729
|
/**
|
|
199184
199730
|
* The `Presentation` object is the top-level object with one or more slides that contain the contents of the presentation.
|
|
199185
199731
|
To learn more about the PowerPoint object model,
|
|
@@ -201698,6 +202244,160 @@ declare namespace PowerPoint {
|
|
|
201698
202244
|
*/
|
|
201699
202245
|
slideWidth?: boolean;
|
|
201700
202246
|
}
|
|
202247
|
+
/**
|
|
202248
|
+
* Represents the collection of {@link PowerPoint.SensitivityLabelDetails} objects.
|
|
202249
|
+
*
|
|
202250
|
+
* @remarks
|
|
202251
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202252
|
+
* @beta
|
|
202253
|
+
*/
|
|
202254
|
+
interface SensitivityLabelDetailsCollectionLoadOptions {
|
|
202255
|
+
/**
|
|
202256
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
202257
|
+
*/
|
|
202258
|
+
$all?: boolean;
|
|
202259
|
+
/**
|
|
202260
|
+
* For EACH ITEM in the collection: Gets the color of the sensitivity label.
|
|
202261
|
+
*
|
|
202262
|
+
* @remarks
|
|
202263
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202264
|
+
* @beta
|
|
202265
|
+
*/
|
|
202266
|
+
color?: boolean;
|
|
202267
|
+
/**
|
|
202268
|
+
* For EACH ITEM in the collection: Gets the unique ID of the sensitivity label.
|
|
202269
|
+
*
|
|
202270
|
+
* @remarks
|
|
202271
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202272
|
+
* @beta
|
|
202273
|
+
*/
|
|
202274
|
+
id?: boolean;
|
|
202275
|
+
/**
|
|
202276
|
+
* For EACH ITEM in the collection: Gets a value indicating whether the label is enabled.
|
|
202277
|
+
*
|
|
202278
|
+
* @remarks
|
|
202279
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202280
|
+
* @beta
|
|
202281
|
+
*/
|
|
202282
|
+
isEnabled?: boolean;
|
|
202283
|
+
/**
|
|
202284
|
+
* For EACH ITEM in the collection: Gets the name of the sensitivity label.
|
|
202285
|
+
*
|
|
202286
|
+
* @remarks
|
|
202287
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202288
|
+
* @beta
|
|
202289
|
+
*/
|
|
202290
|
+
name?: boolean;
|
|
202291
|
+
/**
|
|
202292
|
+
* For EACH ITEM in the collection: Gets the priority of the sensitivity label, with 0 as lowest priority.
|
|
202293
|
+
*
|
|
202294
|
+
* @remarks
|
|
202295
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202296
|
+
* @beta
|
|
202297
|
+
*/
|
|
202298
|
+
order?: boolean;
|
|
202299
|
+
/**
|
|
202300
|
+
* For EACH ITEM in the collection: Gets a value indicating the protection type provided by this label.
|
|
202301
|
+
*
|
|
202302
|
+
* @remarks
|
|
202303
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202304
|
+
* @beta
|
|
202305
|
+
*/
|
|
202306
|
+
protectionType?: boolean;
|
|
202307
|
+
/**
|
|
202308
|
+
* For EACH ITEM in the collection: Gets the unique ID of the tenant which the sensitivity label is belonged.
|
|
202309
|
+
*
|
|
202310
|
+
* @remarks
|
|
202311
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202312
|
+
* @beta
|
|
202313
|
+
*/
|
|
202314
|
+
siteId?: boolean;
|
|
202315
|
+
/**
|
|
202316
|
+
* For EACH ITEM in the collection: Gets the description of the sensitivity label.
|
|
202317
|
+
*
|
|
202318
|
+
* @remarks
|
|
202319
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202320
|
+
* @beta
|
|
202321
|
+
*/
|
|
202322
|
+
tooltip?: boolean;
|
|
202323
|
+
}
|
|
202324
|
+
/**
|
|
202325
|
+
* Represents the properties of available sensitivity labels in PowerPoint.
|
|
202326
|
+
*
|
|
202327
|
+
* @remarks
|
|
202328
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202329
|
+
* @beta
|
|
202330
|
+
*/
|
|
202331
|
+
interface SensitivityLabelDetailsLoadOptions {
|
|
202332
|
+
/**
|
|
202333
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
202334
|
+
*/
|
|
202335
|
+
$all?: boolean;
|
|
202336
|
+
/**
|
|
202337
|
+
* Gets the color of the sensitivity label.
|
|
202338
|
+
*
|
|
202339
|
+
* @remarks
|
|
202340
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202341
|
+
* @beta
|
|
202342
|
+
*/
|
|
202343
|
+
color?: boolean;
|
|
202344
|
+
/**
|
|
202345
|
+
* Gets the unique ID of the sensitivity label.
|
|
202346
|
+
*
|
|
202347
|
+
* @remarks
|
|
202348
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202349
|
+
* @beta
|
|
202350
|
+
*/
|
|
202351
|
+
id?: boolean;
|
|
202352
|
+
/**
|
|
202353
|
+
* Gets a value indicating whether the label is enabled.
|
|
202354
|
+
*
|
|
202355
|
+
* @remarks
|
|
202356
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202357
|
+
* @beta
|
|
202358
|
+
*/
|
|
202359
|
+
isEnabled?: boolean;
|
|
202360
|
+
/**
|
|
202361
|
+
* Gets the name of the sensitivity label.
|
|
202362
|
+
*
|
|
202363
|
+
* @remarks
|
|
202364
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202365
|
+
* @beta
|
|
202366
|
+
*/
|
|
202367
|
+
name?: boolean;
|
|
202368
|
+
/**
|
|
202369
|
+
* Gets the priority of the sensitivity label, with 0 as lowest priority.
|
|
202370
|
+
*
|
|
202371
|
+
* @remarks
|
|
202372
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202373
|
+
* @beta
|
|
202374
|
+
*/
|
|
202375
|
+
order?: boolean;
|
|
202376
|
+
/**
|
|
202377
|
+
* Gets a value indicating the protection type provided by this label.
|
|
202378
|
+
*
|
|
202379
|
+
* @remarks
|
|
202380
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202381
|
+
* @beta
|
|
202382
|
+
*/
|
|
202383
|
+
protectionType?: boolean;
|
|
202384
|
+
/**
|
|
202385
|
+
* Gets the unique ID of the tenant which the sensitivity label is belonged.
|
|
202386
|
+
*
|
|
202387
|
+
* @remarks
|
|
202388
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202389
|
+
* @beta
|
|
202390
|
+
*/
|
|
202391
|
+
siteId?: boolean;
|
|
202392
|
+
/**
|
|
202393
|
+
* Gets the description of the sensitivity label.
|
|
202394
|
+
*
|
|
202395
|
+
* @remarks
|
|
202396
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
202397
|
+
* @beta
|
|
202398
|
+
*/
|
|
202399
|
+
tooltip?: boolean;
|
|
202400
|
+
}
|
|
201701
202401
|
/**
|
|
201702
202402
|
* Represents the collection of slides in the presentation.
|
|
201703
202403
|
*
|
|
@@ -201835,6 +202535,7 @@ declare namespace PowerPoint {
|
|
|
201835
202535
|
constructor(url?: string);
|
|
201836
202536
|
readonly presentation: Presentation;
|
|
201837
202537
|
readonly application: Application;
|
|
202538
|
+
readonly sensitivityLabelsCatalog: any;
|
|
201838
202539
|
}
|
|
201839
202540
|
/**
|
|
201840
202541
|
* Executes a batch script that performs actions on the PowerPoint object model, using a new RequestContext. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.705",
|
|
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": "
|
|
49
|
+
"typesPublisherContentHash": "ecd315ba5852199c73248fea668fa14c630ce4518bbb2eedd3c760123ea9ce5f",
|
|
50
50
|
"typeScriptVersion": "5.3",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|