@octostar/platform-types 0.5.28 → 0.5.30

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 (335) hide show
  1. package/dist/ai.d.ts +38 -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 +190 -45
  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 +126 -105
  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 +37 -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 +66 -50
  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/UnzipOptions.html +2 -0
  69. package/dist/docs/interfaces/UploadOptions.html +3 -0
  70. package/dist/docs/interfaces/WorkspaceChangeEmitter.html +5 -5
  71. package/dist/docs/interfaces/WorkspaceItemConfig.html +6 -6
  72. package/dist/docs/interfaces/WorkspaceRecordIdentifier.html +5 -5
  73. package/dist/docs/modules.html +15 -2
  74. package/dist/docs/types/ActionHandler.html +2 -2
  75. package/dist/docs/types/AddCommentParams.html +2 -2
  76. package/dist/docs/types/AddListener.html +2 -2
  77. package/dist/docs/types/ApiErrorResult.html +2 -2
  78. package/dist/docs/types/ApiResult.html +2 -2
  79. package/dist/docs/types/ApiSuccessResult.html +2 -2
  80. package/dist/docs/types/App.html +2 -2
  81. package/dist/docs/types/AppRegistry.html +3 -15
  82. package/dist/docs/types/AppServiceCallOptions.html +2 -2
  83. package/dist/docs/types/AppServiceCallProps.html +4 -4
  84. package/dist/docs/types/AsyncFilter.html +2 -2
  85. package/dist/docs/types/AttachmentResponseType.html +2 -2
  86. package/dist/docs/types/AttachmentType.html +2 -2
  87. package/dist/docs/types/Behaviour.html +2 -2
  88. package/dist/docs/types/BinaryOperator.html +2 -2
  89. package/dist/docs/types/Callback.html +2 -2
  90. package/dist/docs/types/ChatApiResponse.html +1 -0
  91. package/dist/docs/types/ChatModel.html +2 -2
  92. package/dist/docs/types/CommentWorkspaceItem.html +2 -2
  93. package/dist/docs/types/CommonOptions.html +1 -1
  94. package/dist/docs/types/Comparator.html +2 -2
  95. package/dist/docs/types/ConceptFilter.html +6 -3
  96. package/dist/docs/types/ConceptMap.html +2 -2
  97. package/dist/docs/types/ConceptName.html +1 -1
  98. package/dist/docs/types/ConceptWithParents.html +2 -2
  99. package/dist/docs/types/ConnectedEntity.html +2 -2
  100. package/dist/docs/types/ContextMenuGroup.html +2 -2
  101. package/dist/docs/types/ContextMenuLabels.html +2 -2
  102. package/dist/docs/types/ContextMenuOptions.html +2 -2
  103. package/dist/docs/types/ContextMenuParams.html +2 -2
  104. package/dist/docs/types/ContextMenuRequest.html +2 -2
  105. package/dist/docs/types/CopyOptions.html +2 -2
  106. package/dist/docs/types/CreateEntityFormProps.html +2 -2
  107. package/dist/docs/types/CreateLinkChartFn.html +1 -1
  108. package/dist/docs/types/CreateLinkChartParams.html +1 -1
  109. package/dist/docs/types/CreateRelationsDialogProps.html +2 -2
  110. package/dist/docs/types/CustomEventListener.html +2 -2
  111. package/dist/docs/types/CustomTemplate.html +2 -2
  112. package/dist/docs/types/CustomTemplateIframeProps.html +2 -2
  113. package/dist/docs/types/DataContextType.html +2 -2
  114. package/dist/docs/types/DataMask.html +1 -1
  115. package/dist/docs/types/DefaultLiveContextData.html +1 -1
  116. package/dist/docs/types/DesktopAction.html +2 -2
  117. package/dist/docs/types/DesktopActionFilter.html +2 -2
  118. package/dist/docs/types/DesktopActionMenuItem.html +2 -2
  119. package/dist/docs/types/DesktopActionMenuItemGroup.html +2 -2
  120. package/dist/docs/types/DesktopActionOptions.html +3 -2
  121. package/dist/docs/types/DesktopOpenParams.html +2 -2
  122. package/dist/docs/types/DesktopStylerContext.html +2 -2
  123. package/dist/docs/types/DraftWorkspaceItem.html +2 -2
  124. package/dist/docs/types/DragEndParams.html +2 -2
  125. package/dist/docs/types/DragStartParams.html +2 -2
  126. package/dist/docs/types/DropZoneRequestFn.html +1 -1
  127. package/dist/docs/types/DropZoneRequestResult.html +1 -1
  128. package/dist/docs/types/EConnection.html +2 -2
  129. package/dist/docs/types/EdgeSpec.html +2 -2
  130. package/dist/docs/types/EmitEventTransformDefinition.html +2 -2
  131. package/dist/docs/types/Entity.html +2 -2
  132. package/dist/docs/types/EntityBase.html +3 -2
  133. package/dist/docs/types/EntityEdge.html +2 -2
  134. package/dist/docs/types/EntityOTM.html +2 -2
  135. package/dist/docs/types/EntityPasteContext.html +2 -2
  136. package/dist/docs/types/EvalContext.html +1 -1
  137. package/dist/docs/types/EventContextType.html +2 -2
  138. package/dist/docs/types/EventEmitterType.html +2 -2
  139. package/dist/docs/types/EventName.html +2 -2
  140. package/dist/docs/types/EventProducer.html +2 -2
  141. package/dist/docs/types/EventPublisher.html +2 -2
  142. package/dist/docs/types/EventSubscriber.html +2 -2
  143. package/dist/docs/types/EventUnsubscriber.html +2 -2
  144. package/dist/docs/types/ExportOptions.html +2 -2
  145. package/dist/docs/types/ExtractEntitiesOptions.html +2 -2
  146. package/dist/docs/types/ExtrasApi.html +1 -1
  147. package/dist/docs/types/FetchEntityOptions.html +2 -2
  148. package/dist/docs/types/FileCode.html +2 -2
  149. package/dist/docs/types/FileTreeOptions.html +2 -2
  150. package/dist/docs/types/Filter.html +1 -1
  151. package/dist/docs/types/FilterDefinition.html +2 -2
  152. package/dist/docs/types/FilterDefinitions.html +2 -2
  153. package/dist/docs/types/FilterName.html +2 -2
  154. package/dist/docs/types/FilterQuery.html +2 -2
  155. package/dist/docs/types/FilterReference.html +2 -2
  156. package/dist/docs/types/FilterState.html +1 -1
  157. package/dist/docs/types/FilterValue.html +2 -2
  158. package/dist/docs/types/FocusListItem.html +2 -2
  159. package/dist/docs/types/FolderPasteOptions.html +2 -2
  160. package/dist/docs/types/GetSystemSettingResponse.html +1 -0
  161. package/dist/docs/types/GraphDataSpec.html +1 -1
  162. package/dist/docs/types/GraphSpec.html +2 -2
  163. package/dist/docs/types/HttpTransformDefinition.html +5 -5
  164. package/dist/docs/types/Icon.html +2 -2
  165. package/dist/docs/types/IconProps.html +2 -2
  166. package/dist/docs/types/IframeTransformDefinition.html +2 -2
  167. package/dist/docs/types/ImageInfo.html +2 -2
  168. package/dist/docs/types/ImportZipOptions.html +2 -2
  169. package/dist/docs/types/InlineCode.html +2 -2
  170. package/dist/docs/types/JavascriptFileStylerDefinition.html +2 -2
  171. package/dist/docs/types/JavascriptFileTransformDefinition.html +2 -2
  172. package/dist/docs/types/JavascriptFilterDefinition.html +2 -2
  173. package/dist/docs/types/JavascriptInlineStylerDefinition.html +2 -2
  174. package/dist/docs/types/JavascriptInlineTransformDefinition.html +2 -2
  175. package/dist/docs/types/JavascriptType.html +2 -2
  176. package/dist/docs/types/JobManifest.html +3 -3
  177. package/dist/docs/types/KnownCounts.html +2 -2
  178. package/dist/docs/types/ListByParentFolder.html +1 -1
  179. package/dist/docs/types/ListByPath.html +1 -1
  180. package/dist/docs/types/ListFolderOptions.html +1 -1
  181. package/dist/docs/types/LiveContextAPISetParams.html +1 -1
  182. package/dist/docs/types/LiveContextListener.html +1 -1
  183. package/dist/docs/types/ManifestSecrets.html +1 -1
  184. package/dist/docs/types/MkdirResponse.html +1 -1
  185. package/dist/docs/types/ModalTemplateProps.html +2 -2
  186. package/dist/docs/types/NamedEntityGroup.html +2 -2
  187. package/dist/docs/types/NunjucksFileTransformDefinition.html +2 -2
  188. package/dist/docs/types/NunjucksInlineTransformDefinition.html +2 -2
  189. package/dist/docs/types/NunjucksType.html +2 -2
  190. package/dist/docs/types/OS_CONFIRM_MODAL_RESPONSE.html +2 -2
  191. package/dist/docs/types/OntologyTags.html +2 -2
  192. package/dist/docs/types/OsAuditFields.html +2 -2
  193. package/dist/docs/types/OsConfirmProps.html +2 -2
  194. package/dist/docs/types/OsNotification.html +8 -5
  195. package/dist/docs/types/OsProgress.html +4 -2
  196. package/dist/docs/types/OsTag.html +2 -2
  197. package/dist/docs/types/OsWorkspaceEntity.html +2 -2
  198. package/dist/docs/types/OsWorkspacePickerProps.html +2 -2
  199. package/dist/docs/types/PasteContextOptions.html +2 -2
  200. package/dist/docs/types/Permission.html +2 -2
  201. package/dist/docs/types/Point.html +2 -2
  202. package/dist/docs/types/PromptOptions.html +3 -2
  203. package/dist/docs/types/ProvidedFilterDefinition.html +2 -2
  204. package/dist/docs/types/ProvidedTransformDefinition.html +2 -2
  205. package/dist/docs/types/Query.html +2 -2
  206. package/dist/docs/types/QueryBatchResult.html +2 -2
  207. package/dist/docs/types/QueryErrorResult.html +2 -2
  208. package/dist/docs/types/QueryExecutor.html +2 -2
  209. package/dist/docs/types/QueryObjectFilterClause.html +2 -2
  210. package/dist/docs/types/QueryResponse.html +2 -2
  211. package/dist/docs/types/QueryResult.html +2 -2
  212. package/dist/docs/types/QuerySuccessResult.html +2 -2
  213. package/dist/docs/types/ReactCssProperties.html +2 -2
  214. package/dist/docs/types/ReactNode.html +2 -2
  215. package/dist/docs/types/ReactRef.html +2 -2
  216. package/dist/docs/types/ReasonedBoolean.html +2 -2
  217. package/dist/docs/types/RecordFetchOptions.html +1 -1
  218. package/dist/docs/types/RefCallback.html +2 -2
  219. package/dist/docs/types/RelationshipCountResult.html +2 -2
  220. package/dist/docs/types/RemoteAppApi.html +1 -1
  221. package/dist/docs/types/SaveAsModalProps.html +3 -2
  222. package/dist/docs/types/SaveFileOptions.html +2 -2
  223. package/dist/docs/types/SaveOptions.html +2 -2
  224. package/dist/docs/types/SavedTemplate.html +2 -2
  225. package/dist/docs/types/SearchFilter.html +2 -2
  226. package/dist/docs/types/SemanticBinding.html +2 -2
  227. package/dist/docs/types/SemanticBindingType.html +2 -2
  228. package/dist/docs/types/SemanticBindings.html +2 -2
  229. package/dist/docs/types/SemanticallyBoundApp.html +2 -2
  230. package/dist/docs/types/SemanticallyBoundFilterDefinition.html +2 -2
  231. package/dist/docs/types/SendQueryOptions.html +4 -3
  232. package/dist/docs/types/ServiceDefinition.html +4 -4
  233. package/dist/docs/types/ServiceDefinitions.html +2 -2
  234. package/dist/docs/types/ServiceRole.html +2 -2
  235. package/dist/docs/types/SetTransformResultFn.html +1 -1
  236. package/dist/docs/types/SetsOptions.html +10 -0
  237. package/dist/docs/types/ShowOntology.html +2 -2
  238. package/dist/docs/types/ShowTabProps.html +2 -2
  239. package/dist/docs/types/Styler.html +2 -2
  240. package/dist/docs/types/StylerConfig.html +2 -2
  241. package/dist/docs/types/StylerDefinition.html +2 -2
  242. package/dist/docs/types/StylerDefinitions.html +2 -2
  243. package/dist/docs/types/StylerOption.html +2 -2
  244. package/dist/docs/types/StylerProducer.html +2 -2
  245. package/dist/docs/types/SubscribeDragStartFn.html +1 -1
  246. package/dist/docs/types/SubscribeToContextFn.html +1 -1
  247. package/dist/docs/types/Tag.html +2 -2
  248. package/dist/docs/types/TagInfo.html +2 -2
  249. package/dist/docs/types/TagWithRelationship.html +2 -2
  250. package/dist/docs/types/TaskCleanupReason.html +2 -2
  251. package/dist/docs/types/TemplateMetadata.html +2 -2
  252. package/dist/docs/types/TemplateType.html +2 -2
  253. package/dist/docs/types/TemplateVariant.html +2 -2
  254. package/dist/docs/types/TransformAction.html +2 -2
  255. package/dist/docs/types/TransformActionContext.html +2 -2
  256. package/dist/docs/types/TransformDefinition.html +2 -2
  257. package/dist/docs/types/TransformDefinitions.html +2 -2
  258. package/dist/docs/types/Unsubscribe.html +2 -2
  259. package/dist/docs/types/UnsubscribeFn.html +1 -1
  260. package/dist/docs/types/UnsubscribeFromContextFn.html +1 -1
  261. package/dist/docs/types/UnsubscribeFromDragStartFn.html +1 -1
  262. package/dist/docs/types/UserProfile.html +2 -2
  263. package/dist/docs/types/VirtualEntity.html +2 -0
  264. package/dist/docs/types/Watcher.html +2 -2
  265. package/dist/docs/types/Whoami.html +2 -2
  266. package/dist/docs/types/WithProgressBarOptions.html +4 -2
  267. package/dist/docs/types/Workspace.html +2 -2
  268. package/dist/docs/types/WorkspaceConfig.html +8 -1
  269. package/dist/docs/types/WorkspaceFlags.html +2 -2
  270. package/dist/docs/types/WorkspaceIdentifier.html +2 -2
  271. package/dist/docs/types/WorkspaceItem.html +4 -2
  272. package/dist/docs/types/WorkspaceItemBase.html +2 -2
  273. package/dist/docs/types/WorkspaceItemDocumentFields.html +1 -0
  274. package/dist/docs/types/WorkspaceItemIdentifier.html +2 -2
  275. package/dist/docs/types/WorkspaceItemModel.html +2 -2
  276. package/dist/docs/types/WorkspaceItemTitleProps.html +3 -2
  277. package/dist/docs/types/WorkspaceItems.html +2 -2
  278. package/dist/docs/types/WorkspacePermission.html +2 -2
  279. package/dist/docs/types/WorkspaceRecord.html +2 -2
  280. package/dist/docs/types/WorkspaceRecordInfo.html +2 -2
  281. package/dist/docs/types/WorkspaceRecordWithRelationships.html +2 -2
  282. package/dist/docs/types/WorkspaceRecords.html +2 -2
  283. package/dist/docs/types/WorkspaceRelationship.html +2 -2
  284. package/dist/docs/types/WorkspaceSettings.html +4 -3
  285. package/dist/docs/types/trigger.html +2 -2
  286. package/dist/docs/types/uuid.html +2 -2
  287. package/dist/docs/variables/OS_CONFIRM_MODAL_CANCEL.html +2 -2
  288. package/dist/docs/variables/OS_CONFIRM_MODAL_NO.html +2 -2
  289. package/dist/docs/variables/OS_CONFIRM_MODAL_YES.html +2 -2
  290. package/dist/docs/variables/SAVED_SEARCH_MESSAGE_TYPES.html +1 -1
  291. package/dist/docs/variables/SAVED_SEARCH_PREFIX.html +1 -1
  292. package/dist/event.d.ts.map +1 -1
  293. package/dist/extras.d.ts +2 -2
  294. package/dist/extras.d.ts.map +1 -1
  295. package/dist/files.d.ts +53 -12
  296. package/dist/files.d.ts.map +1 -1
  297. package/dist/files.js +3 -1
  298. package/dist/files.js.map +1 -1
  299. package/dist/graph.d.ts +2 -4
  300. package/dist/graph.d.ts.map +1 -1
  301. package/dist/index.d.ts +1 -0
  302. package/dist/index.d.ts.map +1 -1
  303. package/dist/index.js +1 -0
  304. package/dist/index.js.map +1 -1
  305. package/dist/indexSearch.d.ts +216 -0
  306. package/dist/indexSearch.d.ts.map +1 -0
  307. package/dist/indexSearch.js +2 -0
  308. package/dist/indexSearch.js.map +1 -0
  309. package/dist/jobManifestTypes.d.ts +19 -41
  310. package/dist/jobManifestTypes.d.ts.map +1 -1
  311. package/dist/liveContext.d.ts +12 -16
  312. package/dist/liveContext.d.ts.map +1 -1
  313. package/dist/model.d.ts +32 -16
  314. package/dist/model.d.ts.map +1 -1
  315. package/dist/model.js.map +1 -1
  316. package/dist/ontology.d.ts +44 -9
  317. package/dist/ontology.d.ts.map +1 -1
  318. package/dist/platform-types.d.ts +615 -138
  319. package/dist/query.d.ts +4 -4
  320. package/dist/query.d.ts.map +1 -1
  321. package/dist/remoteApp.d.ts +1 -1
  322. package/dist/remoteApp.d.ts.map +1 -1
  323. package/dist/savedSearch.d.ts +9 -13
  324. package/dist/savedSearch.d.ts.map +1 -1
  325. package/dist/savedSearch.js.map +1 -1
  326. package/dist/search.d.ts +11 -2
  327. package/dist/search.d.ts.map +1 -1
  328. package/dist/styling.d.ts +5 -5
  329. package/dist/styling.d.ts.map +1 -1
  330. package/dist/templates.d.ts +3 -3
  331. package/dist/templates.d.ts.map +1 -1
  332. package/dist/workspace.d.ts +5 -5
  333. package/dist/workspace.d.ts.map +1 -1
  334. package/dist/workspace.js.map +1 -1
  335. package/package.json +20 -6
