@hydradb/sdk 2.1.2 → 2.1.3

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 (336) hide show
  1. package/dist/Client.d.ts +5 -2
  2. package/dist/Client.js +9 -11
  3. package/dist/api/client/requests/SearchQueryRequest.d.ts +20 -0
  4. package/dist/api/errors/ConflictError.d.ts +1 -2
  5. package/dist/api/errors/InternalServerError.d.ts +1 -2
  6. package/dist/api/resources/connectors/client/Client.d.ts +47 -14
  7. package/dist/api/resources/connectors/client/Client.js +163 -99
  8. package/dist/api/resources/connectors/client/requests/HandlerConfigureReq.d.ts +8 -0
  9. package/dist/api/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +1 -7
  10. package/dist/api/resources/connectors/client/requests/HandlerConnectorUpdateReq.d.ts +14 -0
  11. package/dist/api/resources/connectors/client/requests/HandlerResourceCreateReq.d.ts +2 -2
  12. package/dist/api/resources/connectors/client/requests/StatusConnectorsRequest.d.ts +10 -0
  13. package/dist/api/resources/connectors/client/requests/index.d.ts +2 -0
  14. package/dist/api/resources/context/client/Client.d.ts +19 -2
  15. package/dist/api/resources/context/client/Client.js +32 -11
  16. package/dist/api/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +4 -4
  17. package/dist/api/resources/context/client/requests/IngestContextRequest.d.ts +3 -0
  18. package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +8 -0
  19. package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +2 -0
  20. package/dist/api/resources/context/types/DeleteContextRequestXHydraDbDeleteStatus.d.ts +5 -0
  21. package/dist/api/resources/context/types/DeleteContextRequestXHydraDbDeleteStatus.js +8 -0
  22. package/dist/api/resources/context/types/index.d.ts +1 -0
  23. package/dist/api/resources/context/types/index.js +1 -0
  24. package/dist/api/resources/databases/client/Client.d.ts +17 -0
  25. package/dist/api/resources/databases/client/Client.js +75 -58
  26. package/dist/api/resources/databases/client/requests/GetMetadataSchemaDatabasesRequest.d.ts +10 -0
  27. package/dist/api/resources/databases/client/requests/index.d.ts +1 -0
  28. package/dist/api/resources/feedback/client/Client.d.ts +32 -0
  29. package/dist/api/resources/feedback/client/Client.js +129 -0
  30. package/dist/api/resources/feedback/client/index.d.ts +1 -0
  31. package/dist/api/resources/feedback/client/index.js +2 -0
  32. package/dist/api/resources/feedback/exports.d.ts +2 -0
  33. package/dist/api/resources/feedback/exports.js +21 -0
  34. package/dist/api/resources/feedback/index.d.ts +1 -0
  35. package/dist/api/resources/feedback/index.js +17 -0
  36. package/dist/api/resources/index.d.ts +1 -0
  37. package/dist/api/resources/index.js +2 -1
  38. package/dist/api/resources/webhooks/client/Client.d.ts +27 -1
  39. package/dist/api/resources/webhooks/client/Client.js +127 -1
  40. package/dist/api/resources/webhooks/client/requests/WebhooksSigningSecretRequest.d.ts +8 -0
  41. package/dist/api/resources/webhooks/client/requests/WebhooksWebhookRegisterRequest.d.ts +3 -1
  42. package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -0
  43. package/dist/api/types/FeedbackGroundTruth.d.ts +12 -0
  44. package/dist/api/types/FeedbackRating.d.ts +6 -0
  45. package/dist/api/types/FeedbackRating.js +9 -0
  46. package/dist/api/types/FeedbackSource.d.ts +5 -0
  47. package/dist/api/types/FeedbackSource.js +8 -0
  48. package/dist/api/types/FeedbackSubmitRequest.d.ts +2 -0
  49. package/dist/api/types/FeedbackSubmitRequestFeedback.d.ts +3 -0
  50. package/dist/api/types/FeedbackSubmitRequestGroundTruth.d.ts +4 -0
  51. package/dist/api/types/FeedbackSubmitRequestGroundTruth.js +3 -0
  52. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +2 -0
  53. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruth.js +3 -0
  54. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +3 -0
  55. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js +3 -0
  56. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +3 -0
  57. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js +3 -0
  58. package/dist/api/types/FeedbackSubmitResponse.d.ts +12 -0
  59. package/dist/api/types/FeedbackSubmitResponse.js +3 -0
  60. package/dist/api/types/FetchV2SourceFetchResponse.d.ts +7 -1
  61. package/dist/api/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +6 -2
  62. package/dist/api/types/GraphGraphRelationsResponse.d.ts +7 -1
  63. package/dist/api/types/HandlerCatalogConnector.d.ts +11 -0
  64. package/dist/api/types/HandlerCatalogConnector.js +3 -0
  65. package/dist/api/types/HandlerConfigureResponse.d.ts +24 -0
  66. package/dist/api/types/HandlerConfigureResponse.js +3 -0
  67. package/dist/api/types/HandlerConfigureResponseMeta.d.ts +4 -0
  68. package/dist/api/types/HandlerConfigureResponseMeta.js +3 -0
  69. package/dist/api/types/HandlerConnectorApiView.d.ts +124 -0
  70. package/dist/api/types/HandlerConnectorApiView.js +3 -0
  71. package/dist/api/types/HandlerConnectorCatalogResponse.d.ts +4 -0
  72. package/dist/api/types/HandlerConnectorCatalogResponse.js +3 -0
  73. package/dist/api/types/HandlerConnectorCreateResponse.d.ts +128 -0
  74. package/dist/api/types/HandlerConnectorCreateResponse.js +3 -0
  75. package/dist/api/types/HandlerConnectorDeleteResponse.d.ts +6 -0
  76. package/dist/api/types/HandlerConnectorDeleteResponse.js +3 -0
  77. package/dist/api/types/HandlerConnectorListResponse.d.ts +11 -0
  78. package/dist/api/types/HandlerConnectorListResponse.js +3 -0
  79. package/dist/api/types/HandlerConnectorResourceStatus.d.ts +21 -0
  80. package/dist/api/types/HandlerConnectorResourceStatus.js +3 -0
  81. package/dist/api/types/HandlerConnectorResourcesResponse.d.ts +4 -0
  82. package/dist/api/types/HandlerConnectorResourcesResponse.js +3 -0
  83. package/dist/api/types/HandlerConnectorStatusError.d.ts +19 -0
  84. package/dist/api/types/HandlerConnectorStatusError.js +3 -0
  85. package/dist/api/types/HandlerConnectorStatusResponse.d.ts +37 -0
  86. package/dist/api/types/HandlerConnectorStatusResponse.js +3 -0
  87. package/dist/api/types/HandlerConnectorSyncResponse.d.ts +4 -0
  88. package/dist/api/types/HandlerConnectorSyncResponse.js +3 -0
  89. package/dist/api/types/HandlerConnectorUpdateResponse.d.ts +17 -0
  90. package/dist/api/types/HandlerConnectorUpdateResponse.js +3 -0
  91. package/dist/api/types/HandlerCredentialsUpdateResponse.d.ts +6 -0
  92. package/dist/api/types/HandlerCredentialsUpdateResponse.js +3 -0
  93. package/dist/api/types/HandlerDiscoverResponseBody.d.ts +9 -0
  94. package/dist/api/types/HandlerDiscoverResponseBody.js +3 -0
  95. package/dist/api/types/HandlerDiscoveredResourceDto.d.ts +9 -0
  96. package/dist/api/types/HandlerDiscoveredResourceDto.js +3 -0
  97. package/dist/api/types/{HandlerEnvelopeListV2SourceListResponse.d.ts → HandlerEnvelopeFeedbackSubmitResponse.d.ts} +2 -2
  98. package/dist/api/types/HandlerEnvelopeFeedbackSubmitResponse.js +3 -0
  99. package/dist/api/types/{HandlerEnvelopeIngestionV2SourceUploadResponse.d.ts → HandlerEnvelopeIngestionV2IngestResponse.d.ts} +2 -2
  100. package/dist/api/types/HandlerEnvelopeIngestionV2IngestResponse.js +3 -0
  101. package/dist/api/types/HandlerEnvelopeListV2ListResponse.d.ts +9 -0
  102. package/dist/api/types/HandlerEnvelopeListV2ListResponse.js +3 -0
  103. package/dist/api/types/HandlerEnvelopeTenantsTenantMetadataSchemaResponse.d.ts +9 -0
  104. package/dist/api/types/HandlerEnvelopeTenantsTenantMetadataSchemaResponse.js +3 -0
  105. package/dist/api/types/HandlerEnvelopeWebhooksSigningSecretResponse.d.ts +9 -0
  106. package/dist/api/types/HandlerEnvelopeWebhooksSigningSecretResponse.js +3 -0
  107. package/dist/api/types/HandlerErrorDetail.d.ts +8 -1
  108. package/dist/api/types/HandlerErrorEnvelopeSourcesMemoryDeleteResponse.d.ts +10 -0
  109. package/dist/api/types/HandlerErrorEnvelopeSourcesMemoryDeleteResponse.js +3 -0
  110. package/dist/api/types/HandlerProviderListResponse.d.ts +4 -0
  111. package/dist/api/types/HandlerProviderListResponse.js +3 -0
  112. package/dist/api/types/HandlerResourceDeleteResponse.d.ts +8 -0
  113. package/dist/api/types/HandlerResourceDeleteResponse.js +3 -0
  114. package/dist/api/types/HandlerResourceMapping.d.ts +11 -0
  115. package/dist/api/types/HandlerResourceMappingSyncMode.d.ts +14 -0
  116. package/dist/api/types/HandlerResourceMappingSyncMode.js +17 -0
  117. package/dist/api/types/HandlerTableConfigEntry.d.ts +5 -0
  118. package/dist/api/types/HandlerTableConfigEntry.js +3 -0
  119. package/dist/api/types/IngestionSourceStatus.d.ts +4 -0
  120. package/dist/api/types/IngestionSourceStatus.js +4 -0
  121. package/dist/api/types/IngestionV2IngestResponse.d.ts +21 -0
  122. package/dist/api/types/IngestionV2IngestResponse.js +3 -0
  123. package/dist/api/types/IngestionV2IngestResultItem.d.ts +30 -0
  124. package/dist/api/types/IngestionV2IngestResultItem.js +3 -0
  125. package/dist/api/types/IngestionV2ProcessingStatus.d.ts +9 -1
  126. package/dist/api/types/ListContentFilter.d.ts +8 -2
  127. package/dist/api/types/ListV2ListResponse.d.ts +23 -0
  128. package/dist/api/types/ListV2ListResponse.js +3 -0
  129. package/dist/api/types/ListV2MemoryItem.d.ts +66 -0
  130. package/dist/api/types/ListV2MemoryItem.js +3 -0
  131. package/dist/api/types/ListV2SourceItem.d.ts +70 -0
  132. package/dist/api/types/ListV2SourceItem.js +3 -0
  133. package/dist/api/types/SearchMetadataFilters.d.ts +1 -1
  134. package/dist/api/types/SearchSourceInfo.d.ts +3 -1
  135. package/dist/api/types/SearchTemporalDuration.d.ts +24 -0
  136. package/dist/api/types/SearchTemporalDuration.js +3 -0
  137. package/dist/api/types/SearchTemporalFact.d.ts +25 -0
  138. package/dist/api/types/SearchTemporalFact.js +3 -0
  139. package/dist/api/types/SearchTemporalFilterInfo.d.ts +27 -0
  140. package/dist/api/types/SearchTemporalFilterInfo.js +3 -0
  141. package/dist/api/types/SearchTemporalIntentOverride.d.ts +14 -0
  142. package/dist/api/types/SearchTemporalIntentOverride.js +3 -0
  143. package/dist/api/types/SearchV2Chunk.d.ts +3 -1
  144. package/dist/api/types/SearchV2RetrievalResult.d.ts +7 -0
  145. package/dist/api/types/SourcesMemoryDeleteResponse.d.ts +9 -1
  146. package/dist/api/types/TenantsCustomPropertyDefinition.d.ts +0 -2
  147. package/dist/api/types/TenantsInfraV2.d.ts +2 -2
  148. package/dist/api/types/TenantsTenantMetadataSchemaResponse.d.ts +7 -0
  149. package/dist/api/types/TenantsTenantMetadataSchemaResponse.js +3 -0
  150. package/dist/api/types/WebhooksDeliveryItem.d.ts +6 -0
  151. package/dist/api/types/WebhooksSigningSecretResponse.d.ts +8 -0
  152. package/dist/api/types/WebhooksSigningSecretResponse.js +3 -0
  153. package/dist/api/types/WebhooksWebhookRegisterResponse.d.ts +2 -0
  154. package/dist/api/types/index.d.ts +48 -7
  155. package/dist/api/types/index.js +48 -7
  156. package/dist/helpers/buildString.js +140 -16
  157. package/dist/helpers/index.d.ts +1 -0
  158. package/dist/helpers/index.js +6 -1
  159. package/dist/helpers/verifyWebhook.d.ts +31 -0
  160. package/dist/helpers/verifyWebhook.js +56 -0
  161. package/dist/serialization/client/index.d.ts +0 -2
  162. package/dist/serialization/client/index.js +0 -25
  163. package/dist/serialization/client/requests/SearchQueryRequest.d.ts +4 -0
  164. package/dist/serialization/client/requests/SearchQueryRequest.js +4 -0
  165. package/dist/serialization/resources/connectors/client/index.d.ts +1 -9
  166. package/dist/serialization/resources/connectors/client/index.js +5 -13
  167. package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.d.ts +2 -0
  168. package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.js +2 -0
  169. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +0 -3
  170. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.js +0 -3
  171. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorUpdateReq.d.ts +10 -0
  172. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorUpdateReq.js +42 -0
  173. package/dist/serialization/resources/connectors/client/requests/index.d.ts +1 -0
  174. package/dist/serialization/resources/connectors/client/requests/index.js +3 -1
  175. package/dist/serialization/resources/connectors/client/rotateAConnectorsStoredOAuthRefreshTokenInternalUseOnly.d.ts +6 -0
  176. package/dist/serialization/resources/connectors/client/{deleteResource.js → rotateAConnectorsStoredOAuthRefreshTokenInternalUseOnly.js} +2 -2
  177. package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.d.ts +1 -0
  178. package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.js +1 -0
  179. package/dist/serialization/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +1 -1
  180. package/dist/serialization/resources/context/types/DeleteContextRequestXHydraDbDeleteStatus.d.ts +7 -0
  181. package/dist/serialization/resources/{connectors/client/discover.js → context/types/DeleteContextRequestXHydraDbDeleteStatus.js} +2 -2
  182. package/dist/serialization/resources/context/types/index.d.ts +1 -0
  183. package/dist/serialization/resources/context/types/index.js +1 -0
  184. package/dist/serialization/resources/webhooks/client/requests/WebhooksSigningSecretRequest.d.ts +9 -0
  185. package/dist/serialization/resources/webhooks/client/requests/WebhooksSigningSecretRequest.js +41 -0
  186. package/dist/serialization/resources/webhooks/client/requests/WebhooksWebhookRegisterRequest.d.ts +1 -0
  187. package/dist/serialization/resources/webhooks/client/requests/WebhooksWebhookRegisterRequest.js +1 -0
  188. package/dist/serialization/resources/webhooks/client/requests/index.d.ts +1 -0
  189. package/dist/serialization/resources/webhooks/client/requests/index.js +3 -1
  190. package/dist/serialization/types/FeedbackGroundTruth.d.ts +10 -0
  191. package/dist/serialization/types/FeedbackGroundTruth.js +42 -0
  192. package/dist/serialization/types/FeedbackRating.d.ts +7 -0
  193. package/dist/serialization/{client/catalog.js → types/FeedbackRating.js} +2 -2
  194. package/dist/serialization/types/FeedbackSource.d.ts +7 -0
  195. package/dist/serialization/{client/listProviders.js → types/FeedbackSource.js} +2 -2
  196. package/dist/serialization/types/FeedbackSubmitRequest.d.ts +9 -0
  197. package/dist/serialization/types/FeedbackSubmitRequest.js +41 -0
  198. package/dist/serialization/types/FeedbackSubmitRequestFeedback.d.ts +9 -0
  199. package/dist/serialization/{resources/connectors/client/delete.js → types/FeedbackSubmitRequestFeedback.js} +5 -3
  200. package/dist/serialization/types/FeedbackSubmitRequestGroundTruth.d.ts +10 -0
  201. package/dist/serialization/types/FeedbackSubmitRequestGroundTruth.js +42 -0
  202. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +9 -0
  203. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.js +44 -0
  204. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +9 -0
  205. package/dist/serialization/types/{ListV2SourceListResponse.js → FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js} +3 -4
  206. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +9 -0
  207. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js +41 -0
  208. package/dist/serialization/types/FeedbackSubmitResponse.d.ts +13 -0
  209. package/dist/serialization/types/FeedbackSubmitResponse.js +45 -0
  210. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +2 -0
  211. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js +2 -0
  212. package/dist/serialization/types/HandlerCatalogConnector.d.ts +15 -0
  213. package/dist/serialization/types/HandlerCatalogConnector.js +47 -0
  214. package/dist/serialization/types/HandlerConfigureResponse.d.ts +16 -0
  215. package/dist/serialization/types/HandlerConfigureResponse.js +48 -0
  216. package/dist/serialization/types/HandlerConfigureResponseMeta.d.ts +10 -0
  217. package/dist/serialization/types/HandlerConfigureResponseMeta.js +42 -0
  218. package/dist/serialization/types/{ConnectorsConnector.d.ts → HandlerConnectorApiView.d.ts} +14 -7
  219. package/dist/serialization/types/{ConnectorsConnector.js → HandlerConnectorApiView.js} +14 -7
  220. package/dist/serialization/types/HandlerConnectorCatalogResponse.d.ts +10 -0
  221. package/dist/serialization/types/HandlerConnectorCatalogResponse.js +42 -0
  222. package/dist/serialization/types/HandlerConnectorCreateResponse.d.ts +39 -0
  223. package/dist/serialization/types/HandlerConnectorCreateResponse.js +71 -0
  224. package/dist/serialization/types/HandlerConnectorDeleteResponse.d.ts +10 -0
  225. package/dist/serialization/types/HandlerConnectorDeleteResponse.js +42 -0
  226. package/dist/serialization/types/HandlerConnectorListResponse.d.ts +11 -0
  227. package/dist/serialization/types/HandlerConnectorListResponse.js +43 -0
  228. package/dist/serialization/types/HandlerConnectorResourceStatus.d.ts +16 -0
  229. package/dist/serialization/types/HandlerConnectorResourceStatus.js +48 -0
  230. package/dist/serialization/types/HandlerConnectorResourcesResponse.d.ts +10 -0
  231. package/dist/serialization/types/HandlerConnectorResourcesResponse.js +42 -0
  232. package/dist/serialization/types/HandlerConnectorStatusError.d.ts +12 -0
  233. package/dist/serialization/types/HandlerConnectorStatusError.js +44 -0
  234. package/dist/serialization/types/HandlerConnectorStatusResponse.d.ts +20 -0
  235. package/dist/serialization/types/HandlerConnectorStatusResponse.js +52 -0
  236. package/dist/serialization/types/HandlerConnectorSyncResponse.d.ts +10 -0
  237. package/dist/serialization/types/HandlerConnectorSyncResponse.js +42 -0
  238. package/dist/serialization/types/HandlerConnectorUpdateResponse.d.ts +14 -0
  239. package/dist/serialization/types/HandlerConnectorUpdateResponse.js +46 -0
  240. package/dist/serialization/types/HandlerCredentialsUpdateResponse.d.ts +10 -0
  241. package/dist/serialization/types/HandlerCredentialsUpdateResponse.js +42 -0
  242. package/dist/serialization/types/HandlerDiscoverResponseBody.d.ts +13 -0
  243. package/dist/serialization/types/HandlerDiscoverResponseBody.js +45 -0
  244. package/dist/serialization/types/HandlerDiscoveredResourceDto.d.ts +12 -0
  245. package/dist/serialization/types/HandlerDiscoveredResourceDto.js +44 -0
  246. package/dist/serialization/types/{HandlerEnvelopeListV2SourceListResponse.d.ts → HandlerEnvelopeFeedbackSubmitResponse.d.ts} +4 -4
  247. package/dist/serialization/types/{HandlerEnvelopeListV2SourceListResponse.js → HandlerEnvelopeFeedbackSubmitResponse.js} +4 -4
  248. package/dist/serialization/types/HandlerEnvelopeIngestionV2IngestResponse.d.ts +15 -0
  249. package/dist/serialization/types/HandlerEnvelopeIngestionV2IngestResponse.js +47 -0
  250. package/dist/serialization/types/HandlerEnvelopeListV2ListResponse.d.ts +15 -0
  251. package/dist/serialization/types/{HandlerEnvelopeIngestionV2SourceUploadResponse.js → HandlerEnvelopeListV2ListResponse.js} +4 -4
  252. package/dist/serialization/types/HandlerEnvelopeTenantsTenantMetadataSchemaResponse.d.ts +15 -0
  253. package/dist/serialization/types/HandlerEnvelopeTenantsTenantMetadataSchemaResponse.js +47 -0
  254. package/dist/serialization/types/HandlerEnvelopeWebhooksSigningSecretResponse.d.ts +15 -0
  255. package/dist/serialization/types/HandlerEnvelopeWebhooksSigningSecretResponse.js +47 -0
  256. package/dist/serialization/types/HandlerErrorEnvelopeSourcesMemoryDeleteResponse.d.ts +17 -0
  257. package/dist/serialization/types/HandlerErrorEnvelopeSourcesMemoryDeleteResponse.js +49 -0
  258. package/dist/serialization/types/HandlerProviderListResponse.d.ts +10 -0
  259. package/dist/serialization/types/HandlerProviderListResponse.js +42 -0
  260. package/dist/serialization/types/HandlerResourceDeleteResponse.d.ts +11 -0
  261. package/dist/serialization/types/HandlerResourceDeleteResponse.js +43 -0
  262. package/dist/serialization/types/HandlerResourceMapping.d.ts +2 -0
  263. package/dist/serialization/types/HandlerResourceMapping.js +2 -0
  264. package/dist/serialization/types/HandlerResourceMappingSyncMode.d.ts +7 -0
  265. package/dist/serialization/{resources/connectors/client/configure.js → types/HandlerResourceMappingSyncMode.js} +3 -3
  266. package/dist/serialization/types/HandlerTableConfigEntry.d.ts +11 -0
  267. package/dist/serialization/types/HandlerTableConfigEntry.js +43 -0
  268. package/dist/serialization/types/IngestionV2IngestResponse.d.ts +14 -0
  269. package/dist/serialization/types/{IngestionV2SourceUploadResponse.js → IngestionV2IngestResponse.js} +4 -4
  270. package/dist/serialization/types/{IngestionV2SourceUploadResultItem.d.ts → IngestionV2IngestResultItem.d.ts} +4 -2
  271. package/dist/serialization/types/{IngestionV2SourceUploadResultItem.js → IngestionV2IngestResultItem.js} +4 -2
  272. package/dist/serialization/types/ListV2ListResponse.d.ts +17 -0
  273. package/dist/serialization/types/{ListSourceListResponse.js → ListV2ListResponse.js} +6 -5
  274. package/dist/serialization/types/ListV2MemoryItem.d.ts +29 -0
  275. package/dist/serialization/types/ListV2MemoryItem.js +63 -0
  276. package/dist/serialization/types/ListV2SourceItem.d.ts +29 -0
  277. package/dist/serialization/types/ListV2SourceItem.js +63 -0
  278. package/dist/serialization/types/SearchSourceInfo.d.ts +1 -0
  279. package/dist/serialization/types/SearchSourceInfo.js +1 -0
  280. package/dist/serialization/types/SearchTemporalDuration.d.ts +16 -0
  281. package/dist/serialization/types/SearchTemporalDuration.js +48 -0
  282. package/dist/serialization/types/SearchTemporalFact.d.ts +20 -0
  283. package/dist/serialization/types/SearchTemporalFact.js +52 -0
  284. package/dist/serialization/types/SearchTemporalFilterInfo.d.ts +16 -0
  285. package/dist/serialization/types/SearchTemporalFilterInfo.js +48 -0
  286. package/dist/serialization/types/SearchTemporalIntentOverride.d.ts +14 -0
  287. package/dist/serialization/types/SearchTemporalIntentOverride.js +46 -0
  288. package/dist/serialization/types/SearchV2Chunk.d.ts +1 -0
  289. package/dist/serialization/types/SearchV2Chunk.js +1 -0
  290. package/dist/serialization/types/SearchV2RetrievalResult.d.ts +6 -0
  291. package/dist/serialization/types/SearchV2RetrievalResult.js +6 -0
  292. package/dist/serialization/types/TenantsCustomPropertyDefinition.d.ts +0 -1
  293. package/dist/serialization/types/TenantsCustomPropertyDefinition.js +0 -1
  294. package/dist/serialization/types/TenantsTenantMetadataSchemaResponse.d.ts +12 -0
  295. package/dist/serialization/types/TenantsTenantMetadataSchemaResponse.js +44 -0
  296. package/dist/serialization/types/WebhooksDeliveryItem.d.ts +1 -0
  297. package/dist/serialization/types/WebhooksDeliveryItem.js +1 -0
  298. package/dist/serialization/types/WebhooksSigningSecretResponse.d.ts +11 -0
  299. package/dist/serialization/types/WebhooksSigningSecretResponse.js +43 -0
  300. package/dist/serialization/types/WebhooksWebhookRegisterResponse.d.ts +1 -0
  301. package/dist/serialization/types/WebhooksWebhookRegisterResponse.js +1 -0
  302. package/dist/serialization/types/index.d.ts +48 -7
  303. package/dist/serialization/types/index.js +48 -7
  304. package/package.json +1 -1
  305. package/dist/api/types/ConnectorsConnector.d.ts +0 -58
  306. package/dist/api/types/IngestionV2SourceUploadResponse.d.ts +0 -13
  307. package/dist/api/types/IngestionV2SourceUploadResultItem.d.ts +0 -17
  308. package/dist/api/types/ListSourceListResponse.d.ts +0 -12
  309. package/dist/api/types/ListV2SourceListResponse.d.ts +0 -4
  310. package/dist/serialization/client/catalog.d.ts +0 -6
  311. package/dist/serialization/client/listProviders.d.ts +0 -6
  312. package/dist/serialization/resources/connectors/client/configure.d.ts +0 -6
  313. package/dist/serialization/resources/connectors/client/delete.d.ts +0 -6
  314. package/dist/serialization/resources/connectors/client/deleteResource.d.ts +0 -6
  315. package/dist/serialization/resources/connectors/client/discover.d.ts +0 -6
  316. package/dist/serialization/resources/connectors/client/discoverPreview.d.ts +0 -6
  317. package/dist/serialization/resources/connectors/client/discoverPreview.js +0 -39
  318. package/dist/serialization/resources/connectors/client/list.d.ts +0 -6
  319. package/dist/serialization/resources/connectors/client/list.js +0 -39
  320. package/dist/serialization/resources/connectors/client/listResources.d.ts +0 -6
  321. package/dist/serialization/resources/connectors/client/listResources.js +0 -39
  322. package/dist/serialization/resources/connectors/client/rotateAConnectorsStoredOAuthRefreshToken.d.ts +0 -10
  323. package/dist/serialization/resources/connectors/client/rotateAConnectorsStoredOAuthRefreshToken.js +0 -40
  324. package/dist/serialization/resources/connectors/client/sync.d.ts +0 -6
  325. package/dist/serialization/resources/connectors/client/sync.js +0 -39
  326. package/dist/serialization/types/HandlerEnvelopeIngestionV2SourceUploadResponse.d.ts +0 -15
  327. package/dist/serialization/types/IngestionV2SourceUploadResponse.d.ts +0 -14
  328. package/dist/serialization/types/ListSourceListResponse.d.ts +0 -14
  329. package/dist/serialization/types/ListV2SourceListResponse.d.ts +0 -10
  330. /package/dist/api/{types/ConnectorsConnector.js → resources/connectors/client/requests/HandlerConnectorUpdateReq.js} +0 -0
  331. /package/dist/api/{types/HandlerEnvelopeIngestionV2SourceUploadResponse.js → resources/connectors/client/requests/StatusConnectorsRequest.js} +0 -0
  332. /package/dist/api/{types/HandlerEnvelopeListV2SourceListResponse.js → resources/databases/client/requests/GetMetadataSchemaDatabasesRequest.js} +0 -0
  333. /package/dist/api/{types/IngestionV2SourceUploadResponse.js → resources/webhooks/client/requests/WebhooksSigningSecretRequest.js} +0 -0
  334. /package/dist/api/types/{IngestionV2SourceUploadResultItem.js → FeedbackGroundTruth.js} +0 -0
  335. /package/dist/api/types/{ListSourceListResponse.js → FeedbackSubmitRequest.js} +0 -0
  336. /package/dist/api/types/{ListV2SourceListResponse.js → FeedbackSubmitRequestFeedback.js} +0 -0
