@octostar/platform-types 0.5.28 → 0.5.29

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 (332) hide show
  1. package/dist/ai.d.ts +37 -0
  2. package/dist/ai.d.ts.map +1 -1
  3. package/dist/app.d.ts +5 -7
  4. package/dist/app.d.ts.map +1 -1
  5. package/dist/desktop.d.ts +110 -42
  6. package/dist/desktop.d.ts.map +1 -1
  7. package/dist/desktop.js.map +1 -1
  8. package/dist/docs/assets/highlight.css +63 -0
  9. package/dist/docs/assets/navigation.js +1 -1
  10. package/dist/docs/assets/search.js +1 -1
  11. package/dist/docs/enums/ProcessingStatusCode.html +16 -16
  12. package/dist/docs/enums/SortOrder.html +3 -3
  13. package/dist/docs/enums/WorkspacePermissionValue.html +3 -3
  14. package/dist/docs/functions/isWorkspaceFileItem.html +1 -0
  15. package/dist/docs/hierarchy.html +1 -1
  16. package/dist/docs/index.html +2 -2
  17. package/dist/docs/interfaces/AIClient.html +4 -4
  18. package/dist/docs/interfaces/ActionContext.html +4 -4
  19. package/dist/docs/interfaces/BinaryObjectFilterClause.html +3 -3
  20. package/dist/docs/interfaces/ChartDataResponseResult.html +5 -5
  21. package/dist/docs/interfaces/ChatMessage.html +6 -6
  22. package/dist/docs/interfaces/Colorful.html +3 -3
  23. package/dist/docs/interfaces/Concept.html +12 -12
  24. package/dist/docs/interfaces/DeleteResponse.html +2 -2
  25. package/dist/docs/interfaces/Desktop.html +121 -104
  26. package/dist/docs/interfaces/DesktopActionContext.html +7 -7
  27. package/dist/docs/interfaces/DesktopSettings.html +5 -5
  28. package/dist/docs/interfaces/DownloadOptions.html +2 -2
  29. package/dist/docs/interfaces/EntityUiState.html +2 -0
  30. package/dist/docs/interfaces/FetchOptions.html +4 -4
  31. package/dist/docs/interfaces/FileListResponse.html +2 -2
  32. package/dist/docs/interfaces/FilesAPIClient.html +36 -28
  33. package/dist/docs/interfaces/GetAttachmentOptions.html +5 -5
  34. package/dist/docs/interfaces/IDataTransfer.html +11 -11
  35. package/dist/docs/interfaces/IndexSearchHitSource.html +5 -0
  36. package/dist/docs/interfaces/Inheritance.html +5 -5
  37. package/dist/docs/interfaces/LiveContext.html +30 -32
  38. package/dist/docs/interfaces/MoveOptions.html +6 -4
  39. package/dist/docs/interfaces/MoveResponse.html +7 -5
  40. package/dist/docs/interfaces/NativeFilterColumn.html +2 -2
  41. package/dist/docs/interfaces/NativeFilterScope.html +2 -2
  42. package/dist/docs/interfaces/NativeFilterTarget.html +2 -2
  43. package/dist/docs/interfaces/Ontology.html +65 -49
  44. package/dist/docs/interfaces/OsAPIClient.html +6 -6
  45. package/dist/docs/interfaces/ProcessingStatus.html +10 -9
  46. package/dist/docs/interfaces/Property.html +5 -5
  47. package/dist/docs/interfaces/RecordData.html +5 -5
  48. package/dist/docs/interfaces/RecordProvider.html +10 -10
  49. package/dist/docs/interfaces/RefObject.html +3 -3
  50. package/dist/docs/interfaces/Relationship.html +20 -20
  51. package/dist/docs/interfaces/S3Headers.html +7 -0
  52. package/dist/docs/interfaces/S3UploadResponse.html +3 -0
  53. package/dist/docs/interfaces/SavedDatasource.html +2 -2
  54. package/dist/docs/interfaces/SavedSearchAPIInterface.html +6 -6
  55. package/dist/docs/interfaces/SavedSearchContent.html +2 -2
  56. package/dist/docs/interfaces/SavedSetContent.html +2 -2
  57. package/dist/docs/interfaces/SearchOptions.html +4 -3
  58. package/dist/docs/interfaces/SearchProps.html +12 -8
  59. package/dist/docs/interfaces/SearchXperienceModalProps.html +9 -9
  60. package/dist/docs/interfaces/SearchXperienceProps.html +7 -7
  61. package/dist/docs/interfaces/SemanticBindingProps.html +5 -5
  62. package/dist/docs/interfaces/StreamJsonOptions.html +5 -5
  63. package/dist/docs/interfaces/StreamTextOptions.html +5 -5
  64. package/dist/docs/interfaces/StylerContext.html +11 -11
  65. package/dist/docs/interfaces/TagAttributes.html +7 -7
  66. package/dist/docs/interfaces/UiStateManager.html +5 -0
  67. package/dist/docs/interfaces/UnaryObjectFilterClause.html +3 -3
  68. package/dist/docs/interfaces/UploadOptions.html +3 -0
  69. package/dist/docs/interfaces/WorkspaceChangeEmitter.html +5 -5
  70. package/dist/docs/interfaces/WorkspaceItemConfig.html +6 -6
  71. package/dist/docs/interfaces/WorkspaceRecordIdentifier.html +5 -5
  72. package/dist/docs/modules.html +12 -2
  73. package/dist/docs/types/ActionHandler.html +2 -2
  74. package/dist/docs/types/AddCommentParams.html +2 -2
  75. package/dist/docs/types/AddListener.html +2 -2
  76. package/dist/docs/types/ApiErrorResult.html +2 -2
  77. package/dist/docs/types/ApiResult.html +2 -2
  78. package/dist/docs/types/ApiSuccessResult.html +2 -2
  79. package/dist/docs/types/App.html +2 -2
  80. package/dist/docs/types/AppRegistry.html +3 -15
  81. package/dist/docs/types/AppServiceCallOptions.html +2 -2
  82. package/dist/docs/types/AppServiceCallProps.html +4 -4
  83. package/dist/docs/types/AsyncFilter.html +2 -2
  84. package/dist/docs/types/AttachmentResponseType.html +2 -2
  85. package/dist/docs/types/AttachmentType.html +2 -2
  86. package/dist/docs/types/Behaviour.html +2 -2
  87. package/dist/docs/types/BinaryOperator.html +2 -2
  88. package/dist/docs/types/Callback.html +2 -2
  89. package/dist/docs/types/ChatApiResponse.html +1 -0
  90. package/dist/docs/types/ChatModel.html +2 -2
  91. package/dist/docs/types/CommentWorkspaceItem.html +2 -2
  92. package/dist/docs/types/CommonOptions.html +1 -1
  93. package/dist/docs/types/Comparator.html +2 -2
  94. package/dist/docs/types/ConceptFilter.html +3 -3
  95. package/dist/docs/types/ConceptMap.html +2 -2
  96. package/dist/docs/types/ConceptName.html +1 -1
  97. package/dist/docs/types/ConceptWithParents.html +2 -2
  98. package/dist/docs/types/ConnectedEntity.html +2 -2
  99. package/dist/docs/types/ContextMenuGroup.html +2 -2
  100. package/dist/docs/types/ContextMenuLabels.html +2 -2
  101. package/dist/docs/types/ContextMenuOptions.html +2 -2
  102. package/dist/docs/types/ContextMenuParams.html +2 -2
  103. package/dist/docs/types/ContextMenuRequest.html +2 -2
  104. package/dist/docs/types/CopyOptions.html +2 -2
  105. package/dist/docs/types/CreateEntityFormProps.html +2 -2
  106. package/dist/docs/types/CreateLinkChartFn.html +1 -1
  107. package/dist/docs/types/CreateLinkChartParams.html +1 -1
  108. package/dist/docs/types/CreateRelationsDialogProps.html +2 -2
  109. package/dist/docs/types/CustomEventListener.html +2 -2
  110. package/dist/docs/types/CustomTemplate.html +2 -2
  111. package/dist/docs/types/CustomTemplateIframeProps.html +2 -2
  112. package/dist/docs/types/DataContextType.html +2 -2
  113. package/dist/docs/types/DataMask.html +1 -1
  114. package/dist/docs/types/DefaultLiveContextData.html +1 -1
  115. package/dist/docs/types/DesktopAction.html +2 -2
  116. package/dist/docs/types/DesktopActionFilter.html +2 -2
  117. package/dist/docs/types/DesktopActionMenuItem.html +2 -2
  118. package/dist/docs/types/DesktopActionMenuItemGroup.html +2 -2
  119. package/dist/docs/types/DesktopActionOptions.html +3 -2
  120. package/dist/docs/types/DesktopOpenParams.html +2 -2
  121. package/dist/docs/types/DesktopStylerContext.html +2 -2
  122. package/dist/docs/types/DraftWorkspaceItem.html +2 -2
  123. package/dist/docs/types/DragEndParams.html +2 -2
  124. package/dist/docs/types/DragStartParams.html +2 -2
  125. package/dist/docs/types/DropZoneRequestFn.html +1 -1
  126. package/dist/docs/types/DropZoneRequestResult.html +1 -1
  127. package/dist/docs/types/EConnection.html +2 -2
  128. package/dist/docs/types/EdgeSpec.html +2 -2
  129. package/dist/docs/types/EmitEventTransformDefinition.html +2 -2
  130. package/dist/docs/types/Entity.html +2 -2
  131. package/dist/docs/types/EntityBase.html +3 -2
  132. package/dist/docs/types/EntityEdge.html +2 -2
  133. package/dist/docs/types/EntityOTM.html +2 -2
  134. package/dist/docs/types/EntityPasteContext.html +2 -2
  135. package/dist/docs/types/EvalContext.html +1 -1
  136. package/dist/docs/types/EventContextType.html +2 -2
  137. package/dist/docs/types/EventEmitterType.html +2 -2
  138. package/dist/docs/types/EventName.html +2 -2
  139. package/dist/docs/types/EventProducer.html +2 -2
  140. package/dist/docs/types/EventPublisher.html +2 -2
  141. package/dist/docs/types/EventSubscriber.html +2 -2
  142. package/dist/docs/types/EventUnsubscriber.html +2 -2
  143. package/dist/docs/types/ExportOptions.html +2 -2
  144. package/dist/docs/types/ExtractEntitiesOptions.html +2 -2
  145. package/dist/docs/types/ExtrasApi.html +1 -1
  146. package/dist/docs/types/FetchEntityOptions.html +2 -2
  147. package/dist/docs/types/FileCode.html +2 -2
  148. package/dist/docs/types/FileTreeOptions.html +2 -2
  149. package/dist/docs/types/Filter.html +1 -1
  150. package/dist/docs/types/FilterDefinition.html +2 -2
  151. package/dist/docs/types/FilterDefinitions.html +2 -2
  152. package/dist/docs/types/FilterName.html +2 -2
  153. package/dist/docs/types/FilterQuery.html +2 -2
  154. package/dist/docs/types/FilterReference.html +2 -2
  155. package/dist/docs/types/FilterState.html +1 -1
  156. package/dist/docs/types/FilterValue.html +2 -2
  157. package/dist/docs/types/FocusListItem.html +2 -2
  158. package/dist/docs/types/FolderPasteOptions.html +2 -2
  159. package/dist/docs/types/GraphDataSpec.html +1 -1
  160. package/dist/docs/types/GraphSpec.html +2 -2
  161. package/dist/docs/types/HttpTransformDefinition.html +5 -5
  162. package/dist/docs/types/Icon.html +2 -2
  163. package/dist/docs/types/IconProps.html +2 -2
  164. package/dist/docs/types/IframeTransformDefinition.html +2 -2
  165. package/dist/docs/types/ImageInfo.html +2 -2
  166. package/dist/docs/types/ImportZipOptions.html +2 -2
  167. package/dist/docs/types/InlineCode.html +2 -2
  168. package/dist/docs/types/JavascriptFileStylerDefinition.html +2 -2
  169. package/dist/docs/types/JavascriptFileTransformDefinition.html +2 -2
  170. package/dist/docs/types/JavascriptFilterDefinition.html +2 -2
  171. package/dist/docs/types/JavascriptInlineStylerDefinition.html +2 -2
  172. package/dist/docs/types/JavascriptInlineTransformDefinition.html +2 -2
  173. package/dist/docs/types/JavascriptType.html +2 -2
  174. package/dist/docs/types/JobManifest.html +2 -2
  175. package/dist/docs/types/KnownCounts.html +2 -2
  176. package/dist/docs/types/ListByParentFolder.html +1 -1
  177. package/dist/docs/types/ListByPath.html +1 -1
  178. package/dist/docs/types/ListFolderOptions.html +1 -1
  179. package/dist/docs/types/LiveContextAPISetParams.html +1 -1
  180. package/dist/docs/types/LiveContextListener.html +1 -1
  181. package/dist/docs/types/ManifestSecrets.html +1 -1
  182. package/dist/docs/types/MkdirResponse.html +1 -1
  183. package/dist/docs/types/ModalTemplateProps.html +2 -2
  184. package/dist/docs/types/NamedEntityGroup.html +2 -2
  185. package/dist/docs/types/NunjucksFileTransformDefinition.html +2 -2
  186. package/dist/docs/types/NunjucksInlineTransformDefinition.html +2 -2
  187. package/dist/docs/types/NunjucksType.html +2 -2
  188. package/dist/docs/types/OS_CONFIRM_MODAL_RESPONSE.html +2 -2
  189. package/dist/docs/types/OntologyTags.html +2 -2
  190. package/dist/docs/types/OsAuditFields.html +2 -2
  191. package/dist/docs/types/OsConfirmProps.html +2 -2
  192. package/dist/docs/types/OsNotification.html +8 -5
  193. package/dist/docs/types/OsProgress.html +4 -2
  194. package/dist/docs/types/OsTag.html +2 -2
  195. package/dist/docs/types/OsWorkspaceEntity.html +2 -2
  196. package/dist/docs/types/OsWorkspacePickerProps.html +2 -2
  197. package/dist/docs/types/PasteContextOptions.html +2 -2
  198. package/dist/docs/types/Permission.html +2 -2
  199. package/dist/docs/types/Point.html +2 -2
  200. package/dist/docs/types/PromptOptions.html +3 -2
  201. package/dist/docs/types/ProvidedFilterDefinition.html +2 -2
  202. package/dist/docs/types/ProvidedTransformDefinition.html +2 -2
  203. package/dist/docs/types/Query.html +2 -2
  204. package/dist/docs/types/QueryBatchResult.html +2 -2
  205. package/dist/docs/types/QueryErrorResult.html +2 -2
  206. package/dist/docs/types/QueryExecutor.html +2 -2
  207. package/dist/docs/types/QueryObjectFilterClause.html +2 -2
  208. package/dist/docs/types/QueryResponse.html +2 -2
  209. package/dist/docs/types/QueryResult.html +2 -2
  210. package/dist/docs/types/QuerySuccessResult.html +2 -2
  211. package/dist/docs/types/ReactCssProperties.html +2 -2
  212. package/dist/docs/types/ReactNode.html +2 -2
  213. package/dist/docs/types/ReactRef.html +2 -2
  214. package/dist/docs/types/ReasonedBoolean.html +2 -2
  215. package/dist/docs/types/RecordFetchOptions.html +1 -1
  216. package/dist/docs/types/RefCallback.html +2 -2
  217. package/dist/docs/types/RelationshipCountResult.html +2 -2
  218. package/dist/docs/types/RemoteAppApi.html +1 -1
  219. package/dist/docs/types/SaveAsModalProps.html +3 -2
  220. package/dist/docs/types/SaveFileOptions.html +2 -2
  221. package/dist/docs/types/SaveOptions.html +2 -2
  222. package/dist/docs/types/SavedTemplate.html +2 -2
  223. package/dist/docs/types/SearchFilter.html +2 -2
  224. package/dist/docs/types/SemanticBinding.html +2 -2
  225. package/dist/docs/types/SemanticBindingType.html +2 -2
  226. package/dist/docs/types/SemanticBindings.html +2 -2
  227. package/dist/docs/types/SemanticallyBoundApp.html +2 -2
  228. package/dist/docs/types/SemanticallyBoundFilterDefinition.html +2 -2
  229. package/dist/docs/types/SendQueryOptions.html +4 -3
  230. package/dist/docs/types/ServiceDefinition.html +4 -4
  231. package/dist/docs/types/ServiceDefinitions.html +2 -2
  232. package/dist/docs/types/ServiceRole.html +2 -2
  233. package/dist/docs/types/SetTransformResultFn.html +1 -1
  234. package/dist/docs/types/ShowOntology.html +2 -2
  235. package/dist/docs/types/ShowTabProps.html +2 -2
  236. package/dist/docs/types/Styler.html +2 -2
  237. package/dist/docs/types/StylerConfig.html +2 -2
  238. package/dist/docs/types/StylerDefinition.html +2 -2
  239. package/dist/docs/types/StylerDefinitions.html +2 -2
  240. package/dist/docs/types/StylerOption.html +2 -2
  241. package/dist/docs/types/StylerProducer.html +2 -2
  242. package/dist/docs/types/SubscribeDragStartFn.html +1 -1
  243. package/dist/docs/types/SubscribeToContextFn.html +1 -1
  244. package/dist/docs/types/Tag.html +2 -2
  245. package/dist/docs/types/TagInfo.html +2 -2
  246. package/dist/docs/types/TagWithRelationship.html +2 -2
  247. package/dist/docs/types/TaskCleanupReason.html +2 -2
  248. package/dist/docs/types/TemplateMetadata.html +2 -2
  249. package/dist/docs/types/TemplateType.html +2 -2
  250. package/dist/docs/types/TemplateVariant.html +2 -2
  251. package/dist/docs/types/TransformAction.html +2 -2
  252. package/dist/docs/types/TransformActionContext.html +2 -2
  253. package/dist/docs/types/TransformDefinition.html +2 -2
  254. package/dist/docs/types/TransformDefinitions.html +2 -2
  255. package/dist/docs/types/Unsubscribe.html +2 -2
  256. package/dist/docs/types/UnsubscribeFn.html +1 -1
  257. package/dist/docs/types/UnsubscribeFromContextFn.html +1 -1
  258. package/dist/docs/types/UnsubscribeFromDragStartFn.html +1 -1
  259. package/dist/docs/types/UserProfile.html +2 -2
  260. package/dist/docs/types/VirtualEntity.html +2 -0
  261. package/dist/docs/types/Watcher.html +2 -2
  262. package/dist/docs/types/Whoami.html +2 -2
  263. package/dist/docs/types/WithProgressBarOptions.html +4 -2
  264. package/dist/docs/types/Workspace.html +2 -2
  265. package/dist/docs/types/WorkspaceConfig.html +1 -1
  266. package/dist/docs/types/WorkspaceFlags.html +2 -2
  267. package/dist/docs/types/WorkspaceIdentifier.html +2 -2
  268. package/dist/docs/types/WorkspaceItem.html +2 -2
  269. package/dist/docs/types/WorkspaceItemBase.html +2 -2
  270. package/dist/docs/types/WorkspaceItemDocumentFields.html +1 -0
  271. package/dist/docs/types/WorkspaceItemIdentifier.html +2 -2
  272. package/dist/docs/types/WorkspaceItemModel.html +2 -2
  273. package/dist/docs/types/WorkspaceItemTitleProps.html +3 -2
  274. package/dist/docs/types/WorkspaceItems.html +2 -2
  275. package/dist/docs/types/WorkspacePermission.html +2 -2
  276. package/dist/docs/types/WorkspaceRecord.html +2 -2
  277. package/dist/docs/types/WorkspaceRecordInfo.html +2 -2
  278. package/dist/docs/types/WorkspaceRecordWithRelationships.html +2 -2
  279. package/dist/docs/types/WorkspaceRecords.html +2 -2
  280. package/dist/docs/types/WorkspaceRelationship.html +2 -2
  281. package/dist/docs/types/WorkspaceSettings.html +4 -3
  282. package/dist/docs/types/trigger.html +2 -2
  283. package/dist/docs/types/uuid.html +2 -2
  284. package/dist/docs/variables/OS_CONFIRM_MODAL_CANCEL.html +2 -2
  285. package/dist/docs/variables/OS_CONFIRM_MODAL_NO.html +2 -2
  286. package/dist/docs/variables/OS_CONFIRM_MODAL_YES.html +2 -2
  287. package/dist/docs/variables/SAVED_SEARCH_MESSAGE_TYPES.html +1 -1
  288. package/dist/docs/variables/SAVED_SEARCH_PREFIX.html +1 -1
  289. package/dist/event.d.ts.map +1 -1
  290. package/dist/extras.d.ts +2 -2
  291. package/dist/extras.d.ts.map +1 -1
  292. package/dist/files.d.ts +49 -12
  293. package/dist/files.d.ts.map +1 -1
  294. package/dist/files.js +3 -1
  295. package/dist/files.js.map +1 -1
  296. package/dist/graph.d.ts +2 -4
  297. package/dist/graph.d.ts.map +1 -1
  298. package/dist/index.d.ts +1 -0
  299. package/dist/index.d.ts.map +1 -1
  300. package/dist/index.js +1 -0
  301. package/dist/index.js.map +1 -1
  302. package/dist/indexSearch.d.ts +216 -0
  303. package/dist/indexSearch.d.ts.map +1 -0
  304. package/dist/indexSearch.js +2 -0
  305. package/dist/indexSearch.js.map +1 -0
  306. package/dist/jobManifestTypes.d.ts +18 -40
  307. package/dist/jobManifestTypes.d.ts.map +1 -1
  308. package/dist/liveContext.d.ts +12 -16
  309. package/dist/liveContext.d.ts.map +1 -1
  310. package/dist/model.d.ts +18 -16
  311. package/dist/model.d.ts.map +1 -1
  312. package/dist/model.js.map +1 -1
  313. package/dist/ontology.d.ts +44 -9
  314. package/dist/ontology.d.ts.map +1 -1
  315. package/dist/platform-types.d.ts +512 -134
  316. package/dist/query.d.ts +4 -4
  317. package/dist/query.d.ts.map +1 -1
  318. package/dist/remoteApp.d.ts +1 -1
  319. package/dist/remoteApp.d.ts.map +1 -1
  320. package/dist/savedSearch.d.ts +9 -13
  321. package/dist/savedSearch.d.ts.map +1 -1
  322. package/dist/savedSearch.js.map +1 -1
  323. package/dist/search.d.ts +11 -2
  324. package/dist/search.d.ts.map +1 -1
  325. package/dist/styling.d.ts +5 -5
  326. package/dist/styling.d.ts.map +1 -1
  327. package/dist/templates.d.ts +3 -3
  328. package/dist/templates.d.ts.map +1 -1
  329. package/dist/workspace.d.ts +5 -5
  330. package/dist/workspace.d.ts.map +1 -1
  331. package/dist/workspace.js.map +1 -1
  332. package/package.json +19 -5