@@ -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,15 @@ 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
+ })[];
463
+ /**
464
+ * Indicates if the item only should be returned.
465
+ * If true, only the item itself will be returned.
466
+ * If false, the item and its contents will be returned.
467
+ */
468
+ itemOnly?: boolean;
432
469
  };
433
470
 
434
471
  /**
@@ -689,6 +726,10 @@ export declare interface DeleteResponse {
689
726
  * @beta
690
727
  */
691
728
  export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter {
729
+ /**
730
+ * [Private] Gets the UI state manager.
731
+ */
732
+ getUiStateManager: () => Promise<UiStateManager>;
692
733
  /**
693
734
  * Refreshes the desktop.
694
735
  */
@@ -701,6 +742,13 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
701
742
  * Gets the active workspace.
702
743
  */
703
744
  getActiveWorkspace: (prompt?: boolean) => Promise<string | undefined>;
745
+ /**
746
+ * Prompts the user for a file name.
747
+ * @param defaultFileName - The default/initial file name to show in the prompt
748
+ * @param context - The context of the prompt ('folder' or 'file')
749
+ * @returns The entered file name, or null if the user cancelled
750
+ */
751
+ promptForFileName: (defaultFileName?: string, context?: 'folder' | 'file') => Promise<string | null>;
704
752
  /**
705
753
  * Sets the active workspace.
706
754
  */
@@ -754,23 +802,23 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
754
802
  /**
755
803
  * Gets items in a workspace by name.
756
804
  */
757
- getWorkspaceItems(os_item_name: string): Promise<WorkspaceItem[]>;
805
+ getWorkspaceItems: (os_item_name: string) => Promise<WorkspaceItem[]>;
758
806
  /**
759
807
  * Gets the OsAPIClient.
760
808
  */
761
- getOsAPIClient(): Promise<OsAPIClient>;
809
+ getOsAPIClient: () => Promise<OsAPIClient>;
762
810
  /**
763
811
  * Gets the AI client.
764
812
  */
765
- getAIClient(): Promise<AIClient>;
813
+ getAIClient: () => Promise<AIClient>;
766
814
  /**
767
815
  * Gets the FilesAPIClient.
768
816
  */
769
- getFilesAPIClient(): Promise<FilesAPIClient>;
817
+ getFilesAPIClient: () => Promise<FilesAPIClient>;
770
818
  /**
771
819
  * Registers a context menu action.
772
820
  */
773
- registerContextMenuAction(action: DesktopActionMenuItem): Promise<Unsubscribe>;
821
+ registerContextMenuAction: (action: DesktopActionMenuItem) => Promise<Unsubscribe>;
774
822
  /**
775
823
  * Applies a tag to an entity.
776
824
  */
@@ -785,10 +833,12 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
785
833
  updateTag: (tag: OsTag) => Promise<OsTag>;
786
834
  /**
787
835
  * Gets an item by workspace identifier.
836
+ * [Warning: This method does not return the __uiState, Use useEntity hook or UiStateManager to get the __uiState]
788
837
  */
789
838
  getItem: <T>(ws: WorkspaceIdentifier<T>) => Promise<WorkspaceItem<T>>;
790
839
  /**
791
840
  * Gets items by workspace identifiers.
841
+ * [Warning: This method does not return the __uiState, Use useEntity hook or UiStateManager to get the __uiState]
792
842
  */
793
843
  getItems: (ws: WorkspaceIdentifier[]) => Promise<WorkspaceItem[]>;
794
844
  /**
@@ -812,17 +862,18 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
812
862
  */
813
863
  getApp: (name: string) => Promise<WorkspaceItem | undefined>;
814
864
  /**
815
- * Gets schema items by content type.
865
+ * Query workspace items by content type directly from the database.
866
+ * This ensures all items are retrieved, not just those loaded in memory.
867
+ *
868
+ * @param os_item_content_type - The content type to filter by
869
+ * @param workspace_ids - Optional list of workspace IDs to filter by. If not provided, searches across all open workspaces
870
+ * @returns Promise resolving to array of workspace items matching the content type
816
871
  */
817
- getSchemaItems(os_item_content_type: string): Promise<WorkspaceItem[]>;
872
+ getItemsByContentType: (os_item_content_type: string, workspace_ids?: string[]) => Promise<WorkspaceItem[]>;
818
873
  /**
819
874
  * Creates a workspace by name.
820
875
  */
821
876
  createWorkspace: (name: string, config?: WorkspaceConfig) => Promise<WorkspaceItem>;
822
- /**
823
- * Creates a private workspace for user by name.
824
- */
825
- createPrivateWorkspace: (name: string, config?: WorkspaceConfig) => Promise<Workspace>;
826
877
  /**
827
878
  * Connects two entities with a relationship in a workspace.
828
879
  */
@@ -847,6 +898,10 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
847
898
  * Exports an item or items with optional export options.
848
899
  */
849
900
  export: (item: WorkspaceItem | WorkspaceItem[], options?: ExportOptions) => Promise<void>;
901
+ /**
902
+ * Downloads a file from the given URL.
903
+ */
904
+ download: (url: string, filename?: string) => Promise<void>;
850
905
  /**
851
906
  * Fetches an entity from the index, or from the ontology if not found in the index.
852
907
  */
@@ -866,7 +921,7 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
866
921
  /**
867
922
  * Opens records with default action or as specified in the optional desktop action options.
868
923
  */
869
- open(records: Entity | Entity[], options?: DesktopActionOptions): Promise<void>;
924
+ open: (records: Entity | Entity[], options?: DesktopActionOptions) => Promise<void>;
870
925
  /**
871
926
  * Deletes an item or items recursively.
872
927
  */
@@ -918,6 +973,10 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
918
973
  * Shows a progress item.
919
974
  */
920
975
  showProgress: (progress: OsProgress) => Promise<void>;
976
+ /**
977
+ * Gets a system setting.
978
+ */
979
+ getSystemSetting: <T extends string | boolean>(key: string, defaultValue: T, show_protected?: boolean) => Promise<GetSystemSettingResponse<T>>;
921
980
  /**
922
981
  * Wraps a promise with a progress bar.
923
982
  */
@@ -946,6 +1005,18 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
946
1005
  * Gets a paste context with optional options.
947
1006
  */
948
1007
  getPasteContext: (options: PasteContextOptions) => Promise<Entity[]>;
1008
+ /**
1009
+ * Expands a set with optional options.
1010
+ */
1011
+ expandSet: (options: SetsOptions) => Promise<WorkspaceItem[]>;
1012
+ /**
1013
+ * Gets the open search query for a set with optional options.
1014
+ */
1015
+ getOpenSearchQuery: (options: SetsOptions) => Promise<Record<string, any>>;
1016
+ /**
1017
+ * Gets the count of a set with optional options.
1018
+ */
1019
+ getSetCount: (options: SetsOptions) => Promise<number>;
949
1020
  /**
950
1021
  * Shows a modal template.
951
1022
  */
@@ -965,9 +1036,7 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
965
1036
  /**
966
1037
  * Gets workspace permissions by IDs.
967
1038
  */
968
- getWorkspacePermission: (os_worpsaces: string[]) => Promise<{
969
- [os_workspace: string]: WorkspacePermission;
970
- }>;
1039
+ getWorkspacePermission: (os_worpsaces: string[]) => Promise<Record<string, WorkspacePermission>>;
971
1040
  /**
972
1041
  * Gets the user profile.
973
1042
  */
@@ -975,9 +1044,7 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
975
1044
  /**
976
1045
  * Deploys an application with optional initial secrets.
977
1046
  */
978
- deployApp: (app: WorkspaceItem | App, initialSecrets?: {
979
- [key: string]: string;
980
- }) => Promise<WorkspaceItem>;
1047
+ deployApp: (app: WorkspaceItem | App, initialSecrets?: Record<string, string>) => Promise<WorkspaceItem>;
981
1048
  /**
982
1049
  * Undeploys an application.
983
1050
  */
@@ -1032,10 +1099,8 @@ export declare interface Desktop extends DesktopSettings, WorkspaceChangeEmitter
1032
1099
  /**
1033
1100
  * "Cache" for workspaces, avoiding to return a modal error, if this workspace was fetched before
1034
1101
  */
1035
- workspaceStore: {
1036
- [os_workspace: string]: Workspace;
1037
- };
1038
- getWhitelabelingInfo(): Promise<{
1102
+ workspaceStore: Record<string, Workspace>;
1103
+ getWhitelabelingInfo: () => Promise<{
1039
1104
  OCTOSTAR_MAIN_LOGO: string;
1040
1105
  OCTOSTAR_FAVICON: string;
1041
1106
  OCTOSTAR_SPINNER: string;
@@ -1199,6 +1264,10 @@ export declare type DesktopActionOptions = {
1199
1264
  * Wait for the tab to open
1200
1265
  */
1201
1266
  awaitShowTab?: boolean;
1267
+ /**
1268
+ * Custom name of the tab.
1269
+ */
1270
+ tabName?: string;
1202
1271
  };
1203
1272
 
1204
1273
  /**
@@ -1379,6 +1448,10 @@ export declare type EntityBase = {
1379
1448
  * The type of the entity.
1380
1449
  */
1381
1450
  entity_type: string;
1451
+ /**
1452
+ * The workspace of the entity.
1453
+ */
1454
+ os_workspace?: string;
1382
1455
  };
1383
1456
 
1384
1457
  /**
@@ -1424,16 +1497,15 @@ export declare type EntityPasteContext = {
1424
1497
  fetch: (limit?: number) => Promise<Entity[]>;
1425
1498
  };
1426
1499
 
1500
+ export declare interface EntityUiState {
1501
+ rename?: boolean;
1502
+ [key: string]: any;
1503
+ }
1504
+
1427
1505
  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
- };
1506
+ variables: Record<string, any>;
1507
+ filters: Record<string, DesktopActionFilter>;
1508
+ transforms: Record<string, Function>;
1437
1509
  };
1438
1510
 
1439
1511
  /**
@@ -1594,7 +1666,7 @@ export declare interface FilesAPIClient {
1594
1666
  * @param path - The path to check (empty string for workspace info)
1595
1667
  * @returns Complete entity data if found
1596
1668
  */
1597
- stat(os_workspace: string, path?: string): Promise<WorkspaceItem>;
1669
+ stat: (os_workspace: string, path?: string) => Promise<WorkspaceItem>;
1598
1670
  /**
1599
1671
  * Main entry point for listing workspace or folder contents
1600
1672
  * Supports listing by path, parent folder ID, or root level
@@ -1606,7 +1678,7 @@ export declare interface FilesAPIClient {
1606
1678
  * - If neither is provided, lists root level contents
1607
1679
  * @returns Paginated list of files and folders
1608
1680
  */
1609
- listFolder(os_workspace: string, options: ListFolderOptions): Promise<FileListResponse>;
1681
+ listFolder: (os_workspace: string, options: ListFolderOptions) => Promise<FileListResponse>;
1610
1682
  /**
1611
1683
  * Move a file or folder to a new path
1612
1684
  *
@@ -1625,7 +1697,7 @@ export declare interface FilesAPIClient {
1625
1697
  * - entity_label: Display name of the entity
1626
1698
  * - new_path: Full path to the entity after move/rename
1627
1699
  */
1628
- moveOrRename(os_workspace: string, path: string, options: MoveOptions): Promise<MoveResponse>;
1700
+ moveOrRename: (os_workspace: string, path: string, options: MoveOptions) => Promise<MoveResponse>;
1629
1701
  /**
1630
1702
  * Create a new directory
1631
1703
  *
@@ -1633,7 +1705,7 @@ export declare interface FilesAPIClient {
1633
1705
  * @param path - The path to create
1634
1706
  * @returns The created entity
1635
1707
  */
1636
- mkdir(os_workspace: string, path: string): Promise<MkdirResponse>;
1708
+ mkdir: (item: WorkspaceItem) => Promise<MkdirResponse>;
1637
1709
  /**
1638
1710
  * Delete a file or directory
1639
1711
  *
@@ -1641,14 +1713,21 @@ export declare interface FilesAPIClient {
1641
1713
  * @param path - The path to delete
1642
1714
  * @returns The deleted entity
1643
1715
  */
1644
- deleteFile(os_workspace: string, path: string): Promise<DeleteResponse>;
1716
+ deleteFile: (os_workspace: string, path: string) => Promise<DeleteResponse>;
1645
1717
  /**
1646
1718
  * Delete a file or directory recursively
1647
1719
  *
1648
1720
  * @param os_workspace - The workspace ID
1649
1721
  * @param path - The path to delete
1650
1722
  */
1651
- deleteRecursive(os_workspace: string, path: string): Promise<DeleteResponse>;
1723
+ deleteRecursive: (os_workspace: string, path: string) => Promise<DeleteResponse>;
1724
+ /**
1725
+ * Create a new file
1726
+ *
1727
+ * @param item - The file item to create
1728
+ * @returns The created entity
1729
+ */
1730
+ createFile: (item: WorkspaceItem) => Promise<MkdirResponse>;
1652
1731
  /**
1653
1732
  * Get a download URL for a file
1654
1733
  *
@@ -1657,18 +1736,28 @@ export declare interface FilesAPIClient {
1657
1736
  * @param options - Optional parameters for the download
1658
1737
  * @returns The download URL
1659
1738
  */
1660
- getDownloadUrl(os_workspace: string, path: string, options?: DownloadOptions): Promise<string>;
1739
+ getDownloadUrl: (os_workspace: string, path: string, options?: DownloadOptions) => Promise<string>;
1661
1740
  /**
1662
1741
  * Unzip a file by entity ID
1663
1742
  *
1664
1743
  * @param os_workspace - The workspace ID
1665
1744
  * @param entity_id - The entity ID
1745
+ * @param options - Optional unzip configuration (e.g., destination)
1666
1746
  * @returns The tracking ID and status URL
1667
1747
  */
1668
- unzipByEntity(os_workspace: string, entity_id: string): Promise<{
1748
+ unzipByEntity: (os_workspace: string, entity_id: string, options?: UnzipOptions) => Promise<{
1669
1749
  tracking_id: string;
1670
1750
  status_url: string;
1671
1751
  }>;
1752
+ /**
1753
+ * Get an upload URL for a file
1754
+ *
1755
+ * @param os_workspace - The workspace ID
1756
+ * @param entity_id - The entity ID
1757
+ * @param options - Upload options including content_type and optional TTL in minutes
1758
+ * @returns The upload URL and fields
1759
+ */
1760
+ getUploadUrl: (os_workspace: string, entity_id: string, options: UploadOptions) => Promise<S3UploadResponse>;
1672
1761
  }
1673
1762
 
1674
1763
  /**
@@ -1706,9 +1795,7 @@ export declare type Filter = {
1706
1795
  scope: NativeFilterScope;
1707
1796
  filterType: string;
1708
1797
  targets: [Partial<NativeFilterTarget>];
1709
- controlValues: {
1710
- [key: string]: any;
1711
- };
1798
+ controlValues: Record<string, any>;
1712
1799
  sortMetric?: string | null;
1713
1800
  adhoc_filters?: Record<any, any>[];
1714
1801
  granularity_sqla?: string;
@@ -1732,9 +1819,7 @@ export declare type FilterDefinition = ProvidedFilterDefinition | JavascriptFilt
1732
1819
  * @beta
1733
1820
  * Type representing a collection of filter definitions.
1734
1821
  */
1735
- export declare type FilterDefinitions = {
1736
- [k: FilterName]: FilterDefinition;
1737
- };
1822
+ export declare type FilterDefinitions = Record<FilterName, FilterDefinition>;
1738
1823
 
1739
1824
  /**
1740
1825
  * @beta
@@ -1832,6 +1917,14 @@ export declare interface GetAttachmentOptions<T extends AttachmentType> {
1832
1917
  responseType?: AttachmentResponseType;
1833
1918
  }
1834
1919
 
1920
+ export declare type GetSystemSettingResponse<T extends string | boolean = string | boolean> = {
1921
+ default_value: T;
1922
+ description: string;
1923
+ security: boolean;
1924
+ type: string;
1925
+ value: T;
1926
+ };
1927
+
1835
1928
  export declare type GraphDataSpec = {
1836
1929
  entities: Entity[];
1837
1930
  relationships: EntityEdge[];
@@ -1862,13 +1955,9 @@ export declare type HttpTransformDefinition = {
1862
1955
  /** The URL for the HTTP request, can be relative to the url of the deployed app */
1863
1956
  url: string;
1864
1957
  /** Optional headers for the HTTP request. */
1865
- headers?: {
1866
- [k: string]: string;
1867
- };
1958
+ headers?: Record<string, string>;
1868
1959
  /** Optional data for the HTTP request. */
1869
- data?: string | {
1870
- [k: string]: any;
1871
- };
1960
+ data?: string | Record<string, any>;
1872
1961
  };
1873
1962
 
1874
1963
  /**
@@ -2008,6 +2097,196 @@ export declare type ImportZipOptions = {
2008
2097
  include_dashboards?: boolean | 'if_missing';
2009
2098
  };
2010
2099
 
2100
+ export declare interface IndexSearchHitSource {
2101
+ annotations?: {
2102
+ data?: string;
2103
+ crossFilters?: string;
2104
+ 'extract:metadata'?: string;
2105
+ 'extract:src'?: string;
2106
+ 'extract:txt'?: string;
2107
+ 'extract:txtLang'?: string;
2108
+ 'image:annotations'?: {
2109
+ bbox?: string;
2110
+ confidence?: number;
2111
+ embedding?: Record<VectorKey, {
2112
+ value?: number[];
2113
+ }>;
2114
+ label?: string;
2115
+ }[];
2116
+ 'image:annotations-key'?: {
2117
+ label?: string;
2118
+ }[];
2119
+ 'image:annotations-sensitive'?: {
2120
+ label?: string;
2121
+ }[];
2122
+ 'image:annotations-setting'?: {
2123
+ label?: string;
2124
+ }[];
2125
+ 'ner:entities'?: {
2126
+ person?: string[];
2127
+ org?: string[];
2128
+ loc?: string[];
2129
+ norp?: string[];
2130
+ gpe?: string[];
2131
+ product?: string[];
2132
+ phone?: string[];
2133
+ email?: string[];
2134
+ ip_address?: string[];
2135
+ url?: string[];
2136
+ };
2137
+ 'rag:chunks'?: {
2138
+ metadata?: {
2139
+ type?: string;
2140
+ chunk_id?: number;
2141
+ os_workspace?: string;
2142
+ os_relationship_workspace?: string;
2143
+ text?: string;
2144
+ };
2145
+ embedding?: Record<VectorKey, {
2146
+ value?: number[];
2147
+ }>;
2148
+ }[];
2149
+ };
2150
+ document_fields: Entity & {
2151
+ address?: string;
2152
+ age?: number;
2153
+ alias?: string;
2154
+ align_model?: string;
2155
+ area_code?: string;
2156
+ arousal?: string;
2157
+ author?: string;
2158
+ blood_type?: string;
2159
+ breed?: string;
2160
+ build?: string;
2161
+ callee_name?: string;
2162
+ callee_number?: string;
2163
+ caller_name?: string;
2164
+ caller_number?: string;
2165
+ category?: string;
2166
+ citizenship?: string;
2167
+ city?: string;
2168
+ city_of_birth?: string;
2169
+ color?: string;
2170
+ complexion?: string;
2171
+ contents?: string;
2172
+ context?: string;
2173
+ country?: string;
2174
+ country_code?: string;
2175
+ country_of_birth?: string;
2176
+ creation_date?: string;
2177
+ date_of_birth?: string;
2178
+ date_of_death?: string;
2179
+ dayofweek?: string;
2180
+ dayofweeknumber?: number;
2181
+ description?: string;
2182
+ detection_model?: string;
2183
+ distinguishing_marks?: string;
2184
+ dominance?: string;
2185
+ duration?: number;
2186
+ email_address?: string;
2187
+ email_from?: string;
2188
+ email_to?: string;
2189
+ embedding?: string;
2190
+ embedding_model?: string;
2191
+ face_area?: string;
2192
+ first_name?: string;
2193
+ fuel_type?: string;
2194
+ gender?: string;
2195
+ group?: string;
2196
+ handedness?: string;
2197
+ height?: number;
2198
+ identifier?: string;
2199
+ language?: string;
2200
+ last_digits?: string;
2201
+ last_name?: string;
2202
+ latitude?: number;
2203
+ legal_address?: string;
2204
+ legal_city?: string;
2205
+ legal_country?: string;
2206
+ longitude?: number;
2207
+ main_language?: string;
2208
+ make?: string;
2209
+ maximum_weight?: number;
2210
+ means?: string;
2211
+ metadata?: string;
2212
+ middle_name?: string;
2213
+ model?: string;
2214
+ model_year?: number;
2215
+ msidsn?: string;
2216
+ name?: string;
2217
+ number_of_criminals?: number;
2218
+ offender_name?: string;
2219
+ order?: number;
2220
+ os_concept?: string;
2221
+ os_content_size?: number;
2222
+ os_created_at?: string;
2223
+ os_created_by?: string;
2224
+ os_entity_type_from?: string;
2225
+ os_entity_type_to?: string;
2226
+ os_entity_uid?: string;
2227
+ os_entity_uid_from?: string;
2228
+ os_entity_uid_to?: string;
2229
+ os_flags?: number;
2230
+ os_has_attachment?: boolean;
2231
+ os_hidden_by?: string;
2232
+ os_icon?: string;
2233
+ os_item_content?: string;
2234
+ os_item_content_type?: string;
2235
+ os_item_name?: string;
2236
+ os_item_type?: string;
2237
+ os_last_updated_at?: string;
2238
+ os_last_updated_by?: string;
2239
+ os_parent_folder?: string;
2240
+ os_parent_uid?: string;
2241
+ os_permission?: number;
2242
+ os_relationship_name?: string;
2243
+ os_role?: string;
2244
+ os_textsearchfield?: string;
2245
+ os_username?: string;
2246
+ owner_name?: string;
2247
+ path?: string;
2248
+ phone_number?: string;
2249
+ plate_number?: string;
2250
+ producer_name?: string;
2251
+ registration_from_date?: string;
2252
+ registration_to_date?: string;
2253
+ residence_address?: string;
2254
+ residence_city?: string;
2255
+ residence_country?: string;
2256
+ responsible_name?: string;
2257
+ slug?: string;
2258
+ source_entity_identifier?: string;
2259
+ source_entity_type?: string;
2260
+ source_entity_uid?: string;
2261
+ source_name?: string;
2262
+ speaking_accent?: string;
2263
+ start_time?: string;
2264
+ subtype?: string;
2265
+ summary?: string;
2266
+ timeofday?: number;
2267
+ title?: string;
2268
+ type?: string;
2269
+ unladen_weight?: number;
2270
+ username?: string;
2271
+ valence?: string;
2272
+ victim_name?: string;
2273
+ weight?: number;
2274
+ worker_name?: string;
2275
+ };
2276
+ relationships?: {
2277
+ relationship?: {
2278
+ os_relationship_name?: string;
2279
+ os_entity_uid_from?: string;
2280
+ os_entity_uid_to?: string;
2281
+ };
2282
+ target?: {
2283
+ os_entity_uid?: string;
2284
+ entity_type?: string;
2285
+ entity_label?: string;
2286
+ };
2287
+ }[];
2288
+ }
2289
+
2011
2290
  /**
2012
2291
  * Represents an inheritance relationship between concepts.
2013
2292
  * @beta
@@ -2036,6 +2315,10 @@ export declare type InlineCode = {
2036
2315
  code: string;
2037
2316
  };
2038
2317
 
2318
+ export declare function isWorkspaceFileItem(item: WorkspaceItem): item is WorkspaceItem & {
2319
+ os_has_attachment: true;
2320
+ };
2321
+
2039
2322
  /**
2040
2323
  * @beta
2041
2324
  * Type representing a JavaScript file styler definition.
@@ -2092,7 +2375,7 @@ export declare type JobManifest = {
2092
2375
  /** AI description for the job. */
2093
2376
  aiDescription?: string;
2094
2377
  /** Icon for the job. */
2095
- icon: string;
2378
+ icon?: string;
2096
2379
  /** Custom color for the app. */
2097
2380
  color?: string;
2098
2381
  /** Optional image for the job. */
@@ -2128,9 +2411,7 @@ export declare type JobManifest = {
2128
2411
  * @beta
2129
2412
  * Type representing known counts of relationships.
2130
2413
  */
2131
- export declare type KnownCounts = {
2132
- [relationship_name: string]: number;
2133
- };
2414
+ export declare type KnownCounts = Record<string, number>;
2134
2415
 
2135
2416
  export declare type ListByParentFolder = {
2136
2417
  path?: never;
@@ -2149,39 +2430,35 @@ export declare type ListFolderOptions = (PathOption & CommonOptions) | (ParentFo
2149
2430
  * Represents a context management interface for handling state across components
2150
2431
  */
2151
2432
  export declare interface LiveContext<ContextData extends DefaultLiveContextData = DefaultLiveContextData> {
2433
+ /**
2434
+ * Unique identifier for the context instance
2435
+ */
2436
+ readonly id: string;
2152
2437
  /**
2153
2438
  * @beta
2154
2439
  * Retrieves the current context data
2155
2440
  * @returns The current context data
2156
2441
  */
2157
- getContext(): ContextData;
2442
+ getContext: () => ContextData;
2158
2443
  /**
2159
2444
  * @beta
2160
2445
  * Updates the context with new data
2161
2446
  * @param context - New context data or function to update context
2162
2447
  */
2163
- setContext(context: LiveContextAPISetParams<ContextData>): Promise<void>;
2448
+ setContext: (context: LiveContextAPISetParams<ContextData>) => void;
2164
2449
  /**
2165
2450
  * @beta
2166
2451
  * Subscribes to context changes with an automatically generated ID
2167
2452
  * @param contextListener - Callback function triggered on context changes
2168
2453
  * @returns Generated subscription ID
2169
2454
  */
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;
2455
+ subscribeToChanges: ((contextListener: LiveContextListener<ContextData>) => string) & ((id: string, contextListener: LiveContextListener<ContextData>) => string);
2179
2456
  /**
2180
2457
  * @beta
2181
2458
  * Unsubscribes from context changes
2182
2459
  * @param id - Subscription ID to remove
2183
2460
  */
2184
- unsubscribeFromChanges(id: string): void;
2461
+ unsubscribeFromChanges: (id: string) => void;
2185
2462
  /**
2186
2463
  * @beta
2187
2464
  * Adds a context listener to another Context instance
@@ -2189,39 +2466,37 @@ export declare interface LiveContext<ContextData extends DefaultLiveContextData
2189
2466
  * @param mapContext - Optional function to transform context data
2190
2467
  * @returns Function to remove the context listener
2191
2468
  */
2192
- addContextListener<ContextDataToConnect extends DefaultLiveContextData>(contextAPI: LiveContext<ContextDataToConnect>, mapContext?: (context: ContextDataToConnect) => ContextData): () => void;
2469
+ addContextListener: <ContextDataToConnect extends DefaultLiveContextData>(contextAPI: LiveContext<ContextDataToConnect>, mapContext?: (context: ContextDataToConnect) => ContextData) => () => void;
2193
2470
  /**
2194
2471
  * @beta
2195
2472
  * Removes a context listener
2196
2473
  * @param idOrContextAPI - ID or Context instance to disconnect from
2197
2474
  */
2198
- removeContextListener<ContextDataToConnect extends DefaultLiveContextData>(idOrContextAPI: LiveContext<ContextDataToConnect> | string): void;
2475
+ removeContextListener: <ContextDataToConnect extends DefaultLiveContextData>(idOrContextAPI: LiveContext<ContextDataToConnect> | string) => void;
2199
2476
  /**
2200
2477
  * @beta
2201
2478
  * Connects to target window for context synchronization
2202
2479
  * @returns The channel ID used for communication
2203
2480
  */
2204
- connect(): string;
2481
+ connect: () => string;
2205
2482
  /**
2206
2483
  * @beta
2207
2484
  * Destroys the context and cleans up all listeners
2208
2485
  */
2209
- destroy(): void;
2486
+ destroy: () => void;
2210
2487
  }
2211
2488
 
2212
2489
  export declare type LiveContextAPISetParams<ContextData extends Record<string, any> = Record<string, any>> = ContextData | ((currentContext: ContextData) => ContextData);
2213
2490
 
2214
2491
  export declare type LiveContextListener<ContextData extends Record<string, any> = Record<string, any>> = (context: ContextData) => void;
2215
2492
 
2216
- export declare type ManifestSecrets = {
2217
- [key: string]: {
2218
- description: string;
2219
- default?: string;
2220
- required?: boolean;
2221
- };
2222
- };
2493
+ export declare type ManifestSecrets = Record<string, {
2494
+ description: string;
2495
+ default?: string;
2496
+ required?: boolean;
2497
+ }>;
2223
2498
 
2224
- export declare type MkdirResponse = Entity;
2499
+ export declare type MkdirResponse = WorkspaceItem;
2225
2500
 
2226
2501
  /**
2227
2502
  * @beta
@@ -2246,9 +2521,11 @@ export declare type ModalTemplateProps = CustomTemplateIframeProps & {
2246
2521
  };
2247
2522
 
2248
2523
  export declare interface MoveOptions {
2249
- to_path: string;
2524
+ to_path?: string;
2525
+ entity_id?: string;
2526
+ new_name?: string;
2527
+ new_os_parent_folder?: string;
2250
2528
  force?: boolean;
2251
- redirect?: boolean;
2252
2529
  }
2253
2530
 
2254
2531
  export declare interface MoveResponse extends Entity {
@@ -2339,7 +2616,7 @@ export declare interface Ontology {
2339
2616
  * @param rel - The relationship or relationship name.
2340
2617
  * @returns A promise that resolves to an array of workspace relationships.
2341
2618
  */
2342
- getWorkspaceRelationshipRecords(entity: Entity, rel: string | Relationship): Promise<WorkspaceRelationship[]>;
2619
+ getWorkspaceRelationshipRecords: (entity: Entity, rel: string | Relationship) => Promise<WorkspaceRelationship[]>;
2343
2620
  /**
2344
2621
  * Clears the relationship cache for a given entity and relationship.
2345
2622
  * @param entity - The entity for which to clear the cache.
@@ -2380,11 +2657,34 @@ export declare interface Ontology {
2380
2657
  */
2381
2658
  getConcepts: () => Promise<Map<string, Concept>>;
2382
2659
  /**
2383
- * Gets an entity.
2384
- * @param e - The entity to get.
2660
+ * Gets an entity by ID.
2661
+ *
2662
+ * ⚠️ **NOTE**: This method has unusual behavior for missing entities.
2663
+ * The method gets a database version of the entity, if one exists, otherwise returns the original entity.
2664
+ * It is used in many parts of the system where the entity encountered may or may not be saved in the database.
2665
+ *
2666
+ * In the case where it's important to distinguish whether the input record was found in the database,
2667
+ * include an identifiying attribute eg, '#original': true as such a field will not be present in the saved version.
2668
+ *
2669
+ * **Example Usage:**
2670
+ * ```typescript
2671
+ * const entityWithOriginal: Entity & { '#original': boolean } = {
2672
+ * entity_id: someId,
2673
+ * entity_type: someType,
2674
+ * entity_label: someLabel,
2675
+ * '#original': true,
2676
+ * };
2677
+ * const result = await ontologyAPI.getEntity<Entity & { '#original': boolean }>(entityWithOriginal);
2678
+ * if (result['#original']) {
2679
+ * // Entity doesn't exist - the method returned our input object unchanged
2680
+ * }
2681
+ * // Entity exists - the method returned actual entity data (without #original flag)
2682
+ * ```
2683
+ *
2684
+ * @param e - The entity to get (may include special flags like `#original`).
2385
2685
  * @param refresh - Whether to refresh the data.
2386
2686
  * @param skipSideEffects - Whether to skip side effects.
2387
- * @returns A promise that resolves to the entity.
2687
+ * @returns A promise that resolves to either the actual entity data OR the input entity if not found.
2388
2688
  */
2389
2689
  getEntity: <T extends Entity>(e: Entity, refresh?: boolean, skipSideEffects?: boolean) => Promise<T>;
2390
2690
  /**
@@ -2437,7 +2737,19 @@ export declare interface Ontology {
2437
2737
  * Gets the system inheritance.
2438
2738
  * @returns A promise that resolves to an array of inheritances.
2439
2739
  */
2440
- getSysInheritance(): Promise<Inheritance[]>;
2740
+ getSysInheritance: () => Promise<Inheritance[]>;
2741
+ /**
2742
+ * Gets the local entity edges.
2743
+ * @param entities - The entities for which to get the edges.
2744
+ * @returns A promise that resolves to an array of entity edges.
2745
+ */
2746
+ getLocalEntityEdges: (entities: Entity[]) => Promise<EntityEdge[]>;
2747
+ /**
2748
+ * Discovers edges on adding nodes.
2749
+ * @param entities - The entities for which to discover edges.
2750
+ * @returns A promise that resolves to an array of entity edges.
2751
+ */
2752
+ discoverEdgesOnAddingNodes: (newEntities: Entity[], oldEntities: Entity[]) => Promise<EntityEdge[]>;
2441
2753
  /**
2442
2754
  * Subscribes to changes for a given entity.
2443
2755
  * @param entity - The entity to subscribe to.
@@ -2629,13 +2941,23 @@ export declare type OsNotification = string | {
2629
2941
  /**
2630
2942
  * Additional details for the notification.
2631
2943
  */
2632
- detail?: {
2633
- [key: string]: any;
2634
- };
2944
+ detail?: Record<string, any>;
2635
2945
  /**
2636
2946
  * Placement of the notification.
2637
2947
  */
2638
2948
  placement?: 'top' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
2949
+ /**
2950
+ * URL to open when action button is clicked.
2951
+ */
2952
+ actionUrl?: string;
2953
+ /**
2954
+ * Label for the action button. Defaults to "Open" if actionUrl is provided.
2955
+ */
2956
+ actionLabel?: string;
2957
+ /**
2958
+ * Whether the notification should persist until manually closed.
2959
+ */
2960
+ persistent?: boolean;
2639
2961
  };
2640
2962
 
2641
2963
  /**
@@ -2659,6 +2981,14 @@ export declare type OsProgress = {
2659
2981
  * Status of the progress item.
2660
2982
  */
2661
2983
  status?: 'active' | 'success' | 'exception' | 'normal' | undefined;
2984
+ /**
2985
+ * Percentage of the progress item.
2986
+ */
2987
+ percent?: number;
2988
+ /**
2989
+ * Persist until complete for the progress item.
2990
+ */
2991
+ persistUntilComplete?: boolean;
2662
2992
  };
2663
2993
 
2664
2994
  /**
@@ -2761,18 +3091,7 @@ export declare type Point = {
2761
3091
  * Represents the status of a processing operation.
2762
3092
  * @beta
2763
3093
  */
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
- */
3094
+ export declare interface ProcessingStatus extends EntityBase {
2776
3095
  status_code: ProcessingStatusCode;
2777
3096
  /**
2778
3097
  * The reason for the processing operation.
@@ -2823,11 +3142,19 @@ export declare enum ProcessingStatusCode {
2823
3142
  * The options for the prompt.
2824
3143
  */
2825
3144
  export declare type PromptOptions = {
3145
+ noThink?: boolean;
2826
3146
  model?: string;
2827
3147
  apiKey?: string;
2828
3148
  stream?: boolean;
2829
3149
  enableRag?: boolean;
2830
3150
  cohereKey?: string;
3151
+ temperature?: number;
3152
+ /** Importing Entity from model.ts breaks the build. */
3153
+ context?: {
3154
+ entity_id: string;
3155
+ entity_label: string;
3156
+ entity_type: string;
3157
+ }[];
2831
3158
  };
2832
3159
 
2833
3160
  /**
@@ -3010,7 +3337,7 @@ export declare interface RecordProvider {
3010
3337
  * Retrieves a message related to the records.
3011
3338
  * @returns A promise that resolves to the message, or undefined if no message is available.
3012
3339
  */
3013
- getMessage(): Promise<string | undefined>;
3340
+ getMessage: () => Promise<string | undefined>;
3014
3341
  }
3015
3342
 
3016
3343
  /**
@@ -3133,6 +3460,20 @@ declare type RootOption = {
3133
3460
  os_parent_folder?: never;
3134
3461
  };
3135
3462
 
3463
+ export declare interface S3Headers {
3464
+ key: string;
3465
+ policy: string;
3466
+ 'x-amz-algorithm': string;
3467
+ 'x-amz-credential': string;
3468
+ 'x-amz-date': string;
3469
+ 'x-amz-signature': string;
3470
+ }
3471
+
3472
+ export declare interface S3UploadResponse {
3473
+ fields: S3Headers;
3474
+ url: string;
3475
+ }
3476
+
3136
3477
  /**
3137
3478
  * Properties for saving as modal.
3138
3479
  * @beta
@@ -3146,6 +3487,10 @@ export declare type SaveAsModalProps = {
3146
3487
  * Application related to the item.
3147
3488
  */
3148
3489
  app?: WorkspaceItem;
3490
+ /**
3491
+ * Default path for the item.
3492
+ */
3493
+ defaultPath?: string;
3149
3494
  };
3150
3495
 
3151
3496
  export declare const SAVED_SEARCH_MESSAGE_TYPES: Readonly<{
@@ -3168,11 +3513,11 @@ export declare interface SavedDatasource {
3168
3513
  }
3169
3514
 
3170
3515
  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>;
3516
+ getRecordsCount: (savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>) => Promise<BigNumber | number | null>;
3517
+ getRecordsCountQuery: (savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>) => Promise<number | null>;
3518
+ getRecords: (savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>, options?: Partial<RecordFetchOptions>) => Promise<RecordData | null>;
3519
+ getRecordsQuery: (savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>, options?: RecordFetchOptions) => Promise<QueryResult_2 | null>;
3520
+ getSavedSearchPasteContext: (savedSearchIdn: WorkspaceItemIdentifier<SavedSearchContent>) => Promise<EntityPasteContext>;
3176
3521
  }
3177
3522
 
3178
3523
  export declare interface SavedSearchContent {
@@ -3180,9 +3525,7 @@ export declare interface SavedSearchContent {
3180
3525
  dataset: true;
3181
3526
  filters: Filter[];
3182
3527
  crossFilters: DataMask[];
3183
- datasourcesInScope: {
3184
- [uid: string]: SavedDatasource;
3185
- };
3528
+ datasourcesInScope: Record<string, SavedDatasource>;
3186
3529
  initialCount?: number;
3187
3530
  }
3188
3531
 
@@ -3254,6 +3597,7 @@ export declare interface SearchOptions {
3254
3597
  * The maximum number of entities returned.
3255
3598
  */
3256
3599
  limit?: number;
3600
+ workspace_ids?: string[];
3257
3601
  }
3258
3602
 
3259
3603
  /**
@@ -3285,6 +3629,14 @@ export declare interface SearchProps {
3285
3629
  * disable save search
3286
3630
  */
3287
3631
  disableSaveSearch?: boolean;
3632
+ /**
3633
+ * Title of the information message shown in the search results, presented as an alert.
3634
+ */
3635
+ searchInfoTitle?: string;
3636
+ /**
3637
+ * Description of the information message shown in the search results, presented as an alert.
3638
+ */
3639
+ searchInfoDescription?: React.ReactNode;
3288
3640
  }
3289
3641
 
3290
3642
  /**
@@ -3393,10 +3745,10 @@ export declare type SendQueryOptions = {
3393
3745
  context?: string;
3394
3746
  /** Whether to send the query with low priority. */
3395
3747
  lowPriority?: boolean;
3748
+ /** Whether to suppress the global SQL Exception toast. */
3749
+ suppressSQLExceptionToast?: boolean;
3396
3750
  /** Query params. */
3397
- params?: {
3398
- [key: string]: string | number | boolean | string[] | number[] | boolean[] | null;
3399
- };
3751
+ params?: Record<string, string | number | boolean | string[] | number[] | boolean[] | null>;
3400
3752
  };