@@ -0,0 +1,30 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface IngestionV2IngestResultItem {
3
+ /** Error is the failure message for this item, null on success. Both modes. */
4
+ error?: string;
5
+ /**
6
+ * ErrorCode is the machine-readable failure classification, null on success.
7
+ * Both modes; always null on the memory path, which produces no per-item code.
8
+ */
9
+ errorCode?: string;
10
+ /** Filename is the original filename as submitted. type=knowledge only. */
11
+ filename?: string;
12
+ /** ID is the source identifier assigned to this item. Both modes. */
13
+ id?: string;
14
+ /** Infer reports whether the memory was queued for inference. type=memory only. */
15
+ infer?: boolean;
16
+ /**
17
+ * RelationsCreated is the number of graph relations extracted from this file.
18
+ * type=knowledge only, and only for items that carried a `relations` payload.
19
+ */
20
+ relationsCreated?: number;
21
+ /**
22
+ * RelationsError is the relation-extraction failure message, if any.
23
+ * type=knowledge only.
24
+ */
25
+ relationsError?: string;
26
+ /** Current lifecycle or processing state. */
27
+ status?: HydraDB.IngestionSourceStatus;
28
+ /** Title is the memory's title. type=memory only. */
29
+ title?: string;
30
+ }
@@ -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 });
@@ -9,6 +9,14 @@ export interface IngestionV2ProcessingStatus {
9
9
  indexingStatus?: string;
10
10
  /** Human-readable status description. */
11
11
  message?: string;
12
- /** Whether the request succeeded. */
12
+ /**
13
+ * Deprecated for API clients: this reads like a per-source outcome but is
14
+ * a constant echo of the envelope's `success` — it is true even for a
15
+ * source that failed indexing. For the state of THIS source read
16
+ * indexing_status (and error_code/error_message when it is errored); for
17
+ * whether the request itself succeeded read the HTTP status code or the
18
+ * envelope's top-level `success`. Still emitted unchanged for existing
19
+ * clients (PRO-1208).
20
+ */
13
21
  success?: boolean;
14
22
  }
