@sassoftware/vi-api 1.40.4 → 1.44.0

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 (133) hide show
  1. package/README.md +36 -5
  2. package/alert-reps/index.d.ts +16 -3
  3. package/alert-reps/package.json +1 -1
  4. package/component/index.d.ts +5 -1
  5. package/component/package.json +2 -2
  6. package/config/config-api.d.ts +23 -3
  7. package/config/config-api.js +10 -0
  8. package/config/package.json +2 -2
  9. package/control/control-api.d.ts +40 -8
  10. package/control/events.d.ts +1 -1
  11. package/control/masking-api.d.ts +187 -0
  12. package/control/masking-api.js +3 -0
  13. package/control/package.json +2 -2
  14. package/control/restrictions.d.ts +7 -1
  15. package/current-user/currentUser-api.d.ts +7 -2
  16. package/current-user/package.json +2 -2
  17. package/elements/bindings.d.ts +25 -0
  18. package/elements/identity-select.d.ts +274 -0
  19. package/elements/identity-select.js +24 -0
  20. package/elements/index.d.ts +49 -0
  21. package/elements/index.js +50 -0
  22. package/elements/labelled-control.d.ts +47 -0
  23. package/elements/labelled-control.js +1 -0
  24. package/elements/mask-toggle-button.d.ts +37 -0
  25. package/elements/mask-toggle-button.js +1 -0
  26. package/elements/package.json +9 -0
  27. package/event/event-api.d.ts +10 -5
  28. package/event/event-api.js +3 -2
  29. package/event/package.json +2 -2
  30. package/file/file-api.d.ts +5 -1
  31. package/file/package.json +2 -2
  32. package/http/index.d.ts +5 -1
  33. package/http/package.json +2 -2
  34. package/index.d.ts +3 -1
  35. package/init/index.d.ts +12 -7
  36. package/init/index.js +3 -2
  37. package/init/package.json +2 -2
  38. package/localization/localization-api.d.ts +24 -9
  39. package/localization/package.json +2 -2
  40. package/metadata/admin/admin-metadata-api.d.ts +5 -1
  41. package/metadata/admin/index.d.ts +1 -0
  42. package/metadata/admin/index.js +1 -0
  43. package/metadata/metadata-api.d.ts +9 -5
  44. package/metadata/package.json +2 -2
  45. package/object/object-api.d.ts +15 -9
  46. package/object/package.json +2 -2
  47. package/package.json +3 -3
  48. package/page-admin/package.json +2 -2
  49. package/page-admin/page-admin-api.d.ts +5 -1
  50. package/page-model/package.json +2 -2
  51. package/page-model/page-model-api.d.ts +7 -6
  52. package/page-model/page-model-api.js +10 -0
  53. package/page-state/package.json +2 -2
  54. package/page-state/page-state-api.d.ts +4 -1
  55. package/page-template/package.json +2 -2
  56. package/page-template/page-template-api.d.ts +5 -1
  57. package/property/package.json +2 -2
  58. package/property/property-api.d.ts +6 -2
  59. package/reference-data/package.json +2 -2
  60. package/reference-data/refData.d.ts +4 -1
  61. package/resource/package.json +2 -2
  62. package/resource/resource-api.d.ts +5 -1
  63. package/score-reps/index.d.ts +11 -2
  64. package/score-reps/package.json +1 -1
  65. package/search/client/client-search-api.d.ts +7 -3
  66. package/search/client/index.d.ts +1 -0
  67. package/search/client/index.js +1 -0
  68. package/search/package.json +2 -2
  69. package/search/search-api.d.ts +5 -1
  70. package/sheet/package.json +2 -2
  71. package/sheet/sheet-api.d.ts +5 -1
  72. package/shell-tabs/package.json +2 -2
  73. package/shell-tabs/shell-tabs-api.d.ts +11 -7
  74. package/svi-datahub/index.d.ts +266 -231
  75. package/svi-datahub/package.json +1 -1
  76. package/svi-sand/index.d.ts +29 -2
  77. package/svi-sand/package.json +1 -1
  78. package/tab/package.json +2 -2
  79. package/tab/tab-api.d.ts +5 -1
  80. package/theme/package.json +2 -2
  81. package/theme/theme-api.d.ts +6 -2
  82. package/traversal/package.json +2 -2
  83. package/traversal/traversal-api.d.ts +5 -1
  84. package/component/public-api.d.ts +0 -1
  85. package/component/public-api.js +0 -1
  86. package/http/public-api.d.ts +0 -1
  87. package/http/public-api.js +0 -1
  88. package/init/public-api.d.ts +0 -1
  89. package/init/public-api.js +0 -1
  90. package/public-api.d.ts +0 -1
  91. /package/config/{public-api.d.ts → index.d.ts} +0 -0
  92. /package/config/{public-api.js → index.js} +0 -0
  93. /package/control/{public-api.d.ts → index.d.ts} +0 -0
  94. /package/control/{public-api.js → index.js} +0 -0
  95. /package/current-user/{public-api.d.ts → index.d.ts} +0 -0
  96. /package/current-user/{public-api.js → index.js} +0 -0
  97. /package/{public-api.js → elements/bindings.js} +0 -0
  98. /package/event/{public-api.d.ts → index.d.ts} +0 -0
  99. /package/event/{public-api.js → index.js} +0 -0
  100. /package/file/{public-api.d.ts → index.d.ts} +0 -0
  101. /package/file/{public-api.js → index.js} +0 -0
  102. /package/localization/{public-api.d.ts → index.d.ts} +0 -0
  103. /package/localization/{public-api.js → index.js} +0 -0
  104. /package/metadata/{public-api.d.ts → index.d.ts} +0 -0
  105. /package/metadata/{public-api.js → index.js} +0 -0
  106. /package/object/{public-api.d.ts → index.d.ts} +0 -0
  107. /package/object/{public-api.js → index.js} +0 -0
  108. /package/page-admin/{public-api.d.ts → index.d.ts} +0 -0
  109. /package/page-admin/{public-api.js → index.js} +0 -0
  110. /package/page-model/{public-api.d.ts → index.d.ts} +0 -0
  111. /package/page-model/{public-api.js → index.js} +0 -0
  112. /package/page-state/{public-api.d.ts → index.d.ts} +0 -0
  113. /package/page-state/{public-api.js → index.js} +0 -0
  114. /package/page-template/{public-api.d.ts → index.d.ts} +0 -0
  115. /package/page-template/{public-api.js → index.js} +0 -0
  116. /package/property/{public-api.d.ts → index.d.ts} +0 -0
  117. /package/property/{public-api.js → index.js} +0 -0
  118. /package/reference-data/{public-api.d.ts → index.d.ts} +0 -0
  119. /package/reference-data/{public-api.js → index.js} +0 -0
  120. /package/resource/{public-api.d.ts → index.d.ts} +0 -0
  121. /package/resource/{public-api.js → index.js} +0 -0
  122. /package/search/{public-api.d.ts → index.d.ts} +0 -0
  123. /package/search/{public-api.js → index.js} +0 -0
  124. /package/sheet/{public-api.d.ts → index.d.ts} +0 -0
  125. /package/sheet/{public-api.js → index.js} +0 -0
  126. /package/shell-tabs/{public-api.d.ts → index.d.ts} +0 -0
  127. /package/shell-tabs/{public-api.js → index.js} +0 -0
  128. /package/tab/{public-api.d.ts → index.d.ts} +0 -0
  129. /package/tab/{public-api.js → index.js} +0 -0
  130. /package/theme/{public-api.d.ts → index.d.ts} +0 -0
  131. /package/theme/{public-api.js → index.js} +0 -0
  132. /package/traversal/{public-api.d.ts → index.d.ts} +0 -0
  133. /package/traversal/{public-api.js → index.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@types/svi-datahub",
3
- "version": "17.26.43",
3
+ "version": "17.32.30",
4
4
  "types": "index.d.ts"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- // Generated using typescript-generator version 2.15.527 on 2024-05-21 09:24:51.
3
+ // Generated using typescript-generator version 2.15.527 on 2024-11-11 10:01:28.
4
4
 
5
5
  export interface ApplicationSetting extends ResponsesErrorResponse {
6
6
  name?: string;
@@ -99,6 +99,29 @@ export interface SankeyNode extends AnalyticsResult {
99
99
  category?: ResultCategory;
100
100
  }
101
101
 
102
+ export interface CentralityMetrics {
103
+ version?: number;
104
+ id?: string;
105
+ degree?: number;
106
+ eigen?: number;
107
+ close?: number;
108
+ between?: number;
109
+ influence1?: number;
110
+ influence2?: number;
111
+ }
112
+
113
+ export interface CentralityEdge {
114
+ version?: number;
115
+ id?: string;
116
+ source?: string;
117
+ target?: string;
118
+ }
119
+
120
+ export interface CentralityNetwork {
121
+ version?: number;
122
+ edges?: CentralityEdge[];
123
+ }
124
+
102
125
  export interface EventConfiguration {
103
126
  root?: string;
104
127
  fields?: Fields;
@@ -772,6 +795,7 @@ export interface ResultSummary {
772
795
 
773
796
  export interface SummaryFieldValue {
774
797
  name?: string;
798
+ fieldName?: string;
775
799
  type?: FieldType;
776
800
  value?: any;
777
801
  masked?: MaskedFieldConfiguration;
@@ -1000,7 +1024,7 @@ export interface RepresentationsErrorResponse extends Serializable {
1000
1024
  httpStatusCode?: number;
1001
1025
  }
1002
1026
 
1003
- export interface Link extends Serializable {
1027
+ export interface Link extends Serializable, Comparable<Link> {
1004
1028
  method?: string;
1005
1029
  rel?: string;
1006
1030
  href?: string;
@@ -1026,6 +1050,9 @@ export interface ResourceCollection<T> extends Serializable {
1026
1050
  version?: number;
1027
1051
  }
1028
1052
 
1053
+ export interface Comparable<T> {
1054
+ }
1055
+
1029
1056
  export type OperationType = "refreshConfiguration" | "makeIndexSearchable" | "refreshSecurityRules";
1030
1057
 
1031
1058
  export type JobState = "pending" | "running" | "completed" | "completedWithErrors" | "cancelled" | "failed";
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@types/svi-sand",
3
- "version": "16.0.17",
3
+ "version": "17.3.7",
4
4
  "types": "index.d.ts"
5
5
  }
package/tab/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
package/tab/tab-api.d.ts CHANGED
@@ -1,7 +1,11 @@
1
1
  import { PageModeEvent } from "../control/page";
2
2
  /**
3
3
  * This API provides the functionality related to tabs.
4
- * Accessed from the window at window.sas.vi.tab.
4
+ *
5
+ * Accessed from the window at `window.sas.vi.tab`.
6
+ *
7
+ * @example window.sas.vi.tab.openTab("objectName", "objectId");
8
+ * @category API
5
9
  */
6
10
  export interface TabApi {
7
11
  /**
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -5,7 +5,11 @@ export declare enum Theme {
5
5
  }
6
6
  /**
7
7
  * This API provides the functionality related to SAS Visual Investigator's application theme.
8
- * Accessed from the window at window.sas.vi.theme.
8
+ *
9
+ * Accessed from the window at `window.sas.vi.theme`.
10
+ *
11
+ * @example window.sas.vi.theme.getCurrent();
12
+ * @category API
9
13
  */
10
14
  export interface ThemeApi {
11
15
  /**
@@ -17,7 +21,7 @@ export interface ThemeApi {
17
21
  /**
18
22
  * @method
19
23
  * @description Callback function when the theme is changed.
20
- * @param {ThemeApi~themeChangeHandler} Function to be called when a theme is changed.
24
+ * @param {ThemeApi~themeChangeHandler} callback to be called when a theme is changed.
21
25
  * @returns {ThemeApi~stopThemeChangeHandler} A function that, when invoked, stops the callback from being called.
22
26
  */
23
27
  onChange(callback: (themeName: Theme) => void): () => void;
@@ -4,6 +4,6 @@
4
4
  "**/*.d.ts",
5
5
  "**/*.js"
6
6
  ],
7
- "main": "public-api.js",
8
- "types": "public-api.d.ts"
7
+ "main": "index.js",
8
+ "types": "index.d.ts"
9
9
  }
@@ -7,7 +7,11 @@ export interface SviRecord extends Record {
7
7
  }
8
8
  /**
9
9
  * This API provides functionality related to traversal data.
10
- * Accessed from the window at window.sas.vi.traversal.
10
+ *
11
+ * Accessed from the window at `window.sas.vi.traversal`.
12
+ *
13
+ * @example window.sas.vi.traversal.getTraversals();
14
+ * @category API
11
15
  */
12
16
  export interface TraversalApi {
13
17
  /**
@@ -1 +0,0 @@
1
- export * from "./index";
@@ -1 +0,0 @@
1
- export * from "./index";
@@ -1 +0,0 @@
1
- export * from "./index";
@@ -1 +0,0 @@
1
- export * from "./index";
@@ -1 +0,0 @@
1
- export * from "./index";
@@ -1 +0,0 @@
1
- export * from "./index";
package/public-api.d.ts DELETED
@@ -1 +0,0 @@
1
- export { SviClientApi, SviAdminApi, SviWindow, SviApi } from "./index";
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes