@sapui5/ts-types 1.101.1 → 1.102.2

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.
Files changed (62) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +1 -0
  3. package/types/sap.apf.d.ts +89 -1
  4. package/types/sap.ca.ui.d.ts +1747 -124
  5. package/types/sap.chart.d.ts +375 -29
  6. package/types/sap.collaboration.d.ts +320 -40
  7. package/types/sap.esh.search.ui.d.ts +1 -669
  8. package/types/sap.f.d.ts +1785 -100
  9. package/types/sap.fe.common.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +70 -2
  11. package/types/sap.fe.macros.d.ts +78 -34
  12. package/types/sap.fe.navigation.d.ts +144 -4
  13. package/types/sap.fe.templates.d.ts +26 -5
  14. package/types/sap.fe.test.d.ts +497 -2
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +7209 -505
  17. package/types/sap.insights.d.ts +21 -0
  18. package/types/sap.landvisz.d.ts +1015 -66
  19. package/types/sap.m.d.ts +16677 -1155
  20. package/types/sap.makit.d.ts +575 -54
  21. package/types/sap.me.d.ts +578 -51
  22. package/types/sap.ndc.d.ts +63 -5
  23. package/types/sap.ovp.d.ts +5 -6
  24. package/types/sap.rules.ui.d.ts +171 -15
  25. package/types/sap.sac.df.d.ts +1430 -215
  26. package/types/sap.sac.grid.d.ts +91 -8
  27. package/types/sap.suite.ui.commons.d.ts +5515 -396
  28. package/types/sap.suite.ui.generic.template.d.ts +157 -69
  29. package/types/sap.suite.ui.microchart.d.ts +1801 -160
  30. package/types/sap.tnt.d.ts +279 -19
  31. package/types/sap.ui.codeeditor.d.ts +89 -8
  32. package/types/sap.ui.commons.d.ts +3784 -313
  33. package/types/sap.ui.comp.d.ts +3880 -276
  34. package/types/sap.ui.core.d.ts +6268 -313
  35. package/types/sap.ui.dt.d.ts +1 -1
  36. package/types/sap.ui.export.d.ts +61 -6
  37. package/types/sap.ui.fl.d.ts +1 -1
  38. package/types/sap.ui.generic.app.d.ts +238 -64
  39. package/types/sap.ui.generic.template.d.ts +1 -1
  40. package/types/sap.ui.integration.d.ts +316 -23
  41. package/types/sap.ui.layout.d.ts +1851 -199
  42. package/types/sap.ui.mdc.d.ts +1 -1
  43. package/types/sap.ui.richtexteditor.d.ts +340 -49
  44. package/types/sap.ui.rta.d.ts +5 -1
  45. package/types/sap.ui.suite.d.ts +87 -6
  46. package/types/sap.ui.support.d.ts +30 -1
  47. package/types/sap.ui.table.d.ts +1050 -80
  48. package/types/sap.ui.testrecorder.d.ts +1 -1
  49. package/types/sap.ui.unified.d.ts +2704 -202
  50. package/types/sap.ui.ux3.d.ts +2379 -181
  51. package/types/sap.ui.vbm.d.ts +1977 -97
  52. package/types/sap.ui.vk.d.ts +5353 -310
  53. package/types/sap.ui.vtm.d.ts +1133 -41
  54. package/types/sap.uiext.inbox.d.ts +423 -22
  55. package/types/sap.ushell.d.ts +1488 -49
  56. package/types/sap.ushell_abap.d.ts +4 -1
  57. package/types/sap.uxap.d.ts +902 -87
  58. package/types/sap.viz.d.ts +5514 -380
  59. package/types/sap.webanalytics.core.d.ts +1 -1
  60. package/types/sap.zen.commons.d.ts +165 -20
  61. package/types/sap.zen.crosstab.d.ts +217 -21
  62. package/types/sap.zen.dsh.d.ts +227 -14
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.101.1
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -35,6 +35,8 @@ declare namespace sap {
35
35
  * the information contained in `oClassInfo`.
36
36
  *
37
37
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
38
+ *
39
+ * @returns Created class / constructor function
38
40
  */
39
41
  static extend<T extends Record<string, unknown>>(
40
42
  /**
@@ -53,10 +55,14 @@ declare namespace sap {
53
55
  ): Function;
54
56
  /**
55
57
  * Returns a metadata object for class sap.fe.navigation.NavError.
58
+ *
59
+ * @returns Metadata object describing this class
56
60
  */
57
61
  static getMetadata(): sap.ui.base.Metadata;
58
62
  /**
59
63
  * Returns the error code with which the instance has been created.
64
+ *
65
+ * @returns The error code of the error
60
66
  */
61
67
  getErrorCode(): string;
62
68
  }
@@ -105,6 +111,8 @@ declare namespace sap {
105
111
  * The method creates a context url based on provided data. This context url can either be used as {@link
106
112
  * sap.fe.navigation.NavigationHandler#setParameterContextUrl ParameterContextUrl} or {@link sap.fe.navigation.NavigationHandler#setFilterContextUrl
107
113
  * FilterContextUrl}.
114
+ *
115
+ * @returns The context url for the given entities
108
116
  */
109
117
  static constructContextUrl(
110
118
  /**
@@ -121,6 +129,8 @@ declare namespace sap {
121
129
  * it with the information contained in `oClassInfo`.
122
130
  *
123
131
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
132
+ *
133
+ * @returns Created class / constructor function
124
134
  */
125
135
  static extend<T extends Record<string, unknown>>(
126
136
  /**
@@ -139,6 +149,8 @@ declare namespace sap {
139
149
  ): Function;
140
150
  /**
141
151
  * Returns a metadata object for class sap.fe.navigation.NavigationHandler.
152
+ *
153
+ * @returns Metadata object describing this class
142
154
  */
143
155
  static getMetadata(): sap.ui.base.Metadata;
144
156
  /**
@@ -148,6 +160,8 @@ declare namespace sap {
148
160
  * - `sap-system`
149
161
  * - `sap-ushell-defaultedParameterNames`
150
162
  * - `"hcpApplicationId"` .
163
+ *
164
+ * @returns Containing the technical parameters.
151
165
  */
152
166
  static getTechnicalParameters(): any[];
153
167
  /**
@@ -156,6 +170,8 @@ declare namespace sap {
156
170
  * variant does not contain any parameters. All parameters are merged into select options. The output of
157
171
  * this function, converted to a JSON string, can be used for the {@link #.navigate NavigationHandler.navigate}
158
172
  * method.
173
+ *
174
+ * @returns Instance of {@link sap.fe.navigation.SelectionVariant}
159
175
  */
160
176
  static mixAttributesAndSelectionVariant(
161
177
  /**
@@ -647,6 +663,33 @@ declare namespace sap {
647
663
  * state is returned in the resolved Promise. Otherwise startup parameters will be merged into the app state
648
664
  * provided by cross app navigation, and a combined app state will be returned. The conflict resolution
649
665
  * can be influenced with sParamHandlingMode defined in the constructor.
666
+ *
667
+ * @returns A Promise object to monitor when all the actions of the function have been executed. If the
668
+ * execution is successful, the extracted app state, the startup parameters, and the type of navigation
669
+ * are returned, see also the example above. The app state is an object that contains the following information:
670
+ *
671
+ * - `oAppData.oSelectionVariant`: An instance of {@link sap.fe.navigation.SelectionVariant} containing
672
+ * only parameters/select options that are related to navigation
673
+ * - `oAppData.selectionVariant`: The navigation-related selection variant as a JSON-formatted string
674
+ *
675
+ * - `oAppData.oDefaultedSelectionVariant`: An instance of {@link sap.fe.navigation.SelectionVariant}
676
+ * containing only the parameters/select options that are set by user default data
677
+ * - `oAppData.bNavSelVarHasDefaultsOnly`: A Boolean flag that indicates whether only defaulted parameters
678
+ * and no navigation parameters are present.
679
+ * **Note:** If no navigation parameters are available, `bNavSelVarHasDefaultsOnly` is set to `true`, even
680
+ * though parameters without default might be available as well. If the navigation-related selection
681
+ * variant is empty, it is replaced by a copy of the defaulted selection variant.
682
+ * The navigation type is an enumeration type of type {@link sap.fe.navigation.NavType} (possible values
683
+ * are initial, URLParams, xAppState, and iAppState).
684
+ * **Note:** If the navigation type is {@link sap.fe.navigation.NavType.iAppState} oAppData has two additional
685
+ * properties
686
+ * - `oAppData.tableVariantId`
687
+ * - `oAppData.customData` which return the inner app data as stored in {@link #.navigate navigate}
688
+ * or {@link #.storeInnerAppState storeInnerAppState}. `oAppData.oDefaultedSelectionVariant` is an empty
689
+ * selection variant and `oAppData.bNavSelVarHasDefaultsOnly` is `false` in this case.
690
+ * **Note:** If the navigation type is {@link sap.fe.navigation.NavType.initial} oAppData is an empty object!
691
+ * If an error occurs, an error object of type {@link sap.fe.navigation.NavError}, URL parameters (if available)
692
+ * and the type of navigation are returned.
650
693
  */
651
694
  static parseNavigation(): object;
652
695
  /**
@@ -663,6 +706,10 @@ declare namespace sap {
663
706
  * popover as semantic attributes.
664
707
  * - The method `oTableEventParameters.open()` is called. Note that this does not really open the popover,
665
708
  * but the SmartLink control proceeds with firing the event `navigationTargetsObtained`. .
709
+ *
710
+ * @returns A Promise object to monitor when all actions of the function have been executed; if the execution
711
+ * is successful, the modified oTableEventParameters is returned; if an error occurs, an error object of
712
+ * type {@link sap.fe.navigation.NavError} is returned
666
713
  */
667
714
  static processBeforeSmartLinkPopoverOpens(
668
715
  /**
@@ -760,6 +807,10 @@ declare namespace sap {
760
807
  ): void;
761
808
  /**
762
809
  * Changes the URL according to the current app state and stores the app state for later retrieval.
810
+ *
811
+ * @returns A Promise object to monitor when all the actions of the function have been executed; if the
812
+ * execution is successful, the app state key is returned; if an error occurs, an object of type {@link
813
+ * sap.fe.navigation.NavError} is returned
763
814
  */
764
815
  static storeInnerAppState(
765
816
  /**
@@ -800,6 +851,9 @@ declare namespace sap {
800
851
  ): object;
801
852
  /**
802
853
  * Changes the URL according to the current app state and stores the app state for later retrieval.
854
+ *
855
+ * @returns An object containing the appStateId and a promise object to monitor when all the actions of
856
+ * the function have been executed; Please note that the appStateKey may be undefined or empty.
803
857
  */
804
858
  static storeInnerAppStateWithImmediateReturn(
805
859
  /**
@@ -862,6 +916,8 @@ declare namespace sap {
862
916
  * it with the information contained in `oClassInfo`.
863
917
  *
864
918
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
919
+ *
920
+ * @returns Created class / constructor function
865
921
  */
866
922
  static extend<T extends Record<string, unknown>>(
867
923
  /**
@@ -880,34 +936,50 @@ declare namespace sap {
880
936
  ): Function;
881
937
  /**
882
938
  * Gets the chart visualization property.
939
+ *
940
+ * @returns An object containing the properties to be used for the chart visualization.
883
941
  */
884
942
  static getChartVisualization(): Record<string, any>;
885
943
  /**
886
944
  * Gets the current context URL intended for the query.
945
+ *
946
+ * @returns The current context URL for the query
887
947
  */
888
948
  static getContextUrl(): string;
889
949
  /**
890
950
  * Returns the identification of the selection variant.
951
+ *
952
+ * @returns The identification of the selection variant as made available during construction
891
953
  */
892
954
  static getID(): string;
893
955
  /**
894
956
  * Returns a metadata object for class sap.fe.navigation.PresentationVariant.
957
+ *
958
+ * @returns Metadata object describing this class
895
959
  */
896
960
  static getMetadata(): sap.ui.base.Metadata;
897
961
  /**
898
962
  * Gets the more trivial properties. Basically all properties with the exception of the Visualization.
963
+ *
964
+ * @returns The current properties.
899
965
  */
900
966
  static getProperties(): Record<string, any>;
901
967
  /**
902
968
  * Gets the table visualization property.
969
+ *
970
+ * @returns An object containing the properties to be used for the table visualization.
903
971
  */
904
972
  static getTableVisualization(): Record<string, any>;
905
973
  /**
906
974
  * Returns the current text / description of this selection variant.
975
+ *
976
+ * @returns The current description of this selection variant.
907
977
  */
908
978
  static getText(): string;
909
979
  /**
910
980
  * Returns `true` if the presentation variant does not contain any properties. nor ranges.
981
+ *
982
+ * @returns If set to `true` there are no current properties set; `false` otherwise.
911
983
  */
912
984
  static isEmpty(): boolean;
913
985
  /**
@@ -966,10 +1038,14 @@ declare namespace sap {
966
1038
  ): void;
967
1039
  /**
968
1040
  * Returns the external representation of the selection variant as JSON object.
1041
+ *
1042
+ * @returns The external representation of this instance as a JSON object
969
1043
  */
970
1044
  static toJSONObject(): object;
971
1045
  /**
972
1046
  * Serializes this instance into a JSON-formatted string.
1047
+ *
1048
+ * @returns The JSON-formatted representation of this instance in stringified format
973
1049
  */
974
1050
  static toJSONString(): string;
975
1051
  }
@@ -993,6 +1069,8 @@ declare namespace sap {
993
1069
  /**
994
1070
  * Sets the value of a parameter called `sName` to the new value `sValue`. If the parameter has already
995
1071
  * been set before, its value is overwritten.
1072
+ *
1073
+ * @returns This instance to allow method chaining
996
1074
  */
997
1075
  static addParameter(
998
1076
  /**
@@ -1006,6 +1084,8 @@ declare namespace sap {
1006
1084
  ): object;
1007
1085
  /**
1008
1086
  * Adds a new range to the list of select options for a given parameter.
1087
+ *
1088
+ * @returns This instance to allow method chaining.
1009
1089
  */
1010
1090
  static addSelectOption(
1011
1091
  /**
@@ -1028,16 +1108,23 @@ declare namespace sap {
1028
1108
  */
1029
1109
  sLow: string,
1030
1110
  /**
1031
- * Set only if sOption is **BT**: the upper boundary of the interval; must be `undefined` or `null` in all
1032
- * other cases
1111
+ * Set only if sOption is **BT**: the upper boundary of the interval;
1112
+ */
1113
+ sHigh?: string,
1114
+ /**
1115
+ * Text representing the SelectOption. This is an optional parameter, consumption of this parameter is completely
1116
+ * decided by the consumer. For an example in most Fiori applications fetch the Text based on the ID and
1117
+ * doesn't consider this text property must be `undefined` or `null` in all other cases
1033
1118
  */
1034
- sHigh?: string
1119
+ sText?: string
1035
1120
  ): object;
1036
1121
  /**
1037
1122
  * Creates a new subclass of class sap.fe.navigation.SelectionVariant with name `sClassName` and enriches
1038
1123
  * it with the information contained in `oClassInfo`.
1039
1124
  *
1040
1125
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
1126
+ *
1127
+ * @returns Created class / constructor function
1041
1128
  */
1042
1129
  static extend<T extends Record<string, unknown>>(
1043
1130
  /**
@@ -1056,19 +1143,27 @@ declare namespace sap {
1056
1143
  ): Function;
1057
1144
  /**
1058
1145
  * Gets the current context URL intended for the filters.
1146
+ *
1147
+ * @returns The current context URL for the filters
1059
1148
  */
1060
1149
  static getFilterContextUrl(): string;
1061
1150
  /**
1062
1151
  * Returns the identification of the selection variant.
1152
+ *
1153
+ * @returns The identification of the selection variant as made available during construction
1063
1154
  */
1064
1155
  static getID(): string;
1065
1156
  /**
1066
1157
  * Returns a metadata object for class sap.fe.navigation.SelectionVariant.
1158
+ *
1159
+ * @returns Metadata object describing this class
1067
1160
  */
1068
1161
  static getMetadata(): sap.ui.base.Metadata;
1069
1162
  /**
1070
1163
  * Returns the value of the parameter called `sName` if it has been set. If the parameter has never been
1071
1164
  * set or has been removed, `undefined` is returned.
1165
+ *
1166
+ * @returns The value of parameter `sName`; returning the value `null` not possible
1072
1167
  */
1073
1168
  static getParameter(
1074
1169
  /**
@@ -1078,18 +1173,33 @@ declare namespace sap {
1078
1173
  ): string;
1079
1174
  /**
1080
1175
  * Gets the current context URL intended for the parameters.
1176
+ *
1177
+ * @returns The current context URL for the parameters
1081
1178
  */
1082
1179
  static getParameterContextUrl(): string;
1083
1180
  /**
1084
1181
  * Returns the set of parameter names available in this selection variant.
1182
+ *
1183
+ * @returns The list of parameter names which are valid
1085
1184
  */
1086
1185
  static getParameterNames(): any[];
1087
1186
  /**
1088
1187
  * Returns the names of the parameter and select option properties available for this instance.
1188
+ *
1189
+ * @returns The list of parameter and select option property names available for this instance
1089
1190
  */
1090
1191
  static getPropertyNames(): any[];
1091
1192
  /**
1092
1193
  * Returns the set of select options/ranges available for a given property name.
1194
+ *
1195
+ * @returns If `sPropertyName` is an invalid name of a property or no range exists, `undefined` is returned;
1196
+ * otherwise, an immutable array of ranges is returned. Each entry of the array is an object with the following
1197
+ * properties:
1198
+ * - `Sign`: The sign of the range
1199
+ * - `Option`: The option of the range
1200
+ * - `Low`: The low value of the range; returning value `null` is not possible
1201
+ * - `High`: The high value of the range; if this value is not necessary, `null` is used For further
1202
+ * information about the meaning of the attributes, refer to method `addSelectOption`.
1093
1203
  */
1094
1204
  static getSelectOption(
1095
1205
  /**
@@ -1099,10 +1209,14 @@ declare namespace sap {
1099
1209
  ): any[];
1100
1210
  /**
1101
1211
  * Returns the names of the properties available for this instance.
1212
+ *
1213
+ * @returns The list of property names available for this instance
1102
1214
  */
1103
1215
  static getSelectOptionsPropertyNames(): any[];
1104
1216
  /**
1105
1217
  * Returns the current text / description of this selection variant.
1218
+ *
1219
+ * @returns The current description of this selection variant.
1106
1220
  */
1107
1221
  static getText(): string;
1108
1222
  /**
@@ -1111,6 +1225,15 @@ declare namespace sap {
1111
1225
  * `sName`, is made. If the latter succeeds, the single value is converted to fit into an array of selections
1112
1226
  * to make it type compatible with ranges. This array is then returned. If neither a select option
1113
1227
  * nor a parameter could be found, `undefined` is returned.
1228
+ *
1229
+ * @returns The ranges in the select options for the specified property or a range-converted representation
1230
+ * of a parameter is returned. If both lookups fail, `undefined` is returned. The returned ranges
1231
+ * have the format:
1232
+ * - `Sign`: The sign of the range
1233
+ * - `Option`: The option of the range
1234
+ * - `Low`: The low value of the range; returning the value `null` is not possible
1235
+ * - `High`: The high value of the range; if this value is not necessary, `null` (but does exist)
1236
+ * For further information on the meaning of the attributes, refer to method {@link #.addSelectOption addSelectOption}.
1114
1237
  */
1115
1238
  static getValue(
1116
1239
  /**
@@ -1120,10 +1243,15 @@ declare namespace sap {
1120
1243
  ): any[];
1121
1244
  /**
1122
1245
  * Returns `true` if the selection variant does neither contain parameters nor ranges.
1246
+ *
1247
+ * @returns If set to `true` there are no parameters and no select options available in the selection variant;
1248
+ * `false` otherwise.
1123
1249
  */
1124
1250
  static isEmpty(): boolean;
1125
1251
  /**
1126
1252
  * Adds a set of select options to the list of select options for a given parameter.
1253
+ *
1254
+ * @returns This instance to allow method chaining
1127
1255
  */
1128
1256
  static massAddSelectOption(
1129
1257
  /**
@@ -1137,6 +1265,8 @@ declare namespace sap {
1137
1265
  ): object;
1138
1266
  /**
1139
1267
  * Removes a parameter called `sName` from the selection variant.
1268
+ *
1269
+ * @returns This instance to allow method chaining
1140
1270
  */
1141
1271
  static removeParameter(
1142
1272
  /**
@@ -1146,6 +1276,8 @@ declare namespace sap {
1146
1276
  ): object;
1147
1277
  /**
1148
1278
  * Removes a select option called `sName` from the selection variant.
1279
+ *
1280
+ * @returns This instance to allow method chaining.
1149
1281
  */
1150
1282
  static removeSelectOption(
1151
1283
  /**
@@ -1157,6 +1289,8 @@ declare namespace sap {
1157
1289
  * Renames a parameter called `sNameOld` to `sNameNew`. If a parameter or a select option with the name
1158
1290
  * `sNameNew` already exist, an error is thrown. If a parameter with the name `sNameOld` does not exist,
1159
1291
  * nothing is changed.
1292
+ *
1293
+ * @returns This instance to allow method chaining
1160
1294
  */
1161
1295
  static renameParameter(
1162
1296
  /**
@@ -1172,6 +1306,8 @@ declare namespace sap {
1172
1306
  * Renames a select option called `sNameOld` to `sNameNew`. If a select option or a parameter with the name
1173
1307
  * `sNameNew` already exist, an error is thrown. If a select option with the name `sNameOld` does not exist,
1174
1308
  * nothing is changed.
1309
+ *
1310
+ * @returns This instance to allow method chaining
1175
1311
  */
1176
1312
  static renameSelectOption(
1177
1313
  /**
@@ -1221,10 +1357,14 @@ declare namespace sap {
1221
1357
  ): void;
1222
1358
  /**
1223
1359
  * Returns the external representation of the selection variant as JSON object.
1360
+ *
1361
+ * @returns The external representation of this instance as a JSON object
1224
1362
  */
1225
1363
  static toJSONObject(): object;
1226
1364
  /**
1227
1365
  * Serializes this instance into a JSON-formatted string.
1366
+ *
1367
+ * @returns The JSON-formatted representation of this instance in stringified format
1228
1368
  */
1229
1369
  static toJSONString(): string;
1230
1370
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.101.1
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -28,13 +28,15 @@ declare namespace sap {
28
28
  ): void;
29
29
  /**
30
30
  * This method converts filter conditions to filters.
31
+ *
32
+ * @returns Object containing the converted FilterBar filters.
31
33
  */
32
34
  createFiltersFromFilterConditions(
33
35
  /**
34
36
  * Map containing the filter conditions of the FilterBar.
35
37
  */
36
38
  mFilterConditions: any
37
- ): any;
39
+ ): object;
38
40
  /**
39
41
  * Get access to models managed by SAP Fiori elements.
40
42
  *
@@ -53,6 +55,8 @@ declare namespace sap {
53
55
  *
54
56
  * .
55
57
  * editMode is deprecated and should not be used anymore. Use isEditable instead.
58
+ *
59
+ * @returns The required model
56
60
  */
57
61
  getModel(
58
62
  /**
@@ -62,10 +66,14 @@ declare namespace sap {
62
66
  ): undefined | sap.ui.model.Model;
63
67
  /**
64
68
  * Gets the list entries currently selected for the displayed control.
69
+ *
70
+ * @returns Array containing the selected contexts
65
71
  */
66
72
  getSelectedContexts(): any;
67
73
  /**
68
74
  * Load a fragment and go through the template preprocessor with the current page context.
75
+ *
76
+ * @returns The fragment definition
69
77
  */
70
78
  loadFragment(
71
79
  /**
@@ -113,6 +121,8 @@ declare namespace sap {
113
121
  * in the List Report Filter Bar. It can be used to request the initial load or to refresh the
114
122
  * currently shown data based on the filters entered by the user.
115
123
  * Please note: The Promise is resolved once the search is triggered and not once the data is returned.
124
+ *
125
+ * @returns Resolved once the data is refreshed or rejected if the request failed
116
126
  */
117
127
  refresh(): any;
118
128
  /**
@@ -127,7 +137,9 @@ declare namespace sap {
127
137
  /**
128
138
  * Set the filter values for the given property in the filter bar.
129
139
  * The filter values can be either a single value or an array of values.
130
- * Each filter value must be represented as a string corresponding to the given operator.
140
+ * Each filter value must be represented as a primitive value.
141
+ *
142
+ * @returns A promise for asynchronous handling
131
143
  */
132
144
  setFilterValues(
133
145
  /**
@@ -141,11 +153,20 @@ declare namespace sap {
141
153
  /**
142
154
  * The values to be applied
143
155
  */
144
- vValues: undefined | string | string[]
145
- ): any;
156
+ vValues:
157
+ | undefined
158
+ | string
159
+ | number
160
+ | boolean
161
+ | string[]
162
+ | number[]
163
+ | boolean[]
164
+ ): void;
146
165
  /**
147
166
  * Triggers an update of the app state.
148
167
  * Should be called if the state of a control, or any other state-relevant information, was changed.
168
+ *
169
+ * @returns A promise that resolves with the new app state object.
149
170
  */
150
171
  updateAppState(): undefined | Promise<any>;
151
172
  }