@types/office-js-preview 1.0.359 → 1.0.360

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: Mon, 05 Dec 2022 20:33:21 GMT
11
+ * Last updated: Tue, 06 Dec 2022 20:32:55 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -11691,7 +11691,9 @@ declare namespace Office {
11691
11691
  */
11692
11692
  getEntitiesByType(entityType: MailboxEnums.EntityType | string): (string | Contact | MeetingSuggestion | PhoneNumber | TaskSuggestion)[];
11693
11693
  /**
11694
- * Returns well-known entities in the selected item that pass the named filter defined in the manifest XML file.
11694
+ * Returns well-known entities in the selected item that pass the named filter defined in an XML manifest file.
11695
+ *
11696
+ * **Note**: This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins}, which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | Teams manifest for Office Add-ins (preview)}.
11695
11697
  *
11696
11698
  * The `getFilteredEntitiesByName` method returns the entities that match the regular expression defined in the `ItemHasKnownEntity` rule element
11697
11699
  * in the manifest XML file with the specified `FilterName` element value.
@@ -11747,7 +11749,9 @@ declare namespace Office {
11747
11749
  */
11748
11750
  getInitializationContextAsync(callback: (asyncResult: Office.AsyncResult<string>) => void): void;
11749
11751
  /**
11750
- * Returns string values in the selected item that match the regular expressions defined in the manifest XML file.
11752
+ * Returns string values in the selected item that match the regular expressions defined in an XML manifest file.
11753
+ *
11754
+ * **Note**: This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins}, which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | Teams manifest for Office Add-ins (preview)}.
11751
11755
  *
11752
11756
  * The `getRegExMatches` method returns the strings that match the regular expression defined in each `ItemHasRegularExpressionMatch` or
11753
11757
  * `ItemHasKnownEntity` rule element in the manifest XML file.
@@ -11774,7 +11778,9 @@ declare namespace Office {
11774
11778
  */
11775
11779
  getRegExMatches(): any;
11776
11780
  /**
11777
- * Returns string values in the selected item that match the named regular expression defined in the manifest XML file.
11781
+ * Returns string values in the selected item that match the named regular expression defined in an XML manifest file.
11782
+ *
11783
+ * **Note**: This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins}, which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | Teams manifest for Office Add-ins (preview)}.
11778
11784
  *
11779
11785
  * The `getRegExMatchesByName` method returns the strings that match the regular expression defined in the `ItemHasRegularExpressionMatch` rule
11780
11786
  * element in the manifest XML file with the specified `RegExName` element value.
@@ -11799,6 +11805,8 @@ declare namespace Office {
11799
11805
  getRegExMatchesByName(name: string): string[];
11800
11806
  /**
11801
11807
  * Gets the entities found in a highlighted match a user has selected. Highlighted matches apply to contextual add-ins.
11808
+ *
11809
+ * **Note**: This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins}, which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | Teams manifest for Office Add-ins (preview)}.
11802
11810
  *
11803
11811
  * **Note**: This method is not supported in Outlook on iOS or Android.
11804
11812
  *
@@ -11813,8 +11821,10 @@ declare namespace Office {
11813
11821
  */
11814
11822
  getSelectedEntities(): Entities;
11815
11823
  /**
11816
- * Returns string values in a highlighted match that match the regular expressions defined in the manifest XML file.
11824
+ * Returns string values in a highlighted match that match the regular expressions defined in an XML manifest file.
11817
11825
  * Highlighted matches apply to contextual add-ins.
11826
+ *
11827
+ * **Note**: This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins}, which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | Teams manifest for Office Add-ins (preview)}.
11818
11828
  *
11819
11829
  * The `getSelectedRegExMatches` method returns the strings that match the regular expression defined in each `ItemHasRegularExpressionMatch` or
11820
11830
  * `ItemHasKnownEntity` rule element in the manifest XML file.
@@ -16839,7 +16849,9 @@ declare namespace Office {
16839
16849
  */
16840
16850
  getEntitiesByType(entityType: MailboxEnums.EntityType | string): (string | Contact | MeetingSuggestion | PhoneNumber | TaskSuggestion)[];
16841
16851
  /**
16842
- * Returns well-known entities in the selected item that pass the named filter defined in the manifest XML file.
16852
+ * Returns well-known entities in the selected item that pass the named filter defined in an XML manifest file.
16853
+ *
16854
+ * **Note**: This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins}, which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | Teams manifest for Office Add-ins (preview)}.
16843
16855
  *
16844
16856
  * The `getFilteredEntitiesByName` method returns the entities that match the regular expression defined in the `ItemHasKnownEntity` rule element
16845
16857
  * in the manifest XML file with the specified `FilterName` element value.
@@ -16895,7 +16907,9 @@ declare namespace Office {
16895
16907
  */
16896
16908
  getInitializationContextAsync(callback: (asyncResult: Office.AsyncResult<string>) => void): void;
16897
16909
  /**
16898
- * Returns string values in the selected item that match the regular expressions defined in the manifest XML file.
16910
+ * Returns string values in the selected item that match the regular expressions defined in an XML manifest file.
16911
+ *
16912
+ * **Note**: This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins}, which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | Teams manifest for Office Add-ins (preview)}.
16899
16913
  *
16900
16914
  * The `getRegExMatches` method returns the strings that match the regular expression defined in each `ItemHasRegularExpressionMatch` or
16901
16915
  * `ItemHasKnownEntity` rule element in the manifest XML file.
@@ -16922,7 +16936,9 @@ declare namespace Office {
16922
16936
  */
16923
16937
  getRegExMatches(): any;
16924
16938
  /**
16925
- * Returns string values in the selected item that match the named regular expression defined in the manifest XML file.
16939
+ * Returns string values in the selected item that match the named regular expression defined in an XML manifest file.
16940
+ *
16941
+ * **Note**: This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins}, which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | Teams manifest for Office Add-ins (preview)}.
16926
16942
  *
16927
16943
  * The `getRegExMatchesByName` method returns the strings that match the regular expression defined in the
16928
16944
  * `ItemHasRegularExpressionMatch` rule element in the manifest XML file with the specified `RegExName` element value.
@@ -16947,6 +16963,8 @@ declare namespace Office {
16947
16963
  getRegExMatchesByName(name: string): string[];
16948
16964
  /**
16949
16965
  * Gets the entities found in a highlighted match a user has selected. Highlighted matches apply to contextual add-ins.
16966
+ *
16967
+ * **Note**: This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins}, which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | Teams manifest for Office Add-ins (preview)}.
16950
16968
  *
16951
16969
  * **Note**: This method is not supported in Outlook on iOS or Android.
16952
16970
  *
@@ -16961,8 +16979,10 @@ declare namespace Office {
16961
16979
  */
16962
16980
  getSelectedEntities(): Entities;
16963
16981
  /**
16964
- * Returns string values in a highlighted match that match the regular expressions defined in the manifest XML file.
16982
+ * Returns string values in a highlighted match that match the regular expressions defined in an XML manifest file.
16965
16983
  * Highlighted matches apply to contextual add-ins.
16984
+ *
16985
+ * **Note**: This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins}, which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | Teams manifest for Office Add-ins (preview)}.
16966
16986
  *
16967
16987
  * The `getSelectedRegExMatches` method returns the strings that match the regular expression defined in
16968
16988
  * each `ItemHasRegularExpressionMatch` or `ItemHasKnownEntity` rule element in the manifest XML file.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.359",
3
+ "version": "1.0.360",
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": "785e69178c7407d5c54261bcf70b20d4303d936a792f28f45d96e2e5b7c63a96",
48
+ "typesPublisherContentHash": "7a00fbeca65bd280ca493b8d05b8c325c400107715c662f5adb7cb7f56ec68d9",
49
49
  "typeScriptVersion": "4.2"
50
50
  }