@alien_intelligence/data-api-client 1.18.7 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (303) hide show
  1. package/dist/src/apis/AdminApi.d.ts +1 -1
  2. package/dist/src/apis/AdminApi.js +1 -1
  3. package/dist/src/apis/DatasetsApi.d.ts +1 -1
  4. package/dist/src/apis/DatasetsApi.js +1 -1
  5. package/dist/src/apis/DefaultApi.d.ts +1 -1
  6. package/dist/src/apis/DefaultApi.js +1 -1
  7. package/dist/src/apis/EmbeddingsApi.d.ts +1 -1
  8. package/dist/src/apis/EmbeddingsApi.js +1 -1
  9. package/dist/src/apis/EntriesApi.d.ts +21 -15
  10. package/dist/src/apis/EntriesApi.js +14 -5
  11. package/dist/src/apis/HealthApi.d.ts +5 -5
  12. package/dist/src/apis/HealthApi.js +3 -3
  13. package/dist/src/apis/PipelinesApi.d.ts +1 -1
  14. package/dist/src/apis/PipelinesApi.js +1 -1
  15. package/dist/src/apis/SearchApi.d.ts +1 -1
  16. package/dist/src/apis/SearchApi.js +1 -1
  17. package/dist/src/apis/SyncApi.d.ts +1 -1
  18. package/dist/src/apis/SyncApi.js +1 -1
  19. package/dist/src/apis/WebhooksApi.d.ts +1 -1
  20. package/dist/src/apis/WebhooksApi.js +1 -1
  21. package/dist/src/apis/WeightsApi.d.ts +1 -1
  22. package/dist/src/apis/WeightsApi.js +1 -1
  23. package/dist/src/models/AdmissionLaneHealth.d.ts +68 -0
  24. package/dist/src/models/AdmissionLaneHealth.js +74 -0
  25. package/dist/src/models/ArtifactInputConfig.d.ts +1 -1
  26. package/dist/src/models/ArtifactInputConfig.js +1 -1
  27. package/dist/src/models/BatchContentRequest.d.ts +1 -1
  28. package/dist/src/models/BatchContentRequest.js +1 -1
  29. package/dist/src/models/BatchContentResponse.d.ts +1 -1
  30. package/dist/src/models/BatchContentResponse.js +1 -1
  31. package/dist/src/models/BatchGetEntriesRequest.d.ts +1 -1
  32. package/dist/src/models/BatchGetEntriesRequest.js +1 -1
  33. package/dist/src/models/BatchGetEntriesResponse.d.ts +1 -1
  34. package/dist/src/models/BatchGetEntriesResponse.js +1 -1
  35. package/dist/src/models/ChunkSearchResponse.d.ts +1 -1
  36. package/dist/src/models/ChunkSearchResponse.js +1 -1
  37. package/dist/src/models/ChunkSearchResult.d.ts +1 -1
  38. package/dist/src/models/ChunkSearchResult.js +1 -1
  39. package/dist/src/models/CollectionInfo.d.ts +1 -1
  40. package/dist/src/models/CollectionInfo.js +1 -1
  41. package/dist/src/models/ComponentArtifact.d.ts +1 -1
  42. package/dist/src/models/ComponentArtifact.js +1 -1
  43. package/dist/src/models/ComponentListResponse.d.ts +1 -1
  44. package/dist/src/models/ComponentListResponse.js +1 -1
  45. package/dist/src/models/ComponentMetadata.d.ts +1 -1
  46. package/dist/src/models/ComponentMetadata.js +1 -1
  47. package/dist/src/models/ComponentParameter.d.ts +1 -1
  48. package/dist/src/models/ComponentParameter.js +1 -1
  49. package/dist/src/models/Dataset.d.ts +1 -1
  50. package/dist/src/models/Dataset.js +1 -1
  51. package/dist/src/models/DatasetCreateRequest.d.ts +1 -1
  52. package/dist/src/models/DatasetCreateRequest.js +1 -1
  53. package/dist/src/models/DatasetListResponse.d.ts +1 -1
  54. package/dist/src/models/DatasetListResponse.js +1 -1
  55. package/dist/src/models/DatasetPipelineConfig.d.ts +1 -1
  56. package/dist/src/models/DatasetPipelineConfig.js +1 -1
  57. package/dist/src/models/DatasetResponse.d.ts +1 -1
  58. package/dist/src/models/DatasetResponse.js +1 -1
  59. package/dist/src/models/DatasetSchemaDefinition.d.ts +1 -1
  60. package/dist/src/models/DatasetSchemaDefinition.js +1 -1
  61. package/dist/src/models/DatasetSchemaDefinitionCreate.d.ts +1 -1
  62. package/dist/src/models/DatasetSchemaDefinitionCreate.js +1 -1
  63. package/dist/src/models/DatasetSchemaOriginal.d.ts +1 -1
  64. package/dist/src/models/DatasetSchemaOriginal.js +1 -1
  65. package/dist/src/models/DatasetSchemaProcessed.d.ts +1 -1
  66. package/dist/src/models/DatasetSchemaProcessed.js +1 -1
  67. package/dist/src/models/DatasetSchemaProcessing.d.ts +1 -1
  68. package/dist/src/models/DatasetSchemaProcessing.js +1 -1
  69. package/dist/src/models/DatasetType.d.ts +1 -1
  70. package/dist/src/models/DatasetType.js +1 -1
  71. package/dist/src/models/DatasetUpdateRequest.d.ts +1 -1
  72. package/dist/src/models/DatasetUpdateRequest.js +1 -1
  73. package/dist/src/models/DatasetUpdateSchemaRequest.d.ts +1 -1
  74. package/dist/src/models/DatasetUpdateSchemaRequest.js +1 -1
  75. package/dist/src/models/Default.d.ts +1 -1
  76. package/dist/src/models/Default.js +1 -1
  77. package/dist/src/models/DeprecationNotice.d.ts +1 -1
  78. package/dist/src/models/DeprecationNotice.js +1 -1
  79. package/dist/src/models/DerivedPageReport.d.ts +1 -1
  80. package/dist/src/models/DerivedPageReport.js +1 -1
  81. package/dist/src/models/EmbeddingProvider.d.ts +1 -1
  82. package/dist/src/models/EmbeddingProvider.js +1 -1
  83. package/dist/src/models/EmbeddingPurpose.d.ts +25 -0
  84. package/dist/src/models/EmbeddingPurpose.js +51 -0
  85. package/dist/src/models/EmbeddingResponse.d.ts +1 -1
  86. package/dist/src/models/EmbeddingResponse.js +1 -1
  87. package/dist/src/models/Entry.d.ts +1 -1
  88. package/dist/src/models/Entry.js +1 -1
  89. package/dist/src/models/EntryContentResponse.d.ts +1 -1
  90. package/dist/src/models/EntryContentResponse.js +1 -1
  91. package/dist/src/models/EntryCreateRequest.d.ts +1 -1
  92. package/dist/src/models/EntryCreateRequest.js +1 -1
  93. package/dist/src/models/EntryCreateResponse.d.ts +1 -1
  94. package/dist/src/models/EntryCreateResponse.js +1 -1
  95. package/dist/src/models/EntryListPagination.d.ts +25 -0
  96. package/dist/src/models/EntryListPagination.js +51 -0
  97. package/dist/src/models/EntryManifest.d.ts +1 -1
  98. package/dist/src/models/EntryManifest.js +1 -1
  99. package/dist/src/models/EntrySearchResponse.d.ts +1 -1
  100. package/dist/src/models/EntrySearchResponse.js +1 -1
  101. package/dist/src/models/EntrySearchResult.d.ts +1 -1
  102. package/dist/src/models/EntrySearchResult.js +1 -1
  103. package/dist/src/models/EntryStatus.d.ts +1 -1
  104. package/dist/src/models/EntryStatus.js +1 -1
  105. package/dist/src/models/EntryUpdateRequest.d.ts +1 -1
  106. package/dist/src/models/EntryUpdateRequest.js +1 -1
  107. package/dist/src/models/EntryWithContent.d.ts +1 -1
  108. package/dist/src/models/EntryWithContent.js +1 -1
  109. package/dist/src/models/FigureImage.d.ts +1 -1
  110. package/dist/src/models/FigureImage.js +1 -1
  111. package/dist/src/models/FileMetadata.d.ts +1 -1
  112. package/dist/src/models/FileMetadata.js +1 -1
  113. package/dist/src/models/GenerateEmbeddingsRequest.d.ts +8 -1
  114. package/dist/src/models/GenerateEmbeddingsRequest.js +4 -1
  115. package/dist/src/models/HTTPValidationError.d.ts +1 -1
  116. package/dist/src/models/HTTPValidationError.js +1 -1
  117. package/dist/src/models/HealthResponse.d.ts +32 -8
  118. package/dist/src/models/HealthResponse.js +22 -4
  119. package/dist/src/models/IngestContractUsageResponse.d.ts +1 -1
  120. package/dist/src/models/IngestContractUsageResponse.js +1 -1
  121. package/dist/src/models/IngestContractUsageRow.d.ts +1 -1
  122. package/dist/src/models/IngestContractUsageRow.js +1 -1
  123. package/dist/src/models/KeywordSearchHit.d.ts +1 -1
  124. package/dist/src/models/KeywordSearchHit.js +1 -1
  125. package/dist/src/models/KeywordSearchRequest.d.ts +1 -1
  126. package/dist/src/models/KeywordSearchRequest.js +1 -1
  127. package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.d.ts +1 -1
  128. package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.js +1 -1
  129. package/dist/src/models/KeywordSearchResponse.d.ts +1 -1
  130. package/dist/src/models/KeywordSearchResponse.js +1 -1
  131. package/dist/src/models/MissingPageRange.d.ts +1 -1
  132. package/dist/src/models/MissingPageRange.js +1 -1
  133. package/dist/src/models/ModelInfo.d.ts +1 -1
  134. package/dist/src/models/ModelInfo.js +1 -1
  135. package/dist/src/models/MoveEntryRequest.d.ts +1 -1
  136. package/dist/src/models/MoveEntryRequest.js +1 -1
  137. package/dist/src/models/MoveEntryResponse.d.ts +1 -1
  138. package/dist/src/models/MoveEntryResponse.js +1 -1
  139. package/dist/src/models/OriginalManifest.d.ts +1 -1
  140. package/dist/src/models/OriginalManifest.js +1 -1
  141. package/dist/src/models/PageDimensions.d.ts +1 -1
  142. package/dist/src/models/PageDimensions.js +1 -1
  143. package/dist/src/models/PipelineStepConfig.d.ts +1 -1
  144. package/dist/src/models/PipelineStepConfig.js +1 -1
  145. package/dist/src/models/PresetListResponse.d.ts +1 -1
  146. package/dist/src/models/PresetListResponse.js +1 -1
  147. package/dist/src/models/ProcessedManifest.d.ts +1 -1
  148. package/dist/src/models/ProcessedManifest.js +1 -1
  149. package/dist/src/models/ProcessingManifest.d.ts +1 -1
  150. package/dist/src/models/ProcessingManifest.js +1 -1
  151. package/dist/src/models/ProcessingResetResponse.d.ts +1 -1
  152. package/dist/src/models/ProcessingResetResponse.js +1 -1
  153. package/dist/src/models/ReconcileSchemaFieldsResponse.d.ts +1 -1
  154. package/dist/src/models/ReconcileSchemaFieldsResponse.js +1 -1
  155. package/dist/src/models/RetryFailedWebhooksResponse.d.ts +1 -1
  156. package/dist/src/models/RetryFailedWebhooksResponse.js +1 -1
  157. package/dist/src/models/SaveProcessedContentRequest.d.ts +1 -1
  158. package/dist/src/models/SaveProcessedContentRequest.js +1 -1
  159. package/dist/src/models/SaveProcessedContentResponse.d.ts +1 -1
  160. package/dist/src/models/SaveProcessedContentResponse.js +1 -1
  161. package/dist/src/models/SearchSnippet.d.ts +1 -1
  162. package/dist/src/models/SearchSnippet.js +1 -1
  163. package/dist/src/models/Segment.d.ts +1 -1
  164. package/dist/src/models/Segment.js +1 -1
  165. package/dist/src/models/SnippetContext.d.ts +1 -1
  166. package/dist/src/models/SnippetContext.js +1 -1
  167. package/dist/src/models/Transcription.d.ts +1 -1
  168. package/dist/src/models/Transcription.js +1 -1
  169. package/dist/src/models/TranscriptionDocumentInfo.d.ts +1 -1
  170. package/dist/src/models/TranscriptionDocumentInfo.js +1 -1
  171. package/dist/src/models/TranscriptionPage.d.ts +1 -1
  172. package/dist/src/models/TranscriptionPage.js +1 -1
  173. package/dist/src/models/TranscriptionUsage.d.ts +1 -1
  174. package/dist/src/models/TranscriptionUsage.js +1 -1
  175. package/dist/src/models/TranscriptionWarnings.d.ts +1 -1
  176. package/dist/src/models/TranscriptionWarnings.js +1 -1
  177. package/dist/src/models/UploadFileResponse.d.ts +1 -1
  178. package/dist/src/models/UploadFileResponse.js +1 -1
  179. package/dist/src/models/ValidationError.d.ts +1 -1
  180. package/dist/src/models/ValidationError.js +1 -1
  181. package/dist/src/models/ValidationErrorLocInner.d.ts +1 -1
  182. package/dist/src/models/ValidationErrorLocInner.js +1 -1
  183. package/dist/src/models/VectorSearchRequest.d.ts +1 -1
  184. package/dist/src/models/VectorSearchRequest.js +1 -1
  185. package/dist/src/models/WebhookEndpointCreate.d.ts +1 -1
  186. package/dist/src/models/WebhookEndpointCreate.js +1 -1
  187. package/dist/src/models/WebhookEndpointResponse.d.ts +1 -1
  188. package/dist/src/models/WebhookEndpointResponse.js +1 -1
  189. package/dist/src/models/Weight.d.ts +1 -1
  190. package/dist/src/models/Weight.js +1 -1
  191. package/dist/src/models/WeightListResponse.d.ts +1 -1
  192. package/dist/src/models/WeightListResponse.js +1 -1
  193. package/dist/src/models/WeightResponse.d.ts +1 -1
  194. package/dist/src/models/WeightResponse.js +1 -1
  195. package/dist/src/models/WeightType.d.ts +1 -1
  196. package/dist/src/models/WeightType.js +1 -1
  197. package/dist/src/models/index.d.ts +3 -0
  198. package/dist/src/models/index.js +3 -0
  199. package/dist/src/runtime.d.ts +1 -1
  200. package/dist/src/runtime.js +1 -1
  201. package/package.json +1 -1
  202. package/src/README.md +2 -2
  203. package/src/package.json +1 -1
  204. package/src/src/apis/AdminApi.ts +1 -1
  205. package/src/src/apis/DatasetsApi.ts +1 -1
  206. package/src/src/apis/DefaultApi.ts +1 -1
  207. package/src/src/apis/EmbeddingsApi.ts +1 -1
  208. package/src/src/apis/EntriesApi.ts +35 -14
  209. package/src/src/apis/HealthApi.ts +5 -5
  210. package/src/src/apis/PipelinesApi.ts +1 -1
  211. package/src/src/apis/SearchApi.ts +1 -1
  212. package/src/src/apis/SyncApi.ts +1 -1
  213. package/src/src/apis/WebhooksApi.ts +1 -1
  214. package/src/src/apis/WeightsApi.ts +1 -1
  215. package/src/src/models/AdmissionLaneHealth.ts +120 -0
  216. package/src/src/models/ArtifactInputConfig.ts +1 -1
  217. package/src/src/models/BatchContentRequest.ts +1 -1
  218. package/src/src/models/BatchContentResponse.ts +1 -1
  219. package/src/src/models/BatchGetEntriesRequest.ts +1 -1
  220. package/src/src/models/BatchGetEntriesResponse.ts +1 -1
  221. package/src/src/models/ChunkSearchResponse.ts +1 -1
  222. package/src/src/models/ChunkSearchResult.ts +1 -1
  223. package/src/src/models/CollectionInfo.ts +1 -1
  224. package/src/src/models/ComponentArtifact.ts +1 -1
  225. package/src/src/models/ComponentListResponse.ts +1 -1
  226. package/src/src/models/ComponentMetadata.ts +1 -1
  227. package/src/src/models/ComponentParameter.ts +1 -1
  228. package/src/src/models/Dataset.ts +1 -1
  229. package/src/src/models/DatasetCreateRequest.ts +1 -1
  230. package/src/src/models/DatasetListResponse.ts +1 -1
  231. package/src/src/models/DatasetPipelineConfig.ts +1 -1
  232. package/src/src/models/DatasetResponse.ts +1 -1
  233. package/src/src/models/DatasetSchemaDefinition.ts +1 -1
  234. package/src/src/models/DatasetSchemaDefinitionCreate.ts +1 -1
  235. package/src/src/models/DatasetSchemaOriginal.ts +1 -1
  236. package/src/src/models/DatasetSchemaProcessed.ts +1 -1
  237. package/src/src/models/DatasetSchemaProcessing.ts +1 -1
  238. package/src/src/models/DatasetType.ts +1 -1
  239. package/src/src/models/DatasetUpdateRequest.ts +1 -1
  240. package/src/src/models/DatasetUpdateSchemaRequest.ts +1 -1
  241. package/src/src/models/Default.ts +1 -1
  242. package/src/src/models/DeprecationNotice.ts +1 -1
  243. package/src/src/models/DerivedPageReport.ts +1 -1
  244. package/src/src/models/EmbeddingProvider.ts +1 -1
  245. package/src/src/models/EmbeddingPurpose.ts +53 -0
  246. package/src/src/models/EmbeddingResponse.ts +1 -1
  247. package/src/src/models/Entry.ts +1 -1
  248. package/src/src/models/EntryContentResponse.ts +1 -1
  249. package/src/src/models/EntryCreateRequest.ts +1 -1
  250. package/src/src/models/EntryCreateResponse.ts +1 -1
  251. package/src/src/models/EntryListPagination.ts +53 -0
  252. package/src/src/models/EntryManifest.ts +1 -1
  253. package/src/src/models/EntrySearchResponse.ts +1 -1
  254. package/src/src/models/EntrySearchResult.ts +1 -1
  255. package/src/src/models/EntryStatus.ts +1 -1
  256. package/src/src/models/EntryUpdateRequest.ts +1 -1
  257. package/src/src/models/EntryWithContent.ts +1 -1
  258. package/src/src/models/FigureImage.ts +1 -1
  259. package/src/src/models/FileMetadata.ts +1 -1
  260. package/src/src/models/GenerateEmbeddingsRequest.ts +16 -1
  261. package/src/src/models/HTTPValidationError.ts +1 -1
  262. package/src/src/models/HealthResponse.ts +49 -11
  263. package/src/src/models/IngestContractUsageResponse.ts +1 -1
  264. package/src/src/models/IngestContractUsageRow.ts +1 -1
  265. package/src/src/models/KeywordSearchHit.ts +1 -1
  266. package/src/src/models/KeywordSearchRequest.ts +1 -1
  267. package/src/src/models/KeywordSearchRequestMetadataFiltersValue.ts +1 -1
  268. package/src/src/models/KeywordSearchResponse.ts +1 -1
  269. package/src/src/models/MissingPageRange.ts +1 -1
  270. package/src/src/models/ModelInfo.ts +1 -1
  271. package/src/src/models/MoveEntryRequest.ts +1 -1
  272. package/src/src/models/MoveEntryResponse.ts +1 -1
  273. package/src/src/models/OriginalManifest.ts +1 -1
  274. package/src/src/models/PageDimensions.ts +1 -1
  275. package/src/src/models/PipelineStepConfig.ts +1 -1
  276. package/src/src/models/PresetListResponse.ts +1 -1
  277. package/src/src/models/ProcessedManifest.ts +1 -1
  278. package/src/src/models/ProcessingManifest.ts +1 -1
  279. package/src/src/models/ProcessingResetResponse.ts +1 -1
  280. package/src/src/models/ReconcileSchemaFieldsResponse.ts +1 -1
  281. package/src/src/models/RetryFailedWebhooksResponse.ts +1 -1
  282. package/src/src/models/SaveProcessedContentRequest.ts +1 -1
  283. package/src/src/models/SaveProcessedContentResponse.ts +1 -1
  284. package/src/src/models/SearchSnippet.ts +1 -1
  285. package/src/src/models/Segment.ts +1 -1
  286. package/src/src/models/SnippetContext.ts +1 -1
  287. package/src/src/models/Transcription.ts +1 -1
  288. package/src/src/models/TranscriptionDocumentInfo.ts +1 -1
  289. package/src/src/models/TranscriptionPage.ts +1 -1
  290. package/src/src/models/TranscriptionUsage.ts +1 -1
  291. package/src/src/models/TranscriptionWarnings.ts +1 -1
  292. package/src/src/models/UploadFileResponse.ts +1 -1
  293. package/src/src/models/ValidationError.ts +1 -1
  294. package/src/src/models/ValidationErrorLocInner.ts +1 -1
  295. package/src/src/models/VectorSearchRequest.ts +1 -1
  296. package/src/src/models/WebhookEndpointCreate.ts +1 -1
  297. package/src/src/models/WebhookEndpointResponse.ts +1 -1
  298. package/src/src/models/Weight.ts +1 -1
  299. package/src/src/models/WeightListResponse.ts +1 -1
  300. package/src/src/models/WeightResponse.ts +1 -1
  301. package/src/src/models/WeightType.ts +1 -1
  302. package/src/src/models/index.ts +3 -0
  303. package/src/src/runtime.ts +1 -1
