@knowledge-stack/ksapi 1.132.0 → 1.133.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1899) hide show
  1. package/.openapi-generator/FILES +22 -4
  2. package/README.md +21 -9
  3. package/dist/apis/AgentApi.d.ts +5 -5
  4. package/dist/apis/AgentApi.js +3 -3
  5. package/dist/apis/ApiConnectionsApi.d.ts +1 -1
  6. package/dist/apis/ApiConnectionsApi.js +1 -1
  7. package/dist/apis/ApiKeysApi.d.ts +1 -1
  8. package/dist/apis/ApiKeysApi.js +1 -1
  9. package/dist/apis/AuditEventsApi.d.ts +17 -17
  10. package/dist/apis/AuditEventsApi.js +5 -5
  11. package/dist/apis/AuthApi.d.ts +1 -1
  12. package/dist/apis/AuthApi.js +1 -1
  13. package/dist/apis/BulkDownloadApi.d.ts +1 -1
  14. package/dist/apis/BulkDownloadApi.js +1 -1
  15. package/dist/apis/ChunkLineagesApi.d.ts +1 -1
  16. package/dist/apis/ChunkLineagesApi.js +1 -1
  17. package/dist/apis/ChunksApi.d.ts +1 -1
  18. package/dist/apis/ChunksApi.js +1 -1
  19. package/dist/apis/DataSourcesApi.d.ts +149 -35
  20. package/dist/apis/DataSourcesApi.js +167 -21
  21. package/dist/apis/DefaultApi.d.ts +1 -1
  22. package/dist/apis/DefaultApi.js +1 -1
  23. package/dist/apis/DocumentCheckoutApi.d.ts +1 -1
  24. package/dist/apis/DocumentCheckoutApi.js +1 -1
  25. package/dist/apis/DocumentVersionsApi.d.ts +1 -1
  26. package/dist/apis/DocumentVersionsApi.js +1 -1
  27. package/dist/apis/DocumentsApi.d.ts +9 -9
  28. package/dist/apis/DocumentsApi.js +5 -5
  29. package/dist/apis/FeaturesApi.d.ts +1 -1
  30. package/dist/apis/FeaturesApi.js +1 -1
  31. package/dist/apis/FeedbackApi.d.ts +1 -1
  32. package/dist/apis/FeedbackApi.js +1 -1
  33. package/dist/apis/FoldersApi.d.ts +1 -1
  34. package/dist/apis/FoldersApi.js +1 -1
  35. package/dist/apis/InvitesApi.d.ts +1 -1
  36. package/dist/apis/InvitesApi.js +1 -1
  37. package/dist/apis/MemoryApi.d.ts +1 -1
  38. package/dist/apis/MemoryApi.js +1 -1
  39. package/dist/apis/PathPartApprovalsApi.d.ts +1 -1
  40. package/dist/apis/PathPartApprovalsApi.js +1 -1
  41. package/dist/apis/PathPartsApi.d.ts +1 -1
  42. package/dist/apis/PathPartsApi.js +1 -1
  43. package/dist/apis/PublicApi.d.ts +1 -1
  44. package/dist/apis/PublicApi.js +1 -1
  45. package/dist/apis/SectionsApi.d.ts +1 -1
  46. package/dist/apis/SectionsApi.js +1 -1
  47. package/dist/apis/SubscriptionsApi.d.ts +1 -1
  48. package/dist/apis/SubscriptionsApi.js +1 -1
  49. package/dist/apis/{WorkflowsApi.d.ts → SystemJobsApi.d.ts} +15 -15
  50. package/dist/apis/{WorkflowsApi.js → SystemJobsApi.js} +9 -9
  51. package/dist/apis/TagsApi.d.ts +1 -1
  52. package/dist/apis/TagsApi.js +1 -1
  53. package/dist/apis/TenantGroupsApi.d.ts +1 -1
  54. package/dist/apis/TenantGroupsApi.js +1 -1
  55. package/dist/apis/TenantsApi.d.ts +1 -1
  56. package/dist/apis/TenantsApi.js +1 -1
  57. package/dist/apis/ThreadMessagesApi.d.ts +1 -1
  58. package/dist/apis/ThreadMessagesApi.js +1 -1
  59. package/dist/apis/ThreadsApi.d.ts +1 -1
  60. package/dist/apis/ThreadsApi.js +1 -1
  61. package/dist/apis/TrashApi.d.ts +1 -1
  62. package/dist/apis/TrashApi.js +1 -1
  63. package/dist/apis/UserPermissionsApi.d.ts +1 -1
  64. package/dist/apis/UserPermissionsApi.js +1 -1
  65. package/dist/apis/UsersApi.d.ts +1 -1
  66. package/dist/apis/UsersApi.js +1 -1
  67. package/dist/apis/WorkflowDefinitionsApi.d.ts +1 -1
  68. package/dist/apis/WorkflowDefinitionsApi.js +1 -1
  69. package/dist/apis/WorkflowMemoryApi.d.ts +1 -1
  70. package/dist/apis/WorkflowMemoryApi.js +1 -1
  71. package/dist/apis/WorkflowRunsApi.d.ts +9 -9
  72. package/dist/apis/WorkflowRunsApi.js +5 -5
  73. package/dist/apis/index.d.ts +1 -1
  74. package/dist/apis/index.js +1 -1
  75. package/dist/esm/apis/AgentApi.d.ts +5 -5
  76. package/dist/esm/apis/AgentApi.js +3 -3
  77. package/dist/esm/apis/ApiConnectionsApi.d.ts +1 -1
  78. package/dist/esm/apis/ApiConnectionsApi.js +1 -1
  79. package/dist/esm/apis/ApiKeysApi.d.ts +1 -1
  80. package/dist/esm/apis/ApiKeysApi.js +1 -1
  81. package/dist/esm/apis/AuditEventsApi.d.ts +17 -17
  82. package/dist/esm/apis/AuditEventsApi.js +5 -5
  83. package/dist/esm/apis/AuthApi.d.ts +1 -1
  84. package/dist/esm/apis/AuthApi.js +1 -1
  85. package/dist/esm/apis/BulkDownloadApi.d.ts +1 -1
  86. package/dist/esm/apis/BulkDownloadApi.js +1 -1
  87. package/dist/esm/apis/ChunkLineagesApi.d.ts +1 -1
  88. package/dist/esm/apis/ChunkLineagesApi.js +1 -1
  89. package/dist/esm/apis/ChunksApi.d.ts +1 -1
  90. package/dist/esm/apis/ChunksApi.js +1 -1
  91. package/dist/esm/apis/DataSourcesApi.d.ts +149 -35
  92. package/dist/esm/apis/DataSourcesApi.js +168 -22
  93. package/dist/esm/apis/DefaultApi.d.ts +1 -1
  94. package/dist/esm/apis/DefaultApi.js +1 -1
  95. package/dist/esm/apis/DocumentCheckoutApi.d.ts +1 -1
  96. package/dist/esm/apis/DocumentCheckoutApi.js +1 -1
  97. package/dist/esm/apis/DocumentVersionsApi.d.ts +1 -1
  98. package/dist/esm/apis/DocumentVersionsApi.js +1 -1
  99. package/dist/esm/apis/DocumentsApi.d.ts +9 -9
  100. package/dist/esm/apis/DocumentsApi.js +5 -5
  101. package/dist/esm/apis/FeaturesApi.d.ts +1 -1
  102. package/dist/esm/apis/FeaturesApi.js +1 -1
  103. package/dist/esm/apis/FeedbackApi.d.ts +1 -1
  104. package/dist/esm/apis/FeedbackApi.js +1 -1
  105. package/dist/esm/apis/FoldersApi.d.ts +1 -1
  106. package/dist/esm/apis/FoldersApi.js +1 -1
  107. package/dist/esm/apis/InvitesApi.d.ts +1 -1
  108. package/dist/esm/apis/InvitesApi.js +1 -1
  109. package/dist/esm/apis/MemoryApi.d.ts +1 -1
  110. package/dist/esm/apis/MemoryApi.js +1 -1
  111. package/dist/esm/apis/PathPartApprovalsApi.d.ts +1 -1
  112. package/dist/esm/apis/PathPartApprovalsApi.js +1 -1
  113. package/dist/esm/apis/PathPartsApi.d.ts +1 -1
  114. package/dist/esm/apis/PathPartsApi.js +1 -1
  115. package/dist/esm/apis/PublicApi.d.ts +1 -1
  116. package/dist/esm/apis/PublicApi.js +1 -1
  117. package/dist/esm/apis/SectionsApi.d.ts +1 -1
  118. package/dist/esm/apis/SectionsApi.js +1 -1
  119. package/dist/esm/apis/SubscriptionsApi.d.ts +1 -1
  120. package/dist/esm/apis/SubscriptionsApi.js +1 -1
  121. package/dist/esm/apis/{WorkflowsApi.d.ts → SystemJobsApi.d.ts} +15 -15
  122. package/dist/esm/apis/{WorkflowsApi.js → SystemJobsApi.js} +7 -7
  123. package/dist/esm/apis/TagsApi.d.ts +1 -1
  124. package/dist/esm/apis/TagsApi.js +1 -1
  125. package/dist/esm/apis/TenantGroupsApi.d.ts +1 -1
  126. package/dist/esm/apis/TenantGroupsApi.js +1 -1
  127. package/dist/esm/apis/TenantsApi.d.ts +1 -1
  128. package/dist/esm/apis/TenantsApi.js +1 -1
  129. package/dist/esm/apis/ThreadMessagesApi.d.ts +1 -1
  130. package/dist/esm/apis/ThreadMessagesApi.js +1 -1
  131. package/dist/esm/apis/ThreadsApi.d.ts +1 -1
  132. package/dist/esm/apis/ThreadsApi.js +1 -1
  133. package/dist/esm/apis/TrashApi.d.ts +1 -1
  134. package/dist/esm/apis/TrashApi.js +1 -1
  135. package/dist/esm/apis/UserPermissionsApi.d.ts +1 -1
  136. package/dist/esm/apis/UserPermissionsApi.js +1 -1
  137. package/dist/esm/apis/UsersApi.d.ts +1 -1
  138. package/dist/esm/apis/UsersApi.js +1 -1
  139. package/dist/esm/apis/WorkflowDefinitionsApi.d.ts +1 -1
  140. package/dist/esm/apis/WorkflowDefinitionsApi.js +1 -1
  141. package/dist/esm/apis/WorkflowMemoryApi.d.ts +1 -1
  142. package/dist/esm/apis/WorkflowMemoryApi.js +1 -1
  143. package/dist/esm/apis/WorkflowRunsApi.d.ts +9 -9
  144. package/dist/esm/apis/WorkflowRunsApi.js +5 -5
  145. package/dist/esm/apis/index.d.ts +1 -1
  146. package/dist/esm/apis/index.js +1 -1
  147. package/dist/esm/models/AcceptDisclaimerRequest.d.ts +1 -1
  148. package/dist/esm/models/AcceptDisclaimerRequest.js +1 -1
  149. package/dist/esm/models/AcceptInviteResponse.d.ts +1 -1
  150. package/dist/esm/models/AcceptInviteResponse.js +1 -1
  151. package/dist/esm/models/AccessCheckResponse.d.ts +1 -1
  152. package/dist/esm/models/AccessCheckResponse.js +1 -1
  153. package/dist/esm/models/AddMemberRequest.d.ts +1 -1
  154. package/dist/esm/models/AddMemberRequest.js +1 -1
  155. package/dist/esm/models/AncestryResponse.d.ts +1 -1
  156. package/dist/esm/models/AncestryResponse.js +1 -1
  157. package/dist/esm/models/ApiAuthConfig.d.ts +1 -1
  158. package/dist/esm/models/ApiAuthConfig.js +1 -1
  159. package/dist/esm/models/ApiConnectionRequestRequest.d.ts +1 -1
  160. package/dist/esm/models/ApiConnectionRequestRequest.js +1 -1
  161. package/dist/esm/models/ApiConnectionRequestResponse.d.ts +1 -1
  162. package/dist/esm/models/ApiConnectionRequestResponse.js +1 -1
  163. package/dist/esm/models/ApiConnectionResponse.d.ts +1 -1
  164. package/dist/esm/models/ApiConnectionResponse.js +1 -1
  165. package/dist/esm/models/ApiKeyResponse.d.ts +1 -1
  166. package/dist/esm/models/ApiKeyResponse.js +1 -1
  167. package/dist/esm/models/AppendEventRequest.d.ts +1 -1
  168. package/dist/esm/models/AppendEventRequest.js +1 -1
  169. package/dist/esm/models/AppendMemoryChunkRequest.d.ts +1 -1
  170. package/dist/esm/models/AppendMemoryChunkRequest.js +1 -1
  171. package/dist/esm/models/Args.d.ts +1 -1
  172. package/dist/esm/models/Args.js +1 -1
  173. package/dist/esm/models/AskRequest.d.ts +1 -1
  174. package/dist/esm/models/AskRequest.js +1 -1
  175. package/dist/esm/models/AskResponse.d.ts +1 -1
  176. package/dist/esm/models/AskResponse.js +1 -1
  177. package/dist/esm/models/BlockChangeType.d.ts +1 -1
  178. package/dist/esm/models/BlockChangeType.js +1 -1
  179. package/dist/esm/models/BlockKind.d.ts +1 -1
  180. package/dist/esm/models/BlockKind.js +1 -1
  181. package/dist/esm/models/BrandingLogoType.d.ts +1 -1
  182. package/dist/esm/models/BrandingLogoType.js +1 -1
  183. package/dist/esm/models/BulkDownloadRequest.d.ts +1 -1
  184. package/dist/esm/models/BulkDownloadRequest.js +1 -1
  185. package/dist/esm/models/BulkModelTablesRequest.d.ts +1 -1
  186. package/dist/esm/models/BulkModelTablesRequest.js +1 -1
  187. package/dist/esm/models/BulkModelTablesResponse.d.ts +1 -1
  188. package/dist/esm/models/BulkModelTablesResponse.js +1 -1
  189. package/dist/esm/models/BulkTagRequest.d.ts +1 -1
  190. package/dist/esm/models/BulkTagRequest.js +1 -1
  191. package/dist/esm/models/CatalogColumnResponse.d.ts +1 -1
  192. package/dist/esm/models/CatalogColumnResponse.js +1 -1
  193. package/dist/esm/models/CatalogTableResponse.d.ts +1 -1
  194. package/dist/esm/models/CatalogTableResponse.js +1 -1
  195. package/dist/esm/models/CellChange.d.ts +1 -1
  196. package/dist/esm/models/CellChange.js +1 -1
  197. package/dist/esm/models/CellChangeType.d.ts +1 -1
  198. package/dist/esm/models/CellChangeType.js +1 -1
  199. package/dist/esm/models/CellDiff.d.ts +1 -1
  200. package/dist/esm/models/CellDiff.js +1 -1
  201. package/dist/esm/models/ChangeClass.d.ts +1 -1
  202. package/dist/esm/models/ChangeClass.js +1 -1
  203. package/dist/esm/models/ChangePhoneNumberRequest.d.ts +1 -1
  204. package/dist/esm/models/ChangePhoneNumberRequest.js +1 -1
  205. package/dist/esm/models/ChangeSubscriptionRequest.d.ts +1 -1
  206. package/dist/esm/models/ChangeSubscriptionRequest.js +1 -1
  207. package/dist/esm/models/CheckpointDetails.d.ts +1 -1
  208. package/dist/esm/models/CheckpointDetails.js +1 -1
  209. package/dist/esm/models/ChunkBulkResponse.d.ts +1 -1
  210. package/dist/esm/models/ChunkBulkResponse.js +1 -1
  211. package/dist/esm/models/ChunkContentItem.d.ts +1 -1
  212. package/dist/esm/models/ChunkContentItem.js +1 -1
  213. package/dist/esm/models/ChunkDocumentResponse.d.ts +1 -1
  214. package/dist/esm/models/ChunkDocumentResponse.js +1 -1
  215. package/dist/esm/models/ChunkDocumentVersionResponse.d.ts +1 -1
  216. package/dist/esm/models/ChunkDocumentVersionResponse.js +1 -1
  217. package/dist/esm/models/ChunkLineageResponse.d.ts +1 -1
  218. package/dist/esm/models/ChunkLineageResponse.js +1 -1
  219. package/dist/esm/models/ChunkMetadata.d.ts +1 -1
  220. package/dist/esm/models/ChunkMetadata.js +1 -1
  221. package/dist/esm/models/ChunkNeighborsResponse.d.ts +1 -1
  222. package/dist/esm/models/ChunkNeighborsResponse.js +1 -1
  223. package/dist/esm/models/ChunkResponse.d.ts +1 -1
  224. package/dist/esm/models/ChunkResponse.js +1 -1
  225. package/dist/esm/models/ChunkSearchRequest.d.ts +1 -1
  226. package/dist/esm/models/ChunkSearchRequest.js +1 -1
  227. package/dist/esm/models/ChunkType.d.ts +1 -1
  228. package/dist/esm/models/ChunkType.js +1 -1
  229. package/dist/esm/models/Citation.d.ts +1 -1
  230. package/dist/esm/models/Citation.js +1 -1
  231. package/dist/esm/models/CitedChunk.d.ts +1 -1
  232. package/dist/esm/models/CitedChunk.js +1 -1
  233. package/dist/esm/models/ClearVersionContentsResponse.d.ts +1 -1
  234. package/dist/esm/models/ClearVersionContentsResponse.js +1 -1
  235. package/dist/esm/models/CloneWorkflowRunRequest.d.ts +1 -1
  236. package/dist/esm/models/CloneWorkflowRunRequest.js +1 -1
  237. package/dist/esm/models/ColumnConfig.d.ts +1 -1
  238. package/dist/esm/models/ColumnConfig.js +1 -1
  239. package/dist/esm/models/ColumnReference.d.ts +1 -1
  240. package/dist/esm/models/ColumnReference.js +1 -1
  241. package/dist/esm/models/CommonFileExclusionReason.d.ts +1 -1
  242. package/dist/esm/models/CommonFileExclusionReason.js +1 -1
  243. package/dist/esm/models/ConnectionConfig.d.ts +1 -1
  244. package/dist/esm/models/ConnectionConfig.js +1 -1
  245. package/dist/esm/models/ContentsSortOrder.d.ts +1 -1
  246. package/dist/esm/models/ContentsSortOrder.js +1 -1
  247. package/dist/esm/models/CreateApiConnectionRequest.d.ts +1 -1
  248. package/dist/esm/models/CreateApiConnectionRequest.js +1 -1
  249. package/dist/esm/models/CreateApiKeyRequest.d.ts +1 -1
  250. package/dist/esm/models/CreateApiKeyRequest.js +1 -1
  251. package/dist/esm/models/CreateApiKeyResponse.d.ts +2 -2
  252. package/dist/esm/models/CreateApiKeyResponse.js +1 -1
  253. package/dist/esm/models/CreateChunkLineageRequest.d.ts +1 -1
  254. package/dist/esm/models/CreateChunkLineageRequest.js +1 -1
  255. package/dist/esm/models/CreateChunkRequest.d.ts +1 -1
  256. package/dist/esm/models/CreateChunkRequest.js +1 -1
  257. package/dist/esm/models/CreateDataSourceRequest.d.ts +1 -1
  258. package/dist/esm/models/CreateDataSourceRequest.js +1 -1
  259. package/dist/esm/models/CreateDocumentRequest.d.ts +1 -1
  260. package/dist/esm/models/CreateDocumentRequest.js +1 -1
  261. package/dist/esm/models/CreateFolderRequest.d.ts +1 -1
  262. package/dist/esm/models/CreateFolderRequest.js +1 -1
  263. package/dist/esm/models/CreateGroupPermissionRequest.d.ts +1 -1
  264. package/dist/esm/models/CreateGroupPermissionRequest.js +1 -1
  265. package/dist/esm/models/CreateGroupRequest.d.ts +1 -1
  266. package/dist/esm/models/CreateGroupRequest.js +1 -1
  267. package/dist/esm/models/CreatePasswordUserRequest.d.ts +1 -1
  268. package/dist/esm/models/CreatePasswordUserRequest.js +1 -1
  269. package/dist/esm/models/CreatePermissionRequest.d.ts +1 -1
  270. package/dist/esm/models/CreatePermissionRequest.js +1 -1
  271. package/dist/esm/models/CreatePhonePasswordUserRequest.d.ts +1 -1
  272. package/dist/esm/models/CreatePhonePasswordUserRequest.js +1 -1
  273. package/dist/esm/models/CreateSectionRequest.d.ts +1 -1
  274. package/dist/esm/models/CreateSectionRequest.js +1 -1
  275. package/dist/esm/models/CreateTagRequest.d.ts +1 -1
  276. package/dist/esm/models/CreateTagRequest.js +1 -1
  277. package/dist/esm/models/CreateThreadMessageRequest.d.ts +1 -1
  278. package/dist/esm/models/CreateThreadMessageRequest.js +1 -1
  279. package/dist/esm/models/CreateThreadRequest.d.ts +1 -1
  280. package/dist/esm/models/CreateThreadRequest.js +1 -1
  281. package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +1 -1
  282. package/dist/esm/models/CreateWorkflowDefinitionRequest.js +1 -1
  283. package/dist/esm/models/DataSourceCatalogResponse.d.ts +1 -1
  284. package/dist/esm/models/DataSourceCatalogResponse.js +1 -1
  285. package/dist/esm/models/DataSourceDescribeResponse.d.ts +70 -0
  286. package/dist/esm/models/DataSourceDescribeResponse.js +56 -0
  287. package/dist/esm/models/DataSourceDetailResponse.d.ts +1 -10
  288. package/dist/esm/models/DataSourceDetailResponse.js +1 -3
  289. package/dist/esm/models/DataSourceEngine.d.ts +1 -1
  290. package/dist/esm/models/DataSourceEngine.js +1 -1
  291. package/dist/esm/models/DataSourceQueryRequest.d.ts +1 -1
  292. package/dist/esm/models/DataSourceQueryRequest.js +1 -1
  293. package/dist/esm/models/DataSourceQueryResponse.d.ts +1 -1
  294. package/dist/esm/models/DataSourceQueryResponse.js +1 -1
  295. package/dist/esm/models/DataSourceResponse.d.ts +1 -1
  296. package/dist/esm/models/DataSourceResponse.js +1 -1
  297. package/dist/esm/models/DataSourceSchemaListItem.d.ts +1 -1
  298. package/dist/esm/models/DataSourceSchemaListItem.js +1 -1
  299. package/dist/esm/models/DataSourceSchemaListResponse.d.ts +1 -1
  300. package/dist/esm/models/DataSourceSchemaListResponse.js +1 -1
  301. package/dist/esm/models/DataSourceSchemaResponse.d.ts +1 -7
  302. package/dist/esm/models/DataSourceSchemaResponse.js +1 -5
  303. package/dist/esm/models/DataSourceSyncResponse.d.ts +65 -0
  304. package/dist/esm/models/DataSourceSyncResponse.js +56 -0
  305. package/dist/esm/models/DataSourceTableResponse.d.ts +1 -7
  306. package/dist/esm/models/DataSourceTableResponse.js +1 -5
  307. package/dist/esm/models/DiffFormat.d.ts +1 -1
  308. package/dist/esm/models/DiffFormat.js +1 -1
  309. package/dist/esm/models/DiffRow.d.ts +1 -1
  310. package/dist/esm/models/DiffRow.js +1 -1
  311. package/dist/esm/models/DiffRowType.d.ts +1 -1
  312. package/dist/esm/models/DiffRowType.js +1 -1
  313. package/dist/esm/models/DiffSpan.d.ts +1 -1
  314. package/dist/esm/models/DiffSpan.js +1 -1
  315. package/dist/esm/models/DirectorySyncResponse.d.ts +1 -1
  316. package/dist/esm/models/DirectorySyncResponse.js +1 -1
  317. package/dist/esm/models/DisplayNameFormat.d.ts +1 -1
  318. package/dist/esm/models/DisplayNameFormat.js +1 -1
  319. package/dist/esm/models/DissolveSectionResponse.d.ts +1 -1
  320. package/dist/esm/models/DissolveSectionResponse.js +1 -1
  321. package/dist/esm/models/DocEditPart.d.ts +1 -1
  322. package/dist/esm/models/DocEditPart.js +1 -1
  323. package/dist/esm/models/DocumentBlockChange.d.ts +1 -1
  324. package/dist/esm/models/DocumentBlockChange.js +1 -1
  325. package/dist/esm/models/DocumentCheckoutResponse.d.ts +1 -1
  326. package/dist/esm/models/DocumentCheckoutResponse.js +1 -1
  327. package/dist/esm/models/DocumentDiff.d.ts +1 -1
  328. package/dist/esm/models/DocumentDiff.js +1 -1
  329. package/dist/esm/models/DocumentDownloadResponse.d.ts +1 -1
  330. package/dist/esm/models/DocumentDownloadResponse.js +1 -1
  331. package/dist/esm/models/DocumentOrigin.d.ts +1 -1
  332. package/dist/esm/models/DocumentOrigin.js +1 -1
  333. package/dist/esm/models/DocumentResponse.d.ts +1 -1
  334. package/dist/esm/models/DocumentResponse.js +1 -1
  335. package/dist/esm/models/DocumentType.d.ts +1 -1
  336. package/dist/esm/models/DocumentType.js +1 -1
  337. package/dist/esm/models/DocumentVersionAction.d.ts +1 -1
  338. package/dist/esm/models/DocumentVersionAction.js +1 -1
  339. package/dist/esm/models/DocumentVersionActionResponse.d.ts +1 -1
  340. package/dist/esm/models/DocumentVersionActionResponse.js +1 -1
  341. package/dist/esm/models/DocumentVersionContentTypeFilter.d.ts +1 -1
  342. package/dist/esm/models/DocumentVersionContentTypeFilter.js +1 -1
  343. package/dist/esm/models/DocumentVersionMetadata.d.ts +1 -1
  344. package/dist/esm/models/DocumentVersionMetadata.js +1 -1
  345. package/dist/esm/models/DocumentVersionMetadataUpdate.d.ts +1 -1
  346. package/dist/esm/models/DocumentVersionMetadataUpdate.js +1 -1
  347. package/dist/esm/models/DocumentVersionOrder.d.ts +1 -1
  348. package/dist/esm/models/DocumentVersionOrder.js +1 -1
  349. package/dist/esm/models/DocumentVersionResponse.d.ts +1 -1
  350. package/dist/esm/models/DocumentVersionResponse.js +1 -1
  351. package/dist/esm/models/DocxParagraphAnchorInput.d.ts +1 -1
  352. package/dist/esm/models/DocxParagraphAnchorInput.js +1 -1
  353. package/dist/esm/models/DocxParagraphAnchorOutput.d.ts +1 -1
  354. package/dist/esm/models/DocxParagraphAnchorOutput.js +1 -1
  355. package/dist/esm/models/DownloadArtifact.d.ts +1 -1
  356. package/dist/esm/models/DownloadArtifact.js +1 -1
  357. package/dist/esm/models/EditMemoryChunkRequest.d.ts +1 -1
  358. package/dist/esm/models/EditMemoryChunkRequest.js +1 -1
  359. package/dist/esm/models/EmailSentResponse.d.ts +1 -1
  360. package/dist/esm/models/EmailSentResponse.js +1 -1
  361. package/dist/esm/models/EmailVerificationRequest.d.ts +1 -1
  362. package/dist/esm/models/EmailVerificationRequest.js +1 -1
  363. package/dist/esm/models/EnrichedCitation.d.ts +1 -1
  364. package/dist/esm/models/EnrichedCitation.js +1 -1
  365. package/dist/esm/models/EnrichedThreadMessageContent.d.ts +1 -1
  366. package/dist/esm/models/EnrichedThreadMessageContent.js +1 -1
  367. package/dist/esm/models/ErrorResponse.d.ts +25 -4
  368. package/dist/esm/models/ErrorResponse.js +21 -1
  369. package/dist/esm/models/EventResponse.d.ts +1 -1
  370. package/dist/esm/models/EventResponse.js +1 -1
  371. package/dist/esm/models/ExcludedCommonFile.d.ts +1 -1
  372. package/dist/esm/models/ExcludedCommonFile.js +1 -1
  373. package/dist/esm/models/ExtractRequest.d.ts +1 -1
  374. package/dist/esm/models/ExtractRequest.js +1 -1
  375. package/dist/esm/models/ExtractResponse.d.ts +1 -1
  376. package/dist/esm/models/ExtractResponse.js +1 -1
  377. package/dist/esm/models/FeaturesResponse.d.ts +1 -1
  378. package/dist/esm/models/FeaturesResponse.js +1 -1
  379. package/dist/esm/models/FeedbackEventResponse.d.ts +1 -1
  380. package/dist/esm/models/FeedbackEventResponse.js +1 -1
  381. package/dist/esm/models/FeedbackOrder.d.ts +1 -1
  382. package/dist/esm/models/FeedbackOrder.js +1 -1
  383. package/dist/esm/models/FeedbackRating.d.ts +1 -1
  384. package/dist/esm/models/FeedbackRating.js +1 -1
  385. package/dist/esm/models/FeedbackReason.d.ts +1 -1
  386. package/dist/esm/models/FeedbackReason.js +1 -1
  387. package/dist/esm/models/FeedbackTargetType.d.ts +1 -1
  388. package/dist/esm/models/FeedbackTargetType.js +1 -1
  389. package/dist/esm/models/FolderAction.d.ts +1 -1
  390. package/dist/esm/models/FolderAction.js +1 -1
  391. package/dist/esm/models/FolderActionResponse.d.ts +1 -1
  392. package/dist/esm/models/FolderActionResponse.js +1 -1
  393. package/dist/esm/models/FolderResponse.d.ts +1 -1
  394. package/dist/esm/models/FolderResponse.js +1 -1
  395. package/dist/esm/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.d.ts +1 -1
  396. package/dist/esm/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.js +1 -1
  397. package/dist/esm/models/GroupMemberOrder.d.ts +1 -1
  398. package/dist/esm/models/GroupMemberOrder.js +1 -1
  399. package/dist/esm/models/GroupPermissionOrder.d.ts +1 -1
  400. package/dist/esm/models/GroupPermissionOrder.js +1 -1
  401. package/dist/esm/models/GroupPermissionResponse.d.ts +1 -1
  402. package/dist/esm/models/GroupPermissionResponse.js +1 -1
  403. package/dist/esm/models/GroupResponse.d.ts +1 -1
  404. package/dist/esm/models/GroupResponse.js +1 -1
  405. package/dist/esm/models/HTTPValidationError.d.ts +1 -1
  406. package/dist/esm/models/HTTPValidationError.js +1 -1
  407. package/dist/esm/models/HealthCheckResponse.d.ts +1 -1
  408. package/dist/esm/models/HealthCheckResponse.js +1 -1
  409. package/dist/esm/models/HybridSearchProfile.d.ts +1 -1
  410. package/dist/esm/models/HybridSearchProfile.js +1 -1
  411. package/dist/esm/models/IdpConfig.d.ts +1 -1
  412. package/dist/esm/models/IdpConfig.js +1 -1
  413. package/dist/esm/models/IdpType.d.ts +1 -1
  414. package/dist/esm/models/IdpType.js +1 -1
  415. package/dist/esm/models/ImageTaxonomy.d.ts +1 -1
  416. package/dist/esm/models/ImageTaxonomy.js +1 -1
  417. package/dist/esm/models/InformationStatistics.d.ts +1 -1
  418. package/dist/esm/models/InformationStatistics.js +1 -1
  419. package/dist/esm/models/IngestDocumentResponse.d.ts +1 -1
  420. package/dist/esm/models/IngestDocumentResponse.js +1 -1
  421. package/dist/esm/models/IngestionMode.d.ts +1 -1
  422. package/dist/esm/models/IngestionMode.js +1 -1
  423. package/dist/esm/models/Input.d.ts +1 -1
  424. package/dist/esm/models/Input.js +1 -1
  425. package/dist/esm/models/InputOrigin.d.ts +1 -1
  426. package/dist/esm/models/InputOrigin.js +1 -1
  427. package/dist/esm/models/InputSnapshot.d.ts +1 -1
  428. package/dist/esm/models/InputSnapshot.js +1 -1
  429. package/dist/esm/models/InstantiateWorkflowTemplateRequest.d.ts +1 -1
  430. package/dist/esm/models/InstantiateWorkflowTemplateRequest.js +1 -1
  431. package/dist/esm/models/InstructionSnapshot.d.ts +1 -1
  432. package/dist/esm/models/InstructionSnapshot.js +1 -1
  433. package/dist/esm/models/InviteLinkSettingsRequest.d.ts +1 -1
  434. package/dist/esm/models/InviteLinkSettingsRequest.js +1 -1
  435. package/dist/esm/models/InviteLinkSettingsResponse.d.ts +1 -1
  436. package/dist/esm/models/InviteLinkSettingsResponse.js +1 -1
  437. package/dist/esm/models/InviteOrder.d.ts +1 -1
  438. package/dist/esm/models/InviteOrder.js +1 -1
  439. package/dist/esm/models/InviteResponse.d.ts +1 -1
  440. package/dist/esm/models/InviteResponse.js +1 -1
  441. package/dist/esm/models/InviteStatus.d.ts +1 -1
  442. package/dist/esm/models/InviteStatus.js +1 -1
  443. package/dist/esm/models/InviteUserRequest.d.ts +1 -1
  444. package/dist/esm/models/InviteUserRequest.js +1 -1
  445. package/dist/esm/models/ItemPermissions.d.ts +1 -1
  446. package/dist/esm/models/ItemPermissions.js +1 -1
  447. package/dist/esm/models/LineageEdgeResponse.d.ts +1 -1
  448. package/dist/esm/models/LineageEdgeResponse.js +1 -1
  449. package/dist/esm/models/LineageGraphResponse.d.ts +1 -1
  450. package/dist/esm/models/LineageGraphResponse.js +1 -1
  451. package/dist/esm/models/LineageNodeResponse.d.ts +1 -1
  452. package/dist/esm/models/LineageNodeResponse.js +1 -1
  453. package/dist/esm/models/LocationInner.d.ts +1 -1
  454. package/dist/esm/models/LocationInner.js +1 -1
  455. package/dist/esm/models/MembershipResponse.d.ts +1 -1
  456. package/dist/esm/models/MembershipResponse.js +1 -1
  457. package/dist/esm/models/MemoryBodyResponse.d.ts +1 -1
  458. package/dist/esm/models/MemoryBodyResponse.js +1 -1
  459. package/dist/esm/models/MemoryChunkResponse.d.ts +1 -1
  460. package/dist/esm/models/MemoryChunkResponse.js +1 -1
  461. package/dist/esm/models/MemoryKind.d.ts +1 -1
  462. package/dist/esm/models/MemoryKind.js +1 -1
  463. package/dist/esm/models/MemoryScope.d.ts +1 -1
  464. package/dist/esm/models/MemoryScope.js +1 -1
  465. package/dist/esm/models/MessageRole.d.ts +1 -1
  466. package/dist/esm/models/MessageRole.js +1 -1
  467. package/dist/esm/models/MessageUsage.d.ts +1 -1
  468. package/dist/esm/models/MessageUsage.js +1 -1
  469. package/dist/esm/models/MeteredQuotaStatus.d.ts +1 -1
  470. package/dist/esm/models/MeteredQuotaStatus.js +1 -1
  471. package/dist/esm/models/ModelTableRequest.d.ts +1 -7
  472. package/dist/esm/models/ModelTableRequest.js +1 -3
  473. package/dist/esm/models/ModelTableResult.d.ts +1 -1
  474. package/dist/esm/models/ModelTableResult.js +1 -1
  475. package/dist/esm/models/NetworkClass.d.ts +1 -1
  476. package/dist/esm/models/NetworkClass.js +1 -1
  477. package/dist/esm/models/NonFilesystemReferenceType.d.ts +1 -1
  478. package/dist/esm/models/NonFilesystemReferenceType.js +1 -1
  479. package/dist/esm/models/OnboardingCompanyRequest.d.ts +1 -1
  480. package/dist/esm/models/OnboardingCompanyRequest.js +1 -1
  481. package/dist/esm/models/OnboardingProfileRequest.d.ts +1 -1
  482. package/dist/esm/models/OnboardingProfileRequest.js +1 -1
  483. package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.d.ts +1 -1
  484. package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.js +1 -1
  485. package/dist/esm/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +1 -1
  486. package/dist/esm/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +1 -1
  487. package/dist/esm/models/PaginatedResponseDocumentResponse.d.ts +1 -1
  488. package/dist/esm/models/PaginatedResponseDocumentResponse.js +1 -1
  489. package/dist/esm/models/PaginatedResponseDocumentVersionResponse.d.ts +1 -1
  490. package/dist/esm/models/PaginatedResponseDocumentVersionResponse.js +1 -1
  491. package/dist/esm/models/PaginatedResponseEventResponse.d.ts +1 -1
  492. package/dist/esm/models/PaginatedResponseEventResponse.js +1 -1
  493. package/dist/esm/models/PaginatedResponseFeedbackEventResponse.d.ts +1 -1
  494. package/dist/esm/models/PaginatedResponseFeedbackEventResponse.js +1 -1
  495. package/dist/esm/models/PaginatedResponseFolderResponse.d.ts +1 -1
  496. package/dist/esm/models/PaginatedResponseFolderResponse.js +1 -1
  497. package/dist/esm/models/PaginatedResponseGroupPermissionResponse.d.ts +1 -1
  498. package/dist/esm/models/PaginatedResponseGroupPermissionResponse.js +1 -1
  499. package/dist/esm/models/PaginatedResponseGroupResponse.d.ts +1 -1
  500. package/dist/esm/models/PaginatedResponseGroupResponse.js +1 -1
  501. package/dist/esm/models/PaginatedResponseInviteResponse.d.ts +1 -1
  502. package/dist/esm/models/PaginatedResponseInviteResponse.js +1 -1
  503. package/dist/esm/models/PaginatedResponseMembershipResponse.d.ts +1 -1
  504. package/dist/esm/models/PaginatedResponseMembershipResponse.js +1 -1
  505. package/dist/esm/models/PaginatedResponseMemoryChunkResponse.d.ts +1 -1
  506. package/dist/esm/models/PaginatedResponseMemoryChunkResponse.js +1 -1
  507. package/dist/esm/models/PaginatedResponsePathPartResponse.d.ts +1 -1
  508. package/dist/esm/models/PaginatedResponsePathPartResponse.js +1 -1
  509. package/dist/esm/models/PaginatedResponsePendingMemoryChunkResponse.d.ts +1 -1
  510. package/dist/esm/models/PaginatedResponsePendingMemoryChunkResponse.js +1 -1
  511. package/dist/esm/models/PaginatedResponsePermissionResponse.d.ts +1 -1
  512. package/dist/esm/models/PaginatedResponsePermissionResponse.js +1 -1
  513. package/dist/esm/models/PaginatedResponseTagResponse.d.ts +1 -1
  514. package/dist/esm/models/PaginatedResponseTagResponse.js +1 -1
  515. package/dist/esm/models/PaginatedResponseTenantResponse.d.ts +1 -1
  516. package/dist/esm/models/PaginatedResponseTenantResponse.js +1 -1
  517. package/dist/esm/models/PaginatedResponseTenantUserResponse.d.ts +1 -1
  518. package/dist/esm/models/PaginatedResponseTenantUserResponse.js +1 -1
  519. package/dist/esm/models/PaginatedResponseThreadMessageResponse.d.ts +1 -1
  520. package/dist/esm/models/PaginatedResponseThreadMessageResponse.js +1 -1
  521. package/dist/esm/models/PaginatedResponseThreadResponse.d.ts +1 -1
  522. package/dist/esm/models/PaginatedResponseThreadResponse.js +1 -1
  523. package/dist/esm/models/PaginatedResponseTrashItemResponse.d.ts +1 -1
  524. package/dist/esm/models/PaginatedResponseTrashItemResponse.js +1 -1
  525. package/dist/esm/models/PaginatedResponseWorkflowDefinitionResponse.d.ts +1 -1
  526. package/dist/esm/models/PaginatedResponseWorkflowDefinitionResponse.js +1 -1
  527. package/dist/esm/models/PaginatedResponseWorkflowRunResponse.d.ts +1 -1
  528. package/dist/esm/models/PaginatedResponseWorkflowRunResponse.js +1 -1
  529. package/dist/esm/models/PaginatedResponseWorkflowSummaryResponse.d.ts +1 -1
  530. package/dist/esm/models/PaginatedResponseWorkflowSummaryResponse.js +1 -1
  531. package/dist/esm/models/PartType.d.ts +1 -1
  532. package/dist/esm/models/PartType.js +1 -1
  533. package/dist/esm/models/PasswordResetRequest.d.ts +1 -1
  534. package/dist/esm/models/PasswordResetRequest.js +1 -1
  535. package/dist/esm/models/PasswordResetTokenResponse.d.ts +1 -1
  536. package/dist/esm/models/PasswordResetTokenResponse.js +1 -1
  537. package/dist/esm/models/PasswordResetWithTokenRequest.d.ts +1 -1
  538. package/dist/esm/models/PasswordResetWithTokenRequest.js +1 -1
  539. package/dist/esm/models/PathOrder.d.ts +1 -1
  540. package/dist/esm/models/PathOrder.js +1 -1
  541. package/dist/esm/models/PathPartAncestorItem.d.ts +1 -1
  542. package/dist/esm/models/PathPartAncestorItem.js +1 -1
  543. package/dist/esm/models/PathPartApprovalDecision.d.ts +1 -1
  544. package/dist/esm/models/PathPartApprovalDecision.js +1 -1
  545. package/dist/esm/models/PathPartApprovalResponse.d.ts +1 -1
  546. package/dist/esm/models/PathPartApprovalResponse.js +1 -1
  547. package/dist/esm/models/PathPartApprovalState.d.ts +1 -1
  548. package/dist/esm/models/PathPartApprovalState.js +1 -1
  549. package/dist/esm/models/PathPartResponse.d.ts +1 -1
  550. package/dist/esm/models/PathPartResponse.js +1 -1
  551. package/dist/esm/models/PathPartTagsResponse.d.ts +1 -1
  552. package/dist/esm/models/PathPartTagsResponse.js +1 -1
  553. package/dist/esm/models/PendingMemoryChunkResponse.d.ts +1 -1
  554. package/dist/esm/models/PendingMemoryChunkResponse.js +1 -1
  555. package/dist/esm/models/PermissionCapability.d.ts +1 -1
  556. package/dist/esm/models/PermissionCapability.js +1 -1
  557. package/dist/esm/models/PermissionResponse.d.ts +1 -1
  558. package/dist/esm/models/PermissionResponse.js +1 -1
  559. package/dist/esm/models/PhoneValidationResponse.d.ts +1 -1
  560. package/dist/esm/models/PhoneValidationResponse.js +1 -1
  561. package/dist/esm/models/PhoneVerificationRequest.d.ts +1 -1
  562. package/dist/esm/models/PhoneVerificationRequest.js +1 -1
  563. package/dist/esm/models/PipelineState.d.ts +1 -1
  564. package/dist/esm/models/PipelineState.js +1 -1
  565. package/dist/esm/models/PipelineStatus.d.ts +1 -1
  566. package/dist/esm/models/PipelineStatus.js +1 -1
  567. package/dist/esm/models/PixelRegion.d.ts +1 -1
  568. package/dist/esm/models/PixelRegion.js +1 -1
  569. package/dist/esm/models/Polygon.d.ts +1 -1
  570. package/dist/esm/models/Polygon.js +1 -1
  571. package/dist/esm/models/PolygonReference.d.ts +1 -1
  572. package/dist/esm/models/PolygonReference.js +1 -1
  573. package/dist/esm/models/ProposeMemoryChunkRequest.d.ts +1 -1
  574. package/dist/esm/models/ProposeMemoryChunkRequest.js +1 -1
  575. package/dist/esm/models/ProposedMemoryChunkResponse.d.ts +1 -1
  576. package/dist/esm/models/ProposedMemoryChunkResponse.js +1 -1
  577. package/dist/esm/models/ReasoningPart.d.ts +1 -1
  578. package/dist/esm/models/ReasoningPart.js +1 -1
  579. package/dist/esm/models/ReferenceType.d.ts +1 -1
  580. package/dist/esm/models/ReferenceType.js +1 -1
  581. package/dist/esm/models/RequestPhoneChangeRequest.d.ts +1 -1
  582. package/dist/esm/models/RequestPhoneChangeRequest.js +1 -1
  583. package/dist/esm/models/ResolvedReferenceInput.d.ts +1 -1
  584. package/dist/esm/models/ResolvedReferenceInput.js +1 -1
  585. package/dist/esm/models/ResolvedReferenceOutput.d.ts +1 -1
  586. package/dist/esm/models/ResolvedReferenceOutput.js +1 -1
  587. package/dist/esm/models/ResponseSendPwResetEmail.d.ts +1 -1
  588. package/dist/esm/models/ResponseSendPwResetEmail.js +1 -1
  589. package/dist/esm/models/RevisionEdit.d.ts +1 -1
  590. package/dist/esm/models/RevisionEdit.js +1 -1
  591. package/dist/esm/models/RootResponse.d.ts +1 -1
  592. package/dist/esm/models/RootResponse.js +1 -1
  593. package/dist/esm/models/RunFolder.d.ts +66 -0
  594. package/dist/esm/models/RunFolder.js +55 -0
  595. package/dist/esm/models/RunFolderRef.d.ts +63 -0
  596. package/dist/esm/models/RunFolderRef.js +52 -0
  597. package/dist/esm/models/SSOInitiateResponse.d.ts +1 -1
  598. package/dist/esm/models/SSOInitiateResponse.js +1 -1
  599. package/dist/esm/models/ScoredChunkResponse.d.ts +1 -1
  600. package/dist/esm/models/ScoredChunkResponse.js +1 -1
  601. package/dist/esm/models/SearchSortOrder.d.ts +1 -1
  602. package/dist/esm/models/SearchSortOrder.js +1 -1
  603. package/dist/esm/models/SearchTablesRequest.d.ts +65 -0
  604. package/dist/esm/models/SearchTablesRequest.js +60 -0
  605. package/dist/esm/models/SearchTablesResponse.d.ts +48 -0
  606. package/dist/esm/models/SearchTablesResponse.js +45 -0
  607. package/dist/esm/models/SearchType.d.ts +1 -1
  608. package/dist/esm/models/SearchType.js +1 -1
  609. package/dist/esm/models/SearchablePartType.d.ts +1 -1
  610. package/dist/esm/models/SearchablePartType.js +1 -1
  611. package/dist/esm/models/SeatQuotaStatus.d.ts +1 -1
  612. package/dist/esm/models/SeatQuotaStatus.js +1 -1
  613. package/dist/esm/models/SectionContentItem.d.ts +1 -1
  614. package/dist/esm/models/SectionContentItem.js +1 -1
  615. package/dist/esm/models/SectionContentItemOrChunkContentItem.d.ts +1 -1
  616. package/dist/esm/models/SectionContentItemOrChunkContentItem.js +1 -1
  617. package/dist/esm/models/SectionResponse.d.ts +1 -1
  618. package/dist/esm/models/SectionResponse.js +1 -1
  619. package/dist/esm/models/SectionSystemMetadata.d.ts +1 -1
  620. package/dist/esm/models/SectionSystemMetadata.js +1 -1
  621. package/dist/esm/models/SendPasswordResetRequest.d.ts +1 -1
  622. package/dist/esm/models/SendPasswordResetRequest.js +1 -1
  623. package/dist/esm/models/SetApprovalStateRequest.d.ts +1 -1
  624. package/dist/esm/models/SetApprovalStateRequest.js +1 -1
  625. package/dist/esm/models/SetWorkflowRunApprovalRequest.d.ts +1 -1
  626. package/dist/esm/models/SetWorkflowRunApprovalRequest.js +1 -1
  627. package/dist/esm/models/SheetVisibilityChange.d.ts +1 -1
  628. package/dist/esm/models/SheetVisibilityChange.js +1 -1
  629. package/dist/esm/models/SignInRequest.d.ts +1 -1
  630. package/dist/esm/models/SignInRequest.js +1 -1
  631. package/dist/esm/models/SortDirection.d.ts +1 -1
  632. package/dist/esm/models/SortDirection.js +1 -1
  633. package/dist/esm/models/StartWorkflowRunRequest.d.ts +1 -1
  634. package/dist/esm/models/StartWorkflowRunRequest.js +1 -1
  635. package/dist/esm/models/Step.d.ts +1 -1
  636. package/dist/esm/models/Step.js +1 -1
  637. package/dist/esm/models/StepKind.d.ts +1 -1
  638. package/dist/esm/models/StepKind.js +1 -1
  639. package/dist/esm/models/StructuredChange.d.ts +1 -1
  640. package/dist/esm/models/StructuredChange.js +1 -1
  641. package/dist/esm/models/StructuredChangeType.d.ts +1 -1
  642. package/dist/esm/models/StructuredChangeType.js +1 -1
  643. package/dist/esm/models/StructuredDiff.d.ts +1 -1
  644. package/dist/esm/models/StructuredDiff.js +1 -1
  645. package/dist/esm/models/SubmitFeedbackRequest.d.ts +1 -1
  646. package/dist/esm/models/SubmitFeedbackRequest.js +1 -1
  647. package/dist/esm/models/SubmitSubscriptionResponse.d.ts +1 -1
  648. package/dist/esm/models/SubmitSubscriptionResponse.js +1 -1
  649. package/dist/esm/models/SubscriptionPlanResponse.d.ts +1 -1
  650. package/dist/esm/models/SubscriptionPlanResponse.js +1 -1
  651. package/dist/esm/models/SubtreeChunkGroup.d.ts +1 -1
  652. package/dist/esm/models/SubtreeChunkGroup.js +1 -1
  653. package/dist/esm/models/SubtreeChunksResponse.d.ts +1 -1
  654. package/dist/esm/models/SubtreeChunksResponse.js +1 -1
  655. package/dist/esm/models/SupportedIdP.d.ts +1 -1
  656. package/dist/esm/models/SupportedIdP.js +1 -1
  657. package/dist/esm/models/SupportedLanguage.d.ts +1 -1
  658. package/dist/esm/models/SupportedLanguage.js +1 -1
  659. package/dist/esm/models/TableCellChange.d.ts +1 -1
  660. package/dist/esm/models/TableCellChange.js +1 -1
  661. package/dist/esm/models/TableSearchResult.d.ts +83 -0
  662. package/dist/esm/models/TableSearchResult.js +68 -0
  663. package/dist/esm/models/TagOrder.d.ts +1 -1
  664. package/dist/esm/models/TagOrder.js +1 -1
  665. package/dist/esm/models/TagResponse.d.ts +1 -1
  666. package/dist/esm/models/TagResponse.js +1 -1
  667. package/dist/esm/models/TemporalWorkflowStatusResponse.d.ts +1 -1
  668. package/dist/esm/models/TemporalWorkflowStatusResponse.js +1 -1
  669. package/dist/esm/models/TenantBrandingResponse.d.ts +1 -1
  670. package/dist/esm/models/TenantBrandingResponse.js +1 -1
  671. package/dist/esm/models/TenantGroupOrder.d.ts +1 -1
  672. package/dist/esm/models/TenantGroupOrder.js +1 -1
  673. package/dist/esm/models/TenantQuotaStateResponse.d.ts +1 -1
  674. package/dist/esm/models/TenantQuotaStateResponse.js +1 -1
  675. package/dist/esm/models/TenantResponse.d.ts +1 -1
  676. package/dist/esm/models/TenantResponse.js +1 -1
  677. package/dist/esm/models/TenantSettingsResponse.d.ts +1 -1
  678. package/dist/esm/models/TenantSettingsResponse.js +1 -1
  679. package/dist/esm/models/TenantSettingsUpdate.d.ts +1 -1
  680. package/dist/esm/models/TenantSettingsUpdate.js +1 -1
  681. package/dist/esm/models/TenantUserEditRequest.d.ts +1 -1
  682. package/dist/esm/models/TenantUserEditRequest.js +1 -1
  683. package/dist/esm/models/TenantUserOrder.d.ts +1 -1
  684. package/dist/esm/models/TenantUserOrder.js +1 -1
  685. package/dist/esm/models/TenantUserResponse.d.ts +1 -1
  686. package/dist/esm/models/TenantUserResponse.js +1 -1
  687. package/dist/esm/models/TenantUserRole.d.ts +1 -1
  688. package/dist/esm/models/TenantUserRole.js +1 -1
  689. package/dist/esm/models/TestConnectionRequest.d.ts +76 -0
  690. package/dist/esm/models/TestConnectionRequest.js +50 -0
  691. package/dist/esm/models/TestConnectionResponse.d.ts +56 -0
  692. package/dist/esm/models/TestConnectionResponse.js +46 -0
  693. package/dist/esm/models/TextDiff.d.ts +1 -1
  694. package/dist/esm/models/TextDiff.js +1 -1
  695. package/dist/esm/models/TextPart.d.ts +1 -1
  696. package/dist/esm/models/TextPart.js +1 -1
  697. package/dist/esm/models/TextPartOrReasoningPartOrToolPartOrDocEditPart.d.ts +1 -1
  698. package/dist/esm/models/TextPartOrReasoningPartOrToolPartOrDocEditPart.js +1 -1
  699. package/dist/esm/models/ThreadMessageContent.d.ts +1 -1
  700. package/dist/esm/models/ThreadMessageContent.js +1 -1
  701. package/dist/esm/models/ThreadMessageDetails.d.ts +1 -1
  702. package/dist/esm/models/ThreadMessageDetails.js +1 -1
  703. package/dist/esm/models/ThreadMessageResponse.d.ts +1 -1
  704. package/dist/esm/models/ThreadMessageResponse.js +1 -1
  705. package/dist/esm/models/ThreadOrder.d.ts +1 -1
  706. package/dist/esm/models/ThreadOrder.js +1 -1
  707. package/dist/esm/models/ThreadResponse.d.ts +1 -1
  708. package/dist/esm/models/ThreadResponse.js +1 -1
  709. package/dist/esm/models/ToolDisplayType.d.ts +41 -0
  710. package/dist/esm/models/ToolDisplayType.js +59 -0
  711. package/dist/esm/models/ToolPart.d.ts +8 -1
  712. package/dist/esm/models/ToolPart.js +4 -1
  713. package/dist/esm/models/ToolStatus.d.ts +1 -1
  714. package/dist/esm/models/ToolStatus.js +1 -1
  715. package/dist/esm/models/TransferOwnerRequest.d.ts +1 -1
  716. package/dist/esm/models/TransferOwnerRequest.js +1 -1
  717. package/dist/esm/models/TransferOwnerResponse.d.ts +1 -1
  718. package/dist/esm/models/TransferOwnerResponse.js +1 -1
  719. package/dist/esm/models/TrashItemResponse.d.ts +1 -1
  720. package/dist/esm/models/TrashItemResponse.js +1 -1
  721. package/dist/esm/models/UpdateApiConnectionRequest.d.ts +1 -1
  722. package/dist/esm/models/UpdateApiConnectionRequest.js +1 -1
  723. package/dist/esm/models/UpdateChunkContentRequest.d.ts +1 -1
  724. package/dist/esm/models/UpdateChunkContentRequest.js +1 -1
  725. package/dist/esm/models/UpdateChunkMetadataRequest.d.ts +1 -1
  726. package/dist/esm/models/UpdateChunkMetadataRequest.js +1 -1
  727. package/dist/esm/models/UpdateDataSourceRequest.d.ts +16 -6
  728. package/dist/esm/models/UpdateDataSourceRequest.js +4 -1
  729. package/dist/esm/models/UpdateDocumentRequest.d.ts +1 -1
  730. package/dist/esm/models/UpdateDocumentRequest.js +1 -1
  731. package/dist/esm/models/UpdateFolderRequest.d.ts +1 -1
  732. package/dist/esm/models/UpdateFolderRequest.js +1 -1
  733. package/dist/esm/models/UpdateGroupPermissionRequest.d.ts +1 -1
  734. package/dist/esm/models/UpdateGroupPermissionRequest.js +1 -1
  735. package/dist/esm/models/UpdateGroupRequest.d.ts +1 -1
  736. package/dist/esm/models/UpdateGroupRequest.js +1 -1
  737. package/dist/esm/models/UpdateInviteRequest.d.ts +1 -1
  738. package/dist/esm/models/UpdateInviteRequest.js +1 -1
  739. package/dist/esm/models/UpdatePermissionRequest.d.ts +1 -1
  740. package/dist/esm/models/UpdatePermissionRequest.js +1 -1
  741. package/dist/esm/models/UpdateSectionRequest.d.ts +1 -1
  742. package/dist/esm/models/UpdateSectionRequest.js +1 -1
  743. package/dist/esm/models/UpdateTableRequest.d.ts +1 -7
  744. package/dist/esm/models/UpdateTableRequest.js +1 -3
  745. package/dist/esm/models/UpdateTagRequest.d.ts +1 -1
  746. package/dist/esm/models/UpdateTagRequest.js +1 -1
  747. package/dist/esm/models/UpdateTenantRequest.d.ts +1 -1
  748. package/dist/esm/models/UpdateTenantRequest.js +1 -1
  749. package/dist/esm/models/UpdateThreadRequest.d.ts +1 -1
  750. package/dist/esm/models/UpdateThreadRequest.js +1 -1
  751. package/dist/esm/models/UpdateUserRequest.d.ts +1 -1
  752. package/dist/esm/models/UpdateUserRequest.js +1 -1
  753. package/dist/esm/models/UpdateWorkflowDefinitionRequest.d.ts +1 -1
  754. package/dist/esm/models/UpdateWorkflowDefinitionRequest.js +1 -1
  755. package/dist/esm/models/UpdateWorkflowRunRequest.d.ts +1 -1
  756. package/dist/esm/models/UpdateWorkflowRunRequest.js +1 -1
  757. package/dist/esm/models/UsageMetric.d.ts +1 -1
  758. package/dist/esm/models/UsageMetric.js +1 -1
  759. package/dist/esm/models/UserInfo.d.ts +1 -1
  760. package/dist/esm/models/UserInfo.js +1 -1
  761. package/dist/esm/models/UserMessageRequest.d.ts +1 -1
  762. package/dist/esm/models/UserMessageRequest.js +1 -1
  763. package/dist/esm/models/UserMessageResponse.d.ts +7 -1
  764. package/dist/esm/models/UserMessageResponse.js +5 -1
  765. package/dist/esm/models/UserPermissionOrder.d.ts +1 -1
  766. package/dist/esm/models/UserPermissionOrder.js +1 -1
  767. package/dist/esm/models/UserResponse.d.ts +1 -1
  768. package/dist/esm/models/UserResponse.js +1 -1
  769. package/dist/esm/models/ValidateResetCodeRequest.d.ts +1 -1
  770. package/dist/esm/models/ValidateResetCodeRequest.js +1 -1
  771. package/dist/esm/models/ValidationError.d.ts +1 -1
  772. package/dist/esm/models/ValidationError.js +1 -1
  773. package/dist/esm/models/VersionChunkIdsResponse.d.ts +1 -1
  774. package/dist/esm/models/VersionChunkIdsResponse.js +1 -1
  775. package/dist/esm/models/VersionDiffResponse.d.ts +1 -1
  776. package/dist/esm/models/VersionDiffResponse.js +1 -1
  777. package/dist/esm/models/WorkflowActionResponse.d.ts +1 -1
  778. package/dist/esm/models/WorkflowActionResponse.js +1 -1
  779. package/dist/esm/models/WorkflowAdoptionStats.d.ts +1 -1
  780. package/dist/esm/models/WorkflowAdoptionStats.js +1 -1
  781. package/dist/esm/models/WorkflowCallbackResponse.d.ts +1 -1
  782. package/dist/esm/models/WorkflowCallbackResponse.js +1 -1
  783. package/dist/esm/models/WorkflowCancelResponse.d.ts +1 -1
  784. package/dist/esm/models/WorkflowCancelResponse.js +1 -1
  785. package/dist/esm/models/WorkflowDefinitionOrder.d.ts +1 -1
  786. package/dist/esm/models/WorkflowDefinitionOrder.js +1 -1
  787. package/dist/esm/models/WorkflowDefinitionResponse.d.ts +1 -1
  788. package/dist/esm/models/WorkflowDefinitionResponse.js +1 -1
  789. package/dist/esm/models/WorkflowDetailResponse.d.ts +1 -1
  790. package/dist/esm/models/WorkflowDetailResponse.js +1 -1
  791. package/dist/esm/models/WorkflowExecutionState.d.ts +1 -1
  792. package/dist/esm/models/WorkflowExecutionState.js +1 -1
  793. package/dist/esm/models/WorkflowRunAsset.d.ts +4 -4
  794. package/dist/esm/models/WorkflowRunAsset.js +1 -1
  795. package/dist/esm/models/WorkflowRunCallbackRequest.d.ts +1 -1
  796. package/dist/esm/models/WorkflowRunCallbackRequest.js +1 -1
  797. package/dist/esm/models/WorkflowRunOrder.d.ts +1 -1
  798. package/dist/esm/models/WorkflowRunOrder.js +1 -1
  799. package/dist/esm/models/WorkflowRunResponse.d.ts +12 -41
  800. package/dist/esm/models/WorkflowRunResponse.js +12 -25
  801. package/dist/esm/models/WorkflowRunSnapshot.d.ts +1 -1
  802. package/dist/esm/models/WorkflowRunSnapshot.js +1 -1
  803. package/dist/esm/models/WorkflowRunSummaryResponse.d.ts +1 -1
  804. package/dist/esm/models/WorkflowRunSummaryResponse.js +1 -1
  805. package/dist/esm/models/WorkflowSummaryResponse.d.ts +1 -1
  806. package/dist/esm/models/WorkflowSummaryResponse.js +1 -1
  807. package/dist/esm/models/XlsxCellAnchorInput.d.ts +1 -1
  808. package/dist/esm/models/XlsxCellAnchorInput.js +1 -1
  809. package/dist/esm/models/XlsxCellAnchorInputOrDocxParagraphAnchorInput.d.ts +1 -1
  810. package/dist/esm/models/XlsxCellAnchorInputOrDocxParagraphAnchorInput.js +1 -1
  811. package/dist/esm/models/XlsxCellAnchorOutput.d.ts +1 -1
  812. package/dist/esm/models/XlsxCellAnchorOutput.js +1 -1
  813. package/dist/esm/models/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.d.ts +1 -1
  814. package/dist/esm/models/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.js +1 -1
  815. package/dist/esm/models/index.d.ts +10 -1
  816. package/dist/esm/models/index.js +10 -1
  817. package/dist/esm/runtime.d.ts +1 -1
  818. package/dist/esm/runtime.js +1 -1
  819. package/dist/models/AcceptDisclaimerRequest.d.ts +1 -1
  820. package/dist/models/AcceptDisclaimerRequest.js +1 -1
  821. package/dist/models/AcceptInviteResponse.d.ts +1 -1
  822. package/dist/models/AcceptInviteResponse.js +1 -1
  823. package/dist/models/AccessCheckResponse.d.ts +1 -1
  824. package/dist/models/AccessCheckResponse.js +1 -1
  825. package/dist/models/AddMemberRequest.d.ts +1 -1
  826. package/dist/models/AddMemberRequest.js +1 -1
  827. package/dist/models/AncestryResponse.d.ts +1 -1
  828. package/dist/models/AncestryResponse.js +1 -1
  829. package/dist/models/ApiAuthConfig.d.ts +1 -1
  830. package/dist/models/ApiAuthConfig.js +1 -1
  831. package/dist/models/ApiConnectionRequestRequest.d.ts +1 -1
  832. package/dist/models/ApiConnectionRequestRequest.js +1 -1
  833. package/dist/models/ApiConnectionRequestResponse.d.ts +1 -1
  834. package/dist/models/ApiConnectionRequestResponse.js +1 -1
  835. package/dist/models/ApiConnectionResponse.d.ts +1 -1
  836. package/dist/models/ApiConnectionResponse.js +1 -1
  837. package/dist/models/ApiKeyResponse.d.ts +1 -1
  838. package/dist/models/ApiKeyResponse.js +1 -1
  839. package/dist/models/AppendEventRequest.d.ts +1 -1
  840. package/dist/models/AppendEventRequest.js +1 -1
  841. package/dist/models/AppendMemoryChunkRequest.d.ts +1 -1
  842. package/dist/models/AppendMemoryChunkRequest.js +1 -1
  843. package/dist/models/Args.d.ts +1 -1
  844. package/dist/models/Args.js +1 -1
  845. package/dist/models/AskRequest.d.ts +1 -1
  846. package/dist/models/AskRequest.js +1 -1
  847. package/dist/models/AskResponse.d.ts +1 -1
  848. package/dist/models/AskResponse.js +1 -1
  849. package/dist/models/BlockChangeType.d.ts +1 -1
  850. package/dist/models/BlockChangeType.js +1 -1
  851. package/dist/models/BlockKind.d.ts +1 -1
  852. package/dist/models/BlockKind.js +1 -1
  853. package/dist/models/BrandingLogoType.d.ts +1 -1
  854. package/dist/models/BrandingLogoType.js +1 -1
  855. package/dist/models/BulkDownloadRequest.d.ts +1 -1
  856. package/dist/models/BulkDownloadRequest.js +1 -1
  857. package/dist/models/BulkModelTablesRequest.d.ts +1 -1
  858. package/dist/models/BulkModelTablesRequest.js +1 -1
  859. package/dist/models/BulkModelTablesResponse.d.ts +1 -1
  860. package/dist/models/BulkModelTablesResponse.js +1 -1
  861. package/dist/models/BulkTagRequest.d.ts +1 -1
  862. package/dist/models/BulkTagRequest.js +1 -1
  863. package/dist/models/CatalogColumnResponse.d.ts +1 -1
  864. package/dist/models/CatalogColumnResponse.js +1 -1
  865. package/dist/models/CatalogTableResponse.d.ts +1 -1
  866. package/dist/models/CatalogTableResponse.js +1 -1
  867. package/dist/models/CellChange.d.ts +1 -1
  868. package/dist/models/CellChange.js +1 -1
  869. package/dist/models/CellChangeType.d.ts +1 -1
  870. package/dist/models/CellChangeType.js +1 -1
  871. package/dist/models/CellDiff.d.ts +1 -1
  872. package/dist/models/CellDiff.js +1 -1
  873. package/dist/models/ChangeClass.d.ts +1 -1
  874. package/dist/models/ChangeClass.js +1 -1
  875. package/dist/models/ChangePhoneNumberRequest.d.ts +1 -1
  876. package/dist/models/ChangePhoneNumberRequest.js +1 -1
  877. package/dist/models/ChangeSubscriptionRequest.d.ts +1 -1
  878. package/dist/models/ChangeSubscriptionRequest.js +1 -1
  879. package/dist/models/CheckpointDetails.d.ts +1 -1
  880. package/dist/models/CheckpointDetails.js +1 -1
  881. package/dist/models/ChunkBulkResponse.d.ts +1 -1
  882. package/dist/models/ChunkBulkResponse.js +1 -1
  883. package/dist/models/ChunkContentItem.d.ts +1 -1
  884. package/dist/models/ChunkContentItem.js +1 -1
  885. package/dist/models/ChunkDocumentResponse.d.ts +1 -1
  886. package/dist/models/ChunkDocumentResponse.js +1 -1
  887. package/dist/models/ChunkDocumentVersionResponse.d.ts +1 -1
  888. package/dist/models/ChunkDocumentVersionResponse.js +1 -1
  889. package/dist/models/ChunkLineageResponse.d.ts +1 -1
  890. package/dist/models/ChunkLineageResponse.js +1 -1
  891. package/dist/models/ChunkMetadata.d.ts +1 -1
  892. package/dist/models/ChunkMetadata.js +1 -1
  893. package/dist/models/ChunkNeighborsResponse.d.ts +1 -1
  894. package/dist/models/ChunkNeighborsResponse.js +1 -1
  895. package/dist/models/ChunkResponse.d.ts +1 -1
  896. package/dist/models/ChunkResponse.js +1 -1
  897. package/dist/models/ChunkSearchRequest.d.ts +1 -1
  898. package/dist/models/ChunkSearchRequest.js +1 -1
  899. package/dist/models/ChunkType.d.ts +1 -1
  900. package/dist/models/ChunkType.js +1 -1
  901. package/dist/models/Citation.d.ts +1 -1
  902. package/dist/models/Citation.js +1 -1
  903. package/dist/models/CitedChunk.d.ts +1 -1
  904. package/dist/models/CitedChunk.js +1 -1
  905. package/dist/models/ClearVersionContentsResponse.d.ts +1 -1
  906. package/dist/models/ClearVersionContentsResponse.js +1 -1
  907. package/dist/models/CloneWorkflowRunRequest.d.ts +1 -1
  908. package/dist/models/CloneWorkflowRunRequest.js +1 -1
  909. package/dist/models/ColumnConfig.d.ts +1 -1
  910. package/dist/models/ColumnConfig.js +1 -1
  911. package/dist/models/ColumnReference.d.ts +1 -1
  912. package/dist/models/ColumnReference.js +1 -1
  913. package/dist/models/CommonFileExclusionReason.d.ts +1 -1
  914. package/dist/models/CommonFileExclusionReason.js +1 -1
  915. package/dist/models/ConnectionConfig.d.ts +1 -1
  916. package/dist/models/ConnectionConfig.js +1 -1
  917. package/dist/models/ContentsSortOrder.d.ts +1 -1
  918. package/dist/models/ContentsSortOrder.js +1 -1
  919. package/dist/models/CreateApiConnectionRequest.d.ts +1 -1
  920. package/dist/models/CreateApiConnectionRequest.js +1 -1
  921. package/dist/models/CreateApiKeyRequest.d.ts +1 -1
  922. package/dist/models/CreateApiKeyRequest.js +1 -1
  923. package/dist/models/CreateApiKeyResponse.d.ts +2 -2
  924. package/dist/models/CreateApiKeyResponse.js +1 -1
  925. package/dist/models/CreateChunkLineageRequest.d.ts +1 -1
  926. package/dist/models/CreateChunkLineageRequest.js +1 -1
  927. package/dist/models/CreateChunkRequest.d.ts +1 -1
  928. package/dist/models/CreateChunkRequest.js +1 -1
  929. package/dist/models/CreateDataSourceRequest.d.ts +1 -1
  930. package/dist/models/CreateDataSourceRequest.js +1 -1
  931. package/dist/models/CreateDocumentRequest.d.ts +1 -1
  932. package/dist/models/CreateDocumentRequest.js +1 -1
  933. package/dist/models/CreateFolderRequest.d.ts +1 -1
  934. package/dist/models/CreateFolderRequest.js +1 -1
  935. package/dist/models/CreateGroupPermissionRequest.d.ts +1 -1
  936. package/dist/models/CreateGroupPermissionRequest.js +1 -1
  937. package/dist/models/CreateGroupRequest.d.ts +1 -1
  938. package/dist/models/CreateGroupRequest.js +1 -1
  939. package/dist/models/CreatePasswordUserRequest.d.ts +1 -1
  940. package/dist/models/CreatePasswordUserRequest.js +1 -1
  941. package/dist/models/CreatePermissionRequest.d.ts +1 -1
  942. package/dist/models/CreatePermissionRequest.js +1 -1
  943. package/dist/models/CreatePhonePasswordUserRequest.d.ts +1 -1
  944. package/dist/models/CreatePhonePasswordUserRequest.js +1 -1
  945. package/dist/models/CreateSectionRequest.d.ts +1 -1
  946. package/dist/models/CreateSectionRequest.js +1 -1
  947. package/dist/models/CreateTagRequest.d.ts +1 -1
  948. package/dist/models/CreateTagRequest.js +1 -1
  949. package/dist/models/CreateThreadMessageRequest.d.ts +1 -1
  950. package/dist/models/CreateThreadMessageRequest.js +1 -1
  951. package/dist/models/CreateThreadRequest.d.ts +1 -1
  952. package/dist/models/CreateThreadRequest.js +1 -1
  953. package/dist/models/CreateWorkflowDefinitionRequest.d.ts +1 -1
  954. package/dist/models/CreateWorkflowDefinitionRequest.js +1 -1
  955. package/dist/models/DataSourceCatalogResponse.d.ts +1 -1
  956. package/dist/models/DataSourceCatalogResponse.js +1 -1
  957. package/dist/models/DataSourceDescribeResponse.d.ts +70 -0
  958. package/dist/models/DataSourceDescribeResponse.js +64 -0
  959. package/dist/models/DataSourceDetailResponse.d.ts +1 -10
  960. package/dist/models/DataSourceDetailResponse.js +1 -3
  961. package/dist/models/DataSourceEngine.d.ts +1 -1
  962. package/dist/models/DataSourceEngine.js +1 -1
  963. package/dist/models/DataSourceQueryRequest.d.ts +1 -1
  964. package/dist/models/DataSourceQueryRequest.js +1 -1
  965. package/dist/models/DataSourceQueryResponse.d.ts +1 -1
  966. package/dist/models/DataSourceQueryResponse.js +1 -1
  967. package/dist/models/DataSourceResponse.d.ts +1 -1
  968. package/dist/models/DataSourceResponse.js +1 -1
  969. package/dist/models/DataSourceSchemaListItem.d.ts +1 -1
  970. package/dist/models/DataSourceSchemaListItem.js +1 -1
  971. package/dist/models/DataSourceSchemaListResponse.d.ts +1 -1
  972. package/dist/models/DataSourceSchemaListResponse.js +1 -1
  973. package/dist/models/DataSourceSchemaResponse.d.ts +1 -7
  974. package/dist/models/DataSourceSchemaResponse.js +1 -5
  975. package/dist/models/DataSourceSyncResponse.d.ts +65 -0
  976. package/dist/models/DataSourceSyncResponse.js +64 -0
  977. package/dist/models/DataSourceTableResponse.d.ts +1 -7
  978. package/dist/models/DataSourceTableResponse.js +1 -5
  979. package/dist/models/DiffFormat.d.ts +1 -1
  980. package/dist/models/DiffFormat.js +1 -1
  981. package/dist/models/DiffRow.d.ts +1 -1
  982. package/dist/models/DiffRow.js +1 -1
  983. package/dist/models/DiffRowType.d.ts +1 -1
  984. package/dist/models/DiffRowType.js +1 -1
  985. package/dist/models/DiffSpan.d.ts +1 -1
  986. package/dist/models/DiffSpan.js +1 -1
  987. package/dist/models/DirectorySyncResponse.d.ts +1 -1
  988. package/dist/models/DirectorySyncResponse.js +1 -1
  989. package/dist/models/DisplayNameFormat.d.ts +1 -1
  990. package/dist/models/DisplayNameFormat.js +1 -1
  991. package/dist/models/DissolveSectionResponse.d.ts +1 -1
  992. package/dist/models/DissolveSectionResponse.js +1 -1
  993. package/dist/models/DocEditPart.d.ts +1 -1
  994. package/dist/models/DocEditPart.js +1 -1
  995. package/dist/models/DocumentBlockChange.d.ts +1 -1
  996. package/dist/models/DocumentBlockChange.js +1 -1
  997. package/dist/models/DocumentCheckoutResponse.d.ts +1 -1
  998. package/dist/models/DocumentCheckoutResponse.js +1 -1
  999. package/dist/models/DocumentDiff.d.ts +1 -1
  1000. package/dist/models/DocumentDiff.js +1 -1
  1001. package/dist/models/DocumentDownloadResponse.d.ts +1 -1
  1002. package/dist/models/DocumentDownloadResponse.js +1 -1
  1003. package/dist/models/DocumentOrigin.d.ts +1 -1
  1004. package/dist/models/DocumentOrigin.js +1 -1
  1005. package/dist/models/DocumentResponse.d.ts +1 -1
  1006. package/dist/models/DocumentResponse.js +1 -1
  1007. package/dist/models/DocumentType.d.ts +1 -1
  1008. package/dist/models/DocumentType.js +1 -1
  1009. package/dist/models/DocumentVersionAction.d.ts +1 -1
  1010. package/dist/models/DocumentVersionAction.js +1 -1
  1011. package/dist/models/DocumentVersionActionResponse.d.ts +1 -1
  1012. package/dist/models/DocumentVersionActionResponse.js +1 -1
  1013. package/dist/models/DocumentVersionContentTypeFilter.d.ts +1 -1
  1014. package/dist/models/DocumentVersionContentTypeFilter.js +1 -1
  1015. package/dist/models/DocumentVersionMetadata.d.ts +1 -1
  1016. package/dist/models/DocumentVersionMetadata.js +1 -1
  1017. package/dist/models/DocumentVersionMetadataUpdate.d.ts +1 -1
  1018. package/dist/models/DocumentVersionMetadataUpdate.js +1 -1
  1019. package/dist/models/DocumentVersionOrder.d.ts +1 -1
  1020. package/dist/models/DocumentVersionOrder.js +1 -1
  1021. package/dist/models/DocumentVersionResponse.d.ts +1 -1
  1022. package/dist/models/DocumentVersionResponse.js +1 -1
  1023. package/dist/models/DocxParagraphAnchorInput.d.ts +1 -1
  1024. package/dist/models/DocxParagraphAnchorInput.js +1 -1
  1025. package/dist/models/DocxParagraphAnchorOutput.d.ts +1 -1
  1026. package/dist/models/DocxParagraphAnchorOutput.js +1 -1
  1027. package/dist/models/DownloadArtifact.d.ts +1 -1
  1028. package/dist/models/DownloadArtifact.js +1 -1
  1029. package/dist/models/EditMemoryChunkRequest.d.ts +1 -1
  1030. package/dist/models/EditMemoryChunkRequest.js +1 -1
  1031. package/dist/models/EmailSentResponse.d.ts +1 -1
  1032. package/dist/models/EmailSentResponse.js +1 -1
  1033. package/dist/models/EmailVerificationRequest.d.ts +1 -1
  1034. package/dist/models/EmailVerificationRequest.js +1 -1
  1035. package/dist/models/EnrichedCitation.d.ts +1 -1
  1036. package/dist/models/EnrichedCitation.js +1 -1
  1037. package/dist/models/EnrichedThreadMessageContent.d.ts +1 -1
  1038. package/dist/models/EnrichedThreadMessageContent.js +1 -1
  1039. package/dist/models/ErrorResponse.d.ts +25 -4
  1040. package/dist/models/ErrorResponse.js +22 -2
  1041. package/dist/models/EventResponse.d.ts +1 -1
  1042. package/dist/models/EventResponse.js +1 -1
  1043. package/dist/models/ExcludedCommonFile.d.ts +1 -1
  1044. package/dist/models/ExcludedCommonFile.js +1 -1
  1045. package/dist/models/ExtractRequest.d.ts +1 -1
  1046. package/dist/models/ExtractRequest.js +1 -1
  1047. package/dist/models/ExtractResponse.d.ts +1 -1
  1048. package/dist/models/ExtractResponse.js +1 -1
  1049. package/dist/models/FeaturesResponse.d.ts +1 -1
  1050. package/dist/models/FeaturesResponse.js +1 -1
  1051. package/dist/models/FeedbackEventResponse.d.ts +1 -1
  1052. package/dist/models/FeedbackEventResponse.js +1 -1
  1053. package/dist/models/FeedbackOrder.d.ts +1 -1
  1054. package/dist/models/FeedbackOrder.js +1 -1
  1055. package/dist/models/FeedbackRating.d.ts +1 -1
  1056. package/dist/models/FeedbackRating.js +1 -1
  1057. package/dist/models/FeedbackReason.d.ts +1 -1
  1058. package/dist/models/FeedbackReason.js +1 -1
  1059. package/dist/models/FeedbackTargetType.d.ts +1 -1
  1060. package/dist/models/FeedbackTargetType.js +1 -1
  1061. package/dist/models/FolderAction.d.ts +1 -1
  1062. package/dist/models/FolderAction.js +1 -1
  1063. package/dist/models/FolderActionResponse.d.ts +1 -1
  1064. package/dist/models/FolderActionResponse.js +1 -1
  1065. package/dist/models/FolderResponse.d.ts +1 -1
  1066. package/dist/models/FolderResponse.js +1 -1
  1067. package/dist/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.d.ts +1 -1
  1068. package/dist/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.js +1 -1
  1069. package/dist/models/GroupMemberOrder.d.ts +1 -1
  1070. package/dist/models/GroupMemberOrder.js +1 -1
  1071. package/dist/models/GroupPermissionOrder.d.ts +1 -1
  1072. package/dist/models/GroupPermissionOrder.js +1 -1
  1073. package/dist/models/GroupPermissionResponse.d.ts +1 -1
  1074. package/dist/models/GroupPermissionResponse.js +1 -1
  1075. package/dist/models/GroupResponse.d.ts +1 -1
  1076. package/dist/models/GroupResponse.js +1 -1
  1077. package/dist/models/HTTPValidationError.d.ts +1 -1
  1078. package/dist/models/HTTPValidationError.js +1 -1
  1079. package/dist/models/HealthCheckResponse.d.ts +1 -1
  1080. package/dist/models/HealthCheckResponse.js +1 -1
  1081. package/dist/models/HybridSearchProfile.d.ts +1 -1
  1082. package/dist/models/HybridSearchProfile.js +1 -1
  1083. package/dist/models/IdpConfig.d.ts +1 -1
  1084. package/dist/models/IdpConfig.js +1 -1
  1085. package/dist/models/IdpType.d.ts +1 -1
  1086. package/dist/models/IdpType.js +1 -1
  1087. package/dist/models/ImageTaxonomy.d.ts +1 -1
  1088. package/dist/models/ImageTaxonomy.js +1 -1
  1089. package/dist/models/InformationStatistics.d.ts +1 -1
  1090. package/dist/models/InformationStatistics.js +1 -1
  1091. package/dist/models/IngestDocumentResponse.d.ts +1 -1
  1092. package/dist/models/IngestDocumentResponse.js +1 -1
  1093. package/dist/models/IngestionMode.d.ts +1 -1
  1094. package/dist/models/IngestionMode.js +1 -1
  1095. package/dist/models/Input.d.ts +1 -1
  1096. package/dist/models/Input.js +1 -1
  1097. package/dist/models/InputOrigin.d.ts +1 -1
  1098. package/dist/models/InputOrigin.js +1 -1
  1099. package/dist/models/InputSnapshot.d.ts +1 -1
  1100. package/dist/models/InputSnapshot.js +1 -1
  1101. package/dist/models/InstantiateWorkflowTemplateRequest.d.ts +1 -1
  1102. package/dist/models/InstantiateWorkflowTemplateRequest.js +1 -1
  1103. package/dist/models/InstructionSnapshot.d.ts +1 -1
  1104. package/dist/models/InstructionSnapshot.js +1 -1
  1105. package/dist/models/InviteLinkSettingsRequest.d.ts +1 -1
  1106. package/dist/models/InviteLinkSettingsRequest.js +1 -1
  1107. package/dist/models/InviteLinkSettingsResponse.d.ts +1 -1
  1108. package/dist/models/InviteLinkSettingsResponse.js +1 -1
  1109. package/dist/models/InviteOrder.d.ts +1 -1
  1110. package/dist/models/InviteOrder.js +1 -1
  1111. package/dist/models/InviteResponse.d.ts +1 -1
  1112. package/dist/models/InviteResponse.js +1 -1
  1113. package/dist/models/InviteStatus.d.ts +1 -1
  1114. package/dist/models/InviteStatus.js +1 -1
  1115. package/dist/models/InviteUserRequest.d.ts +1 -1
  1116. package/dist/models/InviteUserRequest.js +1 -1
  1117. package/dist/models/ItemPermissions.d.ts +1 -1
  1118. package/dist/models/ItemPermissions.js +1 -1
  1119. package/dist/models/LineageEdgeResponse.d.ts +1 -1
  1120. package/dist/models/LineageEdgeResponse.js +1 -1
  1121. package/dist/models/LineageGraphResponse.d.ts +1 -1
  1122. package/dist/models/LineageGraphResponse.js +1 -1
  1123. package/dist/models/LineageNodeResponse.d.ts +1 -1
  1124. package/dist/models/LineageNodeResponse.js +1 -1
  1125. package/dist/models/LocationInner.d.ts +1 -1
  1126. package/dist/models/LocationInner.js +1 -1
  1127. package/dist/models/MembershipResponse.d.ts +1 -1
  1128. package/dist/models/MembershipResponse.js +1 -1
  1129. package/dist/models/MemoryBodyResponse.d.ts +1 -1
  1130. package/dist/models/MemoryBodyResponse.js +1 -1
  1131. package/dist/models/MemoryChunkResponse.d.ts +1 -1
  1132. package/dist/models/MemoryChunkResponse.js +1 -1
  1133. package/dist/models/MemoryKind.d.ts +1 -1
  1134. package/dist/models/MemoryKind.js +1 -1
  1135. package/dist/models/MemoryScope.d.ts +1 -1
  1136. package/dist/models/MemoryScope.js +1 -1
  1137. package/dist/models/MessageRole.d.ts +1 -1
  1138. package/dist/models/MessageRole.js +1 -1
  1139. package/dist/models/MessageUsage.d.ts +1 -1
  1140. package/dist/models/MessageUsage.js +1 -1
  1141. package/dist/models/MeteredQuotaStatus.d.ts +1 -1
  1142. package/dist/models/MeteredQuotaStatus.js +1 -1
  1143. package/dist/models/ModelTableRequest.d.ts +1 -7
  1144. package/dist/models/ModelTableRequest.js +1 -3
  1145. package/dist/models/ModelTableResult.d.ts +1 -1
  1146. package/dist/models/ModelTableResult.js +1 -1
  1147. package/dist/models/NetworkClass.d.ts +1 -1
  1148. package/dist/models/NetworkClass.js +1 -1
  1149. package/dist/models/NonFilesystemReferenceType.d.ts +1 -1
  1150. package/dist/models/NonFilesystemReferenceType.js +1 -1
  1151. package/dist/models/OnboardingCompanyRequest.d.ts +1 -1
  1152. package/dist/models/OnboardingCompanyRequest.js +1 -1
  1153. package/dist/models/OnboardingProfileRequest.d.ts +1 -1
  1154. package/dist/models/OnboardingProfileRequest.js +1 -1
  1155. package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.d.ts +1 -1
  1156. package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.js +1 -1
  1157. package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +1 -1
  1158. package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +1 -1
  1159. package/dist/models/PaginatedResponseDocumentResponse.d.ts +1 -1
  1160. package/dist/models/PaginatedResponseDocumentResponse.js +1 -1
  1161. package/dist/models/PaginatedResponseDocumentVersionResponse.d.ts +1 -1
  1162. package/dist/models/PaginatedResponseDocumentVersionResponse.js +1 -1
  1163. package/dist/models/PaginatedResponseEventResponse.d.ts +1 -1
  1164. package/dist/models/PaginatedResponseEventResponse.js +1 -1
  1165. package/dist/models/PaginatedResponseFeedbackEventResponse.d.ts +1 -1
  1166. package/dist/models/PaginatedResponseFeedbackEventResponse.js +1 -1
  1167. package/dist/models/PaginatedResponseFolderResponse.d.ts +1 -1
  1168. package/dist/models/PaginatedResponseFolderResponse.js +1 -1
  1169. package/dist/models/PaginatedResponseGroupPermissionResponse.d.ts +1 -1
  1170. package/dist/models/PaginatedResponseGroupPermissionResponse.js +1 -1
  1171. package/dist/models/PaginatedResponseGroupResponse.d.ts +1 -1
  1172. package/dist/models/PaginatedResponseGroupResponse.js +1 -1
  1173. package/dist/models/PaginatedResponseInviteResponse.d.ts +1 -1
  1174. package/dist/models/PaginatedResponseInviteResponse.js +1 -1
  1175. package/dist/models/PaginatedResponseMembershipResponse.d.ts +1 -1
  1176. package/dist/models/PaginatedResponseMembershipResponse.js +1 -1
  1177. package/dist/models/PaginatedResponseMemoryChunkResponse.d.ts +1 -1
  1178. package/dist/models/PaginatedResponseMemoryChunkResponse.js +1 -1
  1179. package/dist/models/PaginatedResponsePathPartResponse.d.ts +1 -1
  1180. package/dist/models/PaginatedResponsePathPartResponse.js +1 -1
  1181. package/dist/models/PaginatedResponsePendingMemoryChunkResponse.d.ts +1 -1
  1182. package/dist/models/PaginatedResponsePendingMemoryChunkResponse.js +1 -1
  1183. package/dist/models/PaginatedResponsePermissionResponse.d.ts +1 -1
  1184. package/dist/models/PaginatedResponsePermissionResponse.js +1 -1
  1185. package/dist/models/PaginatedResponseTagResponse.d.ts +1 -1
  1186. package/dist/models/PaginatedResponseTagResponse.js +1 -1
  1187. package/dist/models/PaginatedResponseTenantResponse.d.ts +1 -1
  1188. package/dist/models/PaginatedResponseTenantResponse.js +1 -1
  1189. package/dist/models/PaginatedResponseTenantUserResponse.d.ts +1 -1
  1190. package/dist/models/PaginatedResponseTenantUserResponse.js +1 -1
  1191. package/dist/models/PaginatedResponseThreadMessageResponse.d.ts +1 -1
  1192. package/dist/models/PaginatedResponseThreadMessageResponse.js +1 -1
  1193. package/dist/models/PaginatedResponseThreadResponse.d.ts +1 -1
  1194. package/dist/models/PaginatedResponseThreadResponse.js +1 -1
  1195. package/dist/models/PaginatedResponseTrashItemResponse.d.ts +1 -1
  1196. package/dist/models/PaginatedResponseTrashItemResponse.js +1 -1
  1197. package/dist/models/PaginatedResponseWorkflowDefinitionResponse.d.ts +1 -1
  1198. package/dist/models/PaginatedResponseWorkflowDefinitionResponse.js +1 -1
  1199. package/dist/models/PaginatedResponseWorkflowRunResponse.d.ts +1 -1
  1200. package/dist/models/PaginatedResponseWorkflowRunResponse.js +1 -1
  1201. package/dist/models/PaginatedResponseWorkflowSummaryResponse.d.ts +1 -1
  1202. package/dist/models/PaginatedResponseWorkflowSummaryResponse.js +1 -1
  1203. package/dist/models/PartType.d.ts +1 -1
  1204. package/dist/models/PartType.js +1 -1
  1205. package/dist/models/PasswordResetRequest.d.ts +1 -1
  1206. package/dist/models/PasswordResetRequest.js +1 -1
  1207. package/dist/models/PasswordResetTokenResponse.d.ts +1 -1
  1208. package/dist/models/PasswordResetTokenResponse.js +1 -1
  1209. package/dist/models/PasswordResetWithTokenRequest.d.ts +1 -1
  1210. package/dist/models/PasswordResetWithTokenRequest.js +1 -1
  1211. package/dist/models/PathOrder.d.ts +1 -1
  1212. package/dist/models/PathOrder.js +1 -1
  1213. package/dist/models/PathPartAncestorItem.d.ts +1 -1
  1214. package/dist/models/PathPartAncestorItem.js +1 -1
  1215. package/dist/models/PathPartApprovalDecision.d.ts +1 -1
  1216. package/dist/models/PathPartApprovalDecision.js +1 -1
  1217. package/dist/models/PathPartApprovalResponse.d.ts +1 -1
  1218. package/dist/models/PathPartApprovalResponse.js +1 -1
  1219. package/dist/models/PathPartApprovalState.d.ts +1 -1
  1220. package/dist/models/PathPartApprovalState.js +1 -1
  1221. package/dist/models/PathPartResponse.d.ts +1 -1
  1222. package/dist/models/PathPartResponse.js +1 -1
  1223. package/dist/models/PathPartTagsResponse.d.ts +1 -1
  1224. package/dist/models/PathPartTagsResponse.js +1 -1
  1225. package/dist/models/PendingMemoryChunkResponse.d.ts +1 -1
  1226. package/dist/models/PendingMemoryChunkResponse.js +1 -1
  1227. package/dist/models/PermissionCapability.d.ts +1 -1
  1228. package/dist/models/PermissionCapability.js +1 -1
  1229. package/dist/models/PermissionResponse.d.ts +1 -1
  1230. package/dist/models/PermissionResponse.js +1 -1
  1231. package/dist/models/PhoneValidationResponse.d.ts +1 -1
  1232. package/dist/models/PhoneValidationResponse.js +1 -1
  1233. package/dist/models/PhoneVerificationRequest.d.ts +1 -1
  1234. package/dist/models/PhoneVerificationRequest.js +1 -1
  1235. package/dist/models/PipelineState.d.ts +1 -1
  1236. package/dist/models/PipelineState.js +1 -1
  1237. package/dist/models/PipelineStatus.d.ts +1 -1
  1238. package/dist/models/PipelineStatus.js +1 -1
  1239. package/dist/models/PixelRegion.d.ts +1 -1
  1240. package/dist/models/PixelRegion.js +1 -1
  1241. package/dist/models/Polygon.d.ts +1 -1
  1242. package/dist/models/Polygon.js +1 -1
  1243. package/dist/models/PolygonReference.d.ts +1 -1
  1244. package/dist/models/PolygonReference.js +1 -1
  1245. package/dist/models/ProposeMemoryChunkRequest.d.ts +1 -1
  1246. package/dist/models/ProposeMemoryChunkRequest.js +1 -1
  1247. package/dist/models/ProposedMemoryChunkResponse.d.ts +1 -1
  1248. package/dist/models/ProposedMemoryChunkResponse.js +1 -1
  1249. package/dist/models/ReasoningPart.d.ts +1 -1
  1250. package/dist/models/ReasoningPart.js +1 -1
  1251. package/dist/models/ReferenceType.d.ts +1 -1
  1252. package/dist/models/ReferenceType.js +1 -1
  1253. package/dist/models/RequestPhoneChangeRequest.d.ts +1 -1
  1254. package/dist/models/RequestPhoneChangeRequest.js +1 -1
  1255. package/dist/models/ResolvedReferenceInput.d.ts +1 -1
  1256. package/dist/models/ResolvedReferenceInput.js +1 -1
  1257. package/dist/models/ResolvedReferenceOutput.d.ts +1 -1
  1258. package/dist/models/ResolvedReferenceOutput.js +1 -1
  1259. package/dist/models/ResponseSendPwResetEmail.d.ts +1 -1
  1260. package/dist/models/ResponseSendPwResetEmail.js +1 -1
  1261. package/dist/models/RevisionEdit.d.ts +1 -1
  1262. package/dist/models/RevisionEdit.js +1 -1
  1263. package/dist/models/RootResponse.d.ts +1 -1
  1264. package/dist/models/RootResponse.js +1 -1
  1265. package/dist/models/RunFolder.d.ts +66 -0
  1266. package/dist/models/RunFolder.js +63 -0
  1267. package/dist/models/RunFolderRef.d.ts +63 -0
  1268. package/dist/models/RunFolderRef.js +60 -0
  1269. package/dist/models/SSOInitiateResponse.d.ts +1 -1
  1270. package/dist/models/SSOInitiateResponse.js +1 -1
  1271. package/dist/models/ScoredChunkResponse.d.ts +1 -1
  1272. package/dist/models/ScoredChunkResponse.js +1 -1
  1273. package/dist/models/SearchSortOrder.d.ts +1 -1
  1274. package/dist/models/SearchSortOrder.js +1 -1
  1275. package/dist/models/SearchTablesRequest.d.ts +65 -0
  1276. package/dist/models/SearchTablesRequest.js +68 -0
  1277. package/dist/models/SearchTablesResponse.d.ts +48 -0
  1278. package/dist/models/SearchTablesResponse.js +53 -0
  1279. package/dist/models/SearchType.d.ts +1 -1
  1280. package/dist/models/SearchType.js +1 -1
  1281. package/dist/models/SearchablePartType.d.ts +1 -1
  1282. package/dist/models/SearchablePartType.js +1 -1
  1283. package/dist/models/SeatQuotaStatus.d.ts +1 -1
  1284. package/dist/models/SeatQuotaStatus.js +1 -1
  1285. package/dist/models/SectionContentItem.d.ts +1 -1
  1286. package/dist/models/SectionContentItem.js +1 -1
  1287. package/dist/models/SectionContentItemOrChunkContentItem.d.ts +1 -1
  1288. package/dist/models/SectionContentItemOrChunkContentItem.js +1 -1
  1289. package/dist/models/SectionResponse.d.ts +1 -1
  1290. package/dist/models/SectionResponse.js +1 -1
  1291. package/dist/models/SectionSystemMetadata.d.ts +1 -1
  1292. package/dist/models/SectionSystemMetadata.js +1 -1
  1293. package/dist/models/SendPasswordResetRequest.d.ts +1 -1
  1294. package/dist/models/SendPasswordResetRequest.js +1 -1
  1295. package/dist/models/SetApprovalStateRequest.d.ts +1 -1
  1296. package/dist/models/SetApprovalStateRequest.js +1 -1
  1297. package/dist/models/SetWorkflowRunApprovalRequest.d.ts +1 -1
  1298. package/dist/models/SetWorkflowRunApprovalRequest.js +1 -1
  1299. package/dist/models/SheetVisibilityChange.d.ts +1 -1
  1300. package/dist/models/SheetVisibilityChange.js +1 -1
  1301. package/dist/models/SignInRequest.d.ts +1 -1
  1302. package/dist/models/SignInRequest.js +1 -1
  1303. package/dist/models/SortDirection.d.ts +1 -1
  1304. package/dist/models/SortDirection.js +1 -1
  1305. package/dist/models/StartWorkflowRunRequest.d.ts +1 -1
  1306. package/dist/models/StartWorkflowRunRequest.js +1 -1
  1307. package/dist/models/Step.d.ts +1 -1
  1308. package/dist/models/Step.js +1 -1
  1309. package/dist/models/StepKind.d.ts +1 -1
  1310. package/dist/models/StepKind.js +1 -1
  1311. package/dist/models/StructuredChange.d.ts +1 -1
  1312. package/dist/models/StructuredChange.js +1 -1
  1313. package/dist/models/StructuredChangeType.d.ts +1 -1
  1314. package/dist/models/StructuredChangeType.js +1 -1
  1315. package/dist/models/StructuredDiff.d.ts +1 -1
  1316. package/dist/models/StructuredDiff.js +1 -1
  1317. package/dist/models/SubmitFeedbackRequest.d.ts +1 -1
  1318. package/dist/models/SubmitFeedbackRequest.js +1 -1
  1319. package/dist/models/SubmitSubscriptionResponse.d.ts +1 -1
  1320. package/dist/models/SubmitSubscriptionResponse.js +1 -1
  1321. package/dist/models/SubscriptionPlanResponse.d.ts +1 -1
  1322. package/dist/models/SubscriptionPlanResponse.js +1 -1
  1323. package/dist/models/SubtreeChunkGroup.d.ts +1 -1
  1324. package/dist/models/SubtreeChunkGroup.js +1 -1
  1325. package/dist/models/SubtreeChunksResponse.d.ts +1 -1
  1326. package/dist/models/SubtreeChunksResponse.js +1 -1
  1327. package/dist/models/SupportedIdP.d.ts +1 -1
  1328. package/dist/models/SupportedIdP.js +1 -1
  1329. package/dist/models/SupportedLanguage.d.ts +1 -1
  1330. package/dist/models/SupportedLanguage.js +1 -1
  1331. package/dist/models/TableCellChange.d.ts +1 -1
  1332. package/dist/models/TableCellChange.js +1 -1
  1333. package/dist/models/TableSearchResult.d.ts +83 -0
  1334. package/dist/models/TableSearchResult.js +76 -0
  1335. package/dist/models/TagOrder.d.ts +1 -1
  1336. package/dist/models/TagOrder.js +1 -1
  1337. package/dist/models/TagResponse.d.ts +1 -1
  1338. package/dist/models/TagResponse.js +1 -1
  1339. package/dist/models/TemporalWorkflowStatusResponse.d.ts +1 -1
  1340. package/dist/models/TemporalWorkflowStatusResponse.js +1 -1
  1341. package/dist/models/TenantBrandingResponse.d.ts +1 -1
  1342. package/dist/models/TenantBrandingResponse.js +1 -1
  1343. package/dist/models/TenantGroupOrder.d.ts +1 -1
  1344. package/dist/models/TenantGroupOrder.js +1 -1
  1345. package/dist/models/TenantQuotaStateResponse.d.ts +1 -1
  1346. package/dist/models/TenantQuotaStateResponse.js +1 -1
  1347. package/dist/models/TenantResponse.d.ts +1 -1
  1348. package/dist/models/TenantResponse.js +1 -1
  1349. package/dist/models/TenantSettingsResponse.d.ts +1 -1
  1350. package/dist/models/TenantSettingsResponse.js +1 -1
  1351. package/dist/models/TenantSettingsUpdate.d.ts +1 -1
  1352. package/dist/models/TenantSettingsUpdate.js +1 -1
  1353. package/dist/models/TenantUserEditRequest.d.ts +1 -1
  1354. package/dist/models/TenantUserEditRequest.js +1 -1
  1355. package/dist/models/TenantUserOrder.d.ts +1 -1
  1356. package/dist/models/TenantUserOrder.js +1 -1
  1357. package/dist/models/TenantUserResponse.d.ts +1 -1
  1358. package/dist/models/TenantUserResponse.js +1 -1
  1359. package/dist/models/TenantUserRole.d.ts +1 -1
  1360. package/dist/models/TenantUserRole.js +1 -1
  1361. package/dist/models/TestConnectionRequest.d.ts +76 -0
  1362. package/dist/models/TestConnectionRequest.js +58 -0
  1363. package/dist/models/TestConnectionResponse.d.ts +56 -0
  1364. package/dist/models/TestConnectionResponse.js +54 -0
  1365. package/dist/models/TextDiff.d.ts +1 -1
  1366. package/dist/models/TextDiff.js +1 -1
  1367. package/dist/models/TextPart.d.ts +1 -1
  1368. package/dist/models/TextPart.js +1 -1
  1369. package/dist/models/TextPartOrReasoningPartOrToolPartOrDocEditPart.d.ts +1 -1
  1370. package/dist/models/TextPartOrReasoningPartOrToolPartOrDocEditPart.js +1 -1
  1371. package/dist/models/ThreadMessageContent.d.ts +1 -1
  1372. package/dist/models/ThreadMessageContent.js +1 -1
  1373. package/dist/models/ThreadMessageDetails.d.ts +1 -1
  1374. package/dist/models/ThreadMessageDetails.js +1 -1
  1375. package/dist/models/ThreadMessageResponse.d.ts +1 -1
  1376. package/dist/models/ThreadMessageResponse.js +1 -1
  1377. package/dist/models/ThreadOrder.d.ts +1 -1
  1378. package/dist/models/ThreadOrder.js +1 -1
  1379. package/dist/models/ThreadResponse.d.ts +1 -1
  1380. package/dist/models/ThreadResponse.js +1 -1
  1381. package/dist/models/ToolDisplayType.d.ts +41 -0
  1382. package/dist/models/ToolDisplayType.js +67 -0
  1383. package/dist/models/ToolPart.d.ts +8 -1
  1384. package/dist/models/ToolPart.js +4 -1
  1385. package/dist/models/ToolStatus.d.ts +1 -1
  1386. package/dist/models/ToolStatus.js +1 -1
  1387. package/dist/models/TransferOwnerRequest.d.ts +1 -1
  1388. package/dist/models/TransferOwnerRequest.js +1 -1
  1389. package/dist/models/TransferOwnerResponse.d.ts +1 -1
  1390. package/dist/models/TransferOwnerResponse.js +1 -1
  1391. package/dist/models/TrashItemResponse.d.ts +1 -1
  1392. package/dist/models/TrashItemResponse.js +1 -1
  1393. package/dist/models/UpdateApiConnectionRequest.d.ts +1 -1
  1394. package/dist/models/UpdateApiConnectionRequest.js +1 -1
  1395. package/dist/models/UpdateChunkContentRequest.d.ts +1 -1
  1396. package/dist/models/UpdateChunkContentRequest.js +1 -1
  1397. package/dist/models/UpdateChunkMetadataRequest.d.ts +1 -1
  1398. package/dist/models/UpdateChunkMetadataRequest.js +1 -1
  1399. package/dist/models/UpdateDataSourceRequest.d.ts +16 -6
  1400. package/dist/models/UpdateDataSourceRequest.js +4 -1
  1401. package/dist/models/UpdateDocumentRequest.d.ts +1 -1
  1402. package/dist/models/UpdateDocumentRequest.js +1 -1
  1403. package/dist/models/UpdateFolderRequest.d.ts +1 -1
  1404. package/dist/models/UpdateFolderRequest.js +1 -1
  1405. package/dist/models/UpdateGroupPermissionRequest.d.ts +1 -1
  1406. package/dist/models/UpdateGroupPermissionRequest.js +1 -1
  1407. package/dist/models/UpdateGroupRequest.d.ts +1 -1
  1408. package/dist/models/UpdateGroupRequest.js +1 -1
  1409. package/dist/models/UpdateInviteRequest.d.ts +1 -1
  1410. package/dist/models/UpdateInviteRequest.js +1 -1
  1411. package/dist/models/UpdatePermissionRequest.d.ts +1 -1
  1412. package/dist/models/UpdatePermissionRequest.js +1 -1
  1413. package/dist/models/UpdateSectionRequest.d.ts +1 -1
  1414. package/dist/models/UpdateSectionRequest.js +1 -1
  1415. package/dist/models/UpdateTableRequest.d.ts +1 -7
  1416. package/dist/models/UpdateTableRequest.js +1 -3
  1417. package/dist/models/UpdateTagRequest.d.ts +1 -1
  1418. package/dist/models/UpdateTagRequest.js +1 -1
  1419. package/dist/models/UpdateTenantRequest.d.ts +1 -1
  1420. package/dist/models/UpdateTenantRequest.js +1 -1
  1421. package/dist/models/UpdateThreadRequest.d.ts +1 -1
  1422. package/dist/models/UpdateThreadRequest.js +1 -1
  1423. package/dist/models/UpdateUserRequest.d.ts +1 -1
  1424. package/dist/models/UpdateUserRequest.js +1 -1
  1425. package/dist/models/UpdateWorkflowDefinitionRequest.d.ts +1 -1
  1426. package/dist/models/UpdateWorkflowDefinitionRequest.js +1 -1
  1427. package/dist/models/UpdateWorkflowRunRequest.d.ts +1 -1
  1428. package/dist/models/UpdateWorkflowRunRequest.js +1 -1
  1429. package/dist/models/UsageMetric.d.ts +1 -1
  1430. package/dist/models/UsageMetric.js +1 -1
  1431. package/dist/models/UserInfo.d.ts +1 -1
  1432. package/dist/models/UserInfo.js +1 -1
  1433. package/dist/models/UserMessageRequest.d.ts +1 -1
  1434. package/dist/models/UserMessageRequest.js +1 -1
  1435. package/dist/models/UserMessageResponse.d.ts +7 -1
  1436. package/dist/models/UserMessageResponse.js +5 -1
  1437. package/dist/models/UserPermissionOrder.d.ts +1 -1
  1438. package/dist/models/UserPermissionOrder.js +1 -1
  1439. package/dist/models/UserResponse.d.ts +1 -1
  1440. package/dist/models/UserResponse.js +1 -1
  1441. package/dist/models/ValidateResetCodeRequest.d.ts +1 -1
  1442. package/dist/models/ValidateResetCodeRequest.js +1 -1
  1443. package/dist/models/ValidationError.d.ts +1 -1
  1444. package/dist/models/ValidationError.js +1 -1
  1445. package/dist/models/VersionChunkIdsResponse.d.ts +1 -1
  1446. package/dist/models/VersionChunkIdsResponse.js +1 -1
  1447. package/dist/models/VersionDiffResponse.d.ts +1 -1
  1448. package/dist/models/VersionDiffResponse.js +1 -1
  1449. package/dist/models/WorkflowActionResponse.d.ts +1 -1
  1450. package/dist/models/WorkflowActionResponse.js +1 -1
  1451. package/dist/models/WorkflowAdoptionStats.d.ts +1 -1
  1452. package/dist/models/WorkflowAdoptionStats.js +1 -1
  1453. package/dist/models/WorkflowCallbackResponse.d.ts +1 -1
  1454. package/dist/models/WorkflowCallbackResponse.js +1 -1
  1455. package/dist/models/WorkflowCancelResponse.d.ts +1 -1
  1456. package/dist/models/WorkflowCancelResponse.js +1 -1
  1457. package/dist/models/WorkflowDefinitionOrder.d.ts +1 -1
  1458. package/dist/models/WorkflowDefinitionOrder.js +1 -1
  1459. package/dist/models/WorkflowDefinitionResponse.d.ts +1 -1
  1460. package/dist/models/WorkflowDefinitionResponse.js +1 -1
  1461. package/dist/models/WorkflowDetailResponse.d.ts +1 -1
  1462. package/dist/models/WorkflowDetailResponse.js +1 -1
  1463. package/dist/models/WorkflowExecutionState.d.ts +1 -1
  1464. package/dist/models/WorkflowExecutionState.js +1 -1
  1465. package/dist/models/WorkflowRunAsset.d.ts +4 -4
  1466. package/dist/models/WorkflowRunAsset.js +1 -1
  1467. package/dist/models/WorkflowRunCallbackRequest.d.ts +1 -1
  1468. package/dist/models/WorkflowRunCallbackRequest.js +1 -1
  1469. package/dist/models/WorkflowRunOrder.d.ts +1 -1
  1470. package/dist/models/WorkflowRunOrder.js +1 -1
  1471. package/dist/models/WorkflowRunResponse.d.ts +12 -41
  1472. package/dist/models/WorkflowRunResponse.js +12 -25
  1473. package/dist/models/WorkflowRunSnapshot.d.ts +1 -1
  1474. package/dist/models/WorkflowRunSnapshot.js +1 -1
  1475. package/dist/models/WorkflowRunSummaryResponse.d.ts +1 -1
  1476. package/dist/models/WorkflowRunSummaryResponse.js +1 -1
  1477. package/dist/models/WorkflowSummaryResponse.d.ts +1 -1
  1478. package/dist/models/WorkflowSummaryResponse.js +1 -1
  1479. package/dist/models/XlsxCellAnchorInput.d.ts +1 -1
  1480. package/dist/models/XlsxCellAnchorInput.js +1 -1
  1481. package/dist/models/XlsxCellAnchorInputOrDocxParagraphAnchorInput.d.ts +1 -1
  1482. package/dist/models/XlsxCellAnchorInputOrDocxParagraphAnchorInput.js +1 -1
  1483. package/dist/models/XlsxCellAnchorOutput.d.ts +1 -1
  1484. package/dist/models/XlsxCellAnchorOutput.js +1 -1
  1485. package/dist/models/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.d.ts +1 -1
  1486. package/dist/models/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.js +1 -1
  1487. package/dist/models/index.d.ts +10 -1
  1488. package/dist/models/index.js +10 -1
  1489. package/dist/runtime.d.ts +1 -1
  1490. package/dist/runtime.js +1 -1
  1491. package/docs/AgentApi.md +1 -1
  1492. package/docs/AskRequest.md +1 -1
  1493. package/docs/AuditEventsApi.md +10 -10
  1494. package/docs/CreateApiKeyRequest.md +2 -2
  1495. package/docs/CreateApiKeyResponse.md +1 -1
  1496. package/docs/DataSourceDescribeResponse.md +41 -0
  1497. package/docs/DataSourceDetailResponse.md +1 -3
  1498. package/docs/DataSourceSchemaResponse.md +0 -2
  1499. package/docs/DataSourceSyncResponse.md +41 -0
  1500. package/docs/DataSourceTableResponse.md +0 -2
  1501. package/docs/DataSourcesApi.md +241 -13
  1502. package/docs/DocumentsApi.md +4 -4
  1503. package/docs/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.md +6 -16
  1504. package/docs/ModelTableRequest.md +0 -2
  1505. package/docs/RunFolder.md +41 -0
  1506. package/docs/RunFolderRef.md +39 -0
  1507. package/docs/{DataSourceDescriptionResponse.md → SearchTablesRequest.md} +11 -7
  1508. package/docs/SearchTablesResponse.md +35 -0
  1509. package/docs/{WorkflowsApi.md → SystemJobsApi.md} +16 -16
  1510. package/docs/TableSearchResult.md +47 -0
  1511. package/docs/TestConnectionRequest.md +41 -0
  1512. package/docs/TestConnectionResponse.md +37 -0
  1513. package/docs/TextPartOrReasoningPartOrToolPartOrDocEditPart.md +2 -0
  1514. package/docs/ToolDisplayType.md +33 -0
  1515. package/docs/ToolPart.md +2 -0
  1516. package/docs/UpdateDataSourceRequest.md +3 -1
  1517. package/docs/UpdateTableRequest.md +0 -2
  1518. package/docs/UserMessageResponse.md +2 -0
  1519. package/docs/WorkflowRunAsset.md +1 -1
  1520. package/docs/WorkflowRunResponse.md +6 -16
  1521. package/docs/WorkflowRunsApi.md +4 -4
  1522. package/package.json +1 -1
  1523. package/src/apis/AgentApi.ts +5 -5
  1524. package/src/apis/ApiConnectionsApi.ts +1 -1
  1525. package/src/apis/ApiKeysApi.ts +1 -1
  1526. package/src/apis/AuditEventsApi.ts +17 -17
  1527. package/src/apis/AuthApi.ts +1 -1
  1528. package/src/apis/BulkDownloadApi.ts +1 -1
  1529. package/src/apis/ChunkLineagesApi.ts +1 -1
  1530. package/src/apis/ChunksApi.ts +1 -1
  1531. package/src/apis/DataSourcesApi.ts +309 -41
  1532. package/src/apis/DefaultApi.ts +1 -1
  1533. package/src/apis/DocumentCheckoutApi.ts +1 -1
  1534. package/src/apis/DocumentVersionsApi.ts +1 -1
  1535. package/src/apis/DocumentsApi.ts +9 -9
  1536. package/src/apis/FeaturesApi.ts +1 -1
  1537. package/src/apis/FeedbackApi.ts +1 -1
  1538. package/src/apis/FoldersApi.ts +1 -1
  1539. package/src/apis/InvitesApi.ts +1 -1
  1540. package/src/apis/MemoryApi.ts +1 -1
  1541. package/src/apis/PathPartApprovalsApi.ts +1 -1
  1542. package/src/apis/PathPartsApi.ts +1 -1
  1543. package/src/apis/PublicApi.ts +1 -1
  1544. package/src/apis/SectionsApi.ts +1 -1
  1545. package/src/apis/SubscriptionsApi.ts +1 -1
  1546. package/src/apis/{WorkflowsApi.ts → SystemJobsApi.ts} +20 -20
  1547. package/src/apis/TagsApi.ts +1 -1
  1548. package/src/apis/TenantGroupsApi.ts +1 -1
  1549. package/src/apis/TenantsApi.ts +1 -1
  1550. package/src/apis/ThreadMessagesApi.ts +1 -1
  1551. package/src/apis/ThreadsApi.ts +1 -1
  1552. package/src/apis/TrashApi.ts +1 -1
  1553. package/src/apis/UserPermissionsApi.ts +1 -1
  1554. package/src/apis/UsersApi.ts +1 -1
  1555. package/src/apis/WorkflowDefinitionsApi.ts +1 -1
  1556. package/src/apis/WorkflowMemoryApi.ts +1 -1
  1557. package/src/apis/WorkflowRunsApi.ts +9 -9
  1558. package/src/apis/index.ts +1 -1
  1559. package/src/models/AcceptDisclaimerRequest.ts +1 -1
  1560. package/src/models/AcceptInviteResponse.ts +1 -1
  1561. package/src/models/AccessCheckResponse.ts +1 -1
  1562. package/src/models/AddMemberRequest.ts +1 -1
  1563. package/src/models/AncestryResponse.ts +1 -1
  1564. package/src/models/ApiAuthConfig.ts +1 -1
  1565. package/src/models/ApiConnectionRequestRequest.ts +1 -1
  1566. package/src/models/ApiConnectionRequestResponse.ts +1 -1
  1567. package/src/models/ApiConnectionResponse.ts +1 -1
  1568. package/src/models/ApiKeyResponse.ts +1 -1
  1569. package/src/models/AppendEventRequest.ts +1 -1
  1570. package/src/models/AppendMemoryChunkRequest.ts +1 -1
  1571. package/src/models/Args.ts +1 -1
  1572. package/src/models/AskRequest.ts +1 -1
  1573. package/src/models/AskResponse.ts +1 -1
  1574. package/src/models/BlockChangeType.ts +1 -1
  1575. package/src/models/BlockKind.ts +1 -1
  1576. package/src/models/BrandingLogoType.ts +1 -1
  1577. package/src/models/BulkDownloadRequest.ts +1 -1
  1578. package/src/models/BulkModelTablesRequest.ts +1 -1
  1579. package/src/models/BulkModelTablesResponse.ts +1 -1
  1580. package/src/models/BulkTagRequest.ts +1 -1
  1581. package/src/models/CatalogColumnResponse.ts +1 -1
  1582. package/src/models/CatalogTableResponse.ts +1 -1
  1583. package/src/models/CellChange.ts +1 -1
  1584. package/src/models/CellChangeType.ts +1 -1
  1585. package/src/models/CellDiff.ts +1 -1
  1586. package/src/models/ChangeClass.ts +1 -1
  1587. package/src/models/ChangePhoneNumberRequest.ts +1 -1
  1588. package/src/models/ChangeSubscriptionRequest.ts +1 -1
  1589. package/src/models/CheckpointDetails.ts +1 -1
  1590. package/src/models/ChunkBulkResponse.ts +1 -1
  1591. package/src/models/ChunkContentItem.ts +1 -1
  1592. package/src/models/ChunkDocumentResponse.ts +1 -1
  1593. package/src/models/ChunkDocumentVersionResponse.ts +1 -1
  1594. package/src/models/ChunkLineageResponse.ts +1 -1
  1595. package/src/models/ChunkMetadata.ts +1 -1
  1596. package/src/models/ChunkNeighborsResponse.ts +1 -1
  1597. package/src/models/ChunkResponse.ts +1 -1
  1598. package/src/models/ChunkSearchRequest.ts +1 -1
  1599. package/src/models/ChunkType.ts +1 -1
  1600. package/src/models/Citation.ts +1 -1
  1601. package/src/models/CitedChunk.ts +1 -1
  1602. package/src/models/ClearVersionContentsResponse.ts +1 -1
  1603. package/src/models/CloneWorkflowRunRequest.ts +1 -1
  1604. package/src/models/ColumnConfig.ts +1 -1
  1605. package/src/models/ColumnReference.ts +1 -1
  1606. package/src/models/CommonFileExclusionReason.ts +1 -1
  1607. package/src/models/ConnectionConfig.ts +1 -1
  1608. package/src/models/ContentsSortOrder.ts +1 -1
  1609. package/src/models/CreateApiConnectionRequest.ts +1 -1
  1610. package/src/models/CreateApiKeyRequest.ts +1 -1
  1611. package/src/models/CreateApiKeyResponse.ts +2 -2
  1612. package/src/models/CreateChunkLineageRequest.ts +1 -1
  1613. package/src/models/CreateChunkRequest.ts +1 -1
  1614. package/src/models/CreateDataSourceRequest.ts +1 -1
  1615. package/src/models/CreateDocumentRequest.ts +1 -1
  1616. package/src/models/CreateFolderRequest.ts +1 -1
  1617. package/src/models/CreateGroupPermissionRequest.ts +1 -1
  1618. package/src/models/CreateGroupRequest.ts +1 -1
  1619. package/src/models/CreatePasswordUserRequest.ts +1 -1
  1620. package/src/models/CreatePermissionRequest.ts +1 -1
  1621. package/src/models/CreatePhonePasswordUserRequest.ts +1 -1
  1622. package/src/models/CreateSectionRequest.ts +1 -1
  1623. package/src/models/CreateTagRequest.ts +1 -1
  1624. package/src/models/CreateThreadMessageRequest.ts +1 -1
  1625. package/src/models/CreateThreadRequest.ts +1 -1
  1626. package/src/models/CreateWorkflowDefinitionRequest.ts +1 -1
  1627. package/src/models/DataSourceCatalogResponse.ts +1 -1
  1628. package/src/models/DataSourceDescribeResponse.ts +115 -0
  1629. package/src/models/DataSourceDetailResponse.ts +1 -12
  1630. package/src/models/DataSourceEngine.ts +1 -1
  1631. package/src/models/DataSourceQueryRequest.ts +1 -1
  1632. package/src/models/DataSourceQueryResponse.ts +1 -1
  1633. package/src/models/DataSourceResponse.ts +1 -1
  1634. package/src/models/DataSourceSchemaListItem.ts +1 -1
  1635. package/src/models/DataSourceSchemaListResponse.ts +1 -1
  1636. package/src/models/DataSourceSchemaResponse.ts +1 -10
  1637. package/src/models/DataSourceSyncResponse.ts +110 -0
  1638. package/src/models/DataSourceTableResponse.ts +1 -10
  1639. package/src/models/DiffFormat.ts +1 -1
  1640. package/src/models/DiffRow.ts +1 -1
  1641. package/src/models/DiffRowType.ts +1 -1
  1642. package/src/models/DiffSpan.ts +1 -1
  1643. package/src/models/DirectorySyncResponse.ts +1 -1
  1644. package/src/models/DisplayNameFormat.ts +1 -1
  1645. package/src/models/DissolveSectionResponse.ts +1 -1
  1646. package/src/models/DocEditPart.ts +1 -1
  1647. package/src/models/DocumentBlockChange.ts +1 -1
  1648. package/src/models/DocumentCheckoutResponse.ts +1 -1
  1649. package/src/models/DocumentDiff.ts +1 -1
  1650. package/src/models/DocumentDownloadResponse.ts +1 -1
  1651. package/src/models/DocumentOrigin.ts +1 -1
  1652. package/src/models/DocumentResponse.ts +1 -1
  1653. package/src/models/DocumentType.ts +1 -1
  1654. package/src/models/DocumentVersionAction.ts +1 -1
  1655. package/src/models/DocumentVersionActionResponse.ts +1 -1
  1656. package/src/models/DocumentVersionContentTypeFilter.ts +1 -1
  1657. package/src/models/DocumentVersionMetadata.ts +1 -1
  1658. package/src/models/DocumentVersionMetadataUpdate.ts +1 -1
  1659. package/src/models/DocumentVersionOrder.ts +1 -1
  1660. package/src/models/DocumentVersionResponse.ts +1 -1
  1661. package/src/models/DocxParagraphAnchorInput.ts +1 -1
  1662. package/src/models/DocxParagraphAnchorOutput.ts +1 -1
  1663. package/src/models/DownloadArtifact.ts +1 -1
  1664. package/src/models/EditMemoryChunkRequest.ts +1 -1
  1665. package/src/models/EmailSentResponse.ts +1 -1
  1666. package/src/models/EmailVerificationRequest.ts +1 -1
  1667. package/src/models/EnrichedCitation.ts +1 -1
  1668. package/src/models/EnrichedThreadMessageContent.ts +1 -1
  1669. package/src/models/ErrorResponse.ts +28 -4
  1670. package/src/models/EventResponse.ts +1 -1
  1671. package/src/models/ExcludedCommonFile.ts +1 -1
  1672. package/src/models/ExtractRequest.ts +1 -1
  1673. package/src/models/ExtractResponse.ts +1 -1
  1674. package/src/models/FeaturesResponse.ts +1 -1
  1675. package/src/models/FeedbackEventResponse.ts +1 -1
  1676. package/src/models/FeedbackOrder.ts +1 -1
  1677. package/src/models/FeedbackRating.ts +1 -1
  1678. package/src/models/FeedbackReason.ts +1 -1
  1679. package/src/models/FeedbackTargetType.ts +1 -1
  1680. package/src/models/FolderAction.ts +1 -1
  1681. package/src/models/FolderActionResponse.ts +1 -1
  1682. package/src/models/FolderResponse.ts +1 -1
  1683. package/src/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.ts +1 -1
  1684. package/src/models/GroupMemberOrder.ts +1 -1
  1685. package/src/models/GroupPermissionOrder.ts +1 -1
  1686. package/src/models/GroupPermissionResponse.ts +1 -1
  1687. package/src/models/GroupResponse.ts +1 -1
  1688. package/src/models/HTTPValidationError.ts +1 -1
  1689. package/src/models/HealthCheckResponse.ts +1 -1
  1690. package/src/models/HybridSearchProfile.ts +1 -1
  1691. package/src/models/IdpConfig.ts +1 -1
  1692. package/src/models/IdpType.ts +1 -1
  1693. package/src/models/ImageTaxonomy.ts +1 -1
  1694. package/src/models/InformationStatistics.ts +1 -1
  1695. package/src/models/IngestDocumentResponse.ts +1 -1
  1696. package/src/models/IngestionMode.ts +1 -1
  1697. package/src/models/Input.ts +1 -1
  1698. package/src/models/InputOrigin.ts +1 -1
  1699. package/src/models/InputSnapshot.ts +1 -1
  1700. package/src/models/InstantiateWorkflowTemplateRequest.ts +1 -1
  1701. package/src/models/InstructionSnapshot.ts +1 -1
  1702. package/src/models/InviteLinkSettingsRequest.ts +1 -1
  1703. package/src/models/InviteLinkSettingsResponse.ts +1 -1
  1704. package/src/models/InviteOrder.ts +1 -1
  1705. package/src/models/InviteResponse.ts +1 -1
  1706. package/src/models/InviteStatus.ts +1 -1
  1707. package/src/models/InviteUserRequest.ts +1 -1
  1708. package/src/models/ItemPermissions.ts +1 -1
  1709. package/src/models/LineageEdgeResponse.ts +1 -1
  1710. package/src/models/LineageGraphResponse.ts +1 -1
  1711. package/src/models/LineageNodeResponse.ts +1 -1
  1712. package/src/models/LocationInner.ts +1 -1
  1713. package/src/models/MembershipResponse.ts +1 -1
  1714. package/src/models/MemoryBodyResponse.ts +1 -1
  1715. package/src/models/MemoryChunkResponse.ts +1 -1
  1716. package/src/models/MemoryKind.ts +1 -1
  1717. package/src/models/MemoryScope.ts +1 -1
  1718. package/src/models/MessageRole.ts +1 -1
  1719. package/src/models/MessageUsage.ts +1 -1
  1720. package/src/models/MeteredQuotaStatus.ts +1 -1
  1721. package/src/models/ModelTableRequest.ts +1 -9
  1722. package/src/models/ModelTableResult.ts +1 -1
  1723. package/src/models/NetworkClass.ts +1 -1
  1724. package/src/models/NonFilesystemReferenceType.ts +1 -1
  1725. package/src/models/OnboardingCompanyRequest.ts +1 -1
  1726. package/src/models/OnboardingProfileRequest.ts +1 -1
  1727. package/src/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.ts +1 -1
  1728. package/src/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.ts +1 -1
  1729. package/src/models/PaginatedResponseDocumentResponse.ts +1 -1
  1730. package/src/models/PaginatedResponseDocumentVersionResponse.ts +1 -1
  1731. package/src/models/PaginatedResponseEventResponse.ts +1 -1
  1732. package/src/models/PaginatedResponseFeedbackEventResponse.ts +1 -1
  1733. package/src/models/PaginatedResponseFolderResponse.ts +1 -1
  1734. package/src/models/PaginatedResponseGroupPermissionResponse.ts +1 -1
  1735. package/src/models/PaginatedResponseGroupResponse.ts +1 -1
  1736. package/src/models/PaginatedResponseInviteResponse.ts +1 -1
  1737. package/src/models/PaginatedResponseMembershipResponse.ts +1 -1
  1738. package/src/models/PaginatedResponseMemoryChunkResponse.ts +1 -1
  1739. package/src/models/PaginatedResponsePathPartResponse.ts +1 -1
  1740. package/src/models/PaginatedResponsePendingMemoryChunkResponse.ts +1 -1
  1741. package/src/models/PaginatedResponsePermissionResponse.ts +1 -1
  1742. package/src/models/PaginatedResponseTagResponse.ts +1 -1
  1743. package/src/models/PaginatedResponseTenantResponse.ts +1 -1
  1744. package/src/models/PaginatedResponseTenantUserResponse.ts +1 -1
  1745. package/src/models/PaginatedResponseThreadMessageResponse.ts +1 -1
  1746. package/src/models/PaginatedResponseThreadResponse.ts +1 -1
  1747. package/src/models/PaginatedResponseTrashItemResponse.ts +1 -1
  1748. package/src/models/PaginatedResponseWorkflowDefinitionResponse.ts +1 -1
  1749. package/src/models/PaginatedResponseWorkflowRunResponse.ts +1 -1
  1750. package/src/models/PaginatedResponseWorkflowSummaryResponse.ts +1 -1
  1751. package/src/models/PartType.ts +1 -1
  1752. package/src/models/PasswordResetRequest.ts +1 -1
  1753. package/src/models/PasswordResetTokenResponse.ts +1 -1
  1754. package/src/models/PasswordResetWithTokenRequest.ts +1 -1
  1755. package/src/models/PathOrder.ts +1 -1
  1756. package/src/models/PathPartAncestorItem.ts +1 -1
  1757. package/src/models/PathPartApprovalDecision.ts +1 -1
  1758. package/src/models/PathPartApprovalResponse.ts +1 -1
  1759. package/src/models/PathPartApprovalState.ts +1 -1
  1760. package/src/models/PathPartResponse.ts +1 -1
  1761. package/src/models/PathPartTagsResponse.ts +1 -1
  1762. package/src/models/PendingMemoryChunkResponse.ts +1 -1
  1763. package/src/models/PermissionCapability.ts +1 -1
  1764. package/src/models/PermissionResponse.ts +1 -1
  1765. package/src/models/PhoneValidationResponse.ts +1 -1
  1766. package/src/models/PhoneVerificationRequest.ts +1 -1
  1767. package/src/models/PipelineState.ts +1 -1
  1768. package/src/models/PipelineStatus.ts +1 -1
  1769. package/src/models/PixelRegion.ts +1 -1
  1770. package/src/models/Polygon.ts +1 -1
  1771. package/src/models/PolygonReference.ts +1 -1
  1772. package/src/models/ProposeMemoryChunkRequest.ts +1 -1
  1773. package/src/models/ProposedMemoryChunkResponse.ts +1 -1
  1774. package/src/models/ReasoningPart.ts +1 -1
  1775. package/src/models/ReferenceType.ts +1 -1
  1776. package/src/models/RequestPhoneChangeRequest.ts +1 -1
  1777. package/src/models/ResolvedReferenceInput.ts +1 -1
  1778. package/src/models/ResolvedReferenceOutput.ts +1 -1
  1779. package/src/models/ResponseSendPwResetEmail.ts +1 -1
  1780. package/src/models/RevisionEdit.ts +1 -1
  1781. package/src/models/RootResponse.ts +1 -1
  1782. package/src/models/RunFolder.ts +117 -0
  1783. package/src/models/RunFolderRef.ts +105 -0
  1784. package/src/models/SSOInitiateResponse.ts +1 -1
  1785. package/src/models/ScoredChunkResponse.ts +1 -1
  1786. package/src/models/SearchSortOrder.ts +1 -1
  1787. package/src/models/SearchTablesRequest.ts +116 -0
  1788. package/src/models/SearchTablesResponse.ts +91 -0
  1789. package/src/models/SearchType.ts +1 -1
  1790. package/src/models/SearchablePartType.ts +1 -1
  1791. package/src/models/SeatQuotaStatus.ts +1 -1
  1792. package/src/models/SectionContentItem.ts +1 -1
  1793. package/src/models/SectionContentItemOrChunkContentItem.ts +1 -1
  1794. package/src/models/SectionResponse.ts +1 -1
  1795. package/src/models/SectionSystemMetadata.ts +1 -1
  1796. package/src/models/SendPasswordResetRequest.ts +1 -1
  1797. package/src/models/SetApprovalStateRequest.ts +1 -1
  1798. package/src/models/SetWorkflowRunApprovalRequest.ts +1 -1
  1799. package/src/models/SheetVisibilityChange.ts +1 -1
  1800. package/src/models/SignInRequest.ts +1 -1
  1801. package/src/models/SortDirection.ts +1 -1
  1802. package/src/models/StartWorkflowRunRequest.ts +1 -1
  1803. package/src/models/Step.ts +1 -1
  1804. package/src/models/StepKind.ts +1 -1
  1805. package/src/models/StructuredChange.ts +1 -1
  1806. package/src/models/StructuredChangeType.ts +1 -1
  1807. package/src/models/StructuredDiff.ts +1 -1
  1808. package/src/models/SubmitFeedbackRequest.ts +1 -1
  1809. package/src/models/SubmitSubscriptionResponse.ts +1 -1
  1810. package/src/models/SubscriptionPlanResponse.ts +1 -1
  1811. package/src/models/SubtreeChunkGroup.ts +1 -1
  1812. package/src/models/SubtreeChunksResponse.ts +1 -1
  1813. package/src/models/SupportedIdP.ts +1 -1
  1814. package/src/models/SupportedLanguage.ts +1 -1
  1815. package/src/models/TableCellChange.ts +1 -1
  1816. package/src/models/TableSearchResult.ts +137 -0
  1817. package/src/models/TagOrder.ts +1 -1
  1818. package/src/models/TagResponse.ts +1 -1
  1819. package/src/models/TemporalWorkflowStatusResponse.ts +1 -1
  1820. package/src/models/TenantBrandingResponse.ts +1 -1
  1821. package/src/models/TenantGroupOrder.ts +1 -1
  1822. package/src/models/TenantQuotaStateResponse.ts +1 -1
  1823. package/src/models/TenantResponse.ts +1 -1
  1824. package/src/models/TenantSettingsResponse.ts +1 -1
  1825. package/src/models/TenantSettingsUpdate.ts +1 -1
  1826. package/src/models/TenantUserEditRequest.ts +1 -1
  1827. package/src/models/TenantUserOrder.ts +1 -1
  1828. package/src/models/TenantUserResponse.ts +1 -1
  1829. package/src/models/TenantUserRole.ts +1 -1
  1830. package/src/models/TestConnectionRequest.ts +132 -0
  1831. package/src/models/TestConnectionResponse.ts +94 -0
  1832. package/src/models/TextDiff.ts +1 -1
  1833. package/src/models/TextPart.ts +1 -1
  1834. package/src/models/TextPartOrReasoningPartOrToolPartOrDocEditPart.ts +1 -1
  1835. package/src/models/ThreadMessageContent.ts +1 -1
  1836. package/src/models/ThreadMessageDetails.ts +1 -1
  1837. package/src/models/ThreadMessageResponse.ts +1 -1
  1838. package/src/models/ThreadOrder.ts +1 -1
  1839. package/src/models/ThreadResponse.ts +1 -1
  1840. package/src/models/ToolDisplayType.ts +69 -0
  1841. package/src/models/ToolPart.ts +16 -1
  1842. package/src/models/ToolStatus.ts +1 -1
  1843. package/src/models/TransferOwnerRequest.ts +1 -1
  1844. package/src/models/TransferOwnerResponse.ts +1 -1
  1845. package/src/models/TrashItemResponse.ts +1 -1
  1846. package/src/models/UpdateApiConnectionRequest.ts +1 -1
  1847. package/src/models/UpdateChunkContentRequest.ts +1 -1
  1848. package/src/models/UpdateChunkMetadataRequest.ts +1 -1
  1849. package/src/models/UpdateDataSourceRequest.ts +25 -6
  1850. package/src/models/UpdateDocumentRequest.ts +1 -1
  1851. package/src/models/UpdateFolderRequest.ts +1 -1
  1852. package/src/models/UpdateGroupPermissionRequest.ts +1 -1
  1853. package/src/models/UpdateGroupRequest.ts +1 -1
  1854. package/src/models/UpdateInviteRequest.ts +1 -1
  1855. package/src/models/UpdatePermissionRequest.ts +1 -1
  1856. package/src/models/UpdateSectionRequest.ts +1 -1
  1857. package/src/models/UpdateTableRequest.ts +1 -9
  1858. package/src/models/UpdateTagRequest.ts +1 -1
  1859. package/src/models/UpdateTenantRequest.ts +1 -1
  1860. package/src/models/UpdateThreadRequest.ts +1 -1
  1861. package/src/models/UpdateUserRequest.ts +1 -1
  1862. package/src/models/UpdateWorkflowDefinitionRequest.ts +1 -1
  1863. package/src/models/UpdateWorkflowRunRequest.ts +1 -1
  1864. package/src/models/UsageMetric.ts +1 -1
  1865. package/src/models/UserInfo.ts +1 -1
  1866. package/src/models/UserMessageRequest.ts +1 -1
  1867. package/src/models/UserMessageResponse.ts +10 -1
  1868. package/src/models/UserPermissionOrder.ts +1 -1
  1869. package/src/models/UserResponse.ts +1 -1
  1870. package/src/models/ValidateResetCodeRequest.ts +1 -1
  1871. package/src/models/ValidationError.ts +1 -1
  1872. package/src/models/VersionChunkIdsResponse.ts +1 -1
  1873. package/src/models/VersionDiffResponse.ts +1 -1
  1874. package/src/models/WorkflowActionResponse.ts +1 -1
  1875. package/src/models/WorkflowAdoptionStats.ts +1 -1
  1876. package/src/models/WorkflowCallbackResponse.ts +1 -1
  1877. package/src/models/WorkflowCancelResponse.ts +1 -1
  1878. package/src/models/WorkflowDefinitionOrder.ts +1 -1
  1879. package/src/models/WorkflowDefinitionResponse.ts +1 -1
  1880. package/src/models/WorkflowDetailResponse.ts +1 -1
  1881. package/src/models/WorkflowExecutionState.ts +1 -1
  1882. package/src/models/WorkflowRunAsset.ts +4 -4
  1883. package/src/models/WorkflowRunCallbackRequest.ts +1 -1
  1884. package/src/models/WorkflowRunOrder.ts +1 -1
  1885. package/src/models/WorkflowRunResponse.ts +32 -67
  1886. package/src/models/WorkflowRunSnapshot.ts +1 -1
  1887. package/src/models/WorkflowRunSummaryResponse.ts +1 -1
  1888. package/src/models/WorkflowSummaryResponse.ts +1 -1
  1889. package/src/models/XlsxCellAnchorInput.ts +1 -1
  1890. package/src/models/XlsxCellAnchorInputOrDocxParagraphAnchorInput.ts +1 -1
  1891. package/src/models/XlsxCellAnchorOutput.ts +1 -1
  1892. package/src/models/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.ts +1 -1
  1893. package/src/models/index.ts +10 -1
  1894. package/src/runtime.ts +1 -1
  1895. package/dist/esm/models/DataSourceDescriptionResponse.d.ts +0 -53
  1896. package/dist/esm/models/DataSourceDescriptionResponse.js +0 -48
  1897. package/dist/models/DataSourceDescriptionResponse.d.ts +0 -53
  1898. package/dist/models/DataSourceDescriptionResponse.js +0 -56
  1899. package/src/models/DataSourceDescriptionResponse.ts +0 -92
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Knowledge Stack API
3
- * Knowledge Stack backend API for authentication and knowledge management
3
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
4
4
  *
