@hydradb/sdk 2.1.0 → 2.1.2

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 (261) hide show
  1. package/README.md +22 -23
  2. package/dist/Client.d.ts +29 -1
  3. package/dist/Client.js +124 -14
  4. package/dist/api/client/requests/ListProvidersRequest.d.ts +10 -0
  5. package/dist/api/client/requests/ListProvidersRequest.js +3 -0
  6. package/dist/api/client/requests/SearchQueryRequest.d.ts +29 -0
  7. package/dist/api/client/requests/index.d.ts +1 -0
  8. package/dist/api/errors/BadGatewayError.d.ts +6 -0
  9. package/dist/api/errors/BadGatewayError.js +54 -0
  10. package/dist/api/errors/ContentTooLargeError.d.ts +6 -0
  11. package/dist/api/errors/ContentTooLargeError.js +54 -0
  12. package/dist/api/errors/NotFoundError.d.ts +1 -2
  13. package/dist/api/errors/ServiceUnavailableError.d.ts +6 -0
  14. package/dist/api/errors/ServiceUnavailableError.js +54 -0
  15. package/dist/api/errors/UnsupportedMediaTypeError.d.ts +6 -0
  16. package/dist/api/errors/UnsupportedMediaTypeError.js +54 -0
  17. package/dist/api/errors/index.d.ts +4 -0
  18. package/dist/api/errors/index.js +4 -0
  19. package/dist/api/resources/connectors/client/Client.d.ts +238 -0
  20. package/dist/api/resources/connectors/client/Client.js +1049 -0
  21. package/dist/api/resources/connectors/client/index.d.ts +1 -0
  22. package/dist/api/resources/connectors/client/index.js +17 -0
  23. package/dist/api/resources/connectors/client/requests/DeleteConnectorsRequest.d.ts +10 -0
  24. package/dist/api/resources/connectors/client/requests/DeleteConnectorsRequest.js +3 -0
  25. package/dist/api/resources/connectors/client/requests/DeleteResourceConnectorsRequest.d.ts +13 -0
  26. package/dist/api/resources/connectors/client/requests/DeleteResourceConnectorsRequest.js +3 -0
  27. package/dist/api/resources/connectors/client/requests/DiscoverConnectorsRequest.d.ts +14 -0
  28. package/dist/api/resources/connectors/client/requests/DiscoverConnectorsRequest.js +3 -0
  29. package/dist/api/resources/connectors/client/requests/GetConnectorsRequest.d.ts +10 -0
  30. package/dist/api/resources/connectors/client/requests/GetConnectorsRequest.js +3 -0
  31. package/dist/api/resources/connectors/client/requests/HandlerConfigureReq.d.ts +32 -0
  32. package/dist/api/resources/connectors/client/requests/HandlerConfigureReq.js +3 -0
  33. package/dist/api/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +41 -0
  34. package/dist/api/resources/connectors/client/requests/HandlerConnectorCreateReq.js +3 -0
  35. package/dist/api/resources/connectors/client/requests/HandlerDiscoverPreviewReq.d.ts +21 -0
  36. package/dist/api/resources/connectors/client/requests/HandlerDiscoverPreviewReq.js +3 -0
  37. package/dist/api/resources/connectors/client/requests/HandlerResourceCreateReq.d.ts +34 -0
  38. package/dist/api/resources/connectors/client/requests/HandlerResourceCreateReq.js +3 -0
  39. package/dist/api/resources/connectors/client/requests/ListConnectorsRequest.d.ts +10 -0
  40. package/dist/api/resources/connectors/client/requests/ListConnectorsRequest.js +3 -0
  41. package/dist/api/resources/connectors/client/requests/ListResourcesConnectorsRequest.d.ts +10 -0
  42. package/dist/api/resources/connectors/client/requests/ListResourcesConnectorsRequest.js +3 -0
  43. package/dist/api/resources/connectors/client/requests/PatchConnectorsIdCredentialsRequest.d.ts +14 -0
  44. package/dist/api/resources/connectors/client/requests/PatchConnectorsIdCredentialsRequest.js +3 -0
  45. package/dist/api/resources/connectors/client/requests/SyncConnectorsRequest.d.ts +10 -0
  46. package/dist/api/resources/connectors/client/requests/SyncConnectorsRequest.js +3 -0
  47. package/dist/api/resources/connectors/client/requests/index.d.ts +12 -0
  48. package/dist/api/resources/connectors/client/requests/index.js +2 -0
  49. package/dist/api/resources/connectors/exports.d.ts +2 -0
  50. package/dist/api/resources/connectors/exports.js +21 -0
  51. package/dist/api/resources/connectors/index.d.ts +1 -0
  52. package/dist/api/resources/connectors/index.js +17 -0
  53. package/dist/api/resources/context/client/Client.d.ts +31 -20
  54. package/dist/api/resources/context/client/Client.js +113 -78
  55. package/dist/api/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +17 -2
  56. package/dist/api/resources/context/client/requests/IngestContextRequest.d.ts +6 -3
  57. package/dist/api/resources/context/client/requests/InspectContextRequest.d.ts +12 -5
  58. package/dist/api/resources/context/client/requests/ListV2ListContentRequest.d.ts +7 -1
  59. package/dist/api/resources/context/client/requests/RelationsContextRequest.d.ts +14 -6
  60. package/dist/api/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +5 -1
  61. package/dist/api/resources/context/client/requests/StatusContextRequest.d.ts +10 -3
  62. package/dist/api/resources/context/index.d.ts +1 -0
  63. package/dist/api/resources/context/index.js +1 -0
  64. package/dist/api/resources/context/types/IngestContextRequestType.d.ts +5 -0
  65. package/dist/api/resources/context/types/IngestContextRequestType.js +8 -0
  66. package/dist/api/resources/context/types/ListV2ListContentRequestType.d.ts +6 -0
  67. package/dist/api/resources/context/types/ListV2ListContentRequestType.js +9 -0
  68. package/dist/api/resources/context/types/RelationsContextRequestType.d.ts +5 -0
  69. package/dist/api/resources/context/types/RelationsContextRequestType.js +8 -0
  70. package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +6 -0
  71. package/dist/api/resources/context/types/SourcesV2SourceDeleteRequestType.js +9 -0
  72. package/dist/api/resources/context/types/index.d.ts +4 -0
  73. package/dist/api/resources/context/types/index.js +20 -0
  74. package/dist/api/resources/databases/client/Client.d.ts +23 -5
  75. package/dist/api/resources/databases/client/Client.js +96 -28
  76. package/dist/api/resources/databases/client/requests/CollectionsDatabasesRequest.d.ts +1 -1
  77. package/dist/api/resources/databases/client/requests/DeleteDatabasesRequest.d.ts +1 -1
  78. package/dist/api/resources/databases/client/requests/StatsDatabasesRequest.d.ts +1 -1
  79. package/dist/api/resources/databases/client/requests/StatusDatabasesRequest.d.ts +1 -1
  80. package/dist/api/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +5 -0
  81. package/dist/api/resources/databases/client/requests/TenantsTenantMetadataSchemaUpdateRequest.d.ts +13 -0
  82. package/dist/api/resources/databases/client/requests/TenantsTenantMetadataSchemaUpdateRequest.js +3 -0
  83. package/dist/api/resources/databases/client/requests/index.d.ts +1 -0
  84. package/dist/api/resources/index.d.ts +3 -0
  85. package/dist/api/resources/index.js +4 -1
  86. package/dist/api/resources/webhooks/client/Client.d.ts +15 -3
  87. package/dist/api/resources/webhooks/client/Client.js +19 -31
  88. package/dist/api/resources/webhooks/client/requests/GetDeliveryWebhooksRequest.d.ts +1 -1
  89. package/dist/api/resources/webhooks/client/requests/RetryDeliveryWebhooksRequest.d.ts +1 -1
  90. package/dist/api/resources/webhooks/client/requests/WebhooksWebhookRegisterRequest.d.ts +3 -0
  91. package/dist/api/types/ConnectorsConnector.d.ts +58 -0
  92. package/dist/api/types/ConnectorsConnector.js +3 -0
  93. package/dist/api/types/ConnectorsResource.d.ts +71 -0
  94. package/dist/api/types/ConnectorsResource.js +3 -0
  95. package/dist/api/types/DashboardPaginationMeta.d.ts +6 -0
  96. package/dist/api/types/FetchV2SourceFetchResponse.d.ts +10 -0
  97. package/dist/api/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +27 -0
  98. package/dist/api/types/GraphEntity.d.ts +12 -0
  99. package/dist/api/types/GraphGraphRelationsResponse.d.ts +4 -0
  100. package/dist/api/types/GraphRelationEvidence.d.ts +6 -0
  101. package/dist/api/types/GraphTripletWithEvidence.d.ts +2 -0
  102. package/dist/api/types/HandlerApiError.d.ts +2 -0
  103. package/dist/api/types/HandlerDeprecationNotice.d.ts +5 -0
  104. package/dist/api/types/HandlerEnvelopeFetchV2SourceFetchResponse.d.ts +2 -0
  105. package/dist/api/types/HandlerEnvelopeGithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +2 -0
  106. package/dist/api/types/HandlerEnvelopeGraphGraphRelationsResponse.d.ts +2 -0
  107. package/dist/api/types/HandlerEnvelopeIngestionV2BatchProcessingStatus.d.ts +2 -0
  108. package/dist/api/types/HandlerEnvelopeIngestionV2SourceUploadResponse.d.ts +2 -0
  109. package/dist/api/types/HandlerEnvelopeListV2SourceListResponse.d.ts +2 -0
  110. package/dist/api/types/HandlerEnvelopeSearchV2RetrievalResult.d.ts +2 -0
  111. package/dist/api/types/HandlerEnvelopeSourcesMemoryDeleteResponse.d.ts +2 -0
  112. package/dist/api/types/HandlerEnvelopeTenantsInfraStatusResponseV2.d.ts +2 -0
  113. package/dist/api/types/HandlerEnvelopeTenantsSubTenantIdsResponse.d.ts +2 -0
  114. package/dist/api/types/HandlerEnvelopeTenantsTenantCreateAcceptedResponse.d.ts +2 -0
  115. package/dist/api/types/HandlerEnvelopeTenantsTenantDeleteResponse.d.ts +2 -0
  116. package/dist/api/types/HandlerEnvelopeTenantsTenantIdsResponse.d.ts +2 -0
  117. package/dist/api/types/HandlerEnvelopeTenantsTenantStatsResponse.d.ts +2 -0
  118. package/dist/api/types/HandlerEnvelopeWebhooksDeliveryItem.d.ts +2 -0
  119. package/dist/api/types/HandlerEnvelopeWebhooksDeliveryListResponse.d.ts +2 -0
  120. package/dist/api/types/HandlerEnvelopeWebhooksRetryResponse.d.ts +2 -0
  121. package/dist/api/types/HandlerEnvelopeWebhooksWebhookDeleteResponse.d.ts +2 -0
  122. package/dist/api/types/HandlerEnvelopeWebhooksWebhookGetResponse.d.ts +2 -0
  123. package/dist/api/types/HandlerEnvelopeWebhooksWebhookRegisterResponse.d.ts +2 -0
  124. package/dist/api/types/HandlerEnvelopeWebhooksWebhookTestResponse.d.ts +2 -0
  125. package/dist/api/types/HandlerErrorDetail.d.ts +6 -0
  126. package/dist/api/types/HandlerErrorMeta.d.ts +6 -0
  127. package/dist/api/types/HandlerErrorMeta.js +3 -0
  128. package/dist/api/types/HandlerErrorResponse.d.ts +7 -0
  129. package/dist/api/types/HandlerMetadataSchemaUpdateResponse.d.ts +7 -0
  130. package/dist/api/types/HandlerMetadataSchemaUpdateResponse.js +3 -0
  131. package/dist/api/types/HandlerResourceMapping.d.ts +46 -0
  132. package/dist/api/types/HandlerResourceMapping.js +3 -0
  133. package/dist/api/types/HandlerResponseMeta.d.ts +12 -0
  134. package/dist/api/types/IngestionV2BatchProcessingStatus.d.ts +1 -0
  135. package/dist/api/types/IngestionV2ProcessingStatus.d.ts +6 -0
  136. package/dist/api/types/IngestionV2SourceUploadResponse.d.ts +5 -0
  137. package/dist/api/types/IngestionV2SourceUploadResultItem.d.ts +7 -0
  138. package/dist/api/types/ListSourceListResponse.d.ts +4 -0
  139. package/dist/api/types/SearchGraphContext.d.ts +3 -1
  140. package/dist/api/types/SearchPathTriplet.d.ts +3 -0
  141. package/dist/api/types/SearchScoredPathResponse.d.ts +5 -0
  142. package/dist/api/types/SearchSourceInfo.d.ts +10 -0
  143. package/dist/api/types/SearchV2Chunk.d.ts +12 -0
  144. package/dist/api/types/SearchV2RetrievalResult.d.ts +3 -0
  145. package/dist/api/types/SourcesMemoryDeleteResponse.d.ts +5 -0
  146. package/dist/api/types/SourcesSourceDeleteResultItem.d.ts +3 -0
  147. package/dist/api/types/TenantsCollectionStats.d.ts +1 -1
  148. package/dist/api/types/TenantsCustomPropertyDefinition.d.ts +7 -0
  149. package/dist/api/types/TenantsFailedTenant.d.ts +2 -0
  150. package/dist/api/types/TenantsInfraStatusResponseV2.d.ts +3 -0
  151. package/dist/api/types/TenantsInfraV2.d.ts +4 -0
  152. package/dist/api/types/TenantsSubTenantIdsResponse.d.ts +3 -0
  153. package/dist/api/types/TenantsTenantCreateAcceptedResponse.d.ts +3 -0
  154. package/dist/api/types/TenantsTenantDeleteResponse.d.ts +3 -0
  155. package/dist/api/types/TenantsTenantIdsResponse.d.ts +5 -0
  156. package/dist/api/types/TenantsTenantStatsResponse.d.ts +2 -0
  157. package/dist/api/types/TenantsVectorstoreStatusV2.d.ts +2 -0
  158. package/dist/api/types/WebhooksDeliveryItem.d.ts +10 -0
  159. package/dist/api/types/WebhooksDeliveryListResponse.d.ts +3 -0
  160. package/dist/api/types/WebhooksRetryResponse.d.ts +3 -0
  161. package/dist/api/types/WebhooksWebhookDeleteResponse.d.ts +2 -0
  162. package/dist/api/types/WebhooksWebhookGetResponse.d.ts +4 -0
  163. package/dist/api/types/WebhooksWebhookRegisterResponse.d.ts +5 -0
  164. package/dist/api/types/WebhooksWebhookTestResponse.d.ts +3 -0
  165. package/dist/api/types/index.d.ts +5 -0
  166. package/dist/api/types/index.js +5 -0
  167. package/dist/auth/BearerAuthProvider.d.ts +1 -1
  168. package/dist/helpers/buildString.js +0 -6
  169. package/dist/serialization/client/catalog.d.ts +6 -0
  170. package/dist/serialization/client/catalog.js +39 -0
  171. package/dist/serialization/client/index.d.ts +2 -0
  172. package/dist/serialization/client/index.js +25 -0
  173. package/dist/serialization/client/listProviders.d.ts +6 -0
  174. package/dist/serialization/client/listProviders.js +39 -0
  175. package/dist/serialization/client/requests/SearchQueryRequest.d.ts +2 -0
  176. package/dist/serialization/client/requests/SearchQueryRequest.js +2 -0
  177. package/dist/serialization/resources/connectors/client/configure.d.ts +6 -0
  178. package/dist/serialization/resources/connectors/client/configure.js +39 -0
  179. package/dist/serialization/resources/connectors/client/delete.d.ts +6 -0
  180. package/dist/serialization/resources/connectors/client/delete.js +39 -0
  181. package/dist/serialization/resources/connectors/client/deleteResource.d.ts +6 -0
  182. package/dist/serialization/resources/connectors/client/deleteResource.js +39 -0
  183. package/dist/serialization/resources/connectors/client/discover.d.ts +6 -0
  184. package/dist/serialization/resources/connectors/client/discover.js +39 -0
  185. package/dist/serialization/resources/connectors/client/discoverPreview.d.ts +6 -0
  186. package/dist/serialization/resources/connectors/client/discoverPreview.js +39 -0
  187. package/dist/serialization/resources/connectors/client/index.d.ts +10 -0
  188. package/dist/serialization/resources/connectors/client/index.js +49 -0
  189. package/dist/serialization/resources/connectors/client/list.d.ts +6 -0
  190. package/dist/serialization/resources/connectors/client/list.js +39 -0
  191. package/dist/serialization/resources/connectors/client/listResources.d.ts +6 -0
  192. package/dist/serialization/resources/connectors/client/listResources.js +39 -0
  193. package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.d.ts +12 -0
  194. package/dist/serialization/resources/connectors/client/requests/HandlerConfigureReq.js +44 -0
  195. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.d.ts +21 -0
  196. package/dist/serialization/resources/connectors/client/requests/HandlerConnectorCreateReq.js +53 -0
  197. package/dist/serialization/resources/connectors/client/requests/HandlerDiscoverPreviewReq.d.ts +11 -0
  198. package/dist/serialization/resources/connectors/client/requests/HandlerDiscoverPreviewReq.js +43 -0
  199. package/dist/serialization/resources/connectors/client/requests/HandlerResourceCreateReq.d.ts +19 -0
  200. package/dist/serialization/resources/connectors/client/requests/HandlerResourceCreateReq.js +51 -0
  201. package/dist/serialization/resources/connectors/client/requests/index.d.ts +4 -0
  202. package/dist/serialization/resources/connectors/client/requests/index.js +11 -0
  203. package/dist/serialization/resources/connectors/client/rotateAConnectorsStoredOAuthRefreshToken.d.ts +10 -0
  204. package/dist/serialization/resources/connectors/client/rotateAConnectorsStoredOAuthRefreshToken.js +40 -0
  205. package/dist/serialization/resources/connectors/client/sync.d.ts +6 -0
  206. package/dist/serialization/resources/connectors/client/sync.js +39 -0
  207. package/dist/serialization/resources/connectors/index.d.ts +1 -0
  208. package/dist/serialization/resources/connectors/index.js +17 -0
  209. package/dist/serialization/resources/context/client/requests/HandlerContextMetadataUpdateRequest.d.ts +4 -1
  210. package/dist/serialization/resources/context/client/requests/HandlerContextMetadataUpdateRequest.js +3 -0
  211. package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.d.ts +2 -1
  212. package/dist/serialization/resources/context/client/requests/ListV2ListContentRequest.js +2 -1
  213. package/dist/serialization/resources/context/client/requests/SourcesV2SourceDeleteRequest.d.ts +2 -1
  214. package/dist/serialization/resources/context/client/requests/SourcesV2SourceDeleteRequest.js +2 -1
  215. package/dist/serialization/resources/context/index.d.ts +1 -0
  216. package/dist/serialization/resources/context/index.js +1 -0
  217. package/dist/serialization/resources/context/types/IngestContextRequestType.d.ts +7 -0
  218. package/dist/serialization/resources/context/types/IngestContextRequestType.js +39 -0
  219. package/dist/serialization/resources/context/types/ListV2ListContentRequestType.d.ts +7 -0
  220. package/dist/serialization/resources/context/types/ListV2ListContentRequestType.js +39 -0
  221. package/dist/serialization/resources/context/types/RelationsContextRequestType.d.ts +7 -0
  222. package/dist/serialization/resources/context/types/RelationsContextRequestType.js +39 -0
  223. package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.d.ts +7 -0
  224. package/dist/serialization/resources/context/types/SourcesV2SourceDeleteRequestType.js +39 -0
  225. package/dist/serialization/resources/context/types/index.d.ts +4 -0
  226. package/dist/serialization/resources/context/types/index.js +20 -0
  227. package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.d.ts +1 -0
  228. package/dist/serialization/resources/databases/client/requests/TenantsTenantCreateRequest.js +1 -0
  229. package/dist/serialization/resources/databases/client/requests/TenantsTenantMetadataSchemaUpdateRequest.d.ts +10 -0
  230. package/dist/serialization/resources/databases/client/requests/TenantsTenantMetadataSchemaUpdateRequest.js +42 -0
  231. package/dist/serialization/resources/databases/client/requests/index.d.ts +1 -0
  232. package/dist/serialization/resources/databases/client/requests/index.js +3 -1
  233. package/dist/serialization/resources/index.d.ts +3 -0
  234. package/dist/serialization/resources/index.js +4 -1
  235. package/dist/serialization/types/ConnectorsConnector.d.ts +30 -0
  236. package/dist/serialization/types/ConnectorsConnector.js +62 -0
  237. package/dist/serialization/types/ConnectorsResource.d.ts +26 -0
  238. package/dist/serialization/types/ConnectorsResource.js +58 -0
  239. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.d.ts +4 -0
  240. package/dist/serialization/types/GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js +4 -0
  241. package/dist/serialization/types/GraphEntity.d.ts +1 -0
  242. package/dist/serialization/types/GraphEntity.js +1 -0
  243. package/dist/serialization/types/HandlerErrorMeta.d.ts +11 -0
  244. package/dist/serialization/types/HandlerErrorMeta.js +43 -0
  245. package/dist/serialization/types/HandlerErrorResponse.d.ts +6 -0
  246. package/dist/serialization/types/HandlerErrorResponse.js +6 -0
  247. package/dist/serialization/types/HandlerMetadataSchemaUpdateResponse.d.ts +11 -0
  248. package/dist/serialization/types/HandlerMetadataSchemaUpdateResponse.js +43 -0
  249. package/dist/serialization/types/HandlerResourceMapping.d.ts +17 -0
  250. package/dist/serialization/types/HandlerResourceMapping.js +49 -0
  251. package/dist/serialization/types/HandlerResponseMeta.d.ts +1 -0
  252. package/dist/serialization/types/HandlerResponseMeta.js +1 -0
  253. package/dist/serialization/types/SearchGraphContext.d.ts +0 -1
  254. package/dist/serialization/types/SearchGraphContext.js +0 -1
  255. package/dist/serialization/types/TenantsCollectionStats.d.ts +0 -1
  256. package/dist/serialization/types/TenantsCollectionStats.js +0 -1
  257. package/dist/serialization/types/TenantsInfraV2.d.ts +1 -0
  258. package/dist/serialization/types/TenantsInfraV2.js +1 -0
  259. package/dist/serialization/types/index.d.ts +5 -0
  260. package/dist/serialization/types/index.js +5 -0
  261. package/package.json +1 -1