@@ -4,8 +4,14 @@ export interface ListContentFilter {
4
4
  /** Filters /context/list by tenant/source metadata. Example: {"department": "finance"}. */
5
5
  metadata?: Record<string, unknown>;
6
6
  /**
7
- * SourceFields filters by well-known source fields such as title, type,
8
- * description, url, and timestamp.
7
+ * SourceFields filters by well-known source fields: title, type,
8
+ * description, url, timestamp, and the app-source keys app_provider,
9
+ * app_kind, app_external_id, app_parent_id.
10
+ *
11
+ * app_external_id and app_parent_id are provider-scoped: a Jira issue key
12
+ * and a Linear id can collide, so pair either with app_provider in the
13
+ * same filter to identify one object. Without it a match may span
14
+ * providers that reuse the same external id.
9
15
  */
10
16
  sourceFields?: Record<string, unknown>;
11
17
  }
@@ -0,0 +1,23 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface ListV2ListResponse {
3
+ /** Human-readable result message. */
4
+ message?: string;
5
+ pagination?: HydraDB.DashboardPaginationMeta;
6
+ /** Sources carries the rows when type=knowledge (the default). */
7
+ sources?: HydraDB.ListV2SourceItem[];
8
+ /**
9
+ * Deprecated for API clients: to decide whether the request succeeded,
10
+ * check the HTTP status code — 2xx is success — or equivalently the
11
+ * envelope's top-level `success`. This nested copy always carries the same
12
+ * value and never carries independent information. Still emitted unchanged
13
+ * for existing clients (PRO-1208).
14
+ */
15
+ success?: boolean;
16
+ /** Total is the total number of matching rows across all pages. */
17
+ total?: number;
18
+ /**
19
+ * UserMemories carries the rows when type=memory. Same item shape as Sources
20
+ * except each row is keyed by memory_id rather than id.
21
+ */
22
+ userMemories?: HydraDB.ListV2MemoryItem[];
23
+ }
@@ -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,66 @@
1
+ export interface ListV2MemoryItem {
2
+ /**
3
+ * AdditionalMetadata is the caller-supplied per-document metadata (stored as
4
+ * document_metadata).
5
+ */
6
+ additionalMetadata?: Record<string, unknown>;
7
+ /** Provider-assigned identifier for this source (e.g. Slack channel ID). */
8
+ appExternalId?: string;
9
+ /** App integration category, populated for connector-synced sources. */
10
+ appKind?: string;
11
+ /**
12
+ * AppParentID is the provider external id of this source's conversational
13
+ * parent (a Jira comment carries its issue key, a Slack reply its thread
14
+ * root), and AppThreadID the discussion grouping key. Mirrored from the
15
+ * ingestion pipeline; absent for sources without a parent/thread.
16
+ */
17
+ appParentId?: string;
18
+ /**
19
+ * App* carry connector provenance, mirrored onto the source document by the
20
+ * ingestion pipeline. Null for sources that were not connector-ingested.
21
+ */
22
+ appProvider?: string;
23
+ appRelations?: unknown;
24
+ appThreadId?: string;
25
+ /**
26
+ * Collection is the canonical name for the sub-scope this row was listed
27
+ * from. Empty string when the row lives in the database's default collection.
28
+ */
29
+ collection: string;
30
+ /**
31
+ * Comments is the group_threads discussion: the source's comment/message
32
+ * children as full sibling rows, newest first, capped per parent with
33
+ * CommentsTruncated marking an overflow. Present (possibly empty) on every
34
+ * row of a group_threads response; absent otherwise.
35
+ */
36
+ comments?: Record<string, unknown>[];
37
+ commentsTruncated?: boolean;
38
+ /** Database is the canonical name for the scope this row was listed from. */
39
+ database: string;
40
+ /** Human-readable description of the source. */
41
+ description?: string;
42
+ /**
43
+ * MemoryID is the memory identifier — the type=memory spelling of ID, and
44
+ * present on exactly the same terms.
45
+ */
46
+ memoryId: string;
47
+ /** Metadata is the caller-supplied source metadata (stored as tenant_metadata). */
48
+ metadata?: Record<string, unknown>;
49
+ note?: string;
50
+ /**
51
+ * Relations/AppRelations are passthrough graph subtrees, returned only when
52
+ * requested via include_fields. Their internal source_id/source_ids keys are
53
+ * renamed to id/ids on the way out; the rest of the subtree is unconstrained.
54
+ */
55
+ relations?: unknown;
56
+ /** SubTenantID is the deprecated spelling of Collection, carrying an identical value. */
57
+ subTenantId: string;
58
+ /** TenantID is the deprecated spelling of Database, carrying an identical value. */
59
+ tenantId: string;
60
+ /** RFC3339 timestamp associated with this item. */
61
+ timestamp?: string;
62
+ /** Title or name of the source. */
63
+ title?: string;
64
+ /** Type is the source kind, e.g. "knowledge" or "memory". */
65
+ type?: string;
66
+ }
@@ -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,70 @@
1
+ export interface ListV2SourceItem {
2
+ /**
3
+ * AdditionalMetadata is the caller-supplied per-document metadata (stored as
4
+ * document_metadata).
5
+ */
6
+ additionalMetadata?: Record<string, unknown>;
7
+ /** Provider-assigned identifier for this source (e.g. Slack channel ID). */
8
+ appExternalId?: string;
9
+ /** App integration category, populated for connector-synced sources. */
10
+ appKind?: string;
11
+ /**
12
+ * AppParentID is the provider external id of this source's conversational
13
+ * parent (a Jira comment carries its issue key, a Slack reply its thread
14
+ * root), and AppThreadID the discussion grouping key. Mirrored from the
15
+ * ingestion pipeline; absent for sources without a parent/thread.
16
+ */
17
+ appParentId?: string;
18
+ /**
19
+ * App* carry connector provenance, mirrored onto the source document by the
20
+ * ingestion pipeline. Null for sources that were not connector-ingested.
21
+ */
22
+ appProvider?: string;
23
+ /** Connector-derived relations for this source. Present on connector-ingested rows. */
24
+ appRelations?: unknown;
25
+ /** Discussion grouping key shared by a thread root and its replies/comments. Absent for unthreaded sources. */
26
+ appThreadId?: string;
27
+ /**
28
+ * Collection is the canonical name for the sub-scope this row was listed
29
+ * from. Empty string when the row lives in the database's default collection.
30
+ */
31
+ collection: string;
32
+ /**
33
+ * Comments is the group_threads discussion: the source's comment/message
34
+ * children as full sibling rows, newest first, capped per parent with
35
+ * CommentsTruncated marking an overflow. Present (possibly empty) on every
36
+ * row of a group_threads response; absent otherwise.
37
+ */
38
+ comments?: Record<string, unknown>[];
39
+ /** True when the inline `comments` array hit the per-parent cap and more children exist. Fetch them via `filters.additional_metadata` on the parent's external ID. */
40
+ commentsTruncated?: boolean;
41
+ /** Database is the canonical name for the scope this row was listed from. */
42
+ database: string;
43
+ /** Human-readable description of the source. */
44
+ description?: string;
45
+ /**
46
+ * ID is the source identifier. Always present: buildProjection pins
47
+ * source.id as an identity field on every projection path.
48
+ */
49
+ id: string;
50
+ /** Metadata is the caller-supplied source metadata (stored as tenant_metadata). */
51
+ metadata?: Record<string, unknown>;
52
+ /** Free-form note attached to the source. */
53
+ note?: string;
54
+ /**
55
+ * Relations/AppRelations are passthrough graph subtrees, returned only when
56
+ * requested via include_fields. Their internal source_id/source_ids keys are
57
+ * renamed to id/ids on the way out; the rest of the subtree is unconstrained.
58
+ */
59
+ relations?: unknown;
60
+ /** SubTenantID is the deprecated spelling of Collection, carrying an identical value. */
61
+ subTenantId: string;
62
+ /** TenantID is the deprecated spelling of Database, carrying an identical value. */
63
+ tenantId: string;
64
+ /** RFC3339 timestamp associated with this item. */
65
+ timestamp?: string;
66
+ /** Title or name of the source. */
67
+ title?: string;
68
+ /** Type is the source kind, e.g. "knowledge" or "memory". */
69
+ type?: string;
70
+ }
@@ -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,4 @@
1
1
  /**
2
- * Filters results by source metadata. Top-level keys target tenant metadata (for example department, priority, active, or tags). Nested additional_metadata keys target document metadata. Values are exact-match scalars or arrays for set-equality/list-style filters.
2
+ * Filters results by source metadata. Top-level keys target tenant metadata (for example department, priority, active, or tags). Nested additional_metadata keys target document metadata. Separate keys are ANDed. A scalar value is an exact match; an array means match ANY one of the listed values (OR) - there is no ALL/AND operator within a single key. Arrays are supported on VARCHAR fields only: an array passed for a declared field of any other type is rejected with 400 VALIDATION_ERROR. Size limits: each list may hold at most 500 values, and the whole metadata_filters object is capped at 64 KiB measured on its compact JSON encoding in UTF-8 bytes (keys and punctuation count). Exceeding either returns 400 naming the offending key or the actual byte count.
3
3
  */
