@hydradb/sdk 2.1.4 → 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 (300) 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 +35 -3
  5. package/dist/api/resources/connectors/client/Client.d.ts +80 -1
  6. package/dist/api/resources/connectors/client/Client.js +322 -1
  7. package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +12 -0
  8. package/dist/api/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +15 -0
  9. package/dist/api/resources/connectors/client/requests/PauseConnectorsRequest.d.ts +10 -0
  10. package/dist/api/resources/connectors/client/requests/ResumeConnectorsRequest.d.ts +10 -0
  11. package/dist/api/resources/connectors/client/requests/index.d.ts +4 -0
  12. package/dist/api/resources/context/client/Client.d.ts +45 -5
  13. package/dist/api/resources/context/client/Client.js +194 -8
  14. package/dist/api/resources/context/client/requests/ChunksContextRequest.d.ts +31 -0
  15. package/dist/api/resources/context/client/requests/IngestContextRequest.d.ts +6 -4
  16. package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +5 -1
  17. package/dist/api/resources/context/client/requests/ProfileContextRequest.d.ts +30 -0
  18. package/dist/api/resources/context/client/requests/RelationsContextRequest.d.ts +1 -1
  19. package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +4 -1
  20. package/dist/api/resources/context/client/requests/SubgraphContextRequest.d.ts +8 -8
  21. package/dist/api/resources/context/client/requests/index.d.ts +2 -0
  22. package/dist/api/resources/context/types/ChunksContextRequestType.d.ts +7 -0
  23. package/dist/api/resources/context/types/ChunksContextRequestType.js +10 -0
  24. package/dist/api/resources/context/types/IngestContextRequestType.d.ts +1 -0
  25. package/dist/api/resources/context/types/IngestContextRequestType.js +1 -0
  26. package/dist/api/resources/context/types/ListV2ListContentRequestType.d.ts +7 -1
  27. package/dist/api/resources/context/types/ListV2ListContentRequestType.js +7 -1
  28. package/dist/api/resources/context/types/ProfileContextRequestType.d.ts +5 -0
  29. package/dist/api/resources/context/types/ProfileContextRequestType.js +8 -0
  30. package/dist/api/resources/context/types/RelationsContextRequestType.d.ts +2 -0
  31. package/dist/api/resources/context/types/RelationsContextRequestType.js +2 -0
  32. package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +6 -1
  33. package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.js +6 -1
  34. package/dist/api/resources/context/types/SubgraphContextRequestType.d.ts +2 -0
  35. package/dist/api/resources/context/types/SubgraphContextRequestType.js +2 -0
  36. package/dist/api/resources/context/types/index.d.ts +2 -0
  37. package/dist/api/resources/context/types/index.js +2 -0
  38. package/dist/api/resources/databases/client/Client.d.ts +71 -0
  39. package/dist/api/resources/databases/client/Client.js +309 -0
  40. package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.d.ts +13 -0
  41. package/dist/api/resources/databases/client/requests/DeleteCollectionDatabasesRequest.js +3 -0
  42. package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.d.ts +10 -0
  43. package/dist/api/resources/databases/client/requests/GetInstructionsDatabasesRequest.js +3 -0
  44. package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +20 -0
  45. package/dist/api/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +3 -0
  46. package/dist/api/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +1 -0
  47. package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +21 -0
  48. package/dist/api/resources/databases/client/requests/TenantsTenantRenameRequest.js +3 -0
  49. package/dist/api/resources/databases/client/requests/index.d.ts +4 -0
  50. package/dist/api/resources/feedback/client/Client.d.ts +1 -3
  51. package/dist/api/resources/feedback/client/Client.js +1 -3
  52. package/dist/api/resources/feedback/client/index.d.ts +1 -1
  53. package/dist/api/resources/feedback/client/index.js +15 -0
  54. package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +29 -0
  55. package/dist/api/resources/feedback/client/requests/FeedbackSubmitRequest.js +3 -0
  56. package/dist/api/resources/feedback/client/requests/index.d.ts +1 -0
  57. package/dist/api/resources/feedback/client/requests/index.js +2 -0
  58. package/dist/api/resources/index.d.ts +1 -0
  59. package/dist/api/resources/index.js +1 -0
  60. package/dist/api/types/ConnectorsResource.d.ts +58 -0
  61. package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +13 -0
  62. package/dist/api/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +16 -0
  63. package/dist/api/types/HandlerConnectorApiView.d.ts +15 -0
  64. package/dist/api/types/HandlerConnectorCreateResponse.d.ts +15 -0
  65. package/dist/api/types/HandlerConnectorListResponse.d.ts +7 -3
  66. package/dist/api/types/HandlerConnectorPauseResponse.d.ts +6 -0
  67. package/dist/api/types/HandlerConnectorPauseResponse.js +3 -0
  68. package/dist/api/types/HandlerConnectorResourceStatus.d.ts +27 -0
  69. package/dist/api/types/HandlerConnectorStatusError.d.ts +4 -3
  70. package/dist/api/types/HandlerConnectorStatusResponse.d.ts +5 -2
  71. package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +9 -0
  72. package/dist/api/types/HandlerEnvelopeSearchChunkInspectResult.js +3 -0
  73. package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.d.ts +9 -0
  74. package/dist/api/types/HandlerEnvelopeSearchEntityProfileView.js +3 -0
  75. package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +9 -0
  76. package/dist/api/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +3 -0
  77. package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +9 -0
  78. package/dist/api/types/HandlerEnvelopeTenantsTenantRenameResponse.js +3 -0
  79. package/dist/api/types/HandlerInstructionsResponse.d.ts +13 -0
  80. package/dist/api/types/HandlerInstructionsResponse.js +3 -0
  81. package/dist/api/types/HandlerPlanCapView.d.ts +11 -0
  82. package/dist/api/types/HandlerPlanCapView.js +3 -0
  83. package/dist/api/types/HandlerVaultCredentialEntry.d.ts +13 -0
  84. package/dist/api/types/HandlerVaultCredentialEntry.js +3 -0
  85. package/dist/api/types/HandlerVaultCredentialListResponse.d.ts +8 -0
  86. package/dist/api/types/HandlerVaultCredentialListResponse.js +3 -0
  87. package/dist/api/types/HandlerVaultCredentialRevealResponse.d.ts +7 -0
  88. package/dist/api/types/HandlerVaultCredentialRevealResponse.js +3 -0
  89. package/dist/api/types/HandlerVaultCredentialUpdateResponse.d.ts +5 -0
  90. package/dist/api/types/HandlerVaultCredentialUpdateResponse.js +3 -0
  91. package/dist/api/types/MemoriesConversationTurn.d.ts +7 -0
  92. package/dist/api/types/MemoriesConversationTurn.js +3 -0
  93. package/dist/api/types/MemoriesIngestItem.d.ts +56 -0
  94. package/dist/api/types/MemoriesIngestItem.js +3 -0
  95. package/dist/api/types/MemoriesIngestItemContextCategory.d.ts +13 -0
  96. package/dist/api/types/MemoriesIngestItemContextCategory.js +16 -0
  97. package/dist/api/types/MemoriesUnifiedIngestRequest.d.ts +14 -0
  98. package/dist/api/types/MemoriesUnifiedIngestRequest.js +3 -0
  99. package/dist/api/types/SearchAliasExpansionNote.d.ts +4 -0
  100. package/dist/api/types/SearchAliasExpansionNote.js +3 -0
  101. package/dist/api/types/SearchAppSearchFusionDiagnostics.d.ts +31 -0
  102. package/dist/api/types/SearchAppSearchFusionDiagnostics.js +3 -0
  103. package/dist/api/types/SearchAppSearchFusionStats.d.ts +43 -0
  104. package/dist/api/types/SearchAppSearchFusionStats.js +3 -0
  105. package/dist/api/types/SearchChunkInspectResult.d.ts +24 -0
  106. package/dist/api/types/SearchChunkInspectResult.js +3 -0
  107. package/dist/api/types/SearchEntityProfileView.d.ts +18 -0
  108. package/dist/api/types/SearchEntityProfileView.js +3 -0
  109. package/dist/api/types/SearchForcefulRelationEntry.d.ts +5 -0
  110. package/dist/api/types/SearchForcefulRelationEntry.js +3 -0
  111. package/dist/api/types/SearchForcefulRelationsBucket.d.ts +11 -0
  112. package/dist/api/types/SearchForcefulRelationsBucket.js +3 -0
  113. package/dist/api/types/SearchGraphPath.d.ts +10 -0
  114. package/dist/api/types/SearchGraphPath.js +3 -0
  115. package/dist/api/types/SearchGraphPlane.d.ts +11 -0
  116. package/dist/api/types/SearchGraphPlane.js +3 -0
  117. package/dist/api/types/SearchMetadataFilters.d.ts +1 -1
  118. package/dist/api/types/SearchProfileContext.d.ts +17 -0
  119. package/dist/api/types/SearchProfileContext.js +3 -0
  120. package/dist/api/types/SearchProfileEntry.d.ts +11 -0
  121. package/dist/api/types/SearchProfileEntry.js +3 -0
  122. package/dist/api/types/SearchProfileFilterInfo.d.ts +10 -0
  123. package/dist/api/types/SearchProfileFilterInfo.js +3 -0
  124. package/dist/api/types/SearchRelationVia.d.ts +4 -0
  125. package/dist/api/types/SearchRelationVia.js +3 -0
  126. package/dist/api/types/SearchSourceType.d.ts +1 -0
  127. package/dist/api/types/SearchSourceType.js +1 -0
  128. package/dist/api/types/SearchV2RetrievalResult.d.ts +12 -1
  129. package/dist/api/types/SearchVectorStoreChunk.d.ts +28 -0
  130. package/dist/api/types/SearchVectorStoreChunk.js +3 -0
  131. package/dist/api/types/TenantsDatabaseDetail.d.ts +11 -0
  132. package/dist/api/types/TenantsDatabaseDetail.js +3 -0
  133. package/dist/api/types/TenantsDatabaseDetailType.d.ts +10 -0
  134. package/dist/api/types/TenantsDatabaseDetailType.js +13 -0
  135. package/dist/api/types/TenantsInfraStatusResponseV2.d.ts +5 -0
  136. package/dist/api/types/TenantsInfraStatusResponseV2Type.d.ts +9 -0
  137. package/dist/api/types/TenantsInfraStatusResponseV2Type.js +12 -0
  138. package/dist/api/types/TenantsMilvusDataType.d.ts +1 -0
  139. package/dist/api/types/TenantsMilvusDataType.js +1 -0
  140. package/dist/api/types/TenantsSubTenantDeleteResponse.d.ts +12 -0
  141. package/dist/api/types/TenantsSubTenantDeleteResponse.js +3 -0
  142. package/dist/api/types/TenantsTenantIdsResponse.d.ts +6 -0
  143. package/dist/api/types/TenantsTenantRenameResponse.d.ts +20 -0
  144. package/dist/api/types/TenantsTenantRenameResponse.js +3 -0
  145. package/dist/api/types/index.d.ts +35 -6
  146. package/dist/api/types/index.js +35 -6
  147. package/dist/serialization/client/requests/SearchQueryRequest.d.ts +5 -0
  148. package/dist/serialization/client/requests/SearchQueryRequest.js +5 -0
  149. package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.d.ts +9 -0
  150. package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js +41 -0
  151. package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.d.ts +9 -0
  152. package/dist/serialization/resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js +41 -0
  153. package/dist/serialization/resources/connectors/client/requests/index.d.ts +2 -0
  154. package/dist/serialization/resources/connectors/client/requests/index.js +5 -1
  155. package/dist/serialization/resources/context/types/ChunksContextRequestType.d.ts +7 -0
  156. package/dist/serialization/resources/context/types/ChunksContextRequestType.js +39 -0
  157. package/dist/serialization/resources/context/types/IngestContextRequestType.d.ts +1 -1
  158. package/dist/serialization/resources/context/types/IngestContextRequestType.js +1 -1
  159. package/dist/serialization/resources/context/types/ListV2ListContentRequestType.d.ts +1 -1
  160. package/dist/serialization/resources/context/types/ListV2ListContentRequestType.js +1 -1
  161. package/dist/serialization/resources/context/types/ProfileContextRequestType.d.ts +7 -0
  162. package/dist/serialization/resources/context/types/ProfileContextRequestType.js +39 -0
  163. package/dist/serialization/resources/context/types/RelationsContextRequestType.d.ts +1 -1
  164. package/dist/serialization/resources/context/types/RelationsContextRequestType.js +1 -1
  165. package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +1 -1
  166. package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.js +1 -1
  167. package/dist/serialization/resources/context/types/SubgraphContextRequestType.d.ts +1 -1
  168. package/dist/serialization/resources/context/types/SubgraphContextRequestType.js +1 -1
  169. package/dist/serialization/resources/context/types/index.d.ts +2 -0
  170. package/dist/serialization/resources/context/types/index.js +2 -0
  171. package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.d.ts +10 -0
  172. package/dist/serialization/resources/databases/client/requests/HandlerInstructionsUpdateReq.js +44 -0
  173. package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +2 -0
  174. package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.js +2 -0
  175. package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.d.ts +9 -0
  176. package/dist/serialization/resources/databases/client/requests/TenantsTenantRenameRequest.js +41 -0
  177. package/dist/serialization/resources/databases/client/requests/index.d.ts +2 -0
  178. package/dist/serialization/resources/databases/client/requests/index.js +5 -1
  179. package/dist/serialization/resources/feedback/client/index.d.ts +1 -0
  180. package/dist/serialization/resources/feedback/client/index.js +17 -0
  181. package/dist/serialization/resources/feedback/client/requests/FeedbackSubmitRequest.d.ts +21 -0
  182. package/dist/serialization/{types → resources/feedback/client/requests}/FeedbackSubmitRequest.js +16 -4
  183. package/dist/serialization/resources/feedback/client/requests/index.d.ts +1 -0
  184. package/dist/serialization/resources/feedback/client/requests/index.js +5 -0
  185. package/dist/serialization/resources/feedback/index.d.ts +1 -0
  186. package/dist/serialization/resources/feedback/index.js +17 -0
  187. package/dist/serialization/resources/index.d.ts +2 -0
  188. package/dist/serialization/resources/index.js +3 -1
  189. package/dist/serialization/types/ConnectorsResource.d.ts +6 -0
  190. package/dist/serialization/types/ConnectorsResource.js +6 -0
  191. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.d.ts +7 -0
  192. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js +39 -0
  193. package/dist/serialization/types/HandlerConnectorApiView.d.ts +3 -0
  194. package/dist/serialization/types/HandlerConnectorApiView.js +3 -0
  195. package/dist/serialization/types/HandlerConnectorCreateResponse.d.ts +3 -0
  196. package/dist/serialization/types/HandlerConnectorCreateResponse.js +3 -0
  197. package/dist/serialization/types/HandlerConnectorListResponse.d.ts +2 -0
  198. package/dist/serialization/types/HandlerConnectorListResponse.js +2 -0
  199. package/dist/serialization/types/HandlerConnectorPauseResponse.d.ts +11 -0
  200. package/dist/serialization/types/{FeedbackSubmitRequestGroundTruth.js → HandlerConnectorPauseResponse.js} +5 -4
  201. package/dist/serialization/types/HandlerConnectorResourceStatus.d.ts +4 -0
  202. package/dist/serialization/types/HandlerConnectorResourceStatus.js +4 -0
  203. package/dist/serialization/types/HandlerConnectorStatusResponse.d.ts +2 -0
  204. package/dist/serialization/types/HandlerConnectorStatusResponse.js +2 -0
  205. package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.d.ts +15 -0
  206. package/dist/serialization/types/HandlerEnvelopeSearchChunkInspectResult.js +47 -0
  207. package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.d.ts +15 -0
  208. package/dist/serialization/types/HandlerEnvelopeSearchEntityProfileView.js +47 -0
  209. package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.d.ts +15 -0
  210. package/dist/serialization/types/HandlerEnvelopeTenantsSubTenantDeleteResponse.js +47 -0
  211. package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.d.ts +15 -0
  212. package/dist/serialization/types/HandlerEnvelopeTenantsTenantRenameResponse.js +47 -0
  213. package/dist/serialization/types/HandlerInstructionsResponse.d.ts +12 -0
  214. package/dist/serialization/types/HandlerInstructionsResponse.js +44 -0
  215. package/dist/serialization/types/HandlerPlanCapView.d.ts +11 -0
  216. package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → HandlerPlanCapView.js} +5 -3
  217. package/dist/serialization/types/HandlerVaultCredentialEntry.d.ts +15 -0
  218. package/dist/serialization/types/HandlerVaultCredentialEntry.js +47 -0
  219. package/dist/serialization/types/HandlerVaultCredentialListResponse.d.ts +12 -0
  220. package/dist/serialization/types/HandlerVaultCredentialListResponse.js +44 -0
  221. package/dist/serialization/types/HandlerVaultCredentialRevealResponse.d.ts +12 -0
  222. package/dist/serialization/types/HandlerVaultCredentialRevealResponse.js +44 -0
  223. package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.d.ts +10 -0
  224. package/dist/serialization/types/HandlerVaultCredentialUpdateResponse.js +42 -0
  225. package/dist/serialization/types/MemoriesConversationTurn.d.ts +11 -0
  226. package/dist/serialization/types/MemoriesConversationTurn.js +43 -0
  227. package/dist/serialization/types/MemoriesIngestItem.d.ts +25 -0
  228. package/dist/serialization/types/MemoriesIngestItem.js +57 -0
  229. package/dist/serialization/types/MemoriesIngestItemContextCategory.d.ts +7 -0
  230. package/dist/serialization/types/MemoriesIngestItemContextCategory.js +39 -0
  231. package/dist/serialization/types/MemoriesUnifiedIngestRequest.d.ts +14 -0
  232. package/dist/serialization/types/MemoriesUnifiedIngestRequest.js +46 -0
  233. package/dist/serialization/types/SearchAliasExpansionNote.d.ts +10 -0
  234. package/dist/serialization/types/SearchAliasExpansionNote.js +42 -0
  235. package/dist/serialization/types/SearchAppSearchFusionDiagnostics.d.ts +13 -0
  236. package/dist/serialization/types/SearchAppSearchFusionDiagnostics.js +45 -0
  237. package/dist/serialization/types/SearchAppSearchFusionStats.d.ts +19 -0
  238. package/dist/serialization/types/SearchAppSearchFusionStats.js +51 -0
  239. package/dist/serialization/types/SearchChunkInspectResult.d.ts +14 -0
  240. package/dist/serialization/types/SearchChunkInspectResult.js +46 -0
  241. package/dist/serialization/types/SearchEntityProfileView.d.ts +22 -0
  242. package/dist/serialization/types/SearchEntityProfileView.js +54 -0
  243. package/dist/serialization/types/SearchForcefulRelationEntry.d.ts +12 -0
  244. package/dist/serialization/types/SearchForcefulRelationEntry.js +44 -0
  245. package/dist/serialization/types/SearchForcefulRelationsBucket.d.ts +11 -0
  246. package/dist/serialization/types/SearchForcefulRelationsBucket.js +43 -0
  247. package/dist/serialization/types/SearchGraphPath.d.ts +13 -0
  248. package/dist/serialization/types/SearchGraphPath.js +45 -0
  249. package/dist/serialization/types/SearchGraphPlane.d.ts +10 -0
  250. package/dist/serialization/types/SearchGraphPlane.js +42 -0
  251. package/dist/serialization/types/SearchProfileContext.d.ts +17 -0
  252. package/dist/serialization/types/SearchProfileContext.js +49 -0
  253. package/dist/serialization/types/SearchProfileEntry.d.ts +15 -0
  254. package/dist/serialization/types/SearchProfileEntry.js +47 -0
  255. package/dist/serialization/types/SearchProfileFilterInfo.d.ts +15 -0
  256. package/dist/serialization/types/SearchProfileFilterInfo.js +47 -0
  257. package/dist/serialization/types/SearchRelationVia.d.ts +10 -0
  258. package/dist/serialization/types/{FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → SearchRelationVia.js} +4 -3
  259. package/dist/serialization/types/SearchSourceType.d.ts +1 -1
  260. package/dist/serialization/types/SearchSourceType.js +1 -1
  261. package/dist/serialization/types/SearchV2RetrievalResult.d.ts +12 -0
  262. package/dist/serialization/types/SearchV2RetrievalResult.js +12 -0
  263. package/dist/serialization/types/SearchVectorStoreChunk.d.ts +21 -0
  264. package/dist/serialization/types/SearchVectorStoreChunk.js +53 -0
  265. package/dist/serialization/types/TenantsDatabaseDetail.d.ts +11 -0
  266. package/dist/serialization/types/TenantsDatabaseDetail.js +43 -0
  267. package/dist/serialization/types/TenantsDatabaseDetailType.d.ts +7 -0
  268. package/dist/serialization/types/{FeedbackSubmitRequestFeedback.js → TenantsDatabaseDetailType.js} +2 -4
  269. package/dist/serialization/types/TenantsInfraStatusResponseV2.d.ts +2 -0
  270. package/dist/serialization/types/TenantsInfraStatusResponseV2.js +2 -0
  271. package/dist/serialization/types/TenantsInfraStatusResponseV2Type.d.ts +7 -0
  272. package/dist/serialization/types/TenantsInfraStatusResponseV2Type.js +39 -0
  273. package/dist/serialization/types/TenantsSubTenantDeleteResponse.d.ts +14 -0
  274. package/dist/serialization/types/TenantsSubTenantDeleteResponse.js +46 -0
  275. package/dist/serialization/types/TenantsTenantIdsResponse.d.ts +2 -0
  276. package/dist/serialization/types/TenantsTenantIdsResponse.js +2 -0
  277. package/dist/serialization/types/TenantsTenantRenameResponse.d.ts +15 -0
  278. package/dist/serialization/types/TenantsTenantRenameResponse.js +47 -0
  279. package/dist/serialization/types/index.d.ts +35 -6
  280. package/dist/serialization/types/index.js +35 -6
  281. package/package.json +1 -1
  282. package/dist/api/types/FeedbackSubmitRequest.d.ts +0 -2
  283. package/dist/api/types/FeedbackSubmitRequestFeedback.d.ts +0 -3
  284. package/dist/api/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -4
  285. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -2
  286. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -3
  287. package/dist/api/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -3
  288. package/dist/serialization/types/FeedbackSubmitRequest.d.ts +0 -9
  289. package/dist/serialization/types/FeedbackSubmitRequestFeedback.d.ts +0 -9
  290. package/dist/serialization/types/FeedbackSubmitRequestGroundTruth.d.ts +0 -10
  291. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.d.ts +0 -9
  292. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruth.js +0 -44
  293. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.d.ts +0 -9
  294. package/dist/serialization/types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.d.ts +0 -9
  295. /package/dist/api/{types/FeedbackSubmitRequest.js → resources/connectors/client/requests/HandlerVaultCredentialRevealReq.js} +0 -0
  296. /package/dist/api/{types/FeedbackSubmitRequestFeedback.js → resources/connectors/client/requests/HandlerVaultCredentialUpdateReq.js} +0 -0
  297. /package/dist/api/{types/FeedbackSubmitRequestGroundTruth.js → resources/connectors/client/requests/PauseConnectorsRequest.js} +0 -0
  298. /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruth.js → resources/connectors/client/requests/ResumeConnectorsRequest.js} +0 -0
  299. /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthAnswer.js → resources/context/client/requests/ChunksContextRequest.js} +0 -0
  300. /package/dist/api/{types/FeedbackSubmitRequestGroundTruthGroundTruthSourceIds.js → resources/context/client/requests/ProfileContextRequest.js} +0 -0
