@hydradb/sdk 2.1.3 → 2.1.5

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 (383) hide show
  1. package/README.md +10 -7
  2. package/dist/Client.d.ts +1 -1
  3. package/dist/Client.js +1 -1
  4. package/dist/api/client/requests/SearchQueryRequest.d.ts +47 -3
  5. package/dist/api/resources/connectors/client/Client.d.ts +102 -2
  6. package/dist/api/resources/connectors/client/Client.js +404 -2
  7. package/dist/api/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +6 -0
  8. package/dist/api/resources/connectors/client/requests/HandlerConnectorUpdateReq.d.ts +6 -0
  9. package/dist/api/resources/connectors/client/requests/HandlerResourceCreateReq.d.ts +12 -0
  10. package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +12 -0
  11. package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +15 -0
  12. package/dist/api/resources/connectors/client/requests/PauseConnectorsRequest.d.ts +10 -0
  13. package/dist/api/resources/connectors/client/requests/ResumeConnectorsRequest.d.ts +10 -0
  14. package/dist/api/resources/connectors/client/requests/UpdateResourceAclConnectorsRequest.d.ts +17 -0
  15. package/dist/api/resources/connectors/client/requests/index.d.ts +5 -0
  16. package/dist/api/resources/context/client/Client.d.ts +61 -2
  17. package/dist/api/resources/context/client/Client.js +282 -5
  18. package/dist/api/resources/context/client/requests/ChunksContextRequest.d.ts +31 -0
  19. package/dist/api/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +14 -0
  20. package/dist/api/resources/context/client/requests/IngestContextRequest.d.ts +6 -4
  21. package/dist/api/resources/context/client/requests/InspectContextRequest.d.ts +2 -0
  22. package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +7 -1
  23. package/dist/api/resources/context/client/requests/ProfileContextRequest.d.ts +30 -0
  24. package/dist/api/resources/context/client/requests/ProfileContextRequest.js +3 -0
  25. package/dist/api/resources/context/client/requests/RelationsContextRequest.d.ts +3 -1
  26. package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +4 -1
  27. package/dist/api/resources/context/client/requests/SubgraphContextRequest.d.ts +31 -0
  28. package/dist/api/resources/context/client/requests/SubgraphContextRequest.js +3 -0
  29. package/dist/api/resources/context/client/requests/index.d.ts +3 -0
  30. package/dist/api/resources/context/types/ChunksContextRequestType.d.ts +7 -0
  31. package/dist/api/resources/context/types/ChunksContextRequestType.js +10 -0
  32. package/dist/api/resources/context/types/IngestContextRequestType.d.ts +1 -0
  33. package/dist/api/resources/context/types/IngestContextRequestType.js +1 -0
  34. package/dist/api/resources/context/types/ListV2ListContentRequestType.d.ts +7 -1
  35. package/dist/api/resources/context/types/ListV2ListContentRequestType.js +7 -1
  36. package/dist/api/resources/context/types/ProfileContextRequestType.d.ts +5 -0
  37. package/dist/api/resources/context/types/ProfileContextRequestType.js +8 -0
  38. package/dist/api/resources/context/types/RelationsContextRequestType.d.ts +2 -0
  39. package/dist/api/resources/context/types/RelationsContextRequestType.js +2 -0
  40. package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +6 -1
  41. package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.js +6 -1
  42. package/dist/api/resources/context/types/SubgraphContextRequestType.d.ts +7 -0
  43. package/dist/api/resources/context/types/SubgraphContextRequestType.js +10 -0
  44. package/dist/api/resources/context/types/index.d.ts +3 -0
  45. package/dist/api/resources/context/types/index.js +3 -0
  46. package/dist/api/resources/databases/client/Client.d.ts +71 -0
  47. package/dist/api/resources/databases/client/Client.js +309 -0
  48. package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.d.ts +13 -0
  49. package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.js +3 -0
  50. package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.d.ts +10 -0
  51. package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.js +3 -0
  52. package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +20 -0
  53. package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +3 -0
  54. package/dist/api/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +1 -0
  55. package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +21 -0
  56. package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.js +3 -0
  57. package/dist/api/resources/databases/client/requests/index.d.ts +4 -0
  58. package/dist/api/resources/feedback/client/Client.d.ts +1 -3
  59. package/dist/api/resources/feedback/client/Client.js +1 -3
  60. package/dist/api/resources/feedback/client/index.d.ts +1 -1
  61. package/dist/api/resources/feedback/client/index.js +15 -0
  62. package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +29 -0
  63. package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.js +3 -0
  64. package/dist/api/resources/feedback/client/requests/index.d.ts +1 -0
  65. package/dist/api/resources/feedback/client/requests/index.js +2 -0
  66. package/dist/api/resources/index.d.ts +1 -0
  67. package/dist/api/resources/index.js +1 -0
  68. package/dist/api/resources/webhooks/client/Client.d.ts +19 -0
  69. package/dist/api/resources/webhooks/client/Client.js +80 -0
  70. package/dist/api/resources/webhooks/client/requests/PostWebhooksSupabaseRequest.d.ts +14 -0
  71. package/dist/api/resources/webhooks/client/requests/PostWebhooksSupabaseRequest.js +3 -0
  72. package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -0
  73. package/dist/api/types/ConnectorsResource.d.ts +101 -0
  74. package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +13 -0
  75. package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +16 -0
  76. package/dist/api/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +30 -0
  77. package/dist/api/types/GraphEntity.d.ts +12 -0
  78. package/dist/api/types/GraphGraphRelationsResponse.d.ts +23 -0
  79. package/dist/api/types/GraphRelationEvidence.d.ts +8 -0
  80. package/dist/api/types/GraphSourceSubgraphResponse.d.ts +40 -0
  81. package/dist/api/types/GraphSourceSubgraphResponse.js +3 -0
  82. package/dist/api/types/GraphSubgraphSource.d.ts +28 -0
  83. package/dist/api/types/GraphSubgraphSource.js +3 -0
  84. package/dist/api/types/GraphTripletWithEvidence.d.ts +7 -0
  85. package/dist/api/types/HandlerCatalogConnector.d.ts +15 -0
  86. package/dist/api/types/HandlerConnectorApiView.d.ts +30 -0
  87. package/dist/api/types/HandlerConnectorCreateResponse.d.ts +30 -0
  88. package/dist/api/types/HandlerConnectorListResponse.d.ts +7 -3
  89. package/dist/api/types/HandlerConnectorPauseResponse.d.ts +6 -0
  90. package/dist/api/types/HandlerConnectorPauseResponse.js +3 -0
  91. package/dist/api/types/HandlerConnectorResourceStatus.d.ts +43 -0
  92. package/dist/api/types/HandlerConnectorStatusError.d.ts +4 -3
  93. package/dist/api/types/HandlerConnectorStatusResponse.d.ts +5 -2
  94. package/dist/api/types/HandlerConnectorUpdateResponse.d.ts +5 -0
  95. package/dist/api/types/HandlerEnvelopeGraphSourceSubgraphResponse.d.ts +9 -0
  96. package/dist/api/types/HandlerEnvelopeGraphSourceSubgraphResponse.js +3 -0
  97. package/dist/api/types/HandlerEnvelopeHandlerSupabaseWebhookAck.d.ts +9 -0
  98. package/dist/api/types/HandlerEnvelopeHandlerSupabaseWebhookAck.js +3 -0
  99. package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +9 -0
  100. package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.js +3 -0
  101. package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.d.ts +9 -0
  102. package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.js +3 -0
  103. package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +9 -0
  104. package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +3 -0
  105. package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +9 -0
  106. package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.js +3 -0
  107. package/dist/api/types/HandlerInstructionsResponse.d.ts +13 -0
  108. package/dist/api/types/HandlerInstructionsResponse.js +3 -0
  109. package/dist/api/types/HandlerPlanCapView.d.ts +11 -0
  110. package/dist/api/types/HandlerPlanCapView.js +3 -0
  111. package/dist/api/types/HandlerResourceMapping.d.ts +14 -0
  112. package/dist/api/types/HandlerSupabaseWebhookAck.d.ts +7 -0
  113. package/dist/api/types/HandlerSupabaseWebhookAck.js +3 -0
  114. package/dist/api/types/HandlerVaultCredentialEntry.d.ts +13 -0
  115. package/dist/api/types/HandlerVaultCredentialEntry.js +3 -0
  116. package/dist/api/types/HandlerVaultCredentialListResponse.d.ts +8 -0
  117. package/dist/api/types/HandlerVaultCredentialListResponse.js +3 -0
  118. package/dist/api/types/HandlerVaultCredentialRevealResponse.d.ts +7 -0
  119. package/dist/api/types/HandlerVaultCredentialRevealResponse.js +3 -0
  120. package/dist/api/types/HandlerVaultCredentialUpdateResponse.d.ts +5 -0
  121. package/dist/api/types/HandlerVaultCredentialUpdateResponse.js +3 -0
  122. package/dist/api/types/MemoriesConversationTurn.d.ts +7 -0
  123. package/dist/api/types/MemoriesConversationTurn.js +3 -0
  124. package/dist/api/types/MemoriesIngestItem.d.ts +56 -0
  125. package/dist/api/types/MemoriesIngestItem.js +3 -0
  126. package/dist/api/types/MemoriesIngestItemContextCategory.d.ts +13 -0
  127. package/dist/api/types/MemoriesIngestItemContextCategory.js +16 -0
  128. package/dist/api/types/MemoriesUnifiedIngestRequest.d.ts +14 -0
  129. package/dist/api/types/MemoriesUnifiedIngestRequest.js +3 -0
  130. package/dist/api/types/SearchAliasExpansionNote.d.ts +4 -0
  131. package/dist/api/types/SearchAliasExpansionNote.js +3 -0
  132. package/dist/api/types/SearchAppSearchFusionDiagnostics.d.ts +31 -0
  133. package/dist/api/types/SearchAppSearchFusionDiagnostics.js +3 -0
  134. package/dist/api/types/SearchAppSearchFusionStats.d.ts +43 -0
  135. package/dist/api/types/SearchAppSearchFusionStats.js +3 -0
  136. package/dist/api/types/SearchChunkInspectResult.d.ts +24 -0
  137. package/dist/api/types/SearchChunkInspectResult.js +3 -0
  138. package/dist/api/types/SearchEntityProfileView.d.ts +18 -0
  139. package/dist/api/types/SearchEntityProfileView.js +3 -0
  140. package/dist/api/types/SearchForcefulRelationEntry.d.ts +5 -0
  141. package/dist/api/types/SearchForcefulRelationEntry.js +3 -0
  142. package/dist/api/types/SearchForcefulRelationsBucket.d.ts +11 -0
  143. package/dist/api/types/SearchForcefulRelationsBucket.js +3 -0
  144. package/dist/api/types/SearchGraphPath.d.ts +10 -0
  145. package/dist/api/types/SearchGraphPath.js +3 -0
  146. package/dist/api/types/SearchGraphPlane.d.ts +11 -0
  147. package/dist/api/types/SearchGraphPlane.js +3 -0
  148. package/dist/api/types/SearchMetadataFilters.d.ts +1 -1
  149. package/dist/api/types/SearchProfileContext.d.ts +17 -0
  150. package/dist/api/types/SearchProfileContext.js +3 -0
  151. package/dist/api/types/SearchProfileEntry.d.ts +11 -0
  152. package/dist/api/types/SearchProfileEntry.js +3 -0
  153. package/dist/api/types/SearchProfileFilterInfo.d.ts +10 -0
  154. package/dist/api/types/SearchProfileFilterInfo.js +3 -0
  155. package/dist/api/types/SearchRelationVia.d.ts +4 -0
  156. package/dist/api/types/SearchRelationVia.js +3 -0
  157. package/dist/api/types/SearchSourceFact.d.ts +18 -0
  158. package/dist/api/types/SearchSourceFact.js +3 -0
  159. package/dist/api/types/SearchSourceFilterInfo.d.ts +15 -0
  160. package/dist/api/types/SearchSourceFilterInfo.js +3 -0
  161. package/dist/api/types/SearchSourceType.d.ts +1 -0
  162. package/dist/api/types/SearchSourceType.js +1 -0
  163. package/dist/api/types/SearchV2RetrievalResult.d.ts +18 -1
  164. package/dist/api/types/SearchVectorStoreChunk.d.ts +28 -0
  165. package/dist/api/types/SearchVectorStoreChunk.js +3 -0
  166. package/dist/api/types/TenantsDatabaseDetail.d.ts +11 -0
  167. package/dist/api/types/TenantsDatabaseDetail.js +3 -0
  168. package/dist/api/types/TenantsDatabaseDetailType.d.ts +10 -0
  169. package/dist/api/types/TenantsDatabaseDetailType.js +13 -0
  170. package/dist/api/types/TenantsInfraStatusResponseV2.d.ts +5 -0
  171. package/dist/api/types/TenantsInfraStatusResponseV2Type.d.ts +9 -0
  172. package/dist/api/types/TenantsInfraStatusResponseV2Type.js +12 -0
  173. package/dist/api/types/TenantsMilvusDataType.d.ts +1 -0
  174. package/dist/api/types/TenantsMilvusDataType.js +1 -0
  175. package/dist/api/types/TenantsSubTenantDeleteResponse.d.ts +12 -0
  176. package/dist/api/types/TenantsSubTenantDeleteResponse.js +3 -0
  177. package/dist/api/types/TenantsTenantIdsResponse.d.ts +6 -0
  178. package/dist/api/types/TenantsTenantRenameResponse.d.ts +20 -0
  179. package/dist/api/types/TenantsTenantRenameResponse.js +3 -0
  180. package/dist/api/types/index.d.ts +42 -6
  181. package/dist/api/types/index.js +42 -6
  182. package/dist/serialization/client/requests/SearchQueryRequest.d.ts +6 -0
  183. package/dist/serialization/client/requests/SearchQueryRequest.js +6 -0
  184. package/dist/serialization/resources/connectors/client/index.d.ts +1 -0
  185. package/dist/serialization/resources/connectors/client/index.js +2 -1
  186. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +1 -0
  187. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.js +1 -0
  188. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorUpdateReq.d.ts +1 -0
  189. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorUpdateReq.js +1 -0
  190. package/dist/serialization/resources/connectors/client/requests/HandlerResourceCreateReq.d.ts +2 -0
  191. package/dist/serialization/resources/connectors/client/requests/HandlerResourceCreateReq.js +2 -0
  192. package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +9 -0
  193. package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js +41 -0
  194. package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +9 -0
  195. package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js +41 -0
  196. package/dist/serialization/resources/connectors/client/requests/index.d.ts +2 -0
  197. package/dist/serialization/resources/connectors/client/requests/index.js +5 -1
  198. package/dist/serialization/resources/connectors/client/updateResourceAcl.d.ts +10 -0
  199. package/dist/serialization/resources/connectors/client/updateResourceAcl.js +40 -0
  200. package/dist/serialization/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +1 -0
  201. package/dist/serialization/resources/context/client/requests/HandlerContextMetadataUpdateRequest.js +1 -0
  202. package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.d.ts +1 -0
  203. package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.js +1 -0
  204. package/dist/serialization/resources/context/types/ChunksContextRequestType.d.ts +7 -0
  205. package/dist/serialization/resources/context/types/ChunksContextRequestType.js +39 -0
  206. package/dist/serialization/resources/context/types/IngestContextRequestType.d.ts +1 -1
  207. package/dist/serialization/resources/context/types/IngestContextRequestType.js +1 -1
  208. package/dist/serialization/resources/context/types/ListV2ListContentRequestType.d.ts +1 -1
  209. package/dist/serialization/resources/context/types/ListV2ListContentRequestType.js +1 -1
  210. package/dist/serialization/resources/context/types/ProfileContextRequestType.d.ts +7 -0
  211. package/dist/serialization/resources/context/types/ProfileContextRequestType.js +39 -0
  212. package/dist/serialization/resources/context/types/RelationsContextRequestType.d.ts +1 -1
  213. package/dist/serialization/resources/context/types/RelationsContextRequestType.js +1 -1
  214. package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +1 -1
  215. package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.js +1 -1
  216. package/dist/serialization/resources/context/types/SubgraphContextRequestType.d.ts +7 -0
  217. package/dist/serialization/resources/context/types/SubgraphContextRequestType.js +39 -0
  218. package/dist/serialization/resources/context/types/index.d.ts +3 -0
  219. package/dist/serialization/resources/context/types/index.js +3 -0
  220. package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +10 -0
  221. package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +44 -0
  222. package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +2 -0
  223. package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.js +2 -0
  224. package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +9 -0
  225. package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.js +41 -0
  226. package/dist/serialization/resources/databases/client/requests/index.d.ts +2 -0
  227. package/dist/serialization/resources/databases/client/requests/index.js +5 -1
  228. package/dist/serialization/resources/feedback/client/index.d.ts +1 -0
  229. package/dist/serialization/resources/feedback/client/index.js +17 -0
  230. package/dist/serialization/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +21 -0
  231. package/dist/serialization/{types → resources/feedback/client/requests}/FeedbackSubmitRequest.js +16 -4
  232. package/dist/serialization/resources/feedback/client/requests/index.d.ts +1 -0
  233. package/dist/serialization/resources/feedback/client/requests/index.js +5 -0
  234. package/dist/serialization/resources/feedback/index.d.ts +1 -0
  235. package/dist/serialization/resources/feedback/index.js +17 -0
  236. package/dist/serialization/resources/index.d.ts +2 -0
  237. package/dist/serialization/resources/index.js +3 -1
  238. package/dist/serialization/resources/webhooks/client/index.d.ts +1 -0
  239. package/dist/serialization/resources/webhooks/client/index.js +24 -0
  240. package/dist/serialization/resources/webhooks/client/supabaseRowChangeWebhook.d.ts +6 -0
  241. package/dist/serialization/resources/webhooks/client/supabaseRowChangeWebhook.js +39 -0
  242. package/dist/serialization/types/ConnectorsResource.d.ts +12 -0
  243. package/dist/serialization/types/ConnectorsResource.js +12 -0
  244. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +7 -0
  245. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +39 -0
  246. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +5 -0
  247. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js +5 -0
  248. package/dist/serialization/types/GraphEntity.d.ts +1 -0
  249. package/dist/serialization/types/GraphEntity.js +1 -0
  250. package/dist/serialization/types/GraphGraphRelationsResponse.d.ts +2 -0
  251. package/dist/serialization/types/GraphGraphRelationsResponse.js +2 -0
  252. package/dist/serialization/types/GraphRelationEvidence.d.ts +1 -0
  253. package/dist/serialization/types/GraphRelationEvidence.js +1 -0
  254. package/dist/serialization/types/GraphSourceSubgraphResponse.d.ts +19 -0
  255. package/dist/serialization/types/GraphSourceSubgraphResponse.js +51 -0
  256. package/dist/serialization/types/GraphSubgraphSource.d.ts +18 -0
  257. package/dist/serialization/types/GraphSubgraphSource.js +50 -0
  258. package/dist/serialization/types/GraphTripletWithEvidence.d.ts +1 -0
  259. package/dist/serialization/types/GraphTripletWithEvidence.js +1 -0
  260. package/dist/serialization/types/HandlerCatalogConnector.d.ts +3 -0
  261. package/dist/serialization/types/HandlerCatalogConnector.js +3 -0
  262. package/dist/serialization/types/HandlerConnectorApiView.d.ts +5 -0
  263. package/dist/serialization/types/HandlerConnectorApiView.js +5 -0
  264. package/dist/serialization/types/HandlerConnectorCreateResponse.d.ts +5 -0
  265. package/dist/serialization/types/HandlerConnectorCreateResponse.js +5 -0
  266. package/dist/serialization/types/HandlerConnectorListResponse.d.ts +2 -0
  267. package/dist/serialization/types/HandlerConnectorListResponse.js +2 -0
  268. package/dist/serialization/types/HandlerConnectorPauseResponse.d.ts +11 -0
  269. package/dist/serialization/types/{FeedbackSubmitRequestGroundTruth.js → HandlerConnectorPauseResponse.js} +5 -4
  270. package/dist/serialization/types/HandlerConnectorResourceStatus.d.ts +8 -0
  271. package/dist/serialization/types/HandlerConnectorResourceStatus.js +8 -0
  272. package/dist/serialization/types/HandlerConnectorStatusResponse.d.ts +2 -0
  273. package/dist/serialization/types/HandlerConnectorStatusResponse.js +2 -0
  274. package/dist/serialization/types/HandlerConnectorUpdateResponse.d.ts +1 -0
  275. package/dist/serialization/types/HandlerConnectorUpdateResponse.js +1 -0
  276. package/dist/serialization/types/HandlerEnvelopeGraphSourceSubgraphResponse.d.ts +15 -0
  277. package/dist/serialization/types/HandlerEnvelopeGraphSourceSubgraphResponse.js +47 -0
  278. package/dist/serialization/types/HandlerEnvelopeHandlerSupabaseWebhookAck.d.ts +15 -0
  279. package/dist/serialization/types/HandlerEnvelopeHandlerSupabaseWebhookAck.js +47 -0
  280. package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +15 -0
  281. package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.js +47 -0
  282. package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.d.ts +15 -0
  283. package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.js +47 -0
  284. package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +15 -0
  285. package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +47 -0
  286. package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +15 -0
  287. package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.js +47 -0
  288. package/dist/serialization/types/HandlerInstructionsResponse.d.ts +12 -0
  289. package/dist/serialization/types/HandlerInstructionsResponse.js +44 -0
  290. package/dist/serialization/types/HandlerPlanCapView.d.ts +11 -0
  291. package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → HandlerPlanCapView.js} +5 -3
  292. package/dist/serialization/types/HandlerResourceMapping.d.ts +2 -0
  293. package/dist/serialization/types/HandlerResourceMapping.js +2 -0
  294. package/dist/serialization/types/HandlerSupabaseWebhookAck.d.ts +11 -0
  295. package/dist/serialization/types/HandlerSupabaseWebhookAck.js +43 -0
  296. package/dist/serialization/types/HandlerVaultCredentialEntry.d.ts +15 -0
  297. package/dist/serialization/types/HandlerVaultCredentialEntry.js +47 -0
  298. package/dist/serialization/types/HandlerVaultCredentialListResponse.d.ts +12 -0
  299. package/dist/serialization/types/HandlerVaultCredentialListResponse.js +44 -0
  300. package/dist/serialization/types/HandlerVaultCredentialRevealResponse.d.ts +12 -0
  301. package/dist/serialization/types/HandlerVaultCredentialRevealResponse.js +44 -0
  302. package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.d.ts +10 -0
  303. package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.js +42 -0
  304. package/dist/serialization/types/MemoriesConversationTurn.d.ts +11 -0
  305. package/dist/serialization/types/MemoriesConversationTurn.js +43 -0
  306. package/dist/serialization/types/MemoriesIngestItem.d.ts +25 -0
  307. package/dist/serialization/types/MemoriesIngestItem.js +57 -0
  308. package/dist/serialization/types/MemoriesIngestItemContextCategory.d.ts +7 -0
  309. package/dist/serialization/types/MemoriesIngestItemContextCategory.js +39 -0
  310. package/dist/serialization/types/MemoriesUnifiedIngestRequest.d.ts +14 -0
  311. package/dist/serialization/types/MemoriesUnifiedIngestRequest.js +46 -0
  312. package/dist/serialization/types/SearchAliasExpansionNote.d.ts +10 -0
  313. package/dist/serialization/types/SearchAliasExpansionNote.js +42 -0
  314. package/dist/serialization/types/SearchAppSearchFusionDiagnostics.d.ts +13 -0
  315. package/dist/serialization/types/SearchAppSearchFusionDiagnostics.js +45 -0
  316. package/dist/serialization/types/SearchAppSearchFusionStats.d.ts +19 -0
  317. package/dist/serialization/types/SearchAppSearchFusionStats.js +51 -0
  318. package/dist/serialization/types/SearchChunkInspectResult.d.ts +14 -0
  319. package/dist/serialization/types/SearchChunkInspectResult.js +46 -0
  320. package/dist/serialization/types/SearchEntityProfileView.d.ts +22 -0
  321. package/dist/serialization/types/SearchEntityProfileView.js +54 -0
  322. package/dist/serialization/types/SearchForcefulRelationEntry.d.ts +12 -0
  323. package/dist/serialization/types/SearchForcefulRelationEntry.js +44 -0
  324. package/dist/serialization/types/SearchForcefulRelationsBucket.d.ts +11 -0
  325. package/dist/serialization/types/SearchForcefulRelationsBucket.js +43 -0
  326. package/dist/serialization/types/SearchGraphPath.d.ts +13 -0
  327. package/dist/serialization/types/SearchGraphPath.js +45 -0
  328. package/dist/serialization/types/SearchGraphPlane.d.ts +10 -0
  329. package/dist/serialization/types/SearchGraphPlane.js +42 -0
  330. package/dist/serialization/types/SearchProfileContext.d.ts +17 -0
  331. package/dist/serialization/types/SearchProfileContext.js +49 -0
  332. package/dist/serialization/types/SearchProfileEntry.d.ts +15 -0
  333. package/dist/serialization/types/SearchProfileEntry.js +47 -0
  334. package/dist/serialization/types/SearchProfileFilterInfo.d.ts +15 -0
  335. package/dist/serialization/types/SearchProfileFilterInfo.js +47 -0
  336. package/dist/serialization/types/SearchRelationVia.d.ts +10 -0
  337. package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → SearchRelationVia.js} +4 -3
  338. package/dist/serialization/types/SearchSourceFact.d.ts +20 -0
  339. package/dist/serialization/types/SearchSourceFact.js +52 -0
  340. package/dist/serialization/types/SearchSourceFilterInfo.d.ts +17 -0
  341. package/dist/serialization/types/SearchSourceFilterInfo.js +49 -0
  342. package/dist/serialization/types/SearchSourceType.d.ts +1 -1
  343. package/dist/serialization/types/SearchSourceType.js +1 -1
  344. package/dist/serialization/types/SearchV2RetrievalResult.d.ts +16 -0
  345. package/dist/serialization/types/SearchV2RetrievalResult.js +16 -0
  346. package/dist/serialization/types/SearchVectorStoreChunk.d.ts +21 -0
  347. package/dist/serialization/types/SearchVectorStoreChunk.js +53 -0
  348. package/dist/serialization/types/TenantsDatabaseDetail.d.ts +11 -0
  349. package/dist/serialization/types/TenantsDatabaseDetail.js +43 -0
  350. package/dist/serialization/types/TenantsDatabaseDetailType.d.ts +7 -0
  351. package/dist/serialization/types/{FeedbackSubmitRequestFeedback.js → TenantsDatabaseDetailType.js} +2 -4
  352. package/dist/serialization/types/TenantsInfraStatusResponseV2.d.ts +2 -0
  353. package/dist/serialization/types/TenantsInfraStatusResponseV2.js +2 -0
  354. package/dist/serialization/types/TenantsInfraStatusResponseV2Type.d.ts +7 -0
  355. package/dist/serialization/types/TenantsInfraStatusResponseV2Type.js +39 -0
  356. package/dist/serialization/types/TenantsSubTenantDeleteResponse.d.ts +14 -0
  357. package/dist/serialization/types/TenantsSubTenantDeleteResponse.js +46 -0
  358. package/dist/serialization/types/TenantsTenantIdsResponse.d.ts +2 -0
  359. package/dist/serialization/types/TenantsTenantIdsResponse.js +2 -0
  360. package/dist/serialization/types/TenantsTenantRenameResponse.d.ts +15 -0
  361. package/dist/serialization/types/TenantsTenantRenameResponse.js +47 -0
  362. package/dist/serialization/types/index.d.ts +42 -6
  363. package/dist/serialization/types/index.js +42 -6
  364. package/package.json +1 -1
  365. package/dist/api/types/FeedbackSubmitRequest.d.ts +0 -2
  366. package/dist/api/types/FeedbackSubmitRequestFeedback.d.ts +0 -3
  367. package/dist/api/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -4
  368. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -2
  369. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -3
  370. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -3
  371. package/dist/serialization/types/FeedbackSubmitRequest.d.ts +0 -9
  372. package/dist/serialization/types/FeedbackSubmitRequestFeedback.d.ts +0 -9
  373. package/dist/serialization/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -10
  374. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -9
  375. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.js +0 -44
  376. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -9
  377. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -9
  378. /package/dist/api/{types/FeedbackSubmitRequest.js → resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js} +0 -0
  379. /package/dist/api/{types/FeedbackSubmitRequestFeedback.js → resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js} +0 -0
  380. /package/dist/api/{types/FeedbackSubmitRequestGroundTruth.js → resources/connectors/client/requests/PauseConnectorsRequest.js} +0 -0
  381. /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruth.js → resources/connectors/client/requests/ResumeConnectorsRequest.js} +0 -0
  382. /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → resources/connectors/client/requests/UpdateResourceAclConnectorsRequest.js} +0 -0
  383. /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → resources/context/client/requests/ChunksContextRequest.js} +0 -0