4
4
  export type SearchMetadataFilters = Record<string, unknown>;
@@ -10,6 +10,8 @@ export interface SearchSourceInfo {
10
10
  appKind?: string;
11
11
  /** Provider name for app-sourced items (e.g. `slack`, `github`). */
12
12
  appProvider?: string;
13
+ /** Collection this source belongs to. Canonical name; mirrors the deprecated `sub_tenant_id` alias. */
14
+ collection?: string;
13
15
  /** Human-readable description of the source. */
14
16
  description?: string;
15
17
  /** Unique identifier for this resource. */
@@ -19,7 +21,7 @@ export interface SearchSourceInfo {
19
21
  * the wire (Python default_factory=dict), unlike chunk metadata which is null.
20
22
  */
21
23
  metadata?: Record<string, unknown>;
22
- /** Collection this source belongs to. */
24
+ /** deprecated: use collection */
23
25
  subTenantId?: string;
24
26
  /** RFC3339 timestamp associated with this item. */
25
27
  timestamp?: string;
@@ -0,0 +1,24 @@
1
+ import type * as HydraDB from "../index.js";
2
+ /**
3
+ * TemporalDuration is the computed event-duration answer, when resolved.
4
+ */
5
+ export interface SearchTemporalDuration {
6
+ /**
7
+ * Approximate is set when either endpoint's granularity is coarser than a
8
+ * day (month/year brackets) — the day count is then a floor-to-floor
9
+ * estimate, not an exact span; consumers should not present it as exact.
10
+ */
11
+ approximate?: boolean;
12
+ days?: number;
13
+ from?: HydraDB.SearchTemporalFact;
14
+ fromDate?: string;
15
+ /**
16
+ * PairingConfidence is the normalized pair-scorer margin (0..1); low values
17
+ * mean the endpoints were weakly anchored to the question. Durations whose
18
+ * endpoints share no entity token with the question are suppressed
19
+ * entirely (P4: a wrong confident day count misleads answerers).
20
+ */
21
+ pairingConfidence?: number;
22
+ to?: HydraDB.SearchTemporalFact;
23
+ toDate?: string;
24
+ }
@@ -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,25 @@
1
+ export interface SearchTemporalFact {
2
+ /** Chunk that provides evidence for this relation. */
3
+ chunkId?: string;
4
+ /**
5
+ * DatePrecision is the resolution of the resolved dates: "day", "month",
6
+ * "year" (coarser-than-day dates are floored to bracket starts).
7
+ */
8
+ datePrecision?: string;
9
+ eventEnd?: number;
10
+ eventStart?: number;
11
+ /**
12
+ * EvidencePhrase is the verbatim source phrase the dates were resolved
13
+ * from (e.g. "today", "two weeks ago").
14
+ */
15
+ evidencePhrase?: string;
16
+ factType?: string;
17
+ object?: string;
18
+ relation?: string;
19
+ /** Unique identifier for this relationship instance. */
20
+ relationshipId?: string;
21
+ sourceId?: string;
22
+ /** Current lifecycle or processing state. */
23
+ status?: string;
24
+ subject?: string;
25
+ }
@@ -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,27 @@
1
+ /**
2
+ * TemporalFilter reports what the temporal layer did for this request.
3
+ */
4
+ export interface SearchTemporalFilterInfo {
5
+ /**
6
+ * Applied is true when the temporal layer engaged for a classified temporal
7
+ * query — including when it matched zero dated facts; MatchedFacts carries the
8
+ * actual count. It is false only when the fact lookup degraded (Degraded).
9
+ */
10
+ applied?: boolean;
11
+ chunkScope?: number;
12
+ /**
13
+ * Degraded is true when the fact lookup FAILED (as opposed to matching
14
+ * nothing) — callers must not read an empty payload as "no temporal facts
15
+ * exist" when this is set.
16
+ */
17
+ degraded?: boolean;
18
+ matchedFacts?: number;
19
+ mode?: string;
20
+ promoted?: number;
21
+ /**
22
+ * Scope reports how the chunk scope was applied: "soft" (bounded ranking
23
+ * promotion) or "" (no scope). Hard scoping was removed after TEMPO.
24
+ */
25
+ scope?: string;
26
+ truncated?: boolean;
27
+ }
@@ -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,14 @@
1
+ /**
2
+ * TemporalIntent (EXPERIMENTAL) lets the caller supply the classification
3
+ * (mode/window/phrases) directly, bypassing the regex classifier — for
4
+ * agents whose own LLM already understands the query, and for non-English
5
+ * queries. Invalid overrides fall back to the classifier.
6
+ */
7
+ export interface SearchTemporalIntentOverride {
8
+ cutoff?: string;
9
+ durationToNow?: boolean;
10
+ eventPhrases?: string[];
11
+ mode?: string;
12
+ windowEnd?: string;
13
+ windowStart?: string;
14
+ }
@@ -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 });
@@ -8,6 +8,8 @@ export interface SearchV2Chunk {
8
8
  chunkContent?: string;
9
9
  /** Unique identifier for this individual chunk. */
10
10
  chunkUuid?: string;
11
+ /** Collection this chunk belongs to. Canonical name; mirrors the deprecated `sub_tenant_id` alias. */
12
+ collection?: string;
11
13
  /** IDs of adjacent chunks pulled in as surrounding context. */
12
14
  extraContextIds?: string[];
13
15
  /** Unique identifier for this resource. */
@@ -26,6 +28,6 @@ export interface SearchV2Chunk {
26
28
  sourceType?: string;
27
29
  /** RFC3339 timestamp when the source was ingested. */
28
30
  sourceUploadTime?: string;
29
- /** Collection this chunk belongs to. */
31
+ /** deprecated: use collection */
30
32
  subTenantId?: string;
31
33
  }
@@ -7,4 +7,11 @@ export interface SearchV2RetrievalResult {
7
7
  graphContext?: HydraDB.SearchGraphContext;
8
8
  /** Deduplicated source-level metadata for all returned chunks. */
9
9
  sources?: HydraDB.SearchSourceInfo[];
10
+ temporalDuration?: HydraDB.SearchTemporalDuration;
11
+ /**
12
+ * TemporalFacts surface the matched edge-level temporal facts when
13
+ * temporal_reasoning was requested; omitted otherwise.
14
+ */
15
+ temporalFacts?: HydraDB.SearchTemporalFact[];
16
+ temporalFilter?: HydraDB.SearchTemporalFilterInfo;
10
17
  }
@@ -6,7 +6,15 @@ export interface SourcesMemoryDeleteResponse {
6
6
  message?: string;
7
7
  /** Per-item results. */
8
8
  results?: HydraDB.SourcesSourceDeleteResultItem[];
9
- /** Whether the request succeeded. */
9
+ /**
10
+ * Deprecated for API clients: whether the REQUEST succeeded is the HTTP
11
+ * status code, or equivalently the envelope's top-level `success`. Whether
12
+ * anything was actually removed is deleted_count (0 means the ids matched
13
+ * nothing) and per-id results[].deleted / results[].error. This flag is
14
+ * true even for a delete that removed nothing, so it cannot answer either
15
+ * question on its own. Still emitted unchanged for existing clients
16
+ * (PRO-1208).
17
+ */
10
18
  success?: boolean;
11
19
  /** Number of memory items deleted. */
12
20
  userMemoryDeleted?: number;
@@ -2,8 +2,6 @@ import type * as HydraDB from "../index.js";
2
2
  export interface TenantsCustomPropertyDefinition {
3
3
  /** Milvus data type for this metadata field. */
4
4
  dataType?: HydraDB.TenantsMilvusDataType;
5
- /** Whether to enable text analysis (tokenization) for BM25 search on this field. */
6
- enableAnalyzer?: boolean;
7
5
  /** Whether to enable semantic (dense) embedding search on this field. */
8
6
  enableDenseEmbedding?: boolean;
9
7
  /** Whether to enable exact-match filtering on this field. */
@@ -2,9 +2,9 @@ import type * as HydraDB from "../index.js";
2
2
  export interface TenantsInfraV2 {
3
3
  /** Whether the graph store is healthy for this database. */
4
4
  graphStatus?: boolean;
5
- /** Derived readiness flag: true only when scheduler_status, graph_status, and both vectorstore_status.knowledge and vectorstore_status.memories are true — i.e. the database is fully provisioned and ready to accept ingestion and serve queries. Database creation is asynchronous, so poll GET /databases/status until this is true before ingesting or querying. */
5
+ /** Derived readiness flag: true only when scheduler_status (lifecycle provisioning finished), graph_status, and both vectorstore_status.knowledge and vectorstore_status.memories are true — i.e. the database is fully provisioned and ready to accept ingestion and serve queries. Database creation is asynchronous: collections may appear before provisioning completes, so poll GET /databases/status until this is true before ingesting or querying. */
6
6
  readyForIngestion?: boolean;
7
- /** Whether the sync scheduler is healthy for this database. */
7
+ /** Whether lifecycle provisioning has finished for this database (creation_status is ready). False while the database is still being created, even if individual collections already exist. */
8
8
  schedulerStatus?: boolean;
9
9
  vectorstoreStatus?: HydraDB.TenantsVectorstoreStatusV2;
10
10
  }
@@ -0,0 +1,7 @@
1
+ import type * as HydraDB from "../index.js";
2
+ export interface TenantsTenantMetadataSchemaResponse {
3
+ /** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
4
+ database?: string;
5
+ fields?: HydraDB.TenantsCustomPropertyDefinition[];
6
+ tenantId?: 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 });
@@ -19,4 +19,10 @@ export interface WebhooksDeliveryItem {
19
19
  status?: string;
20
20
  /** RFC3339 timestamp of the most recent update. */
21
21
  updatedAt?: string;
22
+ /**
23
+ * Endpoint this delivery was aimed at. Attributes history to the endpoint
24
+ * that was registered when the delivery was created, rather than to whatever
25
+ * is registered now, so a changed URL does not inherit the old one's failures.
26
+ */
27
+ webhookUrl?: string;
22
28
  }
@@ -0,0 +1,8 @@
1
+ export interface WebhooksSigningSecretResponse {
2
+ /** Whether the returned secret was generated by HydraDB rather than supplied by you. */
3
+ generated?: boolean;
4
+ /** Human-readable result message. */
5
+ message?: string;
6
+ /** Secret used to sign webhook payloads. Deliveries carry `X-HydraDB-Signature: sha256=<hex>`, the HMAC-SHA256 of the raw request body keyed by this secret. Minimum 16 characters when you supply your own; omit it and one is generated for you. On registration, omitting this field preserves any existing secret - to disable signing, call DELETE /webhooks/indexing/signing-secret. */
7
+ signingSecret?: string;
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 });
@@ -5,6 +5,8 @@ export interface WebhooksWebhookRegisterResponse {
5
5
  message?: string;
6
6
  /** Whether a webhook is registered for this API key. */
7
7
  registered?: boolean;
8
+ /** Secret used to sign webhook payloads. Deliveries carry `X-HydraDB-Signature: sha256=<hex>`, the HMAC-SHA256 of the raw request body keyed by this secret. Minimum 16 characters when you supply your own; omit it and one is generated for you. On registration, omitting this field preserves any existing secret - to disable signing, call DELETE /webhooks/indexing/signing-secret. */
9
+ signingSecret?: string;
8
10
  /** Whether a signing secret has been configured for payload verification. */
9
11
  signingSecretConfigured?: boolean;
10
12
  /** Registered endpoint URL that receives webhook event deliveries. */
@@ -1,6 +1,15 @@
1
- export * from "./ConnectorsConnector.js";
2
1
  export * from "./ConnectorsResource.js";
3
2
  export * from "./DashboardPaginationMeta.js";
3
+ export * from "./FeedbackGroundTruth.js";
4
+ export * from "./FeedbackRating.js";
5
+ export * from "./FeedbackSource.js";
6
+ export * from "./FeedbackSubmitRequest.js";
7
+ export * from "./FeedbackSubmitRequestFeedback.js";
8
+ export * from "./FeedbackSubmitRequestGroundTruth.js";
9
+ export * from "./FeedbackSubmitRequestGroundTruthGroundTruth.js";
10
+ export * from "./FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js";
11
+ export * from "./FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js";
12
+ export * from "./FeedbackSubmitResponse.js";
4
13
  export * from "./FetchV2SourceFetchResponse.js";
5
14
  export * from "./GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js";
6
15
  export * from "./GraphEntity.js";
@@ -8,13 +17,31 @@ export * from "./GraphGraphRelationsResponse.js";
8
17
  export * from "./GraphRelationEvidence.js";
9
18
  export * from "./GraphTripletWithEvidence.js";
10
19
  export * from "./HandlerApiError.js";
20
+ export * from "./HandlerCatalogConnector.js";
21
+ export * from "./HandlerConfigureResponse.js";
22
+ export * from "./HandlerConfigureResponseMeta.js";
23
+ export * from "./HandlerConnectorApiView.js";
24
+ export * from "./HandlerConnectorCatalogResponse.js";
25
+ export * from "./HandlerConnectorCreateResponse.js";
26
+ export * from "./HandlerConnectorDeleteResponse.js";
27
+ export * from "./HandlerConnectorListResponse.js";
28
+ export * from "./HandlerConnectorResourceStatus.js";
29
+ export * from "./HandlerConnectorResourcesResponse.js";
30
+ export * from "./HandlerConnectorStatusError.js";
31
+ export * from "./HandlerConnectorStatusResponse.js";
32
+ export * from "./HandlerConnectorSyncResponse.js";
33
+ export * from "./HandlerConnectorUpdateResponse.js";
34
+ export * from "./HandlerCredentialsUpdateResponse.js";
11
35
  export * from "./HandlerDeprecationNotice.js";
36
+ export * from "./HandlerDiscoveredResourceDto.js";
37
+ export * from "./HandlerDiscoverResponseBody.js";
38
+ export * from "./HandlerEnvelopeFeedbackSubmitResponse.js";
12
39
  export * from "./HandlerEnvelopeFetchV2SourceFetchResponse.js";
13
40
  export * from "./HandlerEnvelopeGithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js";
14
41
  export * from "./HandlerEnvelopeGraphGraphRelationsResponse.js";
15
42
  export * from "./HandlerEnvelopeIngestionV2BatchProcessingStatus.js";
16
- export * from "./HandlerEnvelopeIngestionV2SourceUploadResponse.js";
17
- export * from "./HandlerEnvelopeListV2SourceListResponse.js";
43
+ export * from "./HandlerEnvelopeIngestionV2IngestResponse.js";
44
+ export * from "./HandlerEnvelopeListV2ListResponse.js";
18
45
  export * from "./HandlerEnvelopeSearchV2RetrievalResult.js";
19
46
  export * from "./HandlerEnvelopeSourcesMemoryDeleteResponse.js";
20
47
  export * from "./HandlerEnvelopeTenantsInfraStatusResponseV2.js";
@@ -22,28 +49,36 @@ export * from "./HandlerEnvelopeTenantsSubTenantIdsResponse.js";
22
49
  export * from "./HandlerEnvelopeTenantsTenantCreateAcceptedResponse.js";
23
50
  export * from "./HandlerEnvelopeTenantsTenantDeleteResponse.js";
24
51
  export * from "./HandlerEnvelopeTenantsTenantIdsResponse.js";
52
+ export * from "./HandlerEnvelopeTenantsTenantMetadataSchemaResponse.js";
25
53
  export * from "./HandlerEnvelopeTenantsTenantStatsResponse.js";
26
54
  export * from "./HandlerEnvelopeWebhooksDeliveryItem.js";
27
55
  export * from "./HandlerEnvelopeWebhooksDeliveryListResponse.js";
28
56
  export * from "./HandlerEnvelopeWebhooksRetryResponse.js";
57
+ export * from "./HandlerEnvelopeWebhooksSigningSecretResponse.js";
29
58
  export * from "./HandlerEnvelopeWebhooksWebhookDeleteResponse.js";
30
59
  export * from "./HandlerEnvelopeWebhooksWebhookGetResponse.js";
31
60
  export * from "./HandlerEnvelopeWebhooksWebhookRegisterResponse.js";
32
61
  export * from "./HandlerEnvelopeWebhooksWebhookTestResponse.js";
33
62
  export * from "./HandlerErrorDetail.js";
63
+ export * from "./HandlerErrorEnvelopeSourcesMemoryDeleteResponse.js";
34
64
  export * from "./HandlerErrorMeta.js";
35
65
  export * from "./HandlerErrorResponse.js";
36
66
  export * from "./HandlerMetadataSchemaUpdateResponse.js";
67
+ export * from "./HandlerProviderListResponse.js";
68
+ export * from "./HandlerResourceDeleteResponse.js";
37
69
  export * from "./HandlerResourceMapping.js";
70
+ export * from "./HandlerResourceMappingSyncMode.js";
38
71
  export * from "./HandlerResponseMeta.js";
72
+ export * from "./HandlerTableConfigEntry.js";
39
73
  export * from "./IngestionSourceStatus.js";
40
74
  export * from "./IngestionV2BatchProcessingStatus.js";
75
+ export * from "./IngestionV2IngestResponse.js";
76
+ export * from "./IngestionV2IngestResultItem.js";
41
77
  export * from "./IngestionV2ProcessingStatus.js";
42
- export * from "./IngestionV2SourceUploadResponse.js";
43
- export * from "./IngestionV2SourceUploadResultItem.js";
44
78
  export * from "./ListContentFilter.js";
45
- export * from "./ListSourceListResponse.js";
46
- export * from "./ListV2SourceListResponse.js";
79
+ export * from "./ListV2ListResponse.js";
80
+ export * from "./ListV2MemoryItem.js";
81
+ export * from "./ListV2SourceItem.js";
47
82
  export * from "./SearchGraphContext.js";
48
83
  export * from "./SearchMetadataFilters.js";
49
84
  export * from "./SearchOperator.js";
@@ -55,6 +90,10 @@ export * from "./SearchRecallMode.js";
55
90
  export * from "./SearchScoredPathResponse.js";
56
91
  export * from "./SearchSourceInfo.js";
57
92
  export * from "./SearchSourceType.js";
93
+ export * from "./SearchTemporalDuration.js";
94
+ export * from "./SearchTemporalFact.js";
95
+ export * from "./SearchTemporalFilterInfo.js";
96
+ export * from "./SearchTemporalIntentOverride.js";
58
97
  export * from "./SearchV2Chunk.js";
59
98
  export * from "./SearchV2RetrievalResult.js";
60
99
  export * from "./SourcesMemoryDeleteResponse.js";
@@ -69,11 +108,13 @@ export * from "./TenantsSubTenantIdsResponse.js";
69
108
  export * from "./TenantsTenantCreateAcceptedResponse.js";
70
109
  export * from "./TenantsTenantDeleteResponse.js";
71
110
  export * from "./TenantsTenantIdsResponse.js";
111
+ export * from "./TenantsTenantMetadataSchemaResponse.js";
72
112
  export * from "./TenantsTenantStatsResponse.js";
73
113
  export * from "./TenantsVectorstoreStatusV2.js";
74
114
  export * from "./WebhooksDeliveryItem.js";
75
115
  export * from "./WebhooksDeliveryListResponse.js";
76
116
  export * from "./WebhooksRetryResponse.js";
117
+ export * from "./WebhooksSigningSecretResponse.js";
77
118
  export * from "./WebhooksWebhookDeleteResponse.js";
78
119
  export * from "./WebhooksWebhookGetResponse.js";
79
120
  export * from "./WebhooksWebhookRegisterResponse.js";