@@ -0,0 +1,10 @@
1
+ import type * as HydraDB from "../../../../../api/index.js";
2
+ import * as core from "../../../../../core/index.js";
3
+ import type * as serializers from "../../../../index.js";
4
+ export declare const HandlerInstructionsUpdateReq: core.serialization.Schema<serializers.HandlerInstructionsUpdateReq.Raw, Omit<HydraDB.HandlerInstructionsUpdateReq, "database">>;
5
+ export declare namespace HandlerInstructionsUpdateReq {
6
+ interface Raw {
7
+ collections?: Record<string, string | null> | null;
8
+ custom_instructions?: (string | null | undefined) | null;
9
+ }
10
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.HandlerInstructionsUpdateReq = void 0;
38
+ const core = __importStar(require("../../../../../core/index.js"));
39
+ exports.HandlerInstructionsUpdateReq = core.serialization.object({
40
+ collections: core.serialization
41
+ .record(core.serialization.string(), core.serialization.string().nullable())
42
+ .optional(),
43
+ customInstructions: core.serialization.property("custom_instructions", core.serialization.string().optionalNullable()),
44
+ });
@@ -1,6 +1,7 @@
1
1
  import type * as HydraDB from "../../../../../api/index.js";
2
2
  import * as core from "../../../../../core/index.js";
3
3
  import type * as serializers from "../../../../index.js";
4
+ import { GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout } from "../../../../types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js";
4
5
  import { TenantsCustomPropertyDefinition } from "../../../../types/TenantsCustomPropertyDefinition.js";
5
6
  export declare const TenantsTenantCreateRequest: core.serialization.Schema<serializers.TenantsTenantCreateRequest.Raw, HydraDB.TenantsTenantCreateRequest>;
6
7
  export declare namespace TenantsTenantCreateRequest {
@@ -11,5 +12,6 @@ export declare namespace TenantsTenantCreateRequest {
11
12
  is_embeddings_tenant?: boolean | null;
12
13
  tenant_id?: string | null;
13
14
  tenant_metadata_schema?: TenantsCustomPropertyDefinition.Raw[] | null;
15
+ type?: GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.Raw | null;
14
16
  }
15
17
  }
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.TenantsTenantCreateRequest = void 0;
38
38
  const core = __importStar(require("../../../../../core/index.js"));
39
+ const GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout_js_1 = require("../../../../types/GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.js");
39
40
  const TenantsCustomPropertyDefinition_js_1 = require("../../../../types/TenantsCustomPropertyDefinition.js");
40
41
  exports.TenantsTenantCreateRequest = core.serialization.object({
41
42
  database: core.serialization.string().optional(),
@@ -44,4 +45,5 @@ exports.TenantsTenantCreateRequest = core.serialization.object({
44
45
  isEmbeddingsTenant: core.serialization.property("is_embeddings_tenant", core.serialization.boolean().optional()),
45
46
  tenantId: core.serialization.property("tenant_id", core.serialization.string().optional()),
46
47
  tenantMetadataSchema: core.serialization.property("tenant_metadata_schema", core.serialization.list(TenantsCustomPropertyDefinition_js_1.TenantsCustomPropertyDefinition).optional()),
48
+ type: GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout_js_1.GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.optional(),
47
49
  });
@@ -0,0 +1,9 @@
1
+ import type * as HydraDB from "../../../../../api/index.js";
2
+ import * as core from "../../../../../core/index.js";
3
+ import type * as serializers from "../../../../index.js";
4
+ export declare const TenantsTenantRenameRequest: core.serialization.Schema<serializers.TenantsTenantRenameRequest.Raw, Omit<HydraDB.TenantsTenantRenameRequest, "database">>;
5
+ export declare namespace TenantsTenantRenameRequest {
6
+ interface Raw {
7
+ new_name: string;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.TenantsTenantRenameRequest = void 0;
38
+ const core = __importStar(require("../../../../../core/index.js"));
39
+ exports.TenantsTenantRenameRequest = core.serialization.object({
40
+ newName: core.serialization.property("new_name", core.serialization.string()),
41
+ });
@@ -1,2 +1,4 @@
1
+ export { HandlerInstructionsUpdateReq } from "./HandlerInstructionsUpdateReq.js";
1
2
  export { TenantsTenantCreateRequest } from "./TenantsTenantCreateRequest.js";
2
3
  export { TenantsTenantMetadataSchemaUpdateRequest } from "./TenantsTenantMetadataSchemaUpdateRequest.js";
4
+ export { TenantsTenantRenameRequest } from "./TenantsTenantRenameRequest.js";
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TenantsTenantMetadataSchemaUpdateRequest = exports.TenantsTenantCreateRequest = void 0;
3
+ exports.TenantsTenantRenameRequest = exports.TenantsTenantMetadataSchemaUpdateRequest = exports.TenantsTenantCreateRequest = exports.HandlerInstructionsUpdateReq = void 0;
4
+ var HandlerInstructionsUpdateReq_js_1 = require("./HandlerInstructionsUpdateReq.js");
5
+ Object.defineProperty(exports, "HandlerInstructionsUpdateReq", { enumerable: true, get: function () { return HandlerInstructionsUpdateReq_js_1.HandlerInstructionsUpdateReq; } });
4
6
  var TenantsTenantCreateRequest_js_1 = require("./TenantsTenantCreateRequest.js");
5
7
  Object.defineProperty(exports, "TenantsTenantCreateRequest", { enumerable: true, get: function () { return TenantsTenantCreateRequest_js_1.TenantsTenantCreateRequest; } });
6
8
  var TenantsTenantMetadataSchemaUpdateRequest_js_1 = require("./TenantsTenantMetadataSchemaUpdateRequest.js");
7
9
  Object.defineProperty(exports, "TenantsTenantMetadataSchemaUpdateRequest", { enumerable: true, get: function () { return TenantsTenantMetadataSchemaUpdateRequest_js_1.TenantsTenantMetadataSchemaUpdateRequest; } });
10
+ var TenantsTenantRenameRequest_js_1 = require("./TenantsTenantRenameRequest.js");
11
+ Object.defineProperty(exports, "TenantsTenantRenameRequest", { enumerable: true, get: function () { return TenantsTenantRenameRequest_js_1.TenantsTenantRenameRequest; } });
@@ -0,0 +1 @@
1
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,21 @@
1
+ import type * as HydraDB from "../../../../../api/index.js";
2
+ import * as core from "../../../../../core/index.js";
3
+ import type * as serializers from "../../../../index.js";
4
+ import { FeedbackGroundTruth } from "../../../../types/FeedbackGroundTruth.js";
5
+ import { FeedbackRating } from "../../../../types/FeedbackRating.js";
6
+ import { FeedbackSource } from "../../../../types/FeedbackSource.js";
7
+ export declare const FeedbackSubmitRequest: core.serialization.Schema<serializers.FeedbackSubmitRequest.Raw, HydraDB.FeedbackSubmitRequest>;
8
+ export declare namespace FeedbackSubmitRequest {
9
+ interface Raw {
10
+ collection?: string | null;
11
+ database?: string | null;
12
+ feedback?: string | null;
13
+ ground_truth?: FeedbackGroundTruth.Raw | null;
14
+ metadata?: Record<string, string> | null;
15
+ rating?: FeedbackRating.Raw | null;
16
+ request_id: string;
17
+ source?: FeedbackSource.Raw | null;
18
+ sub_tenant_id?: string | null;
19
+ tenant_id?: string | null;
20
+ }
21
+ }
@@ -35,7 +35,19 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.FeedbackSubmitRequest = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- const FeedbackSubmitRequestFeedback_js_1 = require("./FeedbackSubmitRequestFeedback.js");
40
- const FeedbackSubmitRequestGroundTruth_js_1 = require("./FeedbackSubmitRequestGroundTruth.js");
41
- exports.FeedbackSubmitRequest = core.serialization.undiscriminatedUnion([FeedbackSubmitRequestFeedback_js_1.FeedbackSubmitRequestFeedback, FeedbackSubmitRequestGroundTruth_js_1.FeedbackSubmitRequestGroundTruth]);
38
+ const core = __importStar(require("../../../../../core/index.js"));
39
+ const FeedbackGroundTruth_js_1 = require("../../../../types/FeedbackGroundTruth.js");
40
+ const FeedbackRating_js_1 = require("../../../../types/FeedbackRating.js");
41
+ const FeedbackSource_js_1 = require("../../../../types/FeedbackSource.js");
42
+ exports.FeedbackSubmitRequest = core.serialization.object({
43
+ collection: core.serialization.string().optional(),
44
+ database: core.serialization.string().optional(),
45
+ feedback: core.serialization.string().optional(),
46
+ groundTruth: core.serialization.property("ground_truth", FeedbackGroundTruth_js_1.FeedbackGroundTruth.optional()),
47
+ metadata: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
48
+ rating: FeedbackRating_js_1.FeedbackRating.optional(),
49
+ requestId: core.serialization.property("request_id", core.serialization.string()),
50
+ source: FeedbackSource_js_1.FeedbackSource.optional(),
51
+ subTenantId: core.serialization.property("sub_tenant_id", core.serialization.string().optional()),
52
+ tenantId: core.serialization.property("tenant_id", core.serialization.string().optional()),
53
+ });
@@ -0,0 +1 @@
1
+ export { FeedbackSubmitRequest } from "./FeedbackSubmitRequest.js";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FeedbackSubmitRequest = void 0;
4
+ var FeedbackSubmitRequest_js_1 = require("./FeedbackSubmitRequest.js");
5
+ Object.defineProperty(exports, "FeedbackSubmitRequest", { enumerable: true, get: function () { return FeedbackSubmitRequest_js_1.FeedbackSubmitRequest; } });
@@ -0,0 +1 @@
1
+ export * from "./client/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -5,5 +5,7 @@ export * as context from "./context/index.js";
5
5
  export * from "./context/types/index.js";
6
6
  export * from "./databases/client/requests/index.js";
7
7
  export * as databases from "./databases/index.js";
8
+ export * from "./feedback/client/requests/index.js";
9
+ export * as feedback from "./feedback/index.js";
8
10
  export * from "./webhooks/client/requests/index.js";
9
11
  export * as webhooks from "./webhooks/index.js";
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.webhooks = exports.databases = exports.context = exports.connectors = void 0;
39
+ exports.webhooks = exports.feedback = exports.databases = exports.context = exports.connectors = void 0;
40
40
  __exportStar(require("./connectors/client/requests/index.js"), exports);
41
41
  exports.connectors = __importStar(require("./connectors/index.js"));
42
42
  __exportStar(require("./context/client/requests/index.js"), exports);
@@ -44,5 +44,7 @@ exports.context = __importStar(require("./context/index.js"));
44
44
  __exportStar(require("./context/types/index.js"), exports);
45
45
  __exportStar(require("./databases/client/requests/index.js"), exports);
46
46
  exports.databases = __importStar(require("./databases/index.js"));
47
+ __exportStar(require("./feedback/client/requests/index.js"), exports);
48
+ exports.feedback = __importStar(require("./feedback/index.js"));
47
49
  __exportStar(require("./webhooks/client/requests/index.js"), exports);
48
50
  exports.webhooks = __importStar(require("./webhooks/index.js"));
@@ -6,8 +6,11 @@ export declare namespace ConnectorsResource {
6
6
  interface Raw {
7
7
  acl?: string[] | null;
8
8
  acl_fingerprint?: string | null;
9
+ acl_warning?: string | null;
10
+ acl_warning_at?: string | null;
9
11
  additional_metadata?: Record<string, unknown> | null;
10
12
  backfill_chunk_interval_seconds?: number | null;
13
+ backfill_floor?: string | null;
11
14
  backfill_next_chunk_at?: string | null;
12
15
  backfill_oldest?: string | null;
13
16
  backfill_status?: string | null;
@@ -18,6 +21,9 @@ export declare namespace ConnectorsResource {
18
21
  display_name?: string | null;
19
22
  filters?: Record<string, unknown> | null;
20
23
  metadata?: Record<string, unknown> | null;
24
+ page_acl_warning?: string | null;
25
+ page_acl_warning_at?: string | null;
26
+ page_acl_warning_run?: string | null;
21
27
  provider_cursor?: string | null;
22
28
  provider_metadata?: Record<string, unknown> | null;
23
29
  resource_id?: string | null;
@@ -39,8 +39,11 @@ const core = __importStar(require("../../core/index.js"));
39
39
  exports.ConnectorsResource = core.serialization.object({
40
40
  acl: core.serialization.list(core.serialization.string()).optional(),
41
41
  aclFingerprint: core.serialization.property("acl_fingerprint", core.serialization.string().optional()),
42
+ aclWarning: core.serialization.property("acl_warning", core.serialization.string().optional()),
43
+ aclWarningAt: core.serialization.property("acl_warning_at", core.serialization.string().optional()),
42
44
  additionalMetadata: core.serialization.property("additional_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
43
45
  backfillChunkIntervalSeconds: core.serialization.property("backfill_chunk_interval_seconds", core.serialization.number().optional()),
46
+ backfillFloor: core.serialization.property("backfill_floor", core.serialization.string().optional()),
44
47
  backfillNextChunkAt: core.serialization.property("backfill_next_chunk_at", core.serialization.string().optional()),
45
48
  backfillOldest: core.serialization.property("backfill_oldest", core.serialization.string().optional()),
46
49
  backfillStatus: core.serialization.property("backfill_status", core.serialization.string().optional()),
@@ -51,6 +54,9 @@ exports.ConnectorsResource = core.serialization.object({
51
54
  displayName: core.serialization.property("display_name", core.serialization.string().optional()),
52
55
  filters: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
53
56
  metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
57
+ pageAclWarning: core.serialization.property("page_acl_warning", core.serialization.string().optional()),
58
+ pageAclWarningAt: core.serialization.property("page_acl_warning_at", core.serialization.string().optional()),
59
+ pageAclWarningRun: core.serialization.property("page_acl_warning_run", core.serialization.string().optional()),
54
60
  providerCursor: core.serialization.property("provider_cursor", core.serialization.string().optional()),
55
61
  providerMetadata: core.serialization.property("provider_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
56
62
  resourceId: core.serialization.property("resource_id", core.serialization.string().optional()),
@@ -0,0 +1,7 @@
1
+ import type * as HydraDB from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ export declare const GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout: core.serialization.Schema<serializers.GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout.Raw, HydraDB.GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout>;
5
+ export declare namespace GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout {
6
+ type Raw = "split" | "unified";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ exports.GithubComHydradbHydradbApplicationInternalPlatformStoragelayoutLayout = core.serialization.enum_(["split", "unified"]);
@@ -22,6 +22,9 @@ export declare namespace HandlerConnectorApiView {
22
22
  needs_reauth_at?: string | null;
23
23
  needs_reauth_reason?: string | null;
24
24
  next_sync_at?: string | null;
25
+ paused?: boolean | null;
26
+ paused_at?: string | null;
27
+ paused_next_sync_at?: string | null;
25
28
  provider?: string | null;
26
29
  provider_account_scope?: string | null;
27
30
  resources_pending_first_sync?: number | null;
@@ -55,6 +55,9 @@ exports.HandlerConnectorApiView = core.serialization.object({
55
55
  needsReauthAt: core.serialization.property("needs_reauth_at", core.serialization.string().optional()),
56
56
  needsReauthReason: core.serialization.property("needs_reauth_reason", core.serialization.string().optional()),
57
57
  nextSyncAt: core.serialization.property("next_sync_at", core.serialization.string().optional()),
58
+ paused: core.serialization.boolean().optional(),
59
+ pausedAt: core.serialization.property("paused_at", core.serialization.string().optional()),
60
+ pausedNextSyncAt: core.serialization.property("paused_next_sync_at", core.serialization.string().optional()),
58
61
  provider: core.serialization.string().optional(),
59
62
  providerAccountScope: core.serialization.property("provider_account_scope", core.serialization.string().optional()),
60
63
  resourcesPendingFirstSync: core.serialization.property("resources_pending_first_sync", core.serialization.number().optional()),
@@ -24,6 +24,9 @@ export declare namespace HandlerConnectorCreateResponse {
24
24
  needs_reauth_at?: string | null;
25
25
  needs_reauth_reason?: string | null;
26
26
  next_sync_at?: string | null;
27
+ paused?: boolean | null;
28
+ paused_at?: string | null;
29
+ paused_next_sync_at?: string | null;
27
30
  provider?: string | null;
28
31
  provider_account_scope?: string | null;
29
32
  resources_pending_first_sync?: number | null;
@@ -57,6 +57,9 @@ exports.HandlerConnectorCreateResponse = core.serialization.object({
57
57
  needsReauthAt: core.serialization.property("needs_reauth_at", core.serialization.string().optional()),
58
58
  needsReauthReason: core.serialization.property("needs_reauth_reason", core.serialization.string().optional()),
59
59
  nextSyncAt: core.serialization.property("next_sync_at", core.serialization.string().optional()),
60
+ paused: core.serialization.boolean().optional(),
61
+ pausedAt: core.serialization.property("paused_at", core.serialization.string().optional()),
62
+ pausedNextSyncAt: core.serialization.property("paused_next_sync_at", core.serialization.string().optional()),
60
63
  provider: core.serialization.string().optional(),
61
64
  providerAccountScope: core.serialization.property("provider_account_scope", core.serialization.string().optional()),
62
65
  resourcesPendingFirstSync: core.serialization.property("resources_pending_first_sync", core.serialization.number().optional()),
@@ -2,10 +2,12 @@ import type * as HydraDB from "../../api/index.js";
2
2
  import * as core from "../../core/index.js";
3
3
  import type * as serializers from "../index.js";
4
4
  import { HandlerConnectorApiView } from "./HandlerConnectorApiView.js";
5
+ import { HandlerPlanCapView } from "./HandlerPlanCapView.js";
5
6
  export declare const HandlerConnectorListResponse: core.serialization.ObjectSchema<serializers.HandlerConnectorListResponse.Raw, HydraDB.HandlerConnectorListResponse>;
6
7
  export declare namespace HandlerConnectorListResponse {
7
8
  interface Raw {
8
9
  connectors?: HandlerConnectorApiView.Raw[] | null;
9
10
  health?: Record<string, string> | null;
11
+ plan_cap?: HandlerPlanCapView.Raw | null;
10
12
  }
11
13
  }
@@ -37,7 +37,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.HandlerConnectorListResponse = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
39
  const HandlerConnectorApiView_js_1 = require("./HandlerConnectorApiView.js");
40
+ const HandlerPlanCapView_js_1 = require("./HandlerPlanCapView.js");
40
41
  exports.HandlerConnectorListResponse = core.serialization.object({
41
42
  connectors: core.serialization.list(HandlerConnectorApiView_js_1.HandlerConnectorApiView).optional(),
42
43
  health: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
44
+ planCap: core.serialization.property("plan_cap", HandlerPlanCapView_js_1.HandlerPlanCapView.optional()),
43
45
  });
@@ -0,0 +1,11 @@
1
+ import type * as HydraDB from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ export declare const HandlerConnectorPauseResponse: core.serialization.ObjectSchema<serializers.HandlerConnectorPauseResponse.Raw, HydraDB.HandlerConnectorPauseResponse>;
5
+ export declare namespace HandlerConnectorPauseResponse {
6
+ interface Raw {
7
+ connector_id?: string | null;
8
+ paused?: boolean | null;
9
+ paused_at?: string | null;
10
+ }
11
+ }
@@ -34,9 +34,10 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.FeedbackSubmitRequestGroundTruth = void 0;
37
+ exports.HandlerConnectorPauseResponse = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
- const FeedbackSubmitRequestGroundTruthGroundTruth_js_1 = require("./FeedbackSubmitRequestGroundTruthGroundTruth.js");
40
- exports.FeedbackSubmitRequestGroundTruth = core.serialization.object({
41
- groundTruth: core.serialization.property("ground_truth", FeedbackSubmitRequestGroundTruthGroundTruth_js_1.FeedbackSubmitRequestGroundTruthGroundTruth),
39
+ exports.HandlerConnectorPauseResponse = core.serialization.object({
40
+ connectorId: core.serialization.property("connector_id", core.serialization.string().optional()),
41
+ paused: core.serialization.boolean().optional(),
42
+ pausedAt: core.serialization.property("paused_at", core.serialization.string().optional()),
42
43
  });
@@ -4,12 +4,16 @@ import type * as serializers from "../index.js";
4
4
  export declare const HandlerConnectorResourceStatus: core.serialization.ObjectSchema<serializers.HandlerConnectorResourceStatus.Raw, HydraDB.HandlerConnectorResourceStatus>;
5
5
  export declare namespace HandlerConnectorResourceStatus {
6
6
  interface Raw {
7
+ acl_warning?: string | null;
8
+ acl_warning_at?: string | null;
7
9
  action?: string | null;
8
10
  checked_at?: string | null;
9
11
  display_name?: string | null;
10
12
  http_status?: number | null;
11
13
  last_row_count?: number | null;
12
14
  message?: string | null;
15
+ page_acl_warning?: string | null;
16
+ page_acl_warning_at?: string | null;
13
17
  resource_id?: string | null;
14
18
  retryable?: boolean | null;
15
19
  status?: string | null;
@@ -37,12 +37,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.HandlerConnectorResourceStatus = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
39
  exports.HandlerConnectorResourceStatus = core.serialization.object({
40
+ aclWarning: core.serialization.property("acl_warning", core.serialization.string().optional()),
41
+ aclWarningAt: core.serialization.property("acl_warning_at", core.serialization.string().optional()),
40
42
  action: core.serialization.string().optional(),
41
43
  checkedAt: core.serialization.property("checked_at", core.serialization.string().optional()),
42
44
  displayName: core.serialization.property("display_name", core.serialization.string().optional()),
43
45
  httpStatus: core.serialization.property("http_status", core.serialization.number().optional()),
44
46
  lastRowCount: core.serialization.property("last_row_count", core.serialization.number().optional()),
45
47
  message: core.serialization.string().optional(),
48
+ pageAclWarning: core.serialization.property("page_acl_warning", core.serialization.string().optional()),
49
+ pageAclWarningAt: core.serialization.property("page_acl_warning_at", core.serialization.string().optional()),
46
50
  resourceId: core.serialization.property("resource_id", core.serialization.string().optional()),
47
51
  retryable: core.serialization.boolean().optional(),
48
52
  status: core.serialization.string().optional(),
@@ -3,6 +3,7 @@ import * as core from "../../core/index.js";
3
3
  import type * as serializers from "../index.js";
4
4
  import { HandlerConnectorResourceStatus } from "./HandlerConnectorResourceStatus.js";
5
5
  import { HandlerConnectorStatusError } from "./HandlerConnectorStatusError.js";
6
+ import { HandlerPlanCapView } from "./HandlerPlanCapView.js";
6
7
  export declare const HandlerConnectorStatusResponse: core.serialization.ObjectSchema<serializers.HandlerConnectorStatusResponse.Raw, HydraDB.HandlerConnectorStatusResponse>;
7
8
  export declare namespace HandlerConnectorStatusResponse {
8
9
  interface Raw {
@@ -12,6 +13,7 @@ export declare namespace HandlerConnectorStatusResponse {
12
13
  last_successful_sync_at?: string | null;
13
14
  lifecycle?: string | null;
14
15
  next_sync_at?: string | null;
16
+ plan_cap?: HandlerPlanCapView.Raw | null;
15
17
  provider?: string | null;
16
18
  resources?: HandlerConnectorResourceStatus.Raw[] | null;
17
19
  status?: string | null;
@@ -38,6 +38,7 @@ exports.HandlerConnectorStatusResponse = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
39
  const HandlerConnectorResourceStatus_js_1 = require("./HandlerConnectorResourceStatus.js");
40
40
  const HandlerConnectorStatusError_js_1 = require("./HandlerConnectorStatusError.js");
41
+ const HandlerPlanCapView_js_1 = require("./HandlerPlanCapView.js");
41
42
  exports.HandlerConnectorStatusResponse = core.serialization.object({
42
43
  connectorId: core.serialization.property("connector_id", core.serialization.string().optional()),
43
44
  error: HandlerConnectorStatusError_js_1.HandlerConnectorStatusError.optional(),
@@ -45,6 +46,7 @@ exports.HandlerConnectorStatusResponse = core.serialization.object({
45
46
  lastSuccessfulSyncAt: core.serialization.property("last_successful_sync_at", core.serialization.string().optional()),
46
47
  lifecycle: core.serialization.string().optional(),
47
48
  nextSyncAt: core.serialization.property("next_sync_at", core.serialization.string().optional()),
49
+ planCap: core.serialization.property("plan_cap", HandlerPlanCapView_js_1.HandlerPlanCapView.optional()),
48
50
  provider: core.serialization.string().optional(),
49
51
  resources: core.serialization.list(HandlerConnectorResourceStatus_js_1.HandlerConnectorResourceStatus).optional(),
50
52
  status: core.serialization.string().optional(),
@@ -0,0 +1,15 @@
1
+ import type * as HydraDB from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ import { HandlerApiError } from "./HandlerApiError.js";
5
+ import { HandlerResponseMeta } from "./HandlerResponseMeta.js";
6
+ import { SearchChunkInspectResult } from "./SearchChunkInspectResult.js";
7
+ export declare const HandlerEnvelopeSearchChunkInspectResult: core.serialization.ObjectSchema<serializers.HandlerEnvelopeSearchChunkInspectResult.Raw, HydraDB.HandlerEnvelopeSearchChunkInspectResult>;
8
+ export declare namespace HandlerEnvelopeSearchChunkInspectResult {
9
+ interface Raw {
10
+ data?: SearchChunkInspectResult.Raw | null;
11
+ error?: HandlerApiError.Raw | null;
12
+ meta?: HandlerResponseMeta.Raw | null;
13
+ success?: boolean | null;
14
+ }
15
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.HandlerEnvelopeSearchChunkInspectResult = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ const HandlerApiError_js_1 = require("./HandlerApiError.js");
40
+ const HandlerResponseMeta_js_1 = require("./HandlerResponseMeta.js");
41
+ const SearchChunkInspectResult_js_1 = require("./SearchChunkInspectResult.js");
42
+ exports.HandlerEnvelopeSearchChunkInspectResult = core.serialization.object({
43
+ data: SearchChunkInspectResult_js_1.SearchChunkInspectResult.optional(),
44
+ error: HandlerApiError_js_1.HandlerApiError.optional(),
45
+ meta: HandlerResponseMeta_js_1.HandlerResponseMeta.optional(),
46
+ success: core.serialization.boolean().optional(),
47
+ });