@@ -0,0 +1,46 @@
1
+ export interface HandlerResourceMapping {
2
+ /**
3
+ * AdditionalMetadata is merged into the additional_metadata layer of every
4
+ * object synced from this resource. Provider-generated fields take precedence.
5
+ */
6
+ additionalMetadata?: Record<string, unknown>;
7
+ /**
8
+ * Collection is the canonical v2 name for the per-resource sub-tenant
9
+ * override: routes synced objects from this resource into a specific
10
+ * collection. Empty means the resource inherits the connector collection.
11
+ * SubTenantID is the deprecated alias for this field, reconciled by
12
+ * Configure before toResource runs.
13
+ */
14
+ collection?: string;
15
+ /**
16
+ * Database is the canonical v2 name for the per-resource tenant override:
17
+ * routes synced objects from this resource into a specific database.
18
+ * Empty means the resource inherits the connector database. TenantID is the
19
+ * deprecated alias for this field, reconciled by Configure before
20
+ * toResource runs.
21
+ */
22
+ database?: string;
23
+ /**
24
+ * Metadata is merged into the tenant metadata layer of every object synced
25
+ * from this resource. System fields (connector_id, provider) take precedence.
26
+ */
27
+ metadata?: Record<string, unknown>;
28
+ /** Display name for this resource. */
29
+ name?: string;
30
+ /** Resource identifier from the Discover endpoint. */
31
+ resourceId: string;
32
+ /** Type of resource within the provider (e.g. `channel`, `repo`, `linear_team`). */
33
+ resourceType?: string;
34
+ /**
35
+ * Routes synced objects from this resource into a specific sub-tenant
36
+ * partition. Overrides the connector-level sub_tenant_id. Deprecated: use
37
+ * collection.
38
+ */
39
+ subTenantId?: string;
40
+ /**
41
+ * Optional per-resource tenant override (for "route specific resources to
42
+ * different tenants"). Empty means the resource inherits the connector
43
+ * tenant. Deprecated: use database.
44
+ */
45
+ tenantId?: string;
46
+ }
@@ -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,6 +1,15 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface HandlerResponseMeta {
3
+ /**
4
+ * APIVersion echoes the version of the API that served the request (PRO-1209),
5
+ * sourced from reqmeta.APIVersion — the same value carried by OpenAPI
6
+ * info.version and /health — so a client always knows which API version
7
+ * produced a response. Always present (no omitempty).
8
+ */
9
+ apiVersion?: string;
10
+ /** Collection scope. Defaults to the default collection when omitted. Formerly `sub_tenant_id`; the `sub_tenant_id` alias is still accepted (deprecated). */
3
11
  collection?: string;
12
+ /** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
4
13
  database?: string;
5
14
  /**
6
15
  * Deprecation lists any migration nudges that apply to this request — the
@@ -10,8 +19,11 @@ export interface HandlerResponseMeta {
10
19
  * requests. A list so independent deprecations coexist without clobbering.
11
20
  */
12
21
  deprecation?: HydraDB.HandlerDeprecationNotice[];
22
+ /** Server-side processing time in milliseconds. */
13
23
  latencyMs?: number;
24
+ /** Unique identifier for this request, useful for support and tracing. */
14
25
  requestId?: string;
26
+ /** Type of the parent source (e.g. `file`, `slack`, `notion`). */
15
27
  sourceType?: string;
16
28
  subTenantId?: string;
17
29
  tenantId?: string;
@@ -1,4 +1,5 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface IngestionV2BatchProcessingStatus {
3
+ /** Per-source indexing status results. */
3
4
  statuses?: HydraDB.IngestionV2ProcessingStatus[];
4
5
  }
@@ -1,8 +1,14 @@
1
1
  export interface IngestionV2ProcessingStatus {
2
+ /** Machine-readable code for the indexing failure, empty string on success. */
2
3
  errorCode?: string;
4
+ /** Human-readable description of the indexing failure, empty string on success. */
3
5
  errorMessage?: string;
6
+ /** Unique identifier for this resource. */
4
7
  id?: string;
8
+ /** Current processing state: `queued`, `processing`, `completed`, or `failed`. */
5
9
  indexingStatus?: string;
10
+ /** Human-readable status description. */
6
11
  message?: string;
12
+ /** Whether the request succeeded. */
7
13
  success?: boolean;
8
14
  }
@@ -1,8 +1,13 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface IngestionV2SourceUploadResponse {
3
+ /** Number of uploaded files that failed to queue. */
3
4
  failedCount?: number;
5
+ /** Human-readable result message. */
4
6
  message?: string;
7
+ /** Per-item results. */
5
8
  results?: HydraDB.IngestionV2SourceUploadResultItem[];
9
+ /** Whether the request succeeded. */
6
10
  success?: boolean;
11
+ /** Number of files successfully queued for processing. */
7
12
  successCount?: number;
8
13
  }
@@ -1,10 +1,17 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface IngestionV2SourceUploadResultItem {
3
+ /** Error message for this file, empty string on success. */
3
4
  error?: string;
5
+ /** Machine-readable error classification code. */
4
6
  errorCode?: string;
7
+ /** Original filename as submitted. */
5
8
  filename?: string;
9
+ /** Unique identifier for this resource. */
6
10
  id?: string;
11
+ /** Number of graph relations extracted from this file. */
7
12
  relationsCreated?: number;
13
+ /** Error message from relation extraction, if any. */
8
14
  relationsError?: string;
15
+ /** Current lifecycle or processing state. */
9
16
  status?: HydraDB.IngestionSourceStatus;
10
17
  }
@@ -1,8 +1,12 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface ListSourceListResponse {
3
+ /** Human-readable result message. */
3
4
  message?: string;
4
5
  pagination?: HydraDB.DashboardPaginationMeta;
6
+ /** Retrieved knowledge sources or memories for this page. */
5
7
  sources?: Record<string, unknown>[];
8
+ /** Whether the request succeeded. */
6
9
  success?: boolean;
10
+ /** Total number of items across all pages. */
7
11
  total?: number;
8
12
  }
@@ -5,8 +5,10 @@ import type * as HydraDB from "../index.js";
5
5
  * instead of an empty-but-present object.
6
6
  */
7
7
  export interface SearchGraphContext {
8
+ /** Mapping from chunk ID to the relation group IDs it participates in. */
8
9
  chunkIdToGroupIds?: Record<string, string[]>;
10
+ /** Scored relation paths relevant to the query, grouped by chunk. */
9
11
  chunkRelations?: HydraDB.SearchScoredPathResponse[];
12
+ /** Scored relation paths ranked by relevance to the query. */
10
13
  queryPaths?: HydraDB.SearchScoredPathResponse[];
11
- synthesisContext?: string;
12
14
  }
@@ -1,5 +1,8 @@
1
1
  export interface SearchPathTriplet {
2
+ /** Relation properties including predicate and confidence score. */
2
3
  relation?: Record<string, unknown>;
4
+ /** Source entity of the relationship. */
3
5
  source?: Record<string, unknown>;
6
+ /** Target entity of the relationship. */
4
7
  target?: Record<string, unknown>;
5
8
  }
@@ -1,8 +1,13 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface SearchScoredPathResponse {
3
+ /** Merged text from all chunk passages in this relation path. */
3
4
  combinedContext?: string;
5
+ /** Unique identifier for this relation group. */
4
6
  groupId?: string;
7
+ /** Relevance score for this item against the query. */
5
8
  relevancyScore?: number;
9
+ /** IDs of the chunks that contribute to this relation path. */
6
10
  sourceChunkIds?: string[];
11
+ /** Knowledge-graph triplets that make up this relation path. */
7
12
  triplets?: HydraDB.SearchPathTriplet[];
8
13
  }
@@ -1,22 +1,32 @@
1
1
  export interface SearchSourceInfo {
2
+ /** Per-document free-form metadata. */
2
3
  additionalMetadata?: Record<string, unknown>;
4
+ /** Provider-assigned identifier for this source (e.g. Slack channel ID). */
3
5
  appExternalId?: string;
4
6
  /**
5
7
  * App-source fields (populated when the source comes from an app integration).
6
8
  * Default null on the wire when absent.
7
9
  */
8
10
  appKind?: string;
11
+ /** Provider name for app-sourced items (e.g. `slack`, `github`). */
9
12
  appProvider?: string;
13
+ /** Human-readable description of the source. */
10
14
  description?: string;
15
+ /** Unique identifier for this resource. */
11
16
  id?: string;
12
17
  /**
13
18
  * Pydantic aliases (see VectorStoreChunk). Source metadata defaults to {} on
14
19
  * the wire (Python default_factory=dict), unlike chunk metadata which is null.
15
20
  */
16
21
  metadata?: Record<string, unknown>;
22
+ /** Collection this source belongs to. */
17
23
  subTenantId?: string;
24
+ /** RFC3339 timestamp associated with this item. */
18
25
  timestamp?: string;
26
+ /** Title or name of the source. */
19
27
  title?: string;
28
+ /** Source content category (e.g. `knowledge`, `memory`). */
20
29
  type?: string;
30
+ /** URL to the original source, if available. */
21
31
  url?: string;
22
32
  }
@@ -4,16 +4,28 @@ export interface SearchV2Chunk {
4
4
  * tenant_metadata→metadata. FastAPI serializes by_alias, so the wire uses the aliases.
5
5
  */
6
6
  additionalMetadata?: Record<string, unknown>;
7
+ /** Text content of this chunk. */
7
8
  chunkContent?: string;
9
+ /** Unique identifier for this individual chunk. */
8
10
  chunkUuid?: string;
11
+ /** IDs of adjacent chunks pulled in as surrounding context. */
9
12
  extraContextIds?: string[];
13
+ /** Unique identifier for this resource. */
10
14
  id?: string;
15
+ /** Layout classification for this chunk (e.g. `text`, `table`, `image`). */
11
16
  layout?: string;
17
+ /** Schema-backed tenant metadata attached to the source. */
12
18
  metadata?: Record<string, unknown>;
19
+ /** Relevance score for this item against the query. */
13
20
  relevancyScore?: number;
21
+ /** RFC3339 timestamp when the source was last modified. */
14
22
  sourceLastUpdatedTime?: string;
23
+ /** Title of the parent source document. */
15
24
  sourceTitle?: string;
25
+ /** Type of the parent source (e.g. `file`, `slack`, `notion`). */
16
26
  sourceType?: string;
27
+ /** RFC3339 timestamp when the source was ingested. */
17
28
  sourceUploadTime?: string;
29
+ /** Collection this chunk belongs to. */
18
30
  subTenantId?: string;
19
31
  }
@@ -1,7 +1,10 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface SearchV2RetrievalResult {
3
+ /** Map of chunk ID to chunk content for sources declared as related by the author (query_forceful_relations). */
3
4
  additionalContext?: Record<string, HydraDB.SearchV2Chunk>;
5
+ /** Retrieved and ranked chunks from the knowledge store or memories. */
4
6
  chunks?: HydraDB.SearchV2Chunk[];
5
7
  graphContext?: HydraDB.SearchGraphContext;
8
+ /** Deduplicated source-level metadata for all returned chunks. */
6
9
  sources?: HydraDB.SearchSourceInfo[];
7
10
  }
@@ -1,8 +1,13 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface SourcesMemoryDeleteResponse {
3
+ /** Total number of items successfully deleted. */
3
4
  deletedCount?: number;
5
+ /** Human-readable result message. */
4
6
  message?: string;
7
+ /** Per-item results. */
5
8
  results?: HydraDB.SourcesSourceDeleteResultItem[];
9
+ /** Whether the request succeeded. */
6
10
  success?: boolean;
11
+ /** Number of memory items deleted. */
7
12
  userMemoryDeleted?: number;
8
13
  }
@@ -1,5 +1,8 @@
1
1
  export interface SourcesSourceDeleteResultItem {
2
+ /** Whether this specific item was deleted. */
2
3
  deleted?: boolean;
4
+ /** Error message for this item, empty string on success. */
3
5
  error?: string;
6
+ /** Unique identifier for this resource. */
4
7
  id?: string;
5
8
  }
@@ -1,4 +1,4 @@
1
1
  export interface TenantsCollectionStats {
2
- dimensions?: number;
2
+ /** Total number of indexed rows in this collection. */
3
3
  rowCount?: number;
4
4
  }
@@ -1,10 +1,17 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface TenantsCustomPropertyDefinition {
3
+ /** Milvus data type for this metadata field. */
3
4
  dataType?: HydraDB.TenantsMilvusDataType;
5
+ /** Whether to enable text analysis (tokenization) for BM25 search on this field. */
4
6
  enableAnalyzer?: boolean;
7
+ /** Whether to enable semantic (dense) embedding search on this field. */
5
8
  enableDenseEmbedding?: boolean;
9
+ /** Whether to enable exact-match filtering on this field. */
6
10
  enableMatch?: boolean;
11
+ /** Whether to enable BM25 (sparse) embedding search on this field. */
7
12
  enableSparseEmbedding?: boolean;
13
+ /** Maximum string length in bytes for VARCHAR fields. */
8
14
  maxLength?: number;
15
+ /** Field name. Immutable after database creation. */
9
16
  name?: string;
10
17
  }
@@ -1,5 +1,7 @@
1
1
  export interface TenantsFailedTenant {
2
+ /** Database identifier that failed provisioning. */
2
3
  database?: string;
4
+ /** Error message explaining why the database failed. */
3
5
  error?: string;
4
6
  tenantId?: string;
5
7
  }
@@ -1,8 +1,11 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface TenantsInfraStatusResponseV2 {
3
+ /** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
3
4
  database?: string;
4
5
  infra?: HydraDB.TenantsInfraV2;
6
+ /** Human-readable result message. */
5
7
  message?: string;
8
+ /** Organization that owns this resource. */
6
9
  orgId?: string;
7
10
  tenantId?: string;
8
11
  }
@@ -1,6 +1,10 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface TenantsInfraV2 {
3
+ /** Whether the graph store is healthy for this database. */
3
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. */
6
+ readyForIngestion?: boolean;
7
+ /** Whether the sync scheduler is healthy for this database. */
4
8
  schedulerStatus?: boolean;
5
9
  vectorstoreStatus?: HydraDB.TenantsVectorstoreStatusV2;
6
10
  }
@@ -1,5 +1,8 @@
1
1
  export interface TenantsSubTenantIdsResponse {
2
+ /** List of collection identifiers for this database. */
2
3
  collections?: string[];
4
+ /** Human-readable result message. */
3
5
  message?: string;
6
+ /** Deprecated alias for `collections`. */
4
7
  subTenantIds?: string[];
5
8
  }
@@ -1,6 +1,9 @@
1
1
  export interface TenantsTenantCreateAcceptedResponse {
2
+ /** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
2
3
  database?: string;
4
+ /** Human-readable result message. */
3
5
  message?: string;
6
+ /** Current lifecycle or processing state. */
4
7
  status?: string;
5
8
  tenantId?: string;
6
9
  }
@@ -1,6 +1,9 @@
1
1
  export interface TenantsTenantDeleteResponse {
2
+ /** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
2
3
  database?: string;
4
+ /** Human-readable result message. */
3
5
  message?: string;
6
+ /** Current lifecycle or processing state. */
4
7
  status?: string;
5
8
  tenantId?: string;
6
9
  }
@@ -1,8 +1,13 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface TenantsTenantIdsResponse {
3
+ /** List of database identifiers. */
3
4
  databases?: string[];
5
+ /** Databases that failed provisioning, with error details. */
4
6
  failedDatabases?: HydraDB.TenantsFailedTenant[];
7
+ /** Deprecated alias for `failed_databases`. */
5
8
  failedTenantIds?: HydraDB.TenantsFailedTenant[];
9
+ /** Human-readable result message. */
6
10
  message?: string;
11
+ /** Deprecated alias for `databases`. */
7
12
  tenantIds?: string[];
8
13
  }
@@ -1,8 +1,10 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface TenantsTenantStatsResponse {
3
+ /** Owning database. Formerly `tenant_id`; the `tenant_id` alias is still accepted (deprecated). */
3
4
  database?: string;
4
5
  knowledgeCollection?: HydraDB.TenantsCollectionStats;
5
6
  memoryCollection?: HydraDB.TenantsCollectionStats;
7
+ /** Human-readable result message. */
6
8
  message?: string;
7
9
  tenantId?: string;
8
10
  }
@@ -1,4 +1,6 @@
1
1
  export interface TenantsVectorstoreStatusV2 {
2
+ /** Whether the knowledge vector store is healthy. */
2
3
  knowledge?: boolean;
4
+ /** Whether the memories vector store is healthy. */
3
5
  memories?: boolean;
4
6
  }
@@ -1,12 +1,22 @@
1
1
  export interface WebhooksDeliveryItem {
2
+ /** Number of delivery attempts made. */
2
3
  attempts?: number;
4
+ /** RFC3339 timestamp when this item was created. */
3
5
  createdAt?: string;
6
+ /** Unique identifier for this webhook delivery attempt. */
4
7
  deliveryId?: string;
8
+ /** Source ID that triggered this delivery. */
5
9
  docId?: string;
10
+ /** Machine-readable error code, empty string on success. */
6
11
  errorCode?: string;
12
+ /** Human-readable error description, empty string on success. */
7
13
  errorMessage?: string;
14
+ /** Event that triggered this delivery (e.g. `indexing.status_changed`). */
8
15
  eventType?: string;
16
+ /** Current processing state: `queued`, `processing`, `completed`, or `failed`. */
9
17
  indexingStatus?: string;
18
+ /** Current delivery status (e.g. `completed`, `failed`, `permanently_failed`). */
10
19
  status?: string;
20
+ /** RFC3339 timestamp of the most recent update. */
11
21
  updatedAt?: string;
12
22
  }
@@ -1,6 +1,9 @@
1
1
  import type * as HydraDB from "../index.js";
2
2
  export interface WebhooksDeliveryListResponse {
3
+ /** Total number of items returned. */
3
4
  count?: number;
5
+ /** List of webhook delivery attempt records. */
4
6
  deliveries?: HydraDB.WebhooksDeliveryItem[];
7
+ /** Opaque pagination cursor for the next page; null or absent when no more pages. */
5
8
  nextCursor?: string;
6
9
  }
@@ -1,5 +1,8 @@
1
1
  export interface WebhooksRetryResponse {
2
+ /** Unique identifier for this webhook delivery attempt. */
2
3
  deliveryId?: string;
4
+ /** Human-readable result message. */
3
5
  message?: string;
6
+ /** Whether the retry was successfully queued. */
4
7
  queued?: boolean;
5
8
  }
@@ -1,4 +1,6 @@
1
1
  export interface WebhooksWebhookDeleteResponse {
2
+ /** Whether this specific item was deleted. */
2
3
  deleted?: boolean;
4
+ /** Human-readable result message. */
3
5
  message?: string;
4
6
  }
@@ -1,6 +1,10 @@
1
1
  export interface WebhooksWebhookGetResponse {
2
+ /** Event types to subscribe to (e.g. `["indexing.status_changed"]`). */
2
3
  eventTypes?: string[];
4
+ /** Whether a webhook is registered for this API key. */
3
5
  registered?: boolean;
6
+ /** Whether a signing secret has been configured for payload verification. */
4
7
  signingSecretConfigured?: boolean;
8
+ /** Registered endpoint URL that receives webhook event deliveries. */
5
9
  url?: string;
6
10
  }
@@ -1,7 +1,12 @@
1
1
  export interface WebhooksWebhookRegisterResponse {
2
+ /** Event types to subscribe to (e.g. `["indexing.status_changed"]`). */
2
3
  eventTypes?: string[];
4
+ /** Human-readable result message. */
3
5
  message?: string;
6
+ /** Whether a webhook is registered for this API key. */
4
7
  registered?: boolean;
8
+ /** Whether a signing secret has been configured for payload verification. */
5
9
  signingSecretConfigured?: boolean;
10
+ /** Registered endpoint URL that receives webhook event deliveries. */
6
11
  url?: string;
7
12
  }
@@ -1,5 +1,8 @@
1
1
  export interface WebhooksWebhookTestResponse {
2
+ /** Whether the test delivery was accepted by the endpoint. */
2
3
  delivered?: boolean;
4
+ /** Human-readable result message. */
3
5
  message?: string;
6
+ /** HTTP status code returned by the webhook endpoint. */
4
7
  statusCode?: number;
5
8
  }
@@ -1,3 +1,5 @@
1
+ export * from "./ConnectorsConnector.js";
2
+ export * from "./ConnectorsResource.js";
1
3
  export * from "./DashboardPaginationMeta.js";
2
4
  export * from "./FetchV2SourceFetchResponse.js";
3
5
  export * from "./GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js";
@@ -29,7 +31,10 @@ export * from "./HandlerEnvelopeWebhooksWebhookGetResponse.js";
29
31
  export * from "./HandlerEnvelopeWebhooksWebhookRegisterResponse.js";
30
32
  export * from "./HandlerEnvelopeWebhooksWebhookTestResponse.js";
31
33
  export * from "./HandlerErrorDetail.js";
34
+ export * from "./HandlerErrorMeta.js";
32
35
  export * from "./HandlerErrorResponse.js";
36
+ export * from "./HandlerMetadataSchemaUpdateResponse.js";
37
+ export * from "./HandlerResourceMapping.js";
33
38
  export * from "./HandlerResponseMeta.js";
34
39
  export * from "./IngestionSourceStatus.js";
35
40
  export * from "./IngestionV2BatchProcessingStatus.js";
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ConnectorsConnector.js"), exports);
18
+ __exportStar(require("./ConnectorsResource.js"), exports);
17
19
  __exportStar(require("./DashboardPaginationMeta.js"), exports);
18
20
  __exportStar(require("./FetchV2SourceFetchResponse.js"), exports);
19
21
  __exportStar(require("./GithubComHydradbHydradbApplicationInternalServiceMetadataEditResult.js"), exports);
@@ -45,7 +47,10 @@ __exportStar(require("./HandlerEnvelopeWebhooksWebhookGetResponse.js"), exports)
45
47
  __exportStar(require("./HandlerEnvelopeWebhooksWebhookRegisterResponse.js"), exports);
46
48
  __exportStar(require("./HandlerEnvelopeWebhooksWebhookTestResponse.js"), exports);
47
49
  __exportStar(require("./HandlerErrorDetail.js"), exports);
50
+ __exportStar(require("./HandlerErrorMeta.js"), exports);
48
51
  __exportStar(require("./HandlerErrorResponse.js"), exports);
52
+ __exportStar(require("./HandlerMetadataSchemaUpdateResponse.js"), exports);
53
+ __exportStar(require("./HandlerResourceMapping.js"), exports);
49
54
  __exportStar(require("./HandlerResponseMeta.js"), exports);
50
55
  __exportStar(require("./IngestionSourceStatus.js"), exports);
51
56
  __exportStar(require("./IngestionV2BatchProcessingStatus.js"), exports);
@@ -13,7 +13,7 @@ export declare namespace BearerAuthProvider {
13
13
  const AUTH_CONFIG_ERROR_MESSAGE: string;
14
14
  type Options = AuthOptions;
15
15
  type AuthOptions = {
16
- [TOKEN_PARAM]: core.Supplier<core.BearerToken>;
16
+ [TOKEN_PARAM]?: core.Supplier<core.BearerToken>;
17
17
  };
18
18
  function createInstance(options: Options): core.AuthProvider;
19
19
  }
@@ -192,12 +192,6 @@ function buildString(result) {
192
192
  const queryPathsStr = formatQueryPaths(data.graphContext);
193
193
  if (queryPathsStr)
194
194
  sections.push(queryPathsStr);
195
- // Synthesis renders independently of queryPaths so it isn't lost when only
196
- // chunkRelations are present.
197
- const synthesis = data.graphContext?.synthesisContext;
198
- if (synthesis) {
199
- sections.push(`Synthesis: ${synthesis.trim()}`);
200
- }
201
195
  return sections.length > 0
202
196
  ? sections.join("\n\n")
203
197
  : "No relevant context found.";
@@ -0,0 +1,6 @@
1
+ import * as core from "../../core/index.js";
2
+ import type * as serializers from "../index.js";
3
+ export declare const Response: core.serialization.Schema<serializers.catalog.Response.Raw, Record<string, unknown>>;
4
+ export declare namespace Response {
5
+ type Raw = Record<string, unknown>;
6
+ }
@@ -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.Response = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ exports.Response = core.serialization.record(core.serialization.string(), core.serialization.unknown());
@@ -1 +1,3 @@
1
+ export * as catalog from "./catalog.js";
2
+ export * as listProviders from "./listProviders.js";
1
3
  export * from "./requests/index.js";