3401
3753
 
3402
3754
  /**
@@ -3421,9 +3773,7 @@ export declare type ServiceDefinition = {
3421
3773
  /** Optional order for the service. */
3422
3774
  order?: number;
3423
3775
  /** Optional parameters for the service. */
3424
- params?: {
3425
- [k: string]: any;
3426
- };
3776
+ params?: Record<string, any>;
3427
3777
  /** Optional roles for the service. */
3428
3778
  role?: ServiceRole[] | ServiceRole;
3429
3779
  /** Filters accepted by the service. */
@@ -3441,9 +3791,7 @@ export declare type ServiceDefinition = {
3441
3791
  * @beta
3442
3792
  * Type representing a collection of service definitions.
3443
3793
  */
3444
- export declare type ServiceDefinitions = {
3445
- [serviceName: string]: ServiceDefinition;
3446
- };
3794
+ export declare type ServiceDefinitions = Record<string, ServiceDefinition>;
3447
3795
 
3448
3796
  /**
3449
3797
  * @beta
@@ -3451,6 +3799,45 @@ export declare type ServiceDefinitions = {
3451
3799
  */
3452
3800
  export declare type ServiceRole = 'context_menu' | 'record_view' | 'set_view';
3453
3801
 
3802
+ export declare type SetsOptions = {
3803
+ /**
3804
+ * Workspace items for the context.
3805
+ */
3806
+ workspace_items?: WorkspaceItem[];
3807
+ /**
3808
+ * Limit for the context.
3809
+ */
3810
+ limit?: number;
3811
+ /**
3812
+ * Offset for the context.
3813
+ */
3814
+ offset?: number;
3815
+ /**
3816
+ * Datasource for the context.
3817
+ */
3818
+ datasource?: string;
3819
+ /**
3820
+ * Recursive for the context.
3821
+ */
3822
+ recursive?: boolean;
3823
+ /**
3824
+ * Include count for the context.
3825
+ */
3826
+ include_count?: boolean;
3827
+ /**
3828
+ * Include root for the context.
3829
+ */
3830
+ include_root?: boolean;
3831
+ /**
3832
+ * Include all fields for the context.
3833
+ */
3834
+ include_all_fields?: boolean;
3835
+ /**
3836
+ * OS exact concept filter for the context.
3837
+ */
3838
+ os_exact_concept_filter?: string[];
3839
+ };
3840
+
3454
3841
  export declare type SetTransformResultFn = (args: any[]) => Promise<void>;
3455
3842
 
3456
3843
  /**
@@ -3617,9 +4004,7 @@ export declare type StylerDefinition = JavascriptFileStylerDefinition | Javascri
3617
4004
  * @beta
3618
4005
  * Type representing a collection of styler definitions.
3619
4006
  */
3620
- export declare type StylerDefinitions = {
3621
- [stylerName: string]: StylerDefinition;
3622
- };
4007
+ export declare type StylerDefinitions = Record<string, StylerDefinition>;
3623
4008
 
3624
4009
  /**
3625
4010
  * @beta
@@ -3797,9 +4182,7 @@ export declare type TransformDefinition = ProvidedTransformDefinition | HttpTran
3797
4182
  * @beta
3798
4183
  * Type representing a collection of transform definitions.
3799
4184
  */
3800
- export declare type TransformDefinitions = {
3801
- [transformName: string]: TransformDefinition;
3802
- };
4185
+ export declare type TransformDefinitions = Record<string, TransformDefinition>;
3803
4186
 
3804
4187
  /**
3805
4188
  * @beta
@@ -3807,6 +4190,13 @@ export declare type TransformDefinitions = {
3807
4190
  */
3808
4191
  export declare type trigger = 'hover' | 'contextMenu' | 'click';
3809
4192
 
4193
+ export declare interface UiStateManager {
4194
+ setUiState(entity: Entity, ui_state: Partial<EntityUiState>, patch?: boolean): void;
4195
+ getUiState(entity: Entity): EntityUiState | undefined;
4196
+ clearUiState(entity: Entity): void;
4197
+ subscribeToUiStateChanges(entity: Entity, callback: (state: EntityUiState | undefined) => void): () => void;
4198
+ }
4199
+
3810
4200
  /**
3811
4201
  * @beta
3812
4202
  * Represents a filter clause with unary operations in a query object.
@@ -3814,7 +4204,7 @@ export declare type trigger = 'hover' | 'contextMenu' | 'click';
3814
4204
  */
3815
4205
  export declare interface UnaryObjectFilterClause {
3816
4206
  col: string;
3817
- op: 'IS NULL' | 'IS NOT NULL';
4207
+ op: 'IS NULL' | 'IS NOT NULL' | 'IN' | 'NOT IN';
3818
4208
  }
3819
4209
 
3820
4210
  /**
@@ -3830,6 +4220,15 @@ export declare type UnsubscribeFromContextFn = UnsubscribeFn;
3830
4220
 
3831
4221
  export declare type UnsubscribeFromDragStartFn = UnsubscribeFn;
3832
4222
 
4223
+ export declare interface UnzipOptions {
4224
+ extract_to_new_folder?: boolean;
4225
+ }
4226
+
4227
+ export declare interface UploadOptions {
4228
+ content_type: string;
4229
+ ttl_minutes?: number;
4230
+ }
4231
+
3833
4232
  /**
3834
4233
  * @beta
3835
4234
  * Type representing a user profile.
@@ -3851,6 +4250,16 @@ export declare type UserProfile = {
3851
4250
  */
3852
4251
  export declare type uuid = string;
3853
4252
 
4253
+ declare type VectorKey = `vector_${string}_${number}_${string}`;
4254
+
4255
+ /**
4256
+ * Represents a virtual entity not in the database.
4257
+ * @beta
4258
+ */
4259
+ export declare type VirtualEntity = Entity & {
4260
+ '#virtual': true;
4261
+ };
4262
+
3854
4263
  /**
3855
4264
  * Represents a watcher.
3856
4265
  * @beta
@@ -3950,6 +4359,14 @@ export declare type WithProgressBarOptions = {
3950
4359
  * Error message for the progress bar.
3951
4360
  */
3952
4361
  errorToast?: string | boolean;
4362
+ /**
4363
+ * Key for the progress bar.
4364
+ */
4365
+ key?: string;
4366
+ /**
4367
+ * Persist until complete for the progress bar.
4368
+ */
4369
+ persistUntilComplete?: boolean;
3953
4370
  };