@@ -0,0 +1,28 @@
1
+ export interface GraphSubgraphSource {
2
+ /** Provider-assigned identifier for this source (e.g. Slack channel ID). */
3
+ appExternalId?: string;
4
+ /** App integration category, populated for connector-synced sources. */
5
+ appKind?: string;
6
+ /** Provider name for app-sourced items (e.g. `slack`, `github`). */
7
+ appProvider?: string;
8
+ /** Depth is the BFS distance from the seed (0 for the seed itself). */
9
+ depth?: number;
10
+ discoveredRelation?: string;
11
+ /**
12
+ * DiscoveredVia and DiscoveredRelation record the traversal provenance:
13
+ * which already-admitted source this member was first reached from, and
14
+ * through which mechanism — a RELATES_TO relation_type (reply_to,
15
+ * child_of, ...), same_thread, parent or child. Empty on the seed.
16
+ */
17
+ discoveredVia?: string;
18
+ /**
19
+ * Hydration carries the same resolved/stub/placeholder classification
20
+ * Entity.Hydration documents: a RELATES_TO target may be a MERGE-created
21
+ * forward reference to a document that has not been ingested yet.
22
+ */
23
+ hydration?: string;
24
+ sourceId?: string;
25
+ threadId?: string;
26
+ /** Title or name of the source. */
27
+ title?: string;
28
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,4 +6,11 @@ export interface GraphTripletWithEvidence {
6
6
  relations?: HydraDB.GraphRelationEvidence[];
7
7
  source?: HydraDB.GraphEntity;
8
8
  target?: HydraDB.GraphEntity;
9
+ /**
10
+ * Truncated is set on auxiliary triplets whose fan-out hit a per-node cap,
11
+ * so a caller can tell "this source has no more comments" from "we stopped
12
+ * counting". Omitted (false) on entity relations, which are bounded by the
13
+ * request's own limit/cursor instead.
14
+ */
15
+ truncated?: boolean;
9
16
  }
@@ -7,5 +7,20 @@ export interface HandlerCatalogConnector {
7
7
  provider?: string;
8
8
  /** Rank is the dashboard display order (lower first); null means unranked. */
9
9
  rank?: number;
10
+ rbacDescription?: string;
11
+ /**
12
+ * RBACSupport reports whether document-level ACL capture (PRO-1684) is
13
+ * enabled for this provider (the acl_supported control-plane flag), and
14
+ * RBACDescription says in one sentence WHAT is captured, so the dashboard
15
+ * can explain the capability instead of showing a bare boolean.
16
+ */
17
+ rbacSupport?: boolean;
10
18
  supported?: boolean;
19
+ /**
20
+ * WebhookSupport marks a provider fed by an inbound webhook. The dashboard
21
+ * needs it to pick the credential form: it otherwise reads moveit_support=false
22
+ * as "classic", and renders the single-token form instead of the provider's
23
+ * declared credential schema.
24
+ */
25
+ webhookSupport?: boolean;
11
26
  }
@@ -1,4 +1,13 @@
1
1
  export interface HandlerConnectorApiView {
2
+ /**
3
+ * ACLChangesCursor is the provider permission-change feed's persisted
4
+ * cursor (PRO-1684; e.g. the Drive changes.list page token). Empty means
5
+ * uninitialized: the next cycle fetches a baseline and starts from now.
6
+ * Advanced ONLY after every reported change was applied, so a failed
7
+ * apply replays the same changes next cycle (at-least-once; the writes
8
+ * are idempotent full replacements).
9
+ */
10
+ aclChangesCursor?: string;
2
11
  /**
3
12
  * ActiveResourceCount mirrors the number of non-disabled resource rows so
4
13
  * list responses can distinguish "no resources configured yet"
@@ -11,6 +20,12 @@ export interface HandlerConnectorApiView {
11
20
  collection?: string;
12
21
  /** Connector this resource belongs to. */
13
22
  connectorId?: string;
23
+ /**
24
+ * CustomInstructions is optional free-text guidance applied when this
25
+ * connector's documents are ingested: it steers how content is interpreted
26
+ * and indexed. Max 4000 characters; changes apply from the next sync cycle.
27
+ */
28
+ customInstructions?: string;
14
29
  /**
15
30
  * Database/Collection are the canonical v2 names for the deprecated
16
31
  * tenant_id/sub_tenant_id wire fields. They mirror the same values so a v2
@@ -60,6 +75,21 @@ export interface HandlerConnectorApiView {
60
75
  needsReauthReason?: string;
61
76
  /** RFC3339 timestamp when the next scheduled sync will run. */
62
77
  nextSyncAt?: string;
78
+ /**
79
+ * Paused marks a connector its owner deliberately stopped (PRO-1762). It
80
+ * parks next_sync_at as SyncBlocked does, but stays a separate field:
81
+ * blocking clears itself once the cause is fixed, whereas only an explicit
82
+ * resume lifts a pause. Resources keep their committed provider_cursor, so
83
+ * resuming continues from where each stream stopped.
84
+ */
85
+ paused?: boolean;
86
+ pausedAt?: string;
87
+ /**
88
+ * PausedNextSyncAt preserves the schedule the pause displaced. Resume makes
89
+ * the connector due immediately, so this is read back only to recover from
90
+ * a pause applied by mistake.
91
+ */
92
+ pausedNextSyncAt?: string;
63
93
  /** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
64
94
  provider?: string;
65
95
  /** Identifier for the external account (e.g. Slack workspace ID, GitHub org name). Must be distinct across connectors for the same provider. */
@@ -1,4 +1,13 @@
1
1
  export interface HandlerConnectorCreateResponse {
2
+ /**
3
+ * ACLChangesCursor is the provider permission-change feed's persisted
4
+ * cursor (PRO-1684; e.g. the Drive changes.list page token). Empty means
5
+ * uninitialized: the next cycle fetches a baseline and starts from now.
6
+ * Advanced ONLY after every reported change was applied, so a failed
7
+ * apply replays the same changes next cycle (at-least-once; the writes
8
+ * are idempotent full replacements).
9
+ */
10
+ aclChangesCursor?: string;
2
11
  /**
3
12
  * ActiveResourceCount mirrors the number of non-disabled resource rows so
4
13
  * list responses can distinguish "no resources configured yet"
@@ -11,6 +20,12 @@ export interface HandlerConnectorCreateResponse {
11
20
  collection?: string;
12
21
  /** Connector this resource belongs to. */
13
22
  connectorId?: string;
23
+ /**
24
+ * CustomInstructions is optional free-text guidance applied when this
25
+ * connector's documents are ingested: it steers how content is interpreted
26
+ * and indexed. Max 4000 characters; changes apply from the next sync cycle.
27
+ */
28
+ customInstructions?: string;
14
29
  /**
15
30
  * Database/Collection are the canonical v2 names for the deprecated
16
31
  * tenant_id/sub_tenant_id wire fields. They mirror the same values so a v2
@@ -64,6 +79,21 @@ export interface HandlerConnectorCreateResponse {
64
79
  needsReauthReason?: string;
65
80
  /** RFC3339 timestamp when the next scheduled sync will run. */
66
81
  nextSyncAt?: string;
82
+ /**
83
+ * Paused marks a connector its owner deliberately stopped (PRO-1762). It
84
+ * parks next_sync_at as SyncBlocked does, but stays a separate field:
85
+ * blocking clears itself once the cause is fixed, whereas only an explicit
86
+ * resume lifts a pause. Resources keep their committed provider_cursor, so
87
+ * resuming continues from where each stream stopped.
88
+ */
89
+ paused?: boolean;
90
+ pausedAt?: string;
91
+ /**
92
+ * PausedNextSyncAt preserves the schedule the pause displaced. Resume makes
93
+ * the connector due immediately, so this is read back only to recover from
94
+ * a pause applied by mistake.
95
+ */
96
+ pausedNextSyncAt?: string;
67
97
  /** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
68
98
  provider?: string;
69
99
  /** Identifier for the external account (e.g. Slack workspace ID, GitHub org name). Must be distinct across connectors for the same provider. */
@@ -3,9 +3,13 @@ export interface HandlerConnectorListResponse {
3
3
  connectors?: HydraDB.HandlerConnectorApiView[];
4
4
  /**
5
5
  * Health maps connector_id to its rollup (healthy | degraded | failed |
6
- * checking), present only when the caller asks for `?include=health`.
7
- * A connector missing from the map has an unknown rollup — its resources
8
- * could not be read — which clients must not render as a failure.
6
+ * checking | capped), present only when the caller asks for
7
+ * `?include=health`. A connector missing from the map has an unknown
8
+ * rollup — its resources could not be read — which clients must not
9
+ * render as a failure. `capped` is not a rollup of the connector: it is
10
+ * overlaid on a healthy, degraded or checking one when the org is at a
11
+ * plan cap, and PlanCap says which.
9
12
  */
10
13
  health?: Record<string, string>;
14
+ planCap?: HydraDB.HandlerPlanCapView;
11
15
  }
@@ -0,0 +1,6 @@
1
+ export interface HandlerConnectorPauseResponse {
2
+ /** Connector this resource belongs to. */
3
+ connectorId?: string;
4
+ paused?: boolean;
5
+ pausedAt?: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,22 @@
1
1
  export interface HandlerConnectorResourceStatus {
2
+ /**
3
+ * ACLWarning explains why permission capture could not read this
4
+ * resource. Capture fails OPEN, so while this is set the resource is
5
+ * readable by EVERY caller regardless of the ACL they send. Deliberately
6
+ * not folded into Status: the resource is syncing fine and its content is
7
+ * current, so calling it failed would be wrong and would train people to
8
+ * ignore a red badge. It is a separate signal because it needs a separate
9
+ * reaction (grant the missing permission, or set an access rule).
10
+ */
11
+ aclWarning?: string;
12
+ /**
13
+ * ACLWarningAt is when this warning was last CHANGED (RFC3339), not when
14
+ * the failure was last observed. An unchanged warning is deliberately not
15
+ * rewritten every cycle, so treat this as "open since", not "checked at".
16
+ */
17
+ aclWarningAt?: string;
18
+ /** Action is what the user must do, when there is something they can do. */
19
+ action?: string;
2
20
  checkedAt?: string;
3
21
  /** Human-readable name for this resource. */
4
22
  displayName?: string;
@@ -8,6 +26,17 @@ export interface HandlerConnectorResourceStatus {
8
26
  lastRowCount?: number;
9
27
  /** Message is the provider's own words when Status is failed. */
10
28
  message?: string;
29
+ /**
30
+ * PageACLWarning reports that individual PAGES inside this resource could
31
+ * not have their own restrictions resolved and were opened to every caller.
32
+ * Distinct from ACLWarning above, which is about the resource itself: a
33
+ * resource can capture perfectly while pages inside it fail, and a healthy
34
+ * resource capture clears ACLWarning, so sharing one field would blank this
35
+ * every cycle and report all-clear while pages are still open.
36
+ */
37
+ pageAclWarning?: string;
38
+ /** PageACLWarningAt is when PageACLWarning last CHANGED (RFC3339). */
39
+ pageAclWarningAt?: string;
11
40
  /** Resource identifier from the Discover endpoint. */
12
41
  resourceId?: string;
13
42
  /**
@@ -18,4 +47,18 @@ export interface HandlerConnectorResourceStatus {
18
47
  retryable?: boolean;
19
48
  /** Status is one of ok | empty | failed | checking | unknown. */
20
49
  status?: string;
50
+ /**
51
+ * SyncBlocked reports that this resource has stopped syncing. Distinct from
52
+ * a failed status: a resource can fail a cycle and be retried, and the
53
+ * difference between "failing" and "given up on" is the one a user needs to
54
+ * act on.
55
+ */
56
+ syncBlocked?: boolean;
57
+ /** SyncBlockedAt is when it stopped (RFC3339). */
58
+ syncBlockedAt?: string;
59
+ /**
60
+ * SyncBlockedReason is why it stopped, preserved from the failure that
61
+ * stopped it so it survives later syncs overwriting the health block.
62
+ */
63
+ syncBlockedReason?: string;
21
64
  }
@@ -1,7 +1,8 @@
1
1
  /**
2
- * Error is the connector-level failure, set when Status is failed. Absent
3
- * when the trouble is confined to individual resources those carry their
4
- * own messages below.
2
+ * Error is the connector-level failure: a rejected credential, a blocked
3
+ * connector, or a latest sync cycle that failed as a whole. Absent when the
4
+ * trouble is confined to individual resources — those carry their own
5
+ * messages below.
5
6
  */
6
7
  export interface HandlerConnectorStatusError {
7
8
  /** Action is what the user must do, when there is something they can do. */
@@ -17,6 +17,7 @@ export interface HandlerConnectorStatusResponse {
17
17
  lifecycle?: string;
18
18
  /** RFC3339 timestamp when the next scheduled sync will run. */
19
19
  nextSyncAt?: string;
20
+ planCap?: HydraDB.HandlerPlanCapView;
20
21
  /** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
21
22
  provider?: string;
22
23
  /**
@@ -25,8 +26,10 @@ export interface HandlerConnectorStatusResponse {
25
26
  */
26
27
  resources?: HydraDB.HandlerConnectorResourceStatus[];
27
28
  /**
28
- * Status is the rollup: healthy | degraded | failed | checking. It is the
29
- * worst of the credential state and every resource state.
29
+ * Status is the rollup: healthy | degraded | failed | checking, or capped
30
+ * when the org is at an enforced plan cap and the rollup was healthy,
31
+ * degraded or checking (PlanCap then says which cap). It is the worst of
32
+ * the credential state and every resource state.
30
33
  */
31
34
  status?: string;
32
35
  /**
@@ -6,6 +6,11 @@ export interface HandlerConnectorUpdateResponse {
6
6
  * re-written (and any needs-reauth flag cleared) by this request.
7
7
  */
8
8
  credentialsUpdated?: boolean;
9
+ /**
10
+ * CustomInstructionsUpdated reports that the steering text was rewritten
11
+ * (or cleared) by this request; it takes effect from the next sync cycle.
12
+ */
13
+ customInstructionsUpdated?: boolean;
9
14
  /** Largest sync_interval_seconds this connector's provider allows. */
10
15
  maxSyncIntervalSeconds?: number;
11
16
  /** Smallest sync_interval_seconds this connector's provider allows. Values below it are rejected, never clamped. */
@@ -0,0 +1,9 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface HandlerEnvelopeGraphSourceSubgraphResponse {
3
+ data?: HydraDB.GraphSourceSubgraphResponse;
4
+ /** Error message, empty string on success. */
5
+ error?: HydraDB.HandlerApiError;
6
+ meta?: HydraDB.HandlerResponseMeta;
7
+ /** Whether the request succeeded. */
8
+ success?: boolean;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface HandlerEnvelopeHandlerSupabaseWebhookAck {
3
+ data?: HydraDB.HandlerSupabaseWebhookAck;
4
+ /** Error message, empty string on success. */
5
+ error?: HydraDB.HandlerApiError;
6
+ meta?: HydraDB.HandlerResponseMeta;
7
+ /** Whether the request succeeded. */
8
+ success?: boolean;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface HandlerEnvelopeSearchChunkInspectResult {
3
+ data?: HydraDB.SearchChunkInspectResult;
4
+ /** Error message, empty string on success. */
5
+ error?: HydraDB.HandlerApiError;
6
+ meta?: HydraDB.HandlerResponseMeta;
7
+ /** Whether the request succeeded. */
8
+ success?: boolean;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface HandlerEnvelopeSearchEntityProfileView {
3
+ data?: HydraDB.SearchEntityProfileView;
4
+ /** Error message, empty string on success. */
5
+ error?: HydraDB.HandlerApiError;
6
+ meta?: HydraDB.HandlerResponseMeta;
7
+ /** Whether the request succeeded. */
8
+ success?: boolean;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface HandlerEnvelopeTenantsSubTenantDeleteResponse {
3
+ data?: HydraDB.TenantsSubTenantDeleteResponse;
4
+ /** Error message, empty string on success. */
5
+ error?: HydraDB.HandlerApiError;
6
+ meta?: HydraDB.HandlerResponseMeta;
7
+ /** Whether the request succeeded. */
8
+ success?: boolean;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface HandlerEnvelopeTenantsTenantRenameResponse {
3
+ data?: HydraDB.TenantsTenantRenameResponse;
4
+ /** Error message, empty string on success. */
5
+ error?: HydraDB.HandlerApiError;
6
+ meta?: HydraDB.HandlerResponseMeta;
7
+ /** Whether the request succeeded. */
8
+ success?: boolean;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ export interface HandlerInstructionsResponse {
2
+ /** Collections maps collection name to that collection's own instructions. */
3
+ collections?: Record<string, string>;
4
+ /** CustomInstructions applies to every document ingested into the database. */
5
+ customInstructions?: string;
6
+ /** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
7
+ database?: string;
8
+ /**
9
+ * TenantID mirrors Database as a deprecated alias, matching every other v2
10
+ * tenant response.
11
+ */
12
+ tenantId?: string;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * PlanCap is present when the org is at a plan cap the caps mode
3
+ * enforces; every sync is skipped until the month resets or the plan
4
+ * changes.
5
+ */
6
+ export interface HandlerPlanCapView {
7
+ /** Human-readable result message. */
8
+ message?: string;
9
+ meter?: string;
10
+ plan?: string;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,12 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface HandlerResourceMapping {
3
+ /**
4
+ * ACL restricts every object synced from this resource to the listed
5
+ * principals (emails, or prefixed principals, see the query-side
6
+ * user_email parameter). Omitted means unrestricted. An explicitly empty
7
+ * list means private (visible only to unfiltered queries).
8
+ */
9
+ acl?: string[];
3
10
  /**
4
11
  * AdditionalMetadata is merged into the additional_metadata layer of every
5
12
  * object synced from this resource. Provider-generated fields take precedence.
@@ -13,6 +20,13 @@ export interface HandlerResourceMapping {
13
20
  * Configure before toResource runs.
14
21
  */
15
22
  collection?: string;
23
+ /**
24
+ * CustomInstructions optionally steers how documents synced from this
25
+ * resource are ingested and indexed. When set it replaces the
26
+ * connector-level custom_instructions for this resource; empty inherits
27
+ * the connector's value. Max 4000 characters.
28
+ */
29
+ customInstructions?: string;
16
30
  /**
17
31
  * Database is the canonical v2 name for the per-resource tenant override:
18
32
  * routes synced objects from this resource into a specific database.
@@ -0,0 +1,7 @@
1
+ export interface HandlerSupabaseWebhookAck {
2
+ /** Unique identifier for this resource. */
3
+ id?: string;
4
+ /** Current lifecycle or processing state. */
5
+ status?: string;
6
+ table?: string;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ export interface HandlerVaultCredentialEntry {
2
+ /** Collection scope. Defaults to the default collection when omitted. Formerly `sub_tenant_id`; the `sub_tenant_id` alias is still accepted (deprecated). */
3
+ collection?: string;
4
+ /** Connector this resource belongs to. */
5
+ connectorId?: string;
6
+ credentialId?: string;
7
+ /** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
8
+ database?: string;
9
+ fields?: string[];
10
+ label?: string;
11
+ /** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
12
+ provider?: string;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface HandlerVaultCredentialListResponse {
3
+ /** Total number of items returned. */
4
+ count?: number;
5
+ /** Provider-specific credentials (typically `{"api_token": "..."}` or `{"access_token": "..."}`). */
6
+ credentials?: HydraDB.HandlerVaultCredentialEntry[];
7
+ unavailableCount?: number;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface HandlerVaultCredentialRevealResponse {
2
+ credentialId?: string;
3
+ field?: string;
4
+ /** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */
5
+ provider?: string;
6
+ value?: unknown;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface HandlerVaultCredentialUpdateResponse {
2
+ credentialId?: string;
3
+ /** Whether the source metadata was updated. */
4
+ updated?: boolean;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface MemoriesConversationTurn {
2
+ /** Extracted text content of the source document. */
3
+ content?: string;
4
+ /** Human-readable label for this resource. */
5
+ name?: string;
6
+ role?: string;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,56 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface MemoriesIngestItem {
3
+ /**
4
+ * ACL is the item's access-control list (PRO-1684), the same contract as
5
+ * an app_knowledge item's `acl` on a split database: bare emails,
6
+ * user_email:/group:/domain: principals, or the __public__/__private__
7
+ * sentinels. Omitted (nil) leaves the context unrestricted; an explicitly
8
+ * empty list stores __private__. Normalised here, all-or-nothing, so a
9
+ * malformed principal is a 400 on the request rather than a silently
10
+ * mis-scoped context. Enforced by every read that takes `acl`.
11
+ */
12
+ acl?: string[];
13
+ attributes?: Record<string, unknown>;
14
+ /** Extracted text content of the source document. */
15
+ content?: string;
16
+ /**
17
+ * ContextCategory files this context under one of the three buckets
18
+ * (PRO-1618). Omitted or "auto" leaves it to HydraDB; naming a bucket pins
19
+ * it and inference will not overwrite it. See
20
+ * domain/ingestion/context_category.go.
21
+ */
22
+ contextCategory?: HydraDB.MemoriesIngestItemContextCategory;
23
+ contextId?: string;
24
+ /**
25
+ * Conversation is the canonical name; `messages` is accepted as an alias.
26
+ * Both are the shape a developer already builds for OpenAI or Anthropic.
27
+ */
28
+ conversation?: HydraDB.MemoriesConversationTurn[];
29
+ customAttributes?: Record<string, unknown>;
30
+ customInstructions?: string;
31
+ enrich?: boolean;
32
+ happenedAt?: string;
33
+ /**
34
+ * IsMarkdown tells the pipeline the text is markdown, so it is chunked on
35
+ * structure rather than as flat prose. The split memories[] path has always
36
+ * carried it; a unified database has no other ingest shape, so without it
37
+ * here a markdown sync has nowhere to say so.
38
+ */
39
+ isMarkdown?: boolean;
40
+ messages?: HydraDB.MemoriesConversationTurn[];
41
+ /** Text is the canonical name; `content` is accepted as an alias. */
42
+ text?: string;
43
+ /**
44
+ * Title names the context. It becomes the context's document title, and it
45
+ * is what distinguishes two items whose text is identical: the document id
46
+ * is generated from the title, so without one they collide.
47
+ */
48
+ title?: string;
49
+ /**
50
+ * UserName is the speaker identity for a TEXT item. A conversation names
51
+ * its speaker per turn instead, and that stays authoritative: this field
52
+ * only fills in when the turns supplied none. Empty ends up as "User",
53
+ * matching the split path, so the pipeline is never handed a blank.
54
+ */
55
+ userName?: string;
56
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * ContextCategory files this context under one of the three buckets
3
+ * (PRO-1618). Omitted or "auto" leaves it to HydraDB; naming a bucket pins
4
+ * it and inference will not overwrite it. See
5
+ * domain/ingestion/context_category.go.
6
+ */
7
+ export declare const MemoriesIngestItemContextCategory: {
8
+ readonly Auto: "auto";
9
+ readonly UserPreference: "user_preference";
10
+ readonly BusinessKnowledge: "business_knowledge";
11
+ readonly DecisionTrace: "decision_trace";
12
+ };
13
+ export type MemoriesIngestItemContextCategory = (typeof MemoriesIngestItemContextCategory)[keyof typeof MemoriesIngestItemContextCategory];