@@ -1,9 +1,9 @@
1
- import { ButtonProps } from 'antd';
1
+ import type { ButtonProps } from 'antd';
2
2
  import { ItemType } from 'rc-menu/lib/interface';
3
3
  import { ModalProps } from 'antd';
4
4
  import { Properties } from 'csstype';
5
5
  import { QueryDslQueryContainer } from '@elastic/elasticsearch/lib/api/types';
6
- import { TabNode } from 'flexlayout-react';
6
+ import type { TabNode } from 'flexlayout-react';
7
7
 
8
8
  /**
9
9
  * @beta
@@ -139,7 +139,7 @@ export declare type AppRegistry = {
139
139
  /**
140
140
  * Registers a tab component.
141
141
  */
142
- registerTabComponent: ({ component, factory, }: {
142
+ registerTabComponent: ({ component, factory }: {
143
143
  component: string;
144
144
  factory: (node: TabNode) => ReactNode;
145
145
  }) => void;
@@ -170,9 +170,7 @@ export declare type AppServiceCallProps = {
170
170
  /** Optional options for the service call. */
171
171
  options?: AppServiceCallOptions;
172
172
  /** Contextual data for the service call. */
173
- context: {
174
- [key: string]: any;
175
- };
173
+ context: Record<string, any>;
176
174
  };
177
175
 
178
176
  /**
@@ -253,7 +251,7 @@ export declare interface BinaryObjectFilterClause {
253
251
  * @beta
254
252
  * Type representing a binary operator.
255
253
  */
256
- export declare type BinaryOperator = '==' | '!=' | '>' | '>=' | '<' | '<=' | 'in' | 'not in' | 'regex' | 'like' | 'ilike';
254
+ export declare type BinaryOperator = '==' | '!=' | '>' | '>=' | '<' | '<=' | 'IN' | 'NOT IN' | 'regex' | 'LIKE' | 'ILIKE';
257
255
 
258
256
  /**
259
257
  * @beta
@@ -291,6 +289,37 @@ export declare interface ChartDataResponseResult {
291
289
  to_dttm: number | null;
292
290
  }
293
291
 
292
+ export declare type ChatApiResponse = {
293
+ response: {
294
+ content: string;
295
+ additional_kwargs: Record<string, unknown>;
296
+ response_metadata: {
297
+ model: string;
298
+ created_at: string;
299
+ done: boolean;
300
+ done_reason: string;
301
+ total_duration: number;
302
+ load_duration: number;
303
+ prompt_eval_count: number;
304
+ prompt_eval_duration: number;
305
+ eval_count: number;
306
+ eval_duration: number;
307
+ model_name: string;
308
+ };
309
+ type: string;
310
+ name: string | null;
311
+ id: string;
312
+ example: boolean;
313
+ tool_calls: unknown[];
314
+ invalid_tool_calls: unknown[];
315
+ usage_metadata: {
316
+ input_tokens: number;
317
+ output_tokens: number;
318
+ total_tokens: number;
319
+ };
320
+ };
321
+ };
322
+
294
323
  export declare interface ChatMessage {
295
324
  /**
296
325
  * The id of the message. This is used to identify the message in the conversation.
@@ -428,7 +457,9 @@ export declare type ConceptFilter = {
428
457
  /**
429
458
  * The filters to apply to the records of the concept.
430
459
  */
431
- filters: QueryObjectFilterClause[];
460
+ filters: (QueryObjectFilterClause & {
461
+ formattedLabel?: string;
462
+ })[];
432
463
  };
433
464
 
434
465
  /**
@@ -689,6 +720,10 @@ export declare interface DeleteResponse {
689
720
  * @beta
690
721
  */
691
722
  export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
723
+ /**
724
+ * [Private] Gets the UI state manager.
725
+ */
726
+ getUiStateManager: () => Promise<UiStateManager>;
692
727
  /**
693
728
  * Refreshes the desktop.
694
729
  */
@@ -701,6 +736,13 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
701
736
  * Gets the active workspace.
702
737
  */
703
738
  getActiveWorkspace: (prompt?: boolean) => Promise<string | undefined>;
739
+ /**
740
+ * Prompts the user for a file name.
741
+ * @param defaultFileName - The default/initial file name to show in the prompt
742
+ * @param context - The context of the prompt ('folder' or 'file')
743
+ * @returns The entered file name, or null if the user cancelled
744
+ */
745
+ promptForFileName: (defaultFileName?: string, context?: 'folder' | 'file') => Promise<string | null>;
704
746
  /**
705
747
  * Sets the active workspace.
706
748
  */
@@ -754,23 +796,23 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
754
796
  /**
755
797
  * Gets items in a workspace by name.
756
798
  */
757
- getWorkspaceItems(os_item_name: string): Promise<WorkspaceItem[]>;
799
+ getWorkspaceItems: (os_item_name: string) => Promise<WorkspaceItem[]>;
758
800
  /**
759
801
  * Gets the OsAPIClient.
760
802
  */
761
- getOsAPIClient(): Promise<OsAPIClient>;
803
+ getOsAPIClient: () => Promise<OsAPIClient>;
762
804
  /**
763
805
  * Gets the AI client.
764
806
  */
765
- getAIClient(): Promise<AIClient>;
807
+ getAIClient: () => Promise<AIClient>;
766
808
  /**
767
809
  * Gets the FilesAPIClient.
768
810
  */
769
- getFilesAPIClient(): Promise<FilesAPIClient>;
811
+ getFilesAPIClient: () => Promise<FilesAPIClient>;
770
812
  /**
771
813
  * Registers a context menu action.
772
814
  */
773
- registerContextMenuAction(action: DesktopActionMenuItem): Promise<Unsubscribe>;
815
+ registerContextMenuAction: (action: DesktopActionMenuItem) => Promise<Unsubscribe>;
774
816
  /**
775
817
  * Applies a tag to an entity.
776
818
  */
@@ -785,10 +827,12 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
785
827
  updateTag: (tag: OsTag) => Promise<OsTag>;
786
828
  /**
787
829
  * Gets an item by workspace identifier.
830
+ * [Warning: This method does not return the __uiState, Use useEntity hook or UiStateManager to get the __uiState]
788
831
  */
789
832
  getItem: <T>(ws: WorkspaceIdentifier<T>) => Promise<WorkspaceItem<T>>;
790
833
  /**
791
834
  * Gets items by workspace identifiers.
835
+ * [Warning: This method does not return the __uiState, Use useEntity hook or UiStateManager to get the __uiState]
792
836
  */
793
837
  getItems: (ws: WorkspaceIdentifier[]) => Promise<WorkspaceItem[]>;
794
838
  /**
@@ -812,9 +856,14 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
812
856
  */
813
857
  getApp: (name: string) => Promise<WorkspaceItem | undefined>;
814
858
  /**
815
- * Gets schema items by content type.
859
+ * Query workspace items by content type directly from the database.
860
+ * This ensures all items are retrieved, not just those loaded in memory.
861
+ *
862
+ * @param os_item_content_type - The content type to filter by
863
+ * @param workspace_ids - Optional list of workspace IDs to filter by. If not provided, searches across all open workspaces
864
+ * @returns Promise resolving to array of workspace items matching the content type
816
865
  */
817
- getSchemaItems(os_item_content_type: string): Promise<WorkspaceItem[]>;
866
+ getItemsByContentType: (os_item_content_type: string, workspace_ids?: string[]) => Promise<WorkspaceItem[]>;
818
867
  /**
819
868
  * Creates a workspace by name.
820
869
  */
@@ -822,7 +871,7 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
822
871
  /**
823
872
  * Creates a private workspace for user by name.
824
873
  */
825
- createPrivateWorkspace: (name: string, config?: WorkspaceConfig) => Promise<Workspace>;
874
+ createPrivateWorkspace: (name: string, config?: WorkspaceConfig) => Promise<WorkspaceItem>;
826
875
  /**
827
876
  * Connects two entities with a relationship in a workspace.
828
877
  */
@@ -847,6 +896,10 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
847
896
  * Exports an item or items with optional export options.
848
897
  */
849
898
  export: (item: WorkspaceItem | WorkspaceItem[], options?: ExportOptions) => Promise<void>;
899
+ /**
900
+ * Downloads a file from the given URL.
901
+ */
902
+ download: (url: string, filename?: string) => Promise<void>;
850
903
  /**
851
904
  * Fetches an entity from the index, or from the ontology if not found in the index.
852
905
  */
@@ -866,7 +919,7 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
866
919
  /**
867
920
  * Opens records with default action or as specified in the optional desktop action options.
868
921
  */
869
- open(records: Entity | Entity[], options?: DesktopActionOptions): Promise<void>;
922
+ open: (records: Entity | Entity[], options?: DesktopActionOptions) => Promise<void>;
870
923
  /**
871
924
  * Deletes an item or items recursively.
872
925
  */
@@ -918,6 +971,10 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
918
971
  * Shows a progress item.
919
972
  */
920
973
  showProgress: (progress: OsProgress) => Promise<void>;
974
+ /**
975
+ * Gets a system setting.
976
+ */
977
+ getSystemSetting: (key: string, defaultValue: any, show_protected?: boolean) => Promise<any>;
921
978
  /**
922
979
  * Wraps a promise with a progress bar.
923
980
  */
@@ -965,9 +1022,7 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
965
1022
  /**
966
1023
  * Gets workspace permissions by IDs.
967
1024
  */
968
- getWorkspacePermission: (os_worpsaces: string[]) => Promise<{
969
- [os_workspace: string]: WorkspacePermission;
970
- }>;
1025
+ getWorkspacePermission: (os_worpsaces: string[]) => Promise<Record<string, WorkspacePermission>>;
971
1026
  /**
972
1027
  * Gets the user profile.
973
1028
  */
@@ -975,9 +1030,7 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
975
1030
  /**
976
1031
  * Deploys an application with optional initial secrets.
977
1032
  */
978
- deployApp: (app: WorkspaceItem | App, initialSecrets?: {
979
- [key: string]: string;
980
- }) => Promise<WorkspaceItem>;
1033
+ deployApp: (app: WorkspaceItem | App, initialSecrets?: Record<string, string>) => Promise<WorkspaceItem>;
981
1034
  /**
982
1035
  * Undeploys an application.
983
1036
  */
@@ -1032,10 +1085,8 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
1032
1085
  /**
1033
1086
  * "Cache" for workspaces, avoiding to return a modal error, if this workspace was fetched before
1034
1087
  */
1035
- workspaceStore: {
1036
- [os_workspace: string]: Workspace;
1037
- };
1038
- getWhitelabelingInfo(): Promise<{
1088
+ workspaceStore: Record<string, Workspace>;
1089
+ getWhitelabelingInfo: () => Promise<{
1039
1090
  OCTOSTAR_MAIN_LOGO: string;
1040
1091
  OCTOSTAR_FAVICON: string;
1041
1092
  OCTOSTAR_SPINNER: string;
@@ -1199,6 +1250,10 @@ export declare type DesktopActionOptions = {
1199
1250
  * Wait for the tab to open
1200
1251
  */
1201
1252
  awaitShowTab?: boolean;
1253
+ /**
1254
+ * Custom name of the tab.
1255
+ */
1256
+ tabName?: string;
1202
1257
  };
1203
1258
 
1204
1259
  /**
@@ -1379,6 +1434,10 @@ export declare type EntityBase = {
1379
1434
  * The type of the entity.
1380
1435
  */
1381
1436
  entity_type: string;
1437
+ /**
1438
+ * The workspace of the entity.
1439
+ */
1440
+ os_workspace?: string;
1382
1441
  };
1383
1442
 
1384
1443
  /**
@@ -1424,16 +1483,15 @@ export declare type EntityPasteContext = {
1424
1483
  fetch: (limit?: number) => Promise<Entity[]>;
1425
1484
  };
1426
1485
 
1486
+ export declare interface EntityUiState {
1487
+ rename?: boolean;
1488
+ [key: string]: any;
1489
+ }
1490
+
1427
1491
  export declare type EvalContext = {
1428
- variables: {
1429
- [key: string]: any;
1430
- };
1431
- filters: {
1432
- [key: string]: DesktopActionFilter;
1433
- };
1434
- transforms: {
1435
- [key: string]: Function;
1436
- };
1492
+ variables: Record<string, any>;
1493
+ filters: Record<string, DesktopActionFilter>;
1494
+ transforms: Record<string, Function>;
1437
1495
  };
1438
1496
 
1439
1497
  /**
@@ -1594,7 +1652,7 @@ export declare interface FilesAPIClient {
1594
1652
  * @param path - The path to check (empty string for workspace info)
1595
1653
  * @returns Complete entity data if found
1596
1654
  */
1597
- stat(os_workspace: string, path?: string): Promise<WorkspaceItem>;
1655
+ stat: (os_workspace: string, path?: string) => Promise<WorkspaceItem>;
1598
1656
  /**
1599
1657
  * Main entry point for listing workspace or folder contents
1600
1658
  * Supports listing by path, parent folder ID, or root level
@@ -1606,7 +1664,7 @@ export declare interface FilesAPIClient {
1606
1664
  * - If neither is provided, lists root level contents
1607
1665
  * @returns Paginated list of files and folders
1608
1666
  */
1609
- listFolder(os_workspace: string, options: ListFolderOptions): Promise<FileListResponse>;
1667
+ listFolder: (os_workspace: string, options: ListFolderOptions) => Promise<FileListResponse>;
1610
1668
  /**
1611
1669
  * Move a file or folder to a new path
1612
1670
  *
@@ -1625,7 +1683,7 @@ export declare interface FilesAPIClient {
1625
1683
  * - entity_label: Display name of the entity
1626
1684
  * - new_path: Full path to the entity after move/rename
1627
1685
  */
1628
- moveOrRename(os_workspace: string, path: string, options: MoveOptions): Promise<MoveResponse>;
1686
+ moveOrRename: (os_workspace: string, path: string, options: MoveOptions) => Promise<MoveResponse>;
1629
1687
  /**
1630
1688
  * Create a new directory
1631
1689
  *
@@ -1633,7 +1691,7 @@ export declare interface FilesAPIClient {
1633
1691
  * @param path - The path to create
1634
1692
  * @returns The created entity
1635
1693
  */
1636
- mkdir(os_workspace: string, path: string): Promise<MkdirResponse>;
1694
+ mkdir: (item: WorkspaceItem) => Promise<MkdirResponse>;
1637
1695
  /**
1638
1696
  * Delete a file or directory
1639
1697
  *
@@ -1641,14 +1699,21 @@ export declare interface FilesAPIClient {
1641
1699
  * @param path - The path to delete
1642
1700
  * @returns The deleted entity
1643
1701
  */
1644
- deleteFile(os_workspace: string, path: string): Promise<DeleteResponse>;
1702
+ deleteFile: (os_workspace: string, path: string) => Promise<DeleteResponse>;
1645
1703
  /**
1646
1704
  * Delete a file or directory recursively
1647
1705
  *
1648
1706
  * @param os_workspace - The workspace ID
1649
1707
  * @param path - The path to delete
1650
1708
  */
1651
- deleteRecursive(os_workspace: string, path: string): Promise<DeleteResponse>;
1709
+ deleteRecursive: (os_workspace: string, path: string) => Promise<DeleteResponse>;
1710
+ /**
1711
+ * Create a new file
1712
+ *
1713
+ * @param item - The file item to create
1714
+ * @returns The created entity
1715
+ */
1716
+ createFile: (item: WorkspaceItem) => Promise<MkdirResponse>;
1652
1717
  /**
1653
1718
  * Get a download URL for a file
1654
1719
  *
@@ -1657,7 +1722,7 @@ export declare interface FilesAPIClient {
1657
1722
  * @param options - Optional parameters for the download
1658
1723
  * @returns The download URL
1659
1724
  */
1660
- getDownloadUrl(os_workspace: string, path: string, options?: DownloadOptions): Promise<string>;
1725
+ getDownloadUrl: (os_workspace: string, path: string, options?: DownloadOptions) => Promise<string>;
1661
1726
  /**
1662
1727
  * Unzip a file by entity ID
1663
1728
  *
@@ -1665,10 +1730,19 @@ export declare interface FilesAPIClient {
1665
1730
  * @param entity_id - The entity ID
1666
1731
  * @returns The tracking ID and status URL
1667
1732
  */
1668
- unzipByEntity(os_workspace: string, entity_id: string): Promise<{
1733
+ unzipByEntity: (os_workspace: string, entity_id: string) => Promise<{
1669
1734
  tracking_id: string;
1670
1735
  status_url: string;
1671
1736
  }>;
1737
+ /**
1738
+ * Get an upload URL for a file
1739
+ *
1740
+ * @param os_workspace - The workspace ID
1741
+ * @param entity_id - The entity ID
1742
+ * @param options - Upload options including content_type and optional TTL in minutes
1743
+ * @returns The upload URL and fields
1744
+ */
1745
+ getUploadUrl: (os_workspace: string, entity_id: string, options: UploadOptions) => Promise<S3UploadResponse>;
1672
1746
  }
1673
1747
 
1674
1748
  /**
@@ -1706,9 +1780,7 @@ export declare type Filter = {
1706
1780
  scope: NativeFilterScope;
1707
1781
  filterType: string;
1708
1782
  targets: [Partial<NativeFilterTarget>];
1709
- controlValues: {
1710
- [key: string]: any;
1711
- };
1783
+ controlValues: Record<string, any>;
1712
1784
  sortMetric?: string | null;
1713
1785
  adhoc_filters?: Record<any, any>[];
1714
1786
  granularity_sqla?: string;
@@ -1732,9 +1804,7 @@ export declare type FilterDefinition = ProvidedFilterDefinition | JavascriptFilt
1732
1804
  * @beta
1733
1805
  * Type representing a collection of filter definitions.
1734
1806
  */
1735
- export declare type FilterDefinitions = {
1736
- [k: FilterName]: FilterDefinition;
1737
- };
1807
+ export declare type FilterDefinitions = Record<FilterName, FilterDefinition>;
1738
1808
 
1739
1809
  /**
1740
1810
  * @beta
@@ -1862,13 +1932,9 @@ export declare type HttpTransformDefinition = {
1862
1932
  /** The URL for the HTTP request, can be relative to the url of the deployed app */
1863
1933
  url: string;
1864
1934
  /** Optional headers for the HTTP request. */
1865
- headers?: {
1866
- [k: string]: string;
1867
- };
1935
+ headers?: Record<string, string>;
1868
1936
  /** Optional data for the HTTP request. */
1869
- data?: string | {
1870
- [k: string]: any;
1871
- };
1937
+ data?: string | Record<string, any>;
1872
1938
  };
1873
1939
 
1874
1940
  /**
@@ -2008,6 +2074,196 @@ export declare type ImportZipOptions = {
2008
2074
  include_dashboards?: boolean | 'if_missing';
2009
2075
  };
2010
2076
 
2077
+ export declare interface IndexSearchHitSource {
2078
+ annotations?: {
2079
+ data?: string;
2080
+ crossFilters?: string;
2081
+ 'extract:metadata'?: string;
2082
+ 'extract:src'?: string;
2083
+ 'extract:txt'?: string;
2084
+ 'extract:txtLang'?: string;
2085
+ 'image:annotations'?: {
2086
+ bbox?: string;
2087
+ confidence?: number;
2088
+ embedding?: Record<VectorKey, {
2089
+ value?: number[];
2090
+ }>;
2091
+ label?: string;
2092
+ }[];
2093
+ 'image:annotations-key'?: {
2094
+ label?: string;
2095
+ }[];
2096
+ 'image:annotations-sensitive'?: {
2097
+ label?: string;
2098
+ }[];
2099
+ 'image:annotations-setting'?: {
2100
+ label?: string;
2101
+ }[];
2102
+ 'ner:entities'?: {
2103
+ person?: string[];
2104
+ org?: string[];
2105
+ loc?: string[];
2106
+ norp?: string[];
2107
+ gpe?: string[];
2108
+ product?: string[];
2109
+ phone?: string[];
2110
+ email?: string[];
2111
+ ip_address?: string[];
2112
+ url?: string[];
2113
+ };
2114
+ 'rag:chunks'?: {
2115
+ metadata?: {
2116
+ type?: string;
2117
+ chunk_id?: number;
2118
+ os_workspace?: string;
2119
+ os_relationship_workspace?: string;
2120
+ text?: string;
2121
+ };
2122
+ embedding?: Record<VectorKey, {
2123
+ value?: number[];
2124
+ }>;
2125
+ }[];
2126
+ };
2127
+ document_fields: Entity & {
2128
+ address?: string;
2129
+ age?: number;
2130
+ alias?: string;
2131
+ align_model?: string;
2132
+ area_code?: string;
2133
+ arousal?: string;
2134
+ author?: string;
2135
+ blood_type?: string;
2136
+ breed?: string;
2137
+ build?: string;
2138
+ callee_name?: string;
2139
+ callee_number?: string;
2140
+ caller_name?: string;
2141
+ caller_number?: string;
2142
+ category?: string;
2143
+ citizenship?: string;
2144
+ city?: string;
2145
+ city_of_birth?: string;
2146
+ color?: string;
2147
+ complexion?: string;
2148
+ contents?: string;
2149
+ context?: string;
2150
+ country?: string;
2151
+ country_code?: string;
2152
+ country_of_birth?: string;
2153
+ creation_date?: string;
2154
+ date_of_birth?: string;
2155
+ date_of_death?: string;
2156
+ dayofweek?: string;
2157
+ dayofweeknumber?: number;
2158
+ description?: string;
2159
+ detection_model?: string;
2160
+ distinguishing_marks?: string;
2161
+ dominance?: string;
2162
+ duration?: number;
2163
+ email_address?: string;
2164
+ email_from?: string;
2165
+ email_to?: string;
2166
+ embedding?: string;
2167
+ embedding_model?: string;
2168
+ face_area?: string;
2169
+ first_name?: string;
2170
+ fuel_type?: string;
2171
+ gender?: string;
2172
+ group?: string;
2173
+ handedness?: string;
2174
+ height?: number;
2175
+ identifier?: string;
2176
+ language?: string;
2177
+ last_digits?: string;
2178
+ last_name?: string;
2179
+ latitude?: number;
2180
+ legal_address?: string;
2181
+ legal_city?: string;
2182
+ legal_country?: string;
2183
+ longitude?: number;
2184
+ main_language?: string;
2185
+ make?: string;
2186
+ maximum_weight?: number;
2187
+ means?: string;
2188
+ metadata?: string;
2189
+ middle_name?: string;
2190
+ model?: string;
2191
+ model_year?: number;
2192
+ msidsn?: string;
2193
+ name?: string;
2194
+ number_of_criminals?: number;
2195
+ offender_name?: string;
2196
+ order?: number;
2197
+ os_concept?: string;
2198
+ os_content_size?: number;
2199
+ os_created_at?: string;
2200
+ os_created_by?: string;
2201
+ os_entity_type_from?: string;
2202
+ os_entity_type_to?: string;
2203
+ os_entity_uid?: string;
2204
+ os_entity_uid_from?: string;
2205
+ os_entity_uid_to?: string;
2206
+ os_flags?: number;
2207
+ os_has_attachment?: boolean;
2208
+ os_hidden_by?: string;
2209
+ os_icon?: string;
2210
+ os_item_content?: string;
2211
+ os_item_content_type?: string;
2212
+ os_item_name?: string;
2213
+ os_item_type?: string;
2214
+ os_last_updated_at?: string;
2215
+ os_last_updated_by?: string;
2216
+ os_parent_folder?: string;
2217
+ os_parent_uid?: string;
2218
+ os_permission?: number;
2219
+ os_relationship_name?: string;
2220
+ os_role?: string;
2221
+ os_textsearchfield?: string;
2222
+ os_username?: string;
2223
+ owner_name?: string;
2224
+ path?: string;
2225
+ phone_number?: string;
2226
+ plate_number?: string;
2227
+ producer_name?: string;
2228
+ registration_from_date?: string;
2229
+ registration_to_date?: string;
2230
+ residence_address?: string;
2231
+ residence_city?: string;
2232
+ residence_country?: string;
2233
+ responsible_name?: string;
2234
+ slug?: string;
2235
+ source_entity_identifier?: string;
2236
+ source_entity_type?: string;
2237
+ source_entity_uid?: string;
2238
+ source_name?: string;
2239
+ speaking_accent?: string;
2240
+ start_time?: string;
2241
+ subtype?: string;
2242
+ summary?: string;
2243
+ timeofday?: number;
2244
+ title?: string;
2245
+ type?: string;
2246
+ unladen_weight?: number;
2247
+ username?: string;
2248
+ valence?: string;
2249
+ victim_name?: string;
2250
+ weight?: number;
2251
+ worker_name?: string;
2252
+ };
2253
+ relationships?: {
2254
+ relationship?: {
2255
+ os_relationship_name?: string;
2256
+ os_entity_uid_from?: string;
2257
+ os_entity_uid_to?: string;
2258
+ };
2259
+ target?: {
2260
+ os_entity_uid?: string;
2261
+ entity_type?: string;
2262
+ entity_label?: string;
2263
+ };
2264
+ }[];
2265
+ }
2266
+
2011
2267
  /**
2012
2268
  * Represents an inheritance relationship between concepts.
2013
2269
  * @beta
@@ -2036,6 +2292,10 @@ export declare type InlineCode = {
2036
2292
  code: string;
2037
2293
  };
2038
2294
 
2295
+ export declare function isWorkspaceFileItem(item: WorkspaceItem): item is WorkspaceItem & {
2296
+ os_has_attachment: true;
2297
+ };
2298
+
2039
2299
  /**
2040
2300
  * @beta
2041
2301
  * Type representing a JavaScript file styler definition.
@@ -2128,9 +2388,7 @@ export declare type JobManifest = {
2128
2388
  * @beta
2129
2389
  * Type representing known counts of relationships.
2130
2390
  */
2131
- export declare type KnownCounts = {
2132
- [relationship_name: string]: number;
2133
- };
2391
+ export declare type KnownCounts = Record<string, number>;
2134
2392
 
2135
2393
  export declare type ListByParentFolder = {
2136
2394
  path?: never;
@@ -2149,39 +2407,35 @@ export declare type ListFolderOptions = (PathOption & CommonOptions) | (ParentFo
2149
2407
  * Represents a context management interface for handling state across components
2150
2408
  */
2151
2409
  export declare interface LiveContext<ContextData extends DefaultLiveContextData = DefaultLiveContextData> {
2410
+ /**
2411
+ * Unique identifier for the context instance
2412
+ */
2413
+ readonly id: string;
2152
2414
  /**
2153
2415
  * @beta
2154
2416
  * Retrieves the current context data
2155
2417
  * @returns The current context data
2156
2418
  */
2157
- getContext(): ContextData;
2419
+ getContext: () => ContextData;
2158
2420
  /**
2159
2421
  * @beta
2160
2422
  * Updates the context with new data
2161
2423
  * @param context - New context data or function to update context
2162
2424
  */
2163
- setContext(context: LiveContextAPISetParams<ContextData>): Promise<void>;
2425
+ setContext: (context: LiveContextAPISetParams<ContextData>) => void;
2164
2426
  /**
2165
2427
  * @beta
2166
2428
  * Subscribes to context changes with an automatically generated ID
2167
2429
  * @param contextListener - Callback function triggered on context changes
2168
2430
  * @returns Generated subscription ID
2169
2431
  */
2170
- subscribeToChanges(contextListener: LiveContextListener<ContextData>): string;
2171
- /**
2172
- * @beta
2173
- * Subscribes to context changes with a custom ID
2174
- * @param id - Custom subscription ID
2175
- * @param contextListener - Callback function triggered on context changes
2176
- * @returns The subscription ID
2177
- */
2178
- subscribeToChanges(id: string, contextListener: LiveContextListener<ContextData>): string;
2432
+ subscribeToChanges: ((contextListener: LiveContextListener<ContextData>) => string) & ((id: string, contextListener: LiveContextListener<ContextData>) => string);
2179
2433
  /**
2180
2434
  * @beta
2181
2435
  * Unsubscribes from context changes
2182
2436
  * @param id - Subscription ID to remove
2183
2437
  */
2184
- unsubscribeFromChanges(id: string): void;
2438
+ unsubscribeFromChanges: (id: string) => void;
2185
2439
  /**
2186
2440
  * @beta
2187
2441
  * Adds a context listener to another Context instance
@@ -2189,39 +2443,37 @@ export declare interface LiveContext<ContextData extends DefaultLiveContextData
2189
2443
  * @param mapContext - Optional function to transform context data
2190
2444
  * @returns Function to remove the context listener
2191
2445
  */
2192
- addContextListener<ContextDataToConnect extends DefaultLiveContextData>(contextAPI: LiveContext<ContextDataToConnect>, mapContext?: (context: ContextDataToConnect) => ContextData): () => void;
2446
+ addContextListener: <ContextDataToConnect extends DefaultLiveContextData>(contextAPI: LiveContext<ContextDataToConnect>, mapContext?: (context: ContextDataToConnect) => ContextData) => () => void;
2193
2447
  /**
2194
2448
  * @beta
2195
2449
  * Removes a context listener
2196
2450
  * @param idOrContextAPI - ID or Context instance to disconnect from
2197
2451
  */
2198
- removeContextListener<ContextDataToConnect extends DefaultLiveContextData>(idOrContextAPI: LiveContext<ContextDataToConnect> | string): void;
2452
+ removeContextListener: <ContextDataToConnect extends DefaultLiveContextData>(idOrContextAPI: LiveContext<ContextDataToConnect> | string) => void;
2199
2453
  /**
2200
2454
  * @beta
2201
2455
  * Connects to target window for context synchronization
2202
2456
  * @returns The channel ID used for communication
2203
2457
  */
2204
- connect(): string;
2458
+ connect: () => string;
2205
2459
  /**
2206
2460
  * @beta
2207
2461
  * Destroys the context and cleans up all listeners
2208
2462
  */
2209
- destroy(): void;
2463
+ destroy: () => void;
2210
2464
  }
2211
2465
 
2212
2466
  export declare type LiveContextAPISetParams<ContextData extends Record<string, any> = Record<string, any>> = ContextData | ((currentContext: ContextData) => ContextData);
2213
2467
 
2214
2468
  export declare type LiveContextListener<ContextData extends Record<string, any> = Record<string, any>> = (context: ContextData) => void;
2215
2469
 
2216
- export declare type ManifestSecrets = {
2217
- [key: string]: {
2218
- description: string;
2219
- default?: string;
2220
- required?: boolean;
2221
- };
2222
- };
2470
+ export declare type ManifestSecrets = Record<string, {
2471
+ description: string;
2472
+ default?: string;
2473
+ required?: boolean;
2474
+ }>;
2223
2475
 
2224
- export declare type MkdirResponse = Entity;
2476
+ export declare type MkdirResponse = WorkspaceItem;
2225
2477
 
2226
2478
  /**
2227
2479
  * @beta
@@ -2246,9 +2498,11 @@ export declare type ModalTemplateProps = CustomTemplateIframeProps & {
2246
2498
  };
2247
2499
 
2248
2500
  export declare interface MoveOptions {
2249
- to_path: string;
2501
+ to_path?: string;
2502
+ entity_id?: string;
2503
+ new_name?: string;
2504
+ new_os_parent_folder?: string;
2250
2505
  force?: boolean;
2251
- redirect?: boolean;
2252
2506
  }
2253
2507
 
2254
2508
  export declare interface MoveResponse extends Entity {
@@ -2339,7 +2593,7 @@ export declare interface Ontology {
2339
2593
  * @param rel - The relationship or relationship name.
2340
2594
  * @returns A promise that resolves to an array of workspace relationships.
2341
2595
  */
2342
- getWorkspaceRelationshipRecords(entity: Entity, rel: string | Relationship): Promise<WorkspaceRelationship[]>;
2596
+ getWorkspaceRelationshipRecords: (entity: Entity, rel: string | Relationship) => Promise<WorkspaceRelationship[]>;
2343
2597
  /**
2344
2598
  * Clears the relationship cache for a given entity and relationship.
2345
2599
  * @param entity - The entity for which to clear the cache.
@@ -2380,11 +2634,34 @@ export declare interface Ontology {
2380
2634
  */
2381
2635
  getConcepts: () => Promise<Map<string, Concept>>;
2382
2636
  /**
2383
- * Gets an entity.
2384
- * @param e - The entity to get.
2637
+ * Gets an entity by ID.
2638
+ *
2639
+ * ⚠️ **NOTE**: This method has unusual behavior for missing entities.
2640
+ * The method gets a database version of the entity, if one exists, otherwise returns the original entity.
2641
+ * It is used in many parts of the system where the entity encountered may or may not be saved in the database.
2642
+ *
2643
+ * In the case where it's important to distinguish whether the input record was found in the database,
2644
+ * include an identifiying attribute eg, '#original': true as such a field will not be present in the saved version.
2645
+ *
2646
+ * **Example Usage:**
2647
+ * ```typescript
2648
+ * const entityWithOriginal: Entity & { '#original': boolean } = {
2649
+ * entity_id: someId,
2650
+ * entity_type: someType,
2651
+ * entity_label: someLabel,
2652
+ * '#original': true,
2653
+ * };
2654
+ * const result = await ontologyAPI.getEntity<Entity & { '#original': boolean }>(entityWithOriginal);
2655
+ * if (result['#original']) {
2656
+ * // Entity doesn't exist - the method returned our input object unchanged
2657
+ * }
2658
+ * // Entity exists - the method returned actual entity data (without #original flag)
2659
+ * ```
2660
+ *
2661
+ * @param e - The entity to get (may include special flags like `#original`).
2385
2662
  * @param refresh - Whether to refresh the data.
2386
2663
  * @param skipSideEffects - Whether to skip side effects.
2387
- * @returns A promise that resolves to the entity.
2664
+ * @returns A promise that resolves to either the actual entity data OR the input entity if not found.
2388
2665
  */
2389
2666
  getEntity: <T extends Entity>(e: Entity, refresh?: boolean, skipSideEffects?: boolean) => Promise<T>;
2390
2667
  /**
@@ -2437,7 +2714,19 @@ export declare interface Ontology {
2437
2714
  * Gets the system inheritance.
2438
2715
  * @returns A promise that resolves to an array of inheritances.
2439
2716
  */
2440
- getSysInheritance(): Promise<Inheritance[]>;
2717
+ getSysInheritance: () => Promise<Inheritance[]>;
2718
+ /**
2719
+ * Gets the local entity edges.
2720
+ * @param entities - The entities for which to get the edges.
2721
+ * @returns A promise that resolves to an array of entity edges.
2722
+ */
2723
+ getLocalEntityEdges: (entities: Entity[]) => Promise<EntityEdge[]>;
2724
+ /**
2725
+ * Discovers edges on adding nodes.
2726
+ * @param entities - The entities for which to discover edges.
2727
+ * @returns A promise that resolves to an array of entity edges.
2728
+ */
2729
+ discoverEdgesOnAddingNodes: (newEntities: Entity[], oldEntities: Entity[]) => Promise<EntityEdge[]>;
2441
2730
  /**
2442
2731
  * Subscribes to changes for a given entity.
2443
2732
  * @param entity - The entity to subscribe to.
@@ -2629,13 +2918,23 @@ export declare type OsNotification = string | {
2629
2918
  /**
2630
2919
  * Additional details for the notification.
2631
2920
  */
2632
- detail?: {
2633
- [key: string]: any;
2634
- };
2921
+ detail?: Record<string, any>;
2635
2922
  /**
2636
2923
  * Placement of the notification.
2637
2924
  */
2638
2925
  placement?: 'top' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
2926
+ /**
2927
+ * URL to open when action button is clicked.
2928
+ */
2929
+ actionUrl?: string;
2930
+ /**
2931
+ * Label for the action button. Defaults to "Open" if actionUrl is provided.
2932
+ */
2933
+ actionLabel?: string;
2934
+ /**
2935
+ * Whether the notification should persist until manually closed.
2936
+ */
2937
+ persistent?: boolean;
2639
2938
  };
2640
2939
 
2641
2940
  /**
@@ -2659,6 +2958,14 @@ export declare type OsProgress = {
2659
2958
  * Status of the progress item.
2660
2959
  */
2661
2960
  status?: 'active' | 'success' | 'exception' | 'normal' | undefined;
2961
+ /**
2962
+ * Percentage of the progress item.
2963
+ */
2964
+ percent?: number;
2965
+ /**
2966
+ * Persist until complete for the progress item.
2967
+ */
2968
+ persistUntilComplete?: boolean;
2662
2969
  };
2663
2970
 
2664
2971
  /**
@@ -2761,18 +3068,7 @@ export declare type Point = {
2761
3068
  * Represents the status of a processing operation.
2762
3069
  * @beta
2763
3070
  */
2764
- export declare interface ProcessingStatus {
2765
- /**
2766
- * The id of the entity being processed.
2767
- */
2768
- entity_id: string;
2769
- /**
2770
- * The type of the entity being processed.
2771
- */
2772
- entity_type: string;
2773
- /**
2774
- * The status code of the processing operation.
2775
- */
3071
+ export declare interface ProcessingStatus extends EntityBase {
2776
3072
  status_code: ProcessingStatusCode;
2777
3073
  /**
2778
3074
  * The reason for the processing operation.
@@ -2823,11 +3119,18 @@ export declare enum ProcessingStatusCode {
2823
3119
  * The options for the prompt.
2824
3120
  */
2825
3121
  export declare type PromptOptions = {
3122
+ noThink?: boolean;
2826
3123
  model?: string;
2827
3124
  apiKey?: string;
2828
3125
  stream?: boolean;
2829
3126
  enableRag?: boolean;
2830
3127
  cohereKey?: string;
3128
+ /** Importing Entity from model.ts breaks the build. */
3129
+ context?: {
3130
+ entity_id: string;
3131
+ entity_label: string;
3132
+ entity_type: string;
3133
+ }[];
2831
3134
  };
2832
3135
 
2833
3136
  /**
@@ -3010,7 +3313,7 @@ export declare interface RecordProvider {
3010
3313
  * Retrieves a message related to the records.
3011
3314
  * @returns A promise that resolves to the message, or undefined if no message is available.
3012
3315
  */
3013
- getMessage(): Promise<string | undefined>;
3316
+ getMessage: () => Promise<string | undefined>;
3014
3317
  }
3015
3318
 
3016
3319
  /**
@@ -3133,6 +3436,20 @@ declare type RootOption = {
3133
3436
  os_parent_folder?: never;
3134
3437
  };
3135
3438
 
3439
+ export declare interface S3Headers {
3440
+ key: string;
3441
+ policy: string;
3442
+ 'x-amz-algorithm': string;
3443
+ 'x-amz-credential': string;
3444
+ 'x-amz-date': string;
3445
+ 'x-amz-signature': string;
3446
+ }
3447
+
3448
+ export declare interface S3UploadResponse {
3449
+ fields: S3Headers;
3450
+ url: string;
3451
+ }
3452
+
3136
3453
  /**
3137
3454
  * Properties for saving as modal.
3138
3455
  * @beta
@@ -3146,6 +3463,10 @@ export declare type SaveAsModalProps = {
3146
3463
  * Application related to the item.
3147
3464
  */
3148
3465
  app?: WorkspaceItem;
3466
+ /**
3467
+ * Default path for the item.
3468
+ */
3469
+ defaultPath?: string;
3149
3470
  };
3150
3471
 
3151
3472
  export declare const SAVED_SEARCH_MESSAGE_TYPES: Readonly<{
@@ -3168,11 +3489,11 @@ export declare interface SavedDatasource {
3168
3489
  }
3169
3490
 
3170
3491
  export declare interface SavedSearchAPIInterface {
3171
- getRecordsCount(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>): Promise<BigNumber | number | null>;
3172
- getRecordsCountQuery(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>): Promise<number | null>;
3173
- getRecords(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>, options?: Partial<RecordFetchOptions>): Promise<RecordData | null>;
3174
- getRecordsQuery(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>, options?: RecordFetchOptions): Promise<QueryResult_2 | null>;
3175
- getSavedSearchPasteContext(savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>): Promise<EntityPasteContext>;
3492
+ getRecordsCount: (savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>) => Promise<BigNumber | number | null>;
3493
+ getRecordsCountQuery: (savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>) => Promise<number | null>;
3494
+ getRecords: (savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>, options?: Partial<RecordFetchOptions>) => Promise<RecordData | null>;
3495
+ getRecordsQuery: (savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>, options?: RecordFetchOptions) => Promise<QueryResult_2 | null>;
3496
+ getSavedSearchPasteContext: (savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>) => Promise<EntityPasteContext>;
3176
3497
  }
3177
3498
 
3178
3499
  export declare interface SavedSearchContent {
@@ -3180,9 +3501,7 @@ export declare interface SavedSearchContent {
3180
3501
  dataset: true;
3181
3502
  filters: Filter[];
3182
3503
  crossFilters: DataMask[];
3183
- datasourcesInScope: {
3184
- [uid: string]: SavedDatasource;
3185
- };
3504
+ datasourcesInScope: Record<string, SavedDatasource>;
3186
3505
  initialCount?: number;
3187
3506
  }
3188
3507
 
@@ -3254,6 +3573,7 @@ export declare interface SearchOptions {
3254
3573
  * The maximum number of entities returned.
3255
3574
  */
3256
3575
  limit?: number;
3576
+ workspace_ids?: string[];
3257
3577
  }
3258
3578
 
3259
3579
  /**
@@ -3285,6 +3605,14 @@ export declare interface SearchProps {
3285
3605
  * disable save search
3286
3606
  */
3287
3607
  disableSaveSearch?: boolean;
3608
+ /**
3609
+ * Title of the information message shown in the search results, presented as an alert.
3610
+ */
3611
+ searchInfoTitle?: string;
3612
+ /**
3613
+ * Description of the information message shown in the search results, presented as an alert.
3614
+ */
3615
+ searchInfoDescription?: React.ReactNode;
3288
3616
  }
3289
3617
 
3290
3618
  /**
@@ -3393,10 +3721,10 @@ export declare type SendQueryOptions = {
3393
3721
  context?: string;
3394
3722
  /** Whether to send the query with low priority. */
3395
3723
  lowPriority?: boolean;
3724
+ /** Whether to suppress the global SQL Exception toast. */
3725
+ suppressSQLExceptionToast?: boolean;
3396
3726
  /** Query params. */
3397
- params?: {
3398
- [key: string]: string | number | boolean | string[] | number[] | boolean[] | null;
3399
- };
3727
+ params?: Record<string, string | number | boolean | string[] | number[] | boolean[] | null>;
3400
3728
  };
3401
3729
 
3402
3730
  /**
@@ -3421,9 +3749,7 @@ export declare type ServiceDefinition = {
3421
3749
  /** Optional order for the service. */
3422
3750
  order?: number;
3423
3751
  /** Optional parameters for the service. */
3424
- params?: {
3425
- [k: string]: any;
3426
- };
3752
+ params?: Record<string, any>;
3427
3753
  /** Optional roles for the service. */
3428
3754
  role?: ServiceRole[] | ServiceRole;
3429
3755
  /** Filters accepted by the service. */
@@ -3441,9 +3767,7 @@ export declare type ServiceDefinition = {
3441
3767
  * @beta
3442
3768
  * Type representing a collection of service definitions.
3443
3769
  */
3444
- export declare type ServiceDefinitions = {
3445
- [serviceName: string]: ServiceDefinition;
3446
- };
3770
+ export declare type ServiceDefinitions = Record<string, ServiceDefinition>;
3447
3771
 
3448
3772
  /**
3449
3773
  * @beta
@@ -3617,9 +3941,7 @@ export declare type StylerDefinition = JavascriptFileStylerDefinition | Javascri
3617
3941
  * @beta
3618
3942
  * Type representing a collection of styler definitions.
3619
3943
  */
3620
- export declare type StylerDefinitions = {
3621
- [stylerName: string]: StylerDefinition;
3622
- };
3944
+ export declare type StylerDefinitions = Record<string, StylerDefinition>;
3623
3945
 
3624
3946
  /**
3625
3947
  * @beta
@@ -3797,9 +4119,7 @@ export declare type TransformDefinition = ProvidedTransformDefinition | HttpTran
3797
4119
  * @beta
3798
4120
  * Type representing a collection of transform definitions.
3799
4121
  */
3800
- export declare type TransformDefinitions = {
3801
- [transformName: string]: TransformDefinition;
3802
- };
4122
+ export declare type TransformDefinitions = Record<string, TransformDefinition>;
3803
4123
 
3804
4124
  /**
3805
4125
  * @beta
@@ -3807,6 +4127,13 @@ export declare type TransformDefinitions = {
3807
4127
  */
3808
4128
  export declare type trigger = 'hover' | 'contextMenu' | 'click';
3809
4129
 
4130
+ export declare interface UiStateManager {
4131
+ setUiState(entity: Entity, ui_state: Partial<EntityUiState>, patch?: boolean): void;
4132
+ getUiState(entity: Entity): EntityUiState | undefined;
4133
+ clearUiState(entity: Entity): void;
4134
+ subscribeToUiStateChanges(entity: Entity, callback: (state: EntityUiState | undefined) => void): () => void;
4135
+ }
4136
+
3810
4137
  /**
3811
4138
  * @beta
3812
4139
  * Represents a filter clause with unary operations in a query object.
@@ -3814,7 +4141,7 @@ export declare type trigger = 'hover' | 'contextMenu' | 'click';
3814
4141
  */
3815
4142
  export declare interface UnaryObjectFilterClause {
3816
4143
  col: string;
3817
- op: 'IS NULL' | 'IS NOT NULL';
4144
+ op: 'IS NULL' | 'IS NOT NULL' | 'IN' | 'NOT IN';
3818
4145
  }
3819
4146
 
3820
4147
  /**
@@ -3830,6 +4157,11 @@ export declare type UnsubscribeFromContextFn = UnsubscribeFn;
3830
4157
 
3831
4158
  export declare type UnsubscribeFromDragStartFn = UnsubscribeFn;
3832
4159
 
4160
+ export declare interface UploadOptions {
4161
+ content_type: string;
4162
+ ttl_minutes?: number;
4163
+ }
4164
+
3833
4165
  /**
3834
4166
  * @beta
3835
4167
  * Type representing a user profile.
@@ -3851,6 +4183,16 @@ export declare type UserProfile = {
3851
4183
  */
3852
4184
  export declare type uuid = string;
3853
4185
 
4186
+ declare type VectorKey = `vector_${string}_${number}_${string}`;
4187
+
4188
+ /**
4189
+ * Represents a virtual entity not in the database.
4190
+ * @beta
4191
+ */
4192
+ export declare type VirtualEntity = Entity & {
4193
+ '#virtual': true;
4194
+ };
4195
+
3854
4196
  /**
3855
4197
  * Represents a watcher.
3856
4198
  * @beta
@@ -3950,6 +4292,14 @@ export declare type WithProgressBarOptions = {
3950
4292
  * Error message for the progress bar.
3951
4293
  */
3952
4294
  errorToast?: string | boolean;
4295
+ /**
4296
+ * Key for the progress bar.
4297
+ */
4298
+ key?: string;
4299
+ /**
4300
+ * Persist until complete for the progress bar.
4301
+ */
4302
+ persistUntilComplete?: boolean;
3953
4303
  };
3954
4304
 
3955
4305
  /**
@@ -4003,7 +4353,7 @@ export declare type WorkspaceConfig = Partial<{
4003
4353
  description: string;
4004
4354
  os_icon: string;
4005
4355
  color: string;
4006
- id?: string;
4356
+ entity_id?: string;
4007
4357
  }>;
4008
4358
 
4009
4359
  /**
@@ -4101,6 +4451,30 @@ export declare interface WorkspaceItemConfig {
4101
4451
  last_updated: number;
4102
4452
  }
4103
4453
 
4454
+ export declare type WorkspaceItemDocumentFields = Entity & Partial<{
4455
+ os_item_content_type: string;
4456
+ os_parent_folder: string;
4457
+ os_deleted_by: string | null;
4458
+ os_icon: string | null;
4459
+ description: string | null;
4460
+ os_item_content: string | null;
4461
+ os_last_updated_at: string;
4462
+ os_hidden_at: string | null;
4463
+ os_created_by: string;
4464
+ os_custom_icon: string | null;
4465
+ os_concept: string;
4466
+ os_has_attachment: boolean;
4467
+ os_last_updated_by: string;
4468
+ os_deleted_at: string | null;
4469
+ os_textsearchfield: string | null;
4470
+ os_item_type: string;
4471
+ os_hidden_by: string;
4472
+ os_entity_uid: string;
4473
+ os_content_size: number | null;
4474
+ os_created_at: string;
4475
+ os_item_name: string;
4476
+ }>;
4477
+
4104
4478
  /**
4105
4479
  * @beta
4106
4480
  * Type representing a workspace item identifier, which is the same as a workspace identifier.
@@ -4209,6 +4583,10 @@ export declare type WorkspaceItemTitleProps = DesktopActionContext & {
4209
4583
  * If the component it is being used inside a Markdown component
4210
4584
  */
4211
4585
  markdown?: boolean;
4586
+ /**
4587
+ * Title for the item.
4588
+ */
4589
+ title?: ReactNode;
4212
4590
  };
4213
4591
 
4214
4592
  /**
@@ -4279,9 +4657,7 @@ export declare type WorkspaceRecordInfo = {
4279
4657
  * @beta
4280
4658
  * Type representing a collection of workspace records.
4281
4659
  */
4282
- export declare type WorkspaceRecords = {
4283
- [key: string]: WorkspaceRecordInfo;
4284
- };
4660
+ export declare type WorkspaceRecords = Record<string, WorkspaceRecordInfo>;
4285
4661
 
4286
4662
  /**
4287
4663
  * @beta
@@ -4332,6 +4708,8 @@ export declare type WorkspaceSettings = {
4332
4708
  isMaster?: boolean;
4333
4709
  /** The icon for the workspace. */
4334
4710
  os_icon?: string;
4711
+ /** The color for the workspace. */
4712
+ color?: string;
4335
4713
  };
4336
4714
 
4337
4715
  export { }