3954
4371
 
3955
4372
  /**
@@ -3999,11 +4416,35 @@ export declare interface WorkspaceChangeEmitter {
3999
4416
  onOpenWorkspacesChanged: AddListener<Workspace[]>;
4000
4417
  }
4001
4418
 
4419
+ /**
4420
+ * Options for creating a workspace.
4421
+ * @beta
4422
+ */
4002
4423
  export declare type WorkspaceConfig = Partial<{
4424
+ /**
4425
+ * Description of the workspace.
4426
+ */
4003
4427
  description: string;
4428
+ /**
4429
+ * Icon of the workspace.
4430
+ */
4004
4431
  os_icon: string;
4432
+ /**
4433
+ * Color of the workspace.
4434
+ */
4005
4435
  color: string;
4006
- id?: string;
4436
+ /**
4437
+ * ID of the workspace.
4438
+ */
4439
+ entity_id?: string;
4440
+ /**
4441
+ * Whether to create the workspace quietly, without opening it.
4442
+ */
4443
+ '#quietly'?: boolean;
4444
+ /**
4445
+ * Whether the workspace is a set.
4446
+ */
4447
+ os_is_set?: boolean;
4007
4448
  }>;
4008
4449
 
4009
4450
  /**
@@ -4028,6 +4469,14 @@ export declare type WorkspaceIdentifier<T = any> = uuid | WorkspaceItem<T>;
4028
4469
  * @beta
4029
4470
  */