@@ -2,7 +2,7 @@
2
2
  * Client Data API
3
3
  * Client Cluster Data API - Manifest-based storage service
4
4
  *
5
- * The version of the OpenAPI document: 1.18.7
5
+ * The version of the OpenAPI document: 1.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Client Data API
6
6
  * Client Cluster Data API - Manifest-based storage service
7
7
  *
8
- * The version of the OpenAPI document: 1.18.7
8
+ * The version of the OpenAPI document: 1.22.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Client Data API
3
3
  * Client Cluster Data API - Manifest-based storage service
4
4
  *
5
- * The version of the OpenAPI document: 1.18.7
5
+ * The version of the OpenAPI document: 1.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Client Data API
6
6
  * Client Cluster Data API - Manifest-based storage service
7
7
  *
8
- * The version of the OpenAPI document: 1.18.7
8
+ * The version of the OpenAPI document: 1.22.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Client Data API
3
3
  * Client Cluster Data API - Manifest-based storage service
4
4
  *
5
- * The version of the OpenAPI document: 1.18.7
5
+ * The version of the OpenAPI document: 1.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Client Data API
6
6
  * Client Cluster Data API - Manifest-based storage service
7
7
  *
8
- * The version of the OpenAPI document: 1.18.7
8
+ * The version of the OpenAPI document: 1.22.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,3 +1,4 @@
1
+ export * from './AdmissionLaneHealth';
1
2
  export * from './ArtifactInputConfig';