5
5
  * The version of the OpenAPI document: 0.1.0
6
6
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Knowledge Stack API
6
- * Knowledge Stack backend API for authentication and knowledge management
6
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
7
7
  *
8
8
  * The version of the OpenAPI document: 0.1.0
9
9
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Knowledge Stack API
3
- * Knowledge Stack backend API for authentication and knowledge management
3
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
4
4
  *
5
5
  * The version of the OpenAPI document: 0.1.0
6
6
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Knowledge Stack API
6
- * Knowledge Stack backend API for authentication and knowledge management
6
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
7
7
  *
8
8
  * The version of the OpenAPI document: 0.1.0
9
9
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Knowledge Stack API
3
- * Knowledge Stack backend API for authentication and knowledge management
3
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
4
4
  *
5
5
  * The version of the OpenAPI document: 0.1.0
6
6
  *
@@ -220,7 +220,7 @@ export interface WorkflowRunsApiInterface {
220
220
  */
221
221
  retryWorkflowRunRequestOpts(requestParameters: RetryWorkflowRunRequest): Promise<runtime.RequestOpts>;
222
222
  /**
223
- * Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only.
223
+ * Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only. Runs in the background — poll ``GET /v1/workflow-runs/{run_id}`` (also given in the ``Location`` header) until ``execution_state`` is COMPLETED or FAILED.
224
224
  * @summary Retry Workflow Run Handler
225
225
  * @param {string} runId
226
226
  * @param {*} [options] Override http request option.
@@ -229,7 +229,7 @@ export interface WorkflowRunsApiInterface {
229
229
  */
230
230
  retryWorkflowRunRaw(requestParameters: RetryWorkflowRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowRunResponse>>;
231
231
  /**
232
- * Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only.
232
+ * Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only. Runs in the background — poll ``GET /v1/workflow-runs/{run_id}`` (also given in the ``Location`` header) until ``execution_state`` is COMPLETED or FAILED.
233
233
  * Retry Workflow Run Handler
234
234
  */
235
235
  retryWorkflowRun(requestParameters: RetryWorkflowRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunResponse>;
@@ -265,7 +265,7 @@ export interface WorkflowRunsApiInterface {
265
265
  */
266
266
  startWorkflowRunRequestOpts(requestParameters: StartWorkflowRunOperationRequest): Promise<runtime.RequestOpts>;
267
267
  /**
268
- * Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live). The body is optional; ``user_message`` (when sent) is pinned into the snapshot and shown in the run thread (see ``StartWorkflowRunRequest``).
268
+ * Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live). The body is optional; ``user_message`` (when sent) is pinned into the snapshot and shown in the run thread (see ``StartWorkflowRunRequest``). The run executes in the background — poll ``GET /v1/workflow-runs/{run_id}`` (also given in the ``Location`` header) until ``execution_state`` is COMPLETED or FAILED. There is no completion webhook.
269
269
  * @summary Start Workflow Run Handler
270
270
  * @param {string} runId
271
271
  * @param {StartWorkflowRunRequest} [startWorkflowRunRequest]
@@ -275,7 +275,7 @@ export interface WorkflowRunsApiInterface {
275
275
  */
276
276
  startWorkflowRunRaw(requestParameters: StartWorkflowRunOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowRunResponse>>;
277
277
  /**
278
- * Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live). The body is optional; ``user_message`` (when sent) is pinned into the snapshot and shown in the run thread (see ``StartWorkflowRunRequest``).
278
+ * Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live). The body is optional; ``user_message`` (when sent) is pinned into the snapshot and shown in the run thread (see ``StartWorkflowRunRequest``). The run executes in the background — poll ``GET /v1/workflow-runs/{run_id}`` (also given in the ``Location`` header) until ``execution_state`` is COMPLETED or FAILED. There is no completion webhook.
279
279
  * Start Workflow Run Handler
280
280
  */
281
281
  startWorkflowRun(requestParameters: StartWorkflowRunOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunResponse>;
@@ -422,12 +422,12 @@ export declare class WorkflowRunsApi extends runtime.BaseAPI implements Workflow
422
422
  */
423
423
  retryWorkflowRunRequestOpts(requestParameters: RetryWorkflowRunRequest): Promise<runtime.RequestOpts>;
424
424
  /**
425
- * Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only.
425
+ * Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only. Runs in the background — poll ``GET /v1/workflow-runs/{run_id}`` (also given in the ``Location`` header) until ``execution_state`` is COMPLETED or FAILED.
426
426
  * Retry Workflow Run Handler
427
427
  */
428
428
  retryWorkflowRunRaw(requestParameters: RetryWorkflowRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowRunResponse>>;
429
429
  /**
430
- * Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only.
430
+ * Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only. Runs in the background — poll ``GET /v1/workflow-runs/{run_id}`` (also given in the ``Location`` header) until ``execution_state`` is COMPLETED or FAILED.
431
431
  * Retry Workflow Run Handler
432
432
  */
433
433
  retryWorkflowRun(requestParameters: RetryWorkflowRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunResponse>;
@@ -450,12 +450,12 @@ export declare class WorkflowRunsApi extends runtime.BaseAPI implements Workflow
450
450
  */
451
451
  startWorkflowRunRequestOpts(requestParameters: StartWorkflowRunOperationRequest): Promise<runtime.RequestOpts>;
452
452
  /**
453
- * Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live). The body is optional; ``user_message`` (when sent) is pinned into the snapshot and shown in the run thread (see ``StartWorkflowRunRequest``).
453
+ * Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live). The body is optional; ``user_message`` (when sent) is pinned into the snapshot and shown in the run thread (see ``StartWorkflowRunRequest``). The run executes in the background — poll ``GET /v1/workflow-runs/{run_id}`` (also given in the ``Location`` header) until ``execution_state`` is COMPLETED or FAILED. There is no completion webhook.
454
454
  * Start Workflow Run Handler
455
455
  */
456
456
  startWorkflowRunRaw(requestParameters: StartWorkflowRunOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowRunResponse>>;
457
457
  /**
458
- * Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live). The body is optional; ``user_message`` (when sent) is pinned into the snapshot and shown in the run thread (see ``StartWorkflowRunRequest``).
458
+ * Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live). The body is optional; ``user_message`` (when sent) is pinned into the snapshot and shown in the run thread (see ``StartWorkflowRunRequest``). The run executes in the background — poll ``GET /v1/workflow-runs/{run_id}`` (also given in the ``Location`` header) until ``execution_state`` is COMPLETED or FAILED. There is no completion webhook.
459
459
  * Start Workflow Run Handler
460
460
  */
461
461
  startWorkflowRun(requestParameters: StartWorkflowRunOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunResponse>;
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Knowledge Stack API
6
- * Knowledge Stack backend API for authentication and knowledge management
6
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
7
7
  *
8
8
  * The version of the OpenAPI document: 0.1.0
9
9
  *
@@ -379,7 +379,7 @@ class WorkflowRunsApi extends runtime.BaseAPI {
379
379
  });
380
380
  }
381
381
  /**
382
- * Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only.
382
+ * Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only. Runs in the background — poll ``GET /v1/workflow-runs/{run_id}`` (also given in the ``Location`` header) until ``execution_state`` is COMPLETED or FAILED.
383
383
  * Retry Workflow Run Handler
384
384
  */
385
385
  retryWorkflowRunRaw(requestParameters, initOverrides) {
@@ -390,7 +390,7 @@ class WorkflowRunsApi extends runtime.BaseAPI {
390
390
  });
391
391
  }
392
392
  /**
393
- * Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only.
393
+ * Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only. Runs in the background — poll ``GET /v1/workflow-runs/{run_id}`` (also given in the ``Location`` header) until ``execution_state`` is COMPLETED or FAILED.
394
394
  * Retry Workflow Run Handler
395
395
  */
396
396
  retryWorkflowRun(requestParameters, initOverrides) {
@@ -482,7 +482,7 @@ class WorkflowRunsApi extends runtime.BaseAPI {
482
482
  });
483
483
  }
484
484
  /**
485
- * Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live). The body is optional; ``user_message`` (when sent) is pinned into the snapshot and shown in the run thread (see ``StartWorkflowRunRequest``).
485
+ * Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live). The body is optional; ``user_message`` (when sent) is pinned into the snapshot and shown in the run thread (see ``StartWorkflowRunRequest``). The run executes in the background — poll ``GET /v1/workflow-runs/{run_id}`` (also given in the ``Location`` header) until ``execution_state`` is COMPLETED or FAILED. There is no completion webhook.
486
486
  * Start Workflow Run Handler
487
487
  */
488
488
  startWorkflowRunRaw(requestParameters, initOverrides) {
@@ -493,7 +493,7 @@ class WorkflowRunsApi extends runtime.BaseAPI {
493
493
  });
494
494
  }
495
495
  /**
496
- * Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live). The body is optional; ``user_message`` (when sent) is pinned into the snapshot and shown in the run thread (see ``StartWorkflowRunRequest``).
496
+ * Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live). The body is optional; ``user_message`` (when sent) is pinned into the snapshot and shown in the run thread (see ``StartWorkflowRunRequest``). The run executes in the background — poll ``GET /v1/workflow-runs/{run_id}`` (also given in the ``Location`` header) until ``execution_state`` is COMPLETED or FAILED. There is no completion webhook.
497
497
  * Start Workflow Run Handler
498
498
  */
499
499
  startWorkflowRun(requestParameters, initOverrides) {
@@ -21,6 +21,7 @@ export * from './PathPartsApi';
21
21
  export * from './PublicApi';
22
22
  export * from './SectionsApi';
23
23
  export * from './SubscriptionsApi';
24
+ export * from './SystemJobsApi';
24
25
  export * from './TagsApi';
25
26
  export * from './TenantGroupsApi';
26
27
  export * from './TenantsApi';
@@ -32,4 +33,3 @@ export * from './UsersApi';
32
33
  export * from './WorkflowDefinitionsApi';
33
34
  export * from './WorkflowMemoryApi';
34
35
  export * from './WorkflowRunsApi';
35
- export * from './WorkflowsApi';
@@ -39,6 +39,7 @@ __exportStar(require("./PathPartsApi"), exports);
39
39
  __exportStar(require("./PublicApi"), exports);
40
40
  __exportStar(require("./SectionsApi"), exports);
41
41
  __exportStar(require("./SubscriptionsApi"), exports);
42
+ __exportStar(require("./SystemJobsApi"), exports);
42
43
  __exportStar(require("./TagsApi"), exports);
43
44
  __exportStar(require("./TenantGroupsApi"), exports);
44
45
  __exportStar(require("./TenantsApi"), exports);
@@ -50,4 +51,3 @@ __exportStar(require("./UsersApi"), exports);
50
51
  __exportStar(require("./WorkflowDefinitionsApi"), exports);
51
52
  __exportStar(require("./WorkflowMemoryApi"), exports);
52
53
  __exportStar(require("./WorkflowRunsApi"), exports);
53
- __exportStar(require("./WorkflowsApi"), exports);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Knowledge Stack API
3
- * Knowledge Stack backend API for authentication and knowledge management
3
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
4
4
  *
5
5
  * The version of the OpenAPI document: 0.1.0
6
6
  *
@@ -32,7 +32,7 @@ export interface AgentApiInterface {
32
32
  */
33
33
  agentAskRequestOpts(requestParameters: AgentAskRequest): Promise<runtime.RequestOpts>;
34
34
  /**
35
- * Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/workflows/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
35
+ * Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/system-jobs/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
36
36
  * @summary Agent Ask Handler
37
37
  * @param {AskRequest} askRequest
38
38
  * @param {*} [options] Override http request option.
@@ -41,7 +41,7 @@ export interface AgentApiInterface {
41
41
  */
42
42
  agentAskRaw(requestParameters: AgentAskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AskResponse>>;
43
43
  /**
44
- * Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/workflows/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
44
+ * Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/system-jobs/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
45
45
  * Agent Ask Handler
46
46
  */
47
47
  agentAsk(requestParameters: AgentAskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AskResponse>;
@@ -76,12 +76,12 @@ export declare class AgentApi extends runtime.BaseAPI implements AgentApiInterfa
76
76
  */
77
77
  agentAskRequestOpts(requestParameters: AgentAskRequest): Promise<runtime.RequestOpts>;
78
78
  /**
79
- * Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/workflows/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
79
+ * Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/system-jobs/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
80
80
  * Agent Ask Handler
81
81
  */
82
82
  agentAskRaw(requestParameters: AgentAskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AskResponse>>;
83
83
  /**
84
- * Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/workflows/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
84
+ * Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/system-jobs/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
85
85
  * Agent Ask Handler
86
86
  */
87
87
  agentAsk(requestParameters: AgentAskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AskResponse>;
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Knowledge Stack API
5
- * Knowledge Stack backend API for authentication and knowledge management
5
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
6
6
  *
7
7
  * The version of the OpenAPI document: 0.1.0
8
8
  *
@@ -55,7 +55,7 @@ export class AgentApi extends runtime.BaseAPI {
55
55
  });
56
56
  }
57
57
  /**
58
- * Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/workflows/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
58
+ * Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/system-jobs/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
59
59
  * Agent Ask Handler
60
60
  */
61
61
  agentAskRaw(requestParameters, initOverrides) {
@@ -66,7 +66,7 @@ export class AgentApi extends runtime.BaseAPI {
66
66
  });
67
67
  }
68
68
  /**
69
- * Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/workflows/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
69
+ * Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/system-jobs/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
70
70
  * Agent Ask Handler
71
71
  */
72
72
  agentAsk(requestParameters, initOverrides) {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Knowledge Stack API
3
- * Knowledge Stack backend API for authentication and knowledge management
3
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
4
4
  *
5
5
  * The version of the OpenAPI document: 0.1.0
6
6
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Knowledge Stack API
5
- * Knowledge Stack backend API for authentication and knowledge management
5
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
6
6
  *
7
7
  * The version of the OpenAPI document: 0.1.0
8
8
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Knowledge Stack API
3
- * Knowledge Stack backend API for authentication and knowledge management
3
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
4
4
  *
5
5
  * The version of the OpenAPI document: 0.1.0
6
6
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Knowledge Stack API
5
- * Knowledge Stack backend API for authentication and knowledge management
5
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
6
6
  *
7
7
  * The version of the OpenAPI document: 0.1.0
8
8
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Knowledge Stack API
3
- * Knowledge Stack backend API for authentication and knowledge management
3
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
4
4
  *
5
5
  * The version of the OpenAPI document: 0.1.0
6
6
  *
@@ -41,8 +41,8 @@ export interface AuditEventsApiInterface {
41
41
  * Creates request options for exportAuditEvents without sending the request
42
42
  * @param {string} [actorUserId] Filter to one actor
43
43
  * @param {string} [kind] Filter to one event kind
44
- * @param {Date} [since] Only events at or after this timestamp
45
- * @param {Date} [until] Only events strictly before this timestamp
44
+ * @param {Date} [since] Only events at or after this timestamp (from). Omit to export the entire audit log. Must not be in the future or after &#x60;until&#x60;.
45
+ * @param {Date} [until] Only events strictly before this timestamp (to). Omit for no upper bound. Must not be in the future.
46
46
  * @param {string} [subjectPathPartId] Scope to one document/folder/run subject
47
47
  * @param {boolean} [recursive] Include the subject\&#39;s descendants (needs subject)
48
48
  * @throws {RequiredError}
@@ -50,12 +50,12 @@ export interface AuditEventsApiInterface {
50
50
  */
51
51
  exportAuditEventsRequestOpts(requestParameters: ExportAuditEventsRequest): Promise<runtime.RequestOpts>;
52
52
  /**
53
- * Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel.
53
+ * Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel. With no `since`/`until` the export covers the entire audit log; pass either bound to narrow to an optional from/to window.
54
54
  * @summary Export Audit Events Handler
55
55
  * @param {string} [actorUserId] Filter to one actor
56
56
  * @param {string} [kind] Filter to one event kind
57
- * @param {Date} [since] Only events at or after this timestamp
58
- * @param {Date} [until] Only events strictly before this timestamp
57
+ * @param {Date} [since] Only events at or after this timestamp (from). Omit to export the entire audit log. Must not be in the future or after &#x60;until&#x60;.
58
+ * @param {Date} [until] Only events strictly before this timestamp (to). Omit for no upper bound. Must not be in the future.
59
59
  * @param {string} [subjectPathPartId] Scope to one document/folder/run subject
60
60
  * @param {boolean} [recursive] Include the subject\&#39;s descendants (needs subject)
61
61
  * @param {*} [options] Override http request option.
@@ -64,7 +64,7 @@ export interface AuditEventsApiInterface {
64
64
  */
65
65
  exportAuditEventsRaw(requestParameters: ExportAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
66
66
  /**
67
- * Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel.
67
+ * Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel. With no `since`/`until` the export covers the entire audit log; pass either bound to narrow to an optional from/to window.
68
68
  * Export Audit Events Handler
69
69
  */
70
70
  exportAuditEvents(requestParameters: ExportAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
@@ -72,8 +72,8 @@ export interface AuditEventsApiInterface {
72
72
  * Creates request options for listAuditEvents without sending the request
73
73
  * @param {string} [actorUserId] Filter to one actor
74
74
  * @param {string} [kind] Filter to one event kind
75
- * @param {Date} [since] Only events at or after this timestamp
76
- * @param {Date} [until] Only events strictly before this timestamp
75
+ * @param {Date} [since] Only events at or after this timestamp (from). Omit for no lower bound. Must not be in the future or after &#x60;until&#x60;.
76
+ * @param {Date} [until] Only events strictly before this timestamp (to). Omit for no upper bound. Must not be in the future.
77
77
  * @param {string} [subjectPathPartId] Scope to one document/folder/run subject
78
78
  * @param {boolean} [recursive] Include the subject\&#39;s descendants (needs subject)
79
79
  * @param {SortDirection} [sortDir] Sort by timestamp (default: DESC, newest first)
@@ -84,12 +84,12 @@ export interface AuditEventsApiInterface {
84
84
  */
85
85
  listAuditEventsRequestOpts(requestParameters: ListAuditEventsRequest): Promise<runtime.RequestOpts>;
86
86
  /**
87
- * List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, time window, and/or a subject subtree. Each event carries its resolved actor name.
87
+ * List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, an optional `since`(from)/ `until`(to) window, and/or a subject subtree. Each event carries its resolved actor name.
88
88
  * @summary List Audit Events Handler
89
89
  * @param {string} [actorUserId] Filter to one actor
90
90
  * @param {string} [kind] Filter to one event kind
91
- * @param {Date} [since] Only events at or after this timestamp
92
- * @param {Date} [until] Only events strictly before this timestamp
91
+ * @param {Date} [since] Only events at or after this timestamp (from). Omit for no lower bound. Must not be in the future or after &#x60;until&#x60;.
92
+ * @param {Date} [until] Only events strictly before this timestamp (to). Omit for no upper bound. Must not be in the future.
93
93
  * @param {string} [subjectPathPartId] Scope to one document/folder/run subject
94
94
  * @param {boolean} [recursive] Include the subject\&#39;s descendants (needs subject)
95
95
  * @param {SortDirection} [sortDir] Sort by timestamp (default: DESC, newest first)
@@ -101,7 +101,7 @@ export interface AuditEventsApiInterface {
101
101
  */
102
102
  listAuditEventsRaw(requestParameters: ListAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseEventResponse>>;
103
103
  /**
104
- * List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, time window, and/or a subject subtree. Each event carries its resolved actor name.
104
+ * List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, an optional `since`(from)/ `until`(to) window, and/or a subject subtree. Each event carries its resolved actor name.
105
105
  * List Audit Events Handler
106
106
  */
107
107
  listAuditEvents(requestParameters: ListAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseEventResponse>;
@@ -115,12 +115,12 @@ export declare class AuditEventsApi extends runtime.BaseAPI implements AuditEven
115
115
  */
116
116
  exportAuditEventsRequestOpts(requestParameters: ExportAuditEventsRequest): Promise<runtime.RequestOpts>;
117
117
  /**
118
- * Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel.
118
+ * Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel. With no `since`/`until` the export covers the entire audit log; pass either bound to narrow to an optional from/to window.
119
119
  * Export Audit Events Handler
120
120
  */
121
121
  exportAuditEventsRaw(requestParameters: ExportAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
122
122
  /**
123
- * Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel.
123
+ * Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel. With no `since`/`until` the export covers the entire audit log; pass either bound to narrow to an optional from/to window.
124
124
  * Export Audit Events Handler
125
125
  */
126
126
  exportAuditEvents(requestParameters?: ExportAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
@@ -129,12 +129,12 @@ export declare class AuditEventsApi extends runtime.BaseAPI implements AuditEven
129
129
  */
130
130
  listAuditEventsRequestOpts(requestParameters: ListAuditEventsRequest): Promise<runtime.RequestOpts>;
131
131
  /**
132
- * List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, time window, and/or a subject subtree. Each event carries its resolved actor name.
132
+ * List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, an optional `since`(from)/ `until`(to) window, and/or a subject subtree. Each event carries its resolved actor name.
133
133
  * List Audit Events Handler
134
134
  */
135
135
  listAuditEventsRaw(requestParameters: ListAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseEventResponse>>;
136
136
  /**
137
- * List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, time window, and/or a subject subtree. Each event carries its resolved actor name.
137
+ * List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, an optional `since`(from)/ `until`(to) window, and/or a subject subtree. Each event carries its resolved actor name.
138
138
  * List Audit Events Handler
139
139
  */
140
140
  listAuditEvents(requestParameters?: ListAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseEventResponse>;
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Knowledge Stack API
5
- * Knowledge Stack backend API for authentication and knowledge management
5
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
6
6
  *
7
7
  * The version of the OpenAPI document: 0.1.0
8
8
  *
@@ -68,7 +68,7 @@ export class AuditEventsApi extends runtime.BaseAPI {
68
68
  });
69
69
  }
70
70
  /**
71
- * Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel.
71
+ * Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel. With no `since`/`until` the export covers the entire audit log; pass either bound to narrow to an optional from/to window.
72
72
  * Export Audit Events Handler
73
73
  */
74
74
  exportAuditEventsRaw(requestParameters, initOverrides) {
@@ -79,7 +79,7 @@ export class AuditEventsApi extends runtime.BaseAPI {
79
79
  });
80
80
  }
81
81
  /**
82
- * Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel.
82
+ * Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel. With no `since`/`until` the export covers the entire audit log; pass either bound to narrow to an optional from/to window.
83
83
  * Export Audit Events Handler
84
84
  */
85
85
  exportAuditEvents() {
@@ -139,7 +139,7 @@ export class AuditEventsApi extends runtime.BaseAPI {
139
139
  });
140
140
  }
141
141
  /**
142
- * List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, time window, and/or a subject subtree. Each event carries its resolved actor name.
142
+ * List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, an optional `since`(from)/ `until`(to) window, and/or a subject subtree. Each event carries its resolved actor name.
143
143
  * List Audit Events Handler
144
144
  */
145
145
  listAuditEventsRaw(requestParameters, initOverrides) {
@@ -150,7 +150,7 @@ export class AuditEventsApi extends runtime.BaseAPI {
150
150
  });
151
151
  }
152
152
  /**
153
- * List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, time window, and/or a subject subtree. Each event carries its resolved actor name.
153
+ * List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, an optional `since`(from)/ `until`(to) window, and/or a subject subtree. Each event carries its resolved actor name.
154
154
  * List Audit Events Handler
155
155
  */
156
156
  listAuditEvents() {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Knowledge Stack API
3
- * Knowledge Stack backend API for authentication and knowledge management
3
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
4
4
  *
5
5
  * The version of the OpenAPI document: 0.1.0
6
6
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Knowledge Stack API
5
- * Knowledge Stack backend API for authentication and knowledge management
5
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
6
6
  *
7
7
  * The version of the OpenAPI document: 0.1.0
8
8
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Knowledge Stack API
3
- * Knowledge Stack backend API for authentication and knowledge management
3
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
4
4
  *
5
5
  * The version of the OpenAPI document: 0.1.0
6
6
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Knowledge Stack API
5
- * Knowledge Stack backend API for authentication and knowledge management
5
+ * Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
6
6
  *
7
7
  * The version of the OpenAPI document: 0.1.0
8
8
  *