4030
4471
  export declare type WorkspaceItem<T = any> = WorkspaceRecord & {
4472
+ /**
4473
+ * Whether the item is a set.
4474
+ */
4475
+ os_is_set?: boolean;
4476
+ /**
4477
+ * The concept of the workspace item.
4478
+ */
4479
+ os_concept?: string;
4031
4480
  /**
4032
4481
  * The type-specific content of the workspace item.
4033
4482
  */
@@ -4101,6 +4550,30 @@ export declare interface WorkspaceItemConfig {
4101
4550
  last_updated: number;
4102
4551
  }
4103
4552
 
4553
+ export declare type WorkspaceItemDocumentFields = Entity & Partial<{
4554
+ os_item_content_type: string;
4555
+ os_parent_folder: string;
4556
+ os_deleted_by: string | null;
4557
+ os_icon: string | null;
4558
+ description: string | null;
4559
+ os_item_content: string | null;
4560
+ os_last_updated_at: string;
4561
+ os_hidden_at: string | null;
4562
+ os_created_by: string;
4563
+ os_custom_icon: string | null;
4564
+ os_concept: string;
4565
+ os_has_attachment: boolean;
4566
+ os_last_updated_by: string;
4567
+ os_deleted_at: string | null;
4568
+ os_textsearchfield: string | null;
4569
+ os_item_type: string;
4570
+ os_hidden_by: string;
4571
+ os_entity_uid: string;
4572
+ os_content_size: number | null;
4573
+ os_created_at: string;
4574
+ os_item_name: string;
4575
+ }>;
4576
+
4104
4577
  /**
4105
4578
  * @beta
4106
4579
  * Type representing a workspace item identifier, which is the same as a workspace identifier.
@@ -4209,6 +4682,10 @@ export declare type WorkspaceItemTitleProps = DesktopActionContext & {
4209
4682
  * If the component it is being used inside a Markdown component
4210
4683
  */
4211
4684
  markdown?: boolean;
4685
+ /**
4686
+ * Title for the item.
4687
+ */
4688
+ title?: ReactNode;
4212
4689
  };
4213
4690
 
4214
4691
  /**
@@ -4279,9 +4756,7 @@ export declare type WorkspaceRecordInfo = {
4279
4756
  * @beta
4280
4757
  * Type representing a collection of workspace records.
4281
4758
  */
4282
- export declare type WorkspaceRecords = {
4283
- [key: string]: WorkspaceRecordInfo;
4284
- };
4759
+ export declare type WorkspaceRecords = Record<string, WorkspaceRecordInfo>;
4285
4760
 
4286
4761
  /**
4287
4762
  * @beta
@@ -4332,6 +4807,8 @@ export declare type WorkspaceSettings = {
4332
4807
  isMaster?: boolean;
4333
4808
  /** The icon for the workspace. */
4334
4809
  os_icon?: string;
4810
+ /** The color for the workspace. */
4811
+ color?: string;
4335
4812
  };
4336
4813
 
4337
4814
  export { }