2
3
  export * from './BatchContentRequest';
3
4
  export * from './BatchContentResponse';
@@ -27,11 +28,13 @@ export * from './Default';
27
28
  export * from './DeprecationNotice';
28
29
  export * from './DerivedPageReport';
29
30
  export * from './EmbeddingProvider';
31
+ export * from './EmbeddingPurpose';
30
32
  export * from './EmbeddingResponse';
31
33
  export * from './Entry';
32
34
  export * from './EntryContentResponse';
33
35
  export * from './EntryCreateRequest';
34
36
  export * from './EntryCreateResponse';
37
+ export * from './EntryListPagination';
35
38
  export * from './EntryManifest';
36
39
  export * from './EntrySearchResponse';
37
40
  export * from './EntrySearchResult';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
+ __exportStar(require("./AdmissionLaneHealth"), exports);
19
20
  __exportStar(require("./ArtifactInputConfig"), exports);
20
21
  __exportStar(require("./BatchContentRequest"), exports);
21
22
  __exportStar(require("./BatchContentResponse"), exports);
@@ -45,11 +46,13 @@ __exportStar(require("./Default"), exports);
45
46
  __exportStar(require("./DeprecationNotice"), exports);
46
47
  __exportStar(require("./DerivedPageReport"), exports);
47
48
  __exportStar(require("./EmbeddingProvider"), exports);
49
+ __exportStar(require("./EmbeddingPurpose"), exports);
48
50
  __exportStar(require("./EmbeddingResponse"), exports);
49
51
  __exportStar(require("./Entry"), exports);
50
52
  __exportStar(require("./EntryContentResponse"), exports);
51
53
  __exportStar(require("./EntryCreateRequest"), exports);
52
54
  __exportStar(require("./EntryCreateResponse"), exports);
55
+ __exportStar(require("./EntryListPagination"), exports);
53
56
  __exportStar(require("./EntryManifest"), exports);
54
57
  __exportStar(require("./EntrySearchResponse"), exports);
55
58
  __exportStar(require("./EntrySearchResult"), exports);
@@ -2,7 +2,7 @@
2
2
  * Client Data API
3
3
  * Client Cluster Data API - Manifest-based storage service
4
4
  *
5
- * The version of the OpenAPI document: 1.18.7
5
+ * The version of the OpenAPI document: 1.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Client Data API
6
6
  * Client Cluster Data API - Manifest-based storage service
7
7
  *
8
- * The version of the OpenAPI document: 1.18.7
8
+ * The version of the OpenAPI document: 1.22.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alien_intelligence/data-api-client",
3
- "version": "1.18.7",
3
+ "version": "1.22.0",
4
4
  "description": "TypeScript client for Data API - Auto-generated from OpenAPI spec",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
package/src/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @alien/data-api-client@1.18.7
1
+ ## @alien/data-api-client@1.22.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @alien/data-api-client@1.18.7 --save
39
+ npm install @alien/data-api-client@1.22.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/src/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alien/data-api-client",
3
- "version": "1.18.7",
3
+ "version": "1.22.0",
4
4
  "description": "OpenAPI client for @alien/data-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,6 +22,7 @@ import type {
22
22
  Entry,
23
23
  EntryCreateRequest,
24
24
  EntryCreateResponse,
25
+ EntryListPagination,
25
26
  EntryUpdateRequest,
26
27
  HTTPValidationError,
27
28
  IngestContractUsageResponse,
@@ -47,6 +48,8 @@ import {
47
48
  EntryCreateRequestToJSON,
48
49
  EntryCreateResponseFromJSON,
49
50
  EntryCreateResponseToJSON,
51
+ EntryListPaginationFromJSON,
52
+ EntryListPaginationToJSON,
50
53
  EntryUpdateRequestFromJSON,
51
54
  EntryUpdateRequestToJSON,
52
55
  HTTPValidationErrorFromJSON,
@@ -112,9 +115,12 @@ export interface IndexEntryChunksApiV1EntriesEntryIdChunksPostRequest {
112
115
 
113
116
  export interface ListEntriesApiV1EntriesGetRequest {
114
117
  datasetId: number;
115
- page?: number;
118
+ page?: number | null;
116
119
  limit?: number;
117
120
  statusFilter?: string | null;
121
+ pagination?: EntryListPagination;
122
+ cursor?: string | null;
123
+ includeTotal?: boolean | null;
118
124
  }
119
125
 
120
126
  export interface MoveEntryApiV1EntriesEntryIdMovePostRequest {
@@ -317,12 +323,15 @@ export interface EntriesApiInterface {
317
323
  indexEntryChunksApiV1EntriesEntryIdChunksPost(requestParameters: IndexEntryChunksApiV1EntriesEntryIdChunksPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: any; }>;
318
324
 
319
325
  /**
320
- * List entries for a dataset with pagination. Query parameters: - dataset_id: Dataset ID (required) - page: Page number (default: 1) - limit: Items per page (default: 20, max: 100) - status_filter: Filter by status (optional) Returns paginated list of entries.
326
+ * List a dataset\'s entries, newest first (`created_at` descending, then `id` descending). `pagination=page` (the default): `page` and `limit`. Returns `entries`, `total`, `page`, `page_size`, `total_pages` and `next_cursor`, from which a cursor walk can carry on after this page. Each page costs as much as all the pages before it. `pagination=cursor`: `limit`, and `cursor` set to the previous page\'s `next_cursor` (omitted on the first page). Returns `entries`, `page_size`, `next_cursor` (null on the last page) and `total` (null unless `include_total=true`). Every page costs the same, and a walk returns each entry that exists throughout it exactly once. Use it to read a whole dataset. Invalid values, a `cursor` this service did not issue or that belongs to another listing, and parameters of the other pagination are refused with 422. A dataset that does not exist is 404.
321
327
  * @summary List Entries
322
- * @param {number} datasetId
323
- * @param {number} [page]
324
- * @param {number} [limit]
325
- * @param {string} [statusFilter]
328
+ * @param {number} datasetId Dataset whose entries to list
329
+ * @param {number} [page] Page number, from 1 (default 1). Page pagination only.
330
+ * @param {number} [limit] Entries per page, 1 to 100.
331
+ * @param {string} [statusFilter] Only entries in this status: one of &#x60;pending&#x60;, &#x60;uploading&#x60;, &#x60;uploaded&#x60;, &#x60;processing&#x60;, &#x60;processed&#x60;, &#x60;error&#x60;.
332
+ * @param {EntryListPagination} [pagination] &#x60;page&#x60; (default): &#x60;page&#x60; and &#x60;limit&#x60;, with &#x60;total&#x60; and &#x60;total_pages&#x60;; each page costs as much as all the pages before it. &#x60;cursor&#x60;: &#x60;limit&#x60; and the &#x60;next_cursor&#x60; of the previous page; every page costs the same, and a walk returns each entry that exists throughout it exactly once. Use &#x60;cursor&#x60; to read a whole dataset.
333
+ * @param {string} [cursor] The &#x60;next_cursor&#x60; of the previous page, unchanged; omit it for the first page. Valid only with the same &#x60;dataset_id&#x60; and &#x60;status_filter&#x60;. Cursor pagination only.
334
+ * @param {boolean} [includeTotal] Also count the matching entries into &#x60;total&#x60; (default false). The count reads the whole dataset, so ask for it once, not on every page. Cursor pagination only: page pagination always counts.
326
335
  * @param {*} [options] Override http request option.
327
336
  * @throws {RequiredError}
328
337
  * @memberof EntriesApiInterface
@@ -330,13 +339,13 @@ export interface EntriesApiInterface {
330
339
  listEntriesApiV1EntriesGetRaw(requestParameters: ListEntriesApiV1EntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: any; }>>;
331
340
 
332
341
  /**
333
- * List entries for a dataset with pagination. Query parameters: - dataset_id: Dataset ID (required) - page: Page number (default: 1) - limit: Items per page (default: 20, max: 100) - status_filter: Filter by status (optional) Returns paginated list of entries.
342
+ * List a dataset\'s entries, newest first (`created_at` descending, then `id` descending). `pagination=page` (the default): `page` and `limit`. Returns `entries`, `total`, `page`, `page_size`, `total_pages` and `next_cursor`, from which a cursor walk can carry on after this page. Each page costs as much as all the pages before it. `pagination=cursor`: `limit`, and `cursor` set to the previous page\'s `next_cursor` (omitted on the first page). Returns `entries`, `page_size`, `next_cursor` (null on the last page) and `total` (null unless `include_total=true`). Every page costs the same, and a walk returns each entry that exists throughout it exactly once. Use it to read a whole dataset. Invalid values, a `cursor` this service did not issue or that belongs to another listing, and parameters of the other pagination are refused with 422. A dataset that does not exist is 404.
334
343
  * List Entries
335
344
  */
336
345
  listEntriesApiV1EntriesGet(requestParameters: ListEntriesApiV1EntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: any; }>;
337
346
 
338
347
  /**
339
- * Move an entry from its current dataset to a different dataset.
348
+ * Move an entry from its current dataset to a different dataset. The service stages the move in this request\'s transaction; this handler commits it once, and only then deletes the objects under the old prefix, so a failed commit never leaves the row pointing at keys that are gone.
340
349
  * @summary Move Entry
341
350
  * @param {number} entryId
342
351
  * @param {MoveEntryRequest} moveEntryRequest
@@ -347,7 +356,7 @@ export interface EntriesApiInterface {
347
356
  moveEntryApiV1EntriesEntryIdMovePostRaw(requestParameters: MoveEntryApiV1EntriesEntryIdMovePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MoveEntryResponse>>;
348
357
 
349
358
  /**
350
- * Move an entry from its current dataset to a different dataset.
359
+ * Move an entry from its current dataset to a different dataset. The service stages the move in this request\'s transaction; this handler commits it once, and only then deletes the objects under the old prefix, so a failed commit never leaves the row pointing at keys that are gone.
351
360
  * Move Entry
352
361
  */
353
362
  moveEntryApiV1EntriesEntryIdMovePost(requestParameters: MoveEntryApiV1EntriesEntryIdMovePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MoveEntryResponse>;
@@ -826,7 +835,7 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
826
835
  }
827
836
 
828
837
  /**
829
- * List entries for a dataset with pagination. Query parameters: - dataset_id: Dataset ID (required) - page: Page number (default: 1) - limit: Items per page (default: 20, max: 100) - status_filter: Filter by status (optional) Returns paginated list of entries.
838
+ * List a dataset\'s entries, newest first (`created_at` descending, then `id` descending). `pagination=page` (the default): `page` and `limit`. Returns `entries`, `total`, `page`, `page_size`, `total_pages` and `next_cursor`, from which a cursor walk can carry on after this page. Each page costs as much as all the pages before it. `pagination=cursor`: `limit`, and `cursor` set to the previous page\'s `next_cursor` (omitted on the first page). Returns `entries`, `page_size`, `next_cursor` (null on the last page) and `total` (null unless `include_total=true`). Every page costs the same, and a walk returns each entry that exists throughout it exactly once. Use it to read a whole dataset. Invalid values, a `cursor` this service did not issue or that belongs to another listing, and parameters of the other pagination are refused with 422. A dataset that does not exist is 404.
830
839
  * List Entries
831
840
  */
832
841
  async listEntriesApiV1EntriesGetRaw(requestParameters: ListEntriesApiV1EntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: any; }>> {
@@ -855,6 +864,18 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
855
864
  queryParameters['status_filter'] = requestParameters['statusFilter'];
856
865
  }
857
866
 
867
+ if (requestParameters['pagination'] != null) {
868
+ queryParameters['pagination'] = requestParameters['pagination'];
869
+ }
870
+
871
+ if (requestParameters['cursor'] != null) {
872
+ queryParameters['cursor'] = requestParameters['cursor'];
873
+ }
874
+
875
+ if (requestParameters['includeTotal'] != null) {
876
+ queryParameters['include_total'] = requestParameters['includeTotal'];
877
+ }
878
+
858
879
  const headerParameters: runtime.HTTPHeaders = {};
859
880
 
860
881
  const response = await this.request({
@@ -868,7 +889,7 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
868
889
  }
869
890
 
870
891
  /**
871
- * List entries for a dataset with pagination. Query parameters: - dataset_id: Dataset ID (required) - page: Page number (default: 1) - limit: Items per page (default: 20, max: 100) - status_filter: Filter by status (optional) Returns paginated list of entries.
892
+ * List a dataset\'s entries, newest first (`created_at` descending, then `id` descending). `pagination=page` (the default): `page` and `limit`. Returns `entries`, `total`, `page`, `page_size`, `total_pages` and `next_cursor`, from which a cursor walk can carry on after this page. Each page costs as much as all the pages before it. `pagination=cursor`: `limit`, and `cursor` set to the previous page\'s `next_cursor` (omitted on the first page). Returns `entries`, `page_size`, `next_cursor` (null on the last page) and `total` (null unless `include_total=true`). Every page costs the same, and a walk returns each entry that exists throughout it exactly once. Use it to read a whole dataset. Invalid values, a `cursor` this service did not issue or that belongs to another listing, and parameters of the other pagination are refused with 422. A dataset that does not exist is 404.
872
893
  * List Entries
873
894
  */
874
895
  async listEntriesApiV1EntriesGet(requestParameters: ListEntriesApiV1EntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: any; }> {
@@ -877,7 +898,7 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
877
898
  }
878
899
 
879
900
  /**
880
- * Move an entry from its current dataset to a different dataset.
901
+ * Move an entry from its current dataset to a different dataset. The service stages the move in this request\'s transaction; this handler commits it once, and only then deletes the objects under the old prefix, so a failed commit never leaves the row pointing at keys that are gone.
881
902
  * Move Entry
882
903
  */
883
904
  async moveEntryApiV1EntriesEntryIdMovePostRaw(requestParameters: MoveEntryApiV1EntriesEntryIdMovePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MoveEntryResponse>> {
@@ -913,7 +934,7 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
913
934
  }
914
935
 
915
936
  /**
916
- * Move an entry from its current dataset to a different dataset.
937
+ * Move an entry from its current dataset to a different dataset. The service stages the move in this request\'s transaction; this handler commits it once, and only then deletes the objects under the old prefix, so a failed commit never leaves the row pointing at keys that are gone.
917
938
  * Move Entry
918
939
  */
919
940
  async moveEntryApiV1EntriesEntryIdMovePost(requestParameters: MoveEntryApiV1EntriesEntryIdMovePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MoveEntryResponse> {
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,7 +23,7 @@ import * as runtime from '../runtime';
23
23
  */
24
24
  export interface HealthApiInterface {
25
25
  /**
26
- * Production-level health check endpoint. Checks all dependencies with latency measurements: - Database (PostgreSQL) - SELECT 1 query - Storage (MinIO/S3) - list_objects operation - Qdrant (Vector DB) - health check + collection info Returns: Comprehensive health status with per-service latency and overall status
26
+ * Production-level health check endpoint. Checks all dependencies with latency measurements: - Database (PostgreSQL) - SELECT 1 query - Storage (S3-compatible object storage) - one list_objects_v2 round trip - Qdrant (Vector DB) - health check + collection info Returns: Comprehensive health status with per-service latency and overall status
27
27
  * @summary Health Check
28
28
  * @param {*} [options] Override http request option.
29
29
  * @throws {RequiredError}
@@ -32,7 +32,7 @@ export interface HealthApiInterface {
32
32
  healthCheckApiV1HealthGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: any; }>>;
33
33
 
34
34
  /**
35
- * Production-level health check endpoint. Checks all dependencies with latency measurements: - Database (PostgreSQL) - SELECT 1 query - Storage (MinIO/S3) - list_objects operation - Qdrant (Vector DB) - health check + collection info Returns: Comprehensive health status with per-service latency and overall status
35
+ * Production-level health check endpoint. Checks all dependencies with latency measurements: - Database (PostgreSQL) - SELECT 1 query - Storage (S3-compatible object storage) - one list_objects_v2 round trip - Qdrant (Vector DB) - health check + collection info Returns: Comprehensive health status with per-service latency and overall status
36
36
  * Health Check
37
37
  */
38
38
  healthCheckApiV1HealthGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: any; }>;
@@ -75,7 +75,7 @@ export interface HealthApiInterface {
75
75
  export class HealthApi extends runtime.BaseAPI implements HealthApiInterface {
76
76
 
77
77
  /**
78
- * Production-level health check endpoint. Checks all dependencies with latency measurements: - Database (PostgreSQL) - SELECT 1 query - Storage (MinIO/S3) - list_objects operation - Qdrant (Vector DB) - health check + collection info Returns: Comprehensive health status with per-service latency and overall status
78
+ * Production-level health check endpoint. Checks all dependencies with latency measurements: - Database (PostgreSQL) - SELECT 1 query - Storage (S3-compatible object storage) - one list_objects_v2 round trip - Qdrant (Vector DB) - health check + collection info Returns: Comprehensive health status with per-service latency and overall status
79
79
  * Health Check
80
80
  */
81
81
  async healthCheckApiV1HealthGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: any; }>> {
@@ -94,7 +94,7 @@ export class HealthApi extends runtime.BaseAPI implements HealthApiInterface {
94
94
  }
95
95
 
96
96
  /**
97
- * Production-level health check endpoint. Checks all dependencies with latency measurements: - Database (PostgreSQL) - SELECT 1 query - Storage (MinIO/S3) - list_objects operation - Qdrant (Vector DB) - health check + collection info Returns: Comprehensive health status with per-service latency and overall status
97
+ * Production-level health check endpoint. Checks all dependencies with latency measurements: - Database (PostgreSQL) - SELECT 1 query - Storage (S3-compatible object storage) - one list_objects_v2 round trip - Qdrant (Vector DB) - health check + collection info Returns: Comprehensive health status with per-service latency and overall status
98
98
  * Health Check
99
99
  */
100
100
  async healthCheckApiV1HealthGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: any; }> {
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,120 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Client Data API
5
+ * Client Cluster Data API - Manifest-based storage service
6
+ *
7
+ * The version of the OpenAPI document: 1.22.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ * Occupancy of one (provider, purpose) concurrency lane on this data-api pod
18
+ * @export
19
+ * @interface AdmissionLaneHealth
20
+ */
21
+ export interface AdmissionLaneHealth {
22
+ /**
23
+ * Provider the lane guards
24
+ * @type {string}
25
+ * @memberof AdmissionLaneHealth
26
+ */
27
+ provider: string;
28
+ /**
29
+ * Purpose the lane serves (document or query)
30
+ * @type {string}
31
+ * @memberof AdmissionLaneHealth
32
+ */
33
+ purpose: string;
34
+ /**
35
+ * Provider calls running now
36
+ * @type {number}
37
+ * @memberof AdmissionLaneHealth
38
+ */
39
+ inFlight: number;
40
+ /**
41
+ * Most provider calls allowed at once
42
+ * @type {number}
43
+ * @memberof AdmissionLaneHealth
44
+ */
45
+ capacity: number;
46
+ /**
47
+ * Requests waiting for a slot
48
+ * @type {number}
49
+ * @memberof AdmissionLaneHealth
50
+ */
51
+ waiting: number;
52
+ /**
53
+ * How long a request waits for a slot before a 503
54
+ * @type {number}
55
+ * @memberof AdmissionLaneHealth
56
+ */
57
+ admissionWaitS: number;
58
+ /**
59
+ * Seconds left of the pause after a provider 429, during which the lane answers 503 without calling the provider. 0 when the lane is open.
60
+ * @type {number}
61
+ * @memberof AdmissionLaneHealth
62
+ */
63
+ cooldownRemainingS: number;
64
+ }
65
+
66
+ /**
67
+ * Check if a given object implements the AdmissionLaneHealth interface.
68
+ */
69
+ export function instanceOfAdmissionLaneHealth(value: object): value is AdmissionLaneHealth {
70
+ if (!('provider' in value) || value['provider'] === undefined) return false;
71
+ if (!('purpose' in value) || value['purpose'] === undefined) return false;
72
+ if (!('inFlight' in value) || value['inFlight'] === undefined) return false;
73
+ if (!('capacity' in value) || value['capacity'] === undefined) return false;
74
+ if (!('waiting' in value) || value['waiting'] === undefined) return false;
75
+ if (!('admissionWaitS' in value) || value['admissionWaitS'] === undefined) return false;
76
+ if (!('cooldownRemainingS' in value) || value['cooldownRemainingS'] === undefined) return false;
77
+ return true;
78
+ }
79
+
80
+ export function AdmissionLaneHealthFromJSON(json: any): AdmissionLaneHealth {
81
+ return AdmissionLaneHealthFromJSONTyped(json, false);
82
+ }
83
+
84
+ export function AdmissionLaneHealthFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdmissionLaneHealth {
85
+ if (json == null) {
86
+ return json;
87
+ }
88
+ return {
89
+
90
+ 'provider': json['provider'],
91
+ 'purpose': json['purpose'],
92
+ 'inFlight': json['in_flight'],
93
+ 'capacity': json['capacity'],
94
+ 'waiting': json['waiting'],
95
+ 'admissionWaitS': json['admission_wait_s'],
96
+ 'cooldownRemainingS': json['cooldown_remaining_s'],
97
+ };
98
+ }
99
+
100
+ export function AdmissionLaneHealthToJSON(json: any): AdmissionLaneHealth {
101
+ return AdmissionLaneHealthToJSONTyped(json, false);
102
+ }
103
+
104
+ export function AdmissionLaneHealthToJSONTyped(value?: AdmissionLaneHealth | null, ignoreDiscriminator: boolean = false): any {
105
+ if (value == null) {
106
+ return value;
107
+ }
108
+
109
+ return {
110
+
111
+ 'provider': value['provider'],
112
+ 'purpose': value['purpose'],
113
+ 'in_flight': value['inFlight'],
114
+ 'capacity': value['capacity'],
115
+ 'waiting': value['waiting'],
116
+ 'admission_wait_s': value['admissionWaitS'],
117
+ 'cooldown_remaining_s': value['cooldownRemainingS'],
118
+ };
119
+ }
120
+
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Client Data API
5
5
  * Client Cluster Data API - Manifest-based storage service
6
6
  *
7
- * The version of the OpenAPI document: 1.18.7
7
+ * The version of the OpenAPI document: 1.22.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).