@alien_intelligence/data-api-client 1.4.15 → 1.11.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 (288) 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 +33 -6
  10. package/dist/src/apis/EntriesApi.js +29 -3
  11. package/dist/src/apis/HealthApi.d.ts +1 -1
  12. package/dist/src/apis/HealthApi.js +1 -1
  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/ArtifactInputConfig.d.ts +1 -1
  24. package/dist/src/models/ArtifactInputConfig.js +1 -1
  25. package/dist/src/models/BatchContentRequest.d.ts +1 -1
  26. package/dist/src/models/BatchContentRequest.js +1 -1
  27. package/dist/src/models/BatchContentResponse.d.ts +1 -1
  28. package/dist/src/models/BatchContentResponse.js +1 -1
  29. package/dist/src/models/BatchGetEntriesRequest.d.ts +1 -1
  30. package/dist/src/models/BatchGetEntriesRequest.js +1 -1
  31. package/dist/src/models/BatchGetEntriesResponse.d.ts +1 -1
  32. package/dist/src/models/BatchGetEntriesResponse.js +1 -1
  33. package/dist/src/models/ChunkSearchResponse.d.ts +1 -1
  34. package/dist/src/models/ChunkSearchResponse.js +1 -1
  35. package/dist/src/models/ChunkSearchResult.d.ts +1 -1
  36. package/dist/src/models/ChunkSearchResult.js +1 -1
  37. package/dist/src/models/CollectionInfo.d.ts +1 -1
  38. package/dist/src/models/CollectionInfo.js +1 -1
  39. package/dist/src/models/ComponentArtifact.d.ts +1 -1
  40. package/dist/src/models/ComponentArtifact.js +1 -1
  41. package/dist/src/models/ComponentListResponse.d.ts +1 -1
  42. package/dist/src/models/ComponentListResponse.js +1 -1
  43. package/dist/src/models/ComponentMetadata.d.ts +1 -1
  44. package/dist/src/models/ComponentMetadata.js +1 -1
  45. package/dist/src/models/ComponentParameter.d.ts +1 -1
  46. package/dist/src/models/ComponentParameter.js +1 -1
  47. package/dist/src/models/Dataset.d.ts +1 -1
  48. package/dist/src/models/Dataset.js +1 -1
  49. package/dist/src/models/DatasetCreateRequest.d.ts +1 -1
  50. package/dist/src/models/DatasetCreateRequest.js +1 -1
  51. package/dist/src/models/DatasetListResponse.d.ts +1 -1
  52. package/dist/src/models/DatasetListResponse.js +1 -1
  53. package/dist/src/models/DatasetPipelineConfig.d.ts +1 -1
  54. package/dist/src/models/DatasetPipelineConfig.js +1 -1
  55. package/dist/src/models/DatasetResponse.d.ts +1 -1
  56. package/dist/src/models/DatasetResponse.js +1 -1
  57. package/dist/src/models/DatasetSchemaDefinition.d.ts +1 -1
  58. package/dist/src/models/DatasetSchemaDefinition.js +1 -1
  59. package/dist/src/models/DatasetSchemaOriginal.d.ts +1 -1
  60. package/dist/src/models/DatasetSchemaOriginal.js +1 -1
  61. package/dist/src/models/DatasetSchemaProcessed.d.ts +1 -1
  62. package/dist/src/models/DatasetSchemaProcessed.js +1 -1
  63. package/dist/src/models/DatasetSchemaProcessing.d.ts +1 -1
  64. package/dist/src/models/DatasetSchemaProcessing.js +1 -1
  65. package/dist/src/models/DatasetType.d.ts +1 -1
  66. package/dist/src/models/DatasetType.js +1 -1
  67. package/dist/src/models/DatasetUpdateRequest.d.ts +1 -1
  68. package/dist/src/models/DatasetUpdateRequest.js +1 -1
  69. package/dist/src/models/DatasetUpdateSchemaRequest.d.ts +1 -1
  70. package/dist/src/models/DatasetUpdateSchemaRequest.js +1 -1
  71. package/dist/src/models/Default.d.ts +1 -1
  72. package/dist/src/models/Default.js +1 -1
  73. package/dist/src/models/DeprecationNotice.d.ts +42 -0
  74. package/dist/src/models/DeprecationNotice.js +54 -0
  75. package/dist/src/models/DerivedPageReport.d.ts +85 -0
  76. package/dist/src/models/DerivedPageReport.js +74 -0
  77. package/dist/src/models/EmbeddingProvider.d.ts +1 -1
  78. package/dist/src/models/EmbeddingProvider.js +1 -1
  79. package/dist/src/models/EmbeddingResponse.d.ts +1 -1
  80. package/dist/src/models/EmbeddingResponse.js +1 -1
  81. package/dist/src/models/Entry.d.ts +1 -1
  82. package/dist/src/models/Entry.js +1 -1
  83. package/dist/src/models/EntryContentResponse.d.ts +1 -1
  84. package/dist/src/models/EntryContentResponse.js +1 -1
  85. package/dist/src/models/EntryCreateRequest.d.ts +1 -1
  86. package/dist/src/models/EntryCreateRequest.js +1 -1
  87. package/dist/src/models/EntryCreateResponse.d.ts +1 -1
  88. package/dist/src/models/EntryCreateResponse.js +1 -1
  89. package/dist/src/models/EntryManifest.d.ts +1 -1
  90. package/dist/src/models/EntryManifest.js +1 -1
  91. package/dist/src/models/EntrySearchResponse.d.ts +1 -1
  92. package/dist/src/models/EntrySearchResponse.js +1 -1
  93. package/dist/src/models/EntrySearchResult.d.ts +1 -1
  94. package/dist/src/models/EntrySearchResult.js +1 -1
  95. package/dist/src/models/EntryStatus.d.ts +1 -1
  96. package/dist/src/models/EntryStatus.js +1 -1
  97. package/dist/src/models/EntryUpdateRequest.d.ts +7 -1
  98. package/dist/src/models/EntryUpdateRequest.js +3 -1
  99. package/dist/src/models/EntryWithContent.d.ts +1 -1
  100. package/dist/src/models/EntryWithContent.js +1 -1
  101. package/dist/src/models/FigureImage.d.ts +80 -0
  102. package/dist/src/models/FigureImage.js +62 -0
  103. package/dist/src/models/FileMetadata.d.ts +1 -1
  104. package/dist/src/models/FileMetadata.js +1 -1
  105. package/dist/src/models/GenerateEmbeddingsRequest.d.ts +1 -1
  106. package/dist/src/models/GenerateEmbeddingsRequest.js +1 -1
  107. package/dist/src/models/HTTPValidationError.d.ts +1 -1
  108. package/dist/src/models/HTTPValidationError.js +1 -1
  109. package/dist/src/models/HealthResponse.d.ts +1 -1
  110. package/dist/src/models/HealthResponse.js +1 -1
  111. package/dist/src/models/IngestContractUsageResponse.d.ts +49 -0
  112. package/dist/src/models/IngestContractUsageResponse.js +59 -0
  113. package/dist/src/models/IngestContractUsageRow.d.ts +56 -0
  114. package/dist/src/models/IngestContractUsageRow.js +66 -0
  115. package/dist/src/models/KeywordSearchHit.d.ts +1 -1
  116. package/dist/src/models/KeywordSearchHit.js +1 -1
  117. package/dist/src/models/KeywordSearchRequest.d.ts +1 -1
  118. package/dist/src/models/KeywordSearchRequest.js +1 -1
  119. package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.d.ts +1 -1
  120. package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.js +1 -1
  121. package/dist/src/models/KeywordSearchResponse.d.ts +1 -1
  122. package/dist/src/models/KeywordSearchResponse.js +1 -1
  123. package/dist/src/models/MissingPageRange.d.ts +57 -0
  124. package/dist/src/models/MissingPageRange.js +58 -0
  125. package/dist/src/models/ModelInfo.d.ts +1 -1
  126. package/dist/src/models/ModelInfo.js +1 -1
  127. package/dist/src/models/MoveEntryRequest.d.ts +1 -1
  128. package/dist/src/models/MoveEntryRequest.js +1 -1
  129. package/dist/src/models/MoveEntryResponse.d.ts +1 -1
  130. package/dist/src/models/MoveEntryResponse.js +1 -1
  131. package/dist/src/models/OriginalManifest.d.ts +1 -1
  132. package/dist/src/models/OriginalManifest.js +1 -1
  133. package/dist/src/models/PageDimensions.d.ts +38 -0
  134. package/dist/src/models/PageDimensions.js +54 -0
  135. package/dist/src/models/PipelineStepConfig.d.ts +1 -1
  136. package/dist/src/models/PipelineStepConfig.js +1 -1
  137. package/dist/src/models/PresetListResponse.d.ts +1 -1
  138. package/dist/src/models/PresetListResponse.js +1 -1
  139. package/dist/src/models/ProcessedManifest.d.ts +29 -3
  140. package/dist/src/models/ProcessedManifest.js +15 -1
  141. package/dist/src/models/ProcessingManifest.d.ts +1 -1
  142. package/dist/src/models/ProcessingManifest.js +1 -1
  143. package/dist/src/models/ReconcileSchemaFieldsResponse.d.ts +1 -1
  144. package/dist/src/models/ReconcileSchemaFieldsResponse.js +1 -1
  145. package/dist/src/models/RetryFailedWebhooksResponse.d.ts +1 -1
  146. package/dist/src/models/RetryFailedWebhooksResponse.js +1 -1
  147. package/dist/src/models/SaveProcessedContentRequest.d.ts +35 -2
  148. package/dist/src/models/SaveProcessedContentRequest.js +7 -1
  149. package/dist/src/models/SaveProcessedContentResponse.d.ts +29 -1
  150. package/dist/src/models/SaveProcessedContentResponse.js +17 -1
  151. package/dist/src/models/SearchSnippet.d.ts +1 -1
  152. package/dist/src/models/SearchSnippet.js +1 -1
  153. package/dist/src/models/Segment.d.ts +93 -0
  154. package/dist/src/models/Segment.js +93 -0
  155. package/dist/src/models/SnippetContext.d.ts +1 -1
  156. package/dist/src/models/SnippetContext.js +1 -1
  157. package/dist/src/models/Transcription.d.ts +63 -0
  158. package/dist/src/models/Transcription.js +68 -0
  159. package/dist/src/models/TranscriptionDocumentInfo.d.ts +66 -0
  160. package/dist/src/models/TranscriptionDocumentInfo.js +76 -0
  161. package/dist/src/models/TranscriptionPage.d.ts +82 -0
  162. package/dist/src/models/TranscriptionPage.js +81 -0
  163. package/dist/src/models/TranscriptionUsage.d.ts +56 -0
  164. package/dist/src/models/TranscriptionUsage.js +62 -0
  165. package/dist/src/models/TranscriptionWarnings.d.ts +113 -0
  166. package/dist/src/models/TranscriptionWarnings.js +68 -0
  167. package/dist/src/models/UploadFileResponse.d.ts +1 -1
  168. package/dist/src/models/UploadFileResponse.js +1 -1
  169. package/dist/src/models/ValidationError.d.ts +1 -1
  170. package/dist/src/models/ValidationError.js +1 -1
  171. package/dist/src/models/ValidationErrorLocInner.d.ts +1 -1
  172. package/dist/src/models/ValidationErrorLocInner.js +1 -1
  173. package/dist/src/models/VectorSearchRequest.d.ts +1 -1
  174. package/dist/src/models/VectorSearchRequest.js +1 -1
  175. package/dist/src/models/WebhookEndpointCreate.d.ts +1 -1
  176. package/dist/src/models/WebhookEndpointCreate.js +1 -1
  177. package/dist/src/models/WebhookEndpointResponse.d.ts +1 -1
  178. package/dist/src/models/WebhookEndpointResponse.js +1 -1
  179. package/dist/src/models/Weight.d.ts +1 -1
  180. package/dist/src/models/Weight.js +1 -1
  181. package/dist/src/models/WeightListResponse.d.ts +1 -1
  182. package/dist/src/models/WeightListResponse.js +1 -1
  183. package/dist/src/models/WeightResponse.d.ts +1 -1
  184. package/dist/src/models/WeightResponse.js +1 -1
  185. package/dist/src/models/WeightType.d.ts +1 -1
  186. package/dist/src/models/WeightType.js +1 -1
  187. package/dist/src/models/index.d.ts +13 -0
  188. package/dist/src/models/index.js +13 -0
  189. package/dist/src/runtime.d.ts +1 -1
  190. package/dist/src/runtime.js +1 -1
  191. package/package.json +1 -1
  192. package/src/README.md +2 -2
  193. package/src/package.json +1 -1
  194. package/src/src/apis/AdminApi.ts +1 -1
  195. package/src/src/apis/DatasetsApi.ts +1 -1
  196. package/src/src/apis/DefaultApi.ts +1 -1
  197. package/src/src/apis/EmbeddingsApi.ts +1 -1
  198. package/src/src/apis/EntriesApi.ts +60 -5
  199. package/src/src/apis/HealthApi.ts +1 -1
  200. package/src/src/apis/PipelinesApi.ts +1 -1
  201. package/src/src/apis/SearchApi.ts +1 -1
  202. package/src/src/apis/SyncApi.ts +1 -1
  203. package/src/src/apis/WebhooksApi.ts +1 -1
  204. package/src/src/apis/WeightsApi.ts +1 -1
  205. package/src/src/models/ArtifactInputConfig.ts +1 -1
  206. package/src/src/models/BatchContentRequest.ts +1 -1
  207. package/src/src/models/BatchContentResponse.ts +1 -1
  208. package/src/src/models/BatchGetEntriesRequest.ts +1 -1
  209. package/src/src/models/BatchGetEntriesResponse.ts +1 -1
  210. package/src/src/models/ChunkSearchResponse.ts +1 -1
  211. package/src/src/models/ChunkSearchResult.ts +1 -1
  212. package/src/src/models/CollectionInfo.ts +1 -1
  213. package/src/src/models/ComponentArtifact.ts +1 -1
  214. package/src/src/models/ComponentListResponse.ts +1 -1
  215. package/src/src/models/ComponentMetadata.ts +1 -1
  216. package/src/src/models/ComponentParameter.ts +1 -1
  217. package/src/src/models/Dataset.ts +1 -1
  218. package/src/src/models/DatasetCreateRequest.ts +1 -1
  219. package/src/src/models/DatasetListResponse.ts +1 -1
  220. package/src/src/models/DatasetPipelineConfig.ts +1 -1
  221. package/src/src/models/DatasetResponse.ts +1 -1
  222. package/src/src/models/DatasetSchemaDefinition.ts +1 -1
  223. package/src/src/models/DatasetSchemaOriginal.ts +1 -1
  224. package/src/src/models/DatasetSchemaProcessed.ts +1 -1
  225. package/src/src/models/DatasetSchemaProcessing.ts +1 -1
  226. package/src/src/models/DatasetType.ts +1 -1
  227. package/src/src/models/DatasetUpdateRequest.ts +1 -1
  228. package/src/src/models/DatasetUpdateSchemaRequest.ts +1 -1
  229. package/src/src/models/Default.ts +1 -1
  230. package/src/src/models/DeprecationNotice.ts +79 -0
  231. package/src/src/models/DerivedPageReport.ts +137 -0
  232. package/src/src/models/EmbeddingProvider.ts +1 -1
  233. package/src/src/models/EmbeddingResponse.ts +1 -1
  234. package/src/src/models/Entry.ts +1 -1
  235. package/src/src/models/EntryContentResponse.ts +1 -1
  236. package/src/src/models/EntryCreateRequest.ts +1 -1
  237. package/src/src/models/EntryCreateResponse.ts +1 -1
  238. package/src/src/models/EntryManifest.ts +1 -1
  239. package/src/src/models/EntrySearchResponse.ts +1 -1
  240. package/src/src/models/EntrySearchResult.ts +1 -1
  241. package/src/src/models/EntryStatus.ts +1 -1
  242. package/src/src/models/EntryUpdateRequest.ts +9 -1
  243. package/src/src/models/EntryWithContent.ts +1 -1
  244. package/src/src/models/FigureImage.ts +126 -0
  245. package/src/src/models/FileMetadata.ts +1 -1
  246. package/src/src/models/GenerateEmbeddingsRequest.ts +1 -1
  247. package/src/src/models/HTTPValidationError.ts +1 -1
  248. package/src/src/models/HealthResponse.ts +1 -1
  249. package/src/src/models/IngestContractUsageResponse.ts +96 -0
  250. package/src/src/models/IngestContractUsageRow.ts +102 -0
  251. package/src/src/models/KeywordSearchHit.ts +1 -1
  252. package/src/src/models/KeywordSearchRequest.ts +1 -1
  253. package/src/src/models/KeywordSearchRequestMetadataFiltersValue.ts +1 -1
  254. package/src/src/models/KeywordSearchResponse.ts +1 -1
  255. package/src/src/models/MissingPageRange.ts +100 -0
  256. package/src/src/models/ModelInfo.ts +1 -1
  257. package/src/src/models/MoveEntryRequest.ts +1 -1
  258. package/src/src/models/MoveEntryResponse.ts +1 -1
  259. package/src/src/models/OriginalManifest.ts +1 -1
  260. package/src/src/models/PageDimensions.ts +75 -0
  261. package/src/src/models/PipelineStepConfig.ts +1 -1
  262. package/src/src/models/PresetListResponse.ts +1 -1
  263. package/src/src/models/ProcessedManifest.ts +42 -3
  264. package/src/src/models/ProcessingManifest.ts +1 -1
  265. package/src/src/models/ReconcileSchemaFieldsResponse.ts +1 -1
  266. package/src/src/models/RetryFailedWebhooksResponse.ts +1 -1
  267. package/src/src/models/SaveProcessedContentRequest.ts +52 -2
  268. package/src/src/models/SaveProcessedContentResponse.ts +44 -1
  269. package/src/src/models/SearchSnippet.ts +1 -1
  270. package/src/src/models/Segment.ts +148 -0
  271. package/src/src/models/SnippetContext.ts +1 -1
  272. package/src/src/models/Transcription.ts +133 -0
  273. package/src/src/models/TranscriptionDocumentInfo.ts +115 -0
  274. package/src/src/models/TranscriptionPage.ts +144 -0
  275. package/src/src/models/TranscriptionUsage.ts +100 -0
  276. package/src/src/models/TranscriptionWarnings.ts +171 -0
  277. package/src/src/models/UploadFileResponse.ts +1 -1
  278. package/src/src/models/ValidationError.ts +1 -1
  279. package/src/src/models/ValidationErrorLocInner.ts +1 -1
  280. package/src/src/models/VectorSearchRequest.ts +1 -1
  281. package/src/src/models/WebhookEndpointCreate.ts +1 -1
  282. package/src/src/models/WebhookEndpointResponse.ts +1 -1
  283. package/src/src/models/Weight.ts +1 -1
  284. package/src/src/models/WeightListResponse.ts +1 -1
  285. package/src/src/models/WeightResponse.ts +1 -1
  286. package/src/src/models/WeightType.ts +1 -1
  287. package/src/src/models/index.ts +13 -0
  288. 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.4.15
5
+ * The version of the OpenAPI document: 1.11.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.4.15
8
+ * The version of the OpenAPI document: 1.11.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.4.15
5
+ * The version of the OpenAPI document: 1.11.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.4.15
8
+ * The version of the OpenAPI document: 1.11.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.4.15
5
+ * The version of the OpenAPI document: 1.11.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.4.15
8
+ * The version of the OpenAPI document: 1.11.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.4.15
5
+ * The version of the OpenAPI document: 1.11.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -48,6 +48,12 @@ export interface EntryUpdateRequest {
48
48
  * @memberof EntryUpdateRequest
49
49
  */
50
50
  errorMessage?: string | null;
51
+ /**
52
+ *
53
+ * @type {number}
54
+ * @memberof EntryUpdateRequest
55
+ */
56
+ ifVersion?: number | null;
51
57
  }
52
58
  /**
53
59
  * Check if a given object implements the EntryUpdateRequest interface.
@@ -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.4.15
8
+ * The version of the OpenAPI document: 1.11.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -38,6 +38,7 @@ function EntryUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'status': json['status'] == null ? undefined : (0, EntryStatus_1.EntryStatusFromJSON)(json['status']),
39
39
  'metadata': json['metadata'] == null ? undefined : json['metadata'],
40
40
  'errorMessage': json['error_message'] == null ? undefined : json['error_message'],
41
+ 'ifVersion': json['if_version'] == null ? undefined : json['if_version'],
41
42
  };
42
43
  }
43
44
  function EntryUpdateRequestToJSON(json) {
@@ -53,5 +54,6 @@ function EntryUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
53
54
  'status': (0, EntryStatus_1.EntryStatusToJSON)(value['status']),
54
55
  'metadata': value['metadata'],
55
56
  'error_message': value['errorMessage'],
57
+ 'if_version': value['ifVersion'],
56
58
  };
57
59
  }
@@ -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.4.15
5
+ * The version of the OpenAPI document: 1.11.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.4.15
8
+ * The version of the OpenAPI document: 1.11.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Client Data API
3
+ * Client Cluster Data API - Manifest-based storage service
4
+ *
5
+ * The version of the OpenAPI document: 1.11.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * One figure crop: its id, where it sat on the page, and optionally its bytes.
14
+ *
15
+ * Typed rather than ``dict[str, Any]`` because every part of this shape is a contract
16
+ * somebody already depends on and nothing was checking: the figure linker resolves
17
+ * ``id`` with ``img-\d+\.\w+``
18
+ * (``data-pipelines/alienargo/processors/figure_linker/main.py``), and the bbox is
19
+ * what makes the crop locatable on the page it came from.
20
+ *
21
+ * **Divergence 1 of the three listed in the module docstring.** The producer
22
+ * constrains ``id`` only to be non-empty and documents the shape in prose.
23
+ * An id the linker's regex cannot resolve therefore reaches the linker and is
24
+ * dropped there, silently, with the figure's markdown reference left dangling - the
25
+ * failure the global ``img-{N}.{ext}`` renumbering exists to prevent. Refusing it at
26
+ * the write boundary turns that into a 422 naming the id.
27
+ *
28
+ * The pattern is the consumer's regex, anchored - not a tightened version of it.
29
+ * Narrowing it further (to ``[A-Za-z0-9]+``, say) would reject ids the linker would
30
+ * have resolved perfectly well, which trades one silent failure for a loud wrong one.
31
+ * @export
32
+ * @interface FigureImage
33
+ */
34
+ export interface FigureImage {
35
+ [key: string]: any | any;
36
+ /**
37
+ * Figure id, `img-{N}.{ext}` and globally sequential across the document. The figure linker matches on exactly that shape and breaks silently otherwise.
38
+ * @type {string}
39
+ * @memberof FigureImage
40
+ */
41
+ id: string;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof FigureImage
46
+ */
47
+ topLeftX?: number | null;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof FigureImage
52
+ */
53
+ topLeftY?: number | null;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof FigureImage
58
+ */
59
+ bottomRightX?: number | null;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof FigureImage
64
+ */
65
+ bottomRightY?: number | null;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof FigureImage
70
+ */
71
+ imageBase64?: string | null;
72
+ }
73
+ /**
74
+ * Check if a given object implements the FigureImage interface.
75
+ */
76
+ export declare function instanceOfFigureImage(value: object): value is FigureImage;
77
+ export declare function FigureImageFromJSON(json: any): FigureImage;
78
+ export declare function FigureImageFromJSONTyped(json: any, ignoreDiscriminator: boolean): FigureImage;
79
+ export declare function FigureImageToJSON(json: any): FigureImage;
80
+ export declare function FigureImageToJSONTyped(value?: FigureImage | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Client Data API
6
+ * Client Cluster Data API - Manifest-based storage service
7
+ *
8
+ * The version of the OpenAPI document: 1.11.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfFigureImage = instanceOfFigureImage;
17
+ exports.FigureImageFromJSON = FigureImageFromJSON;
18
+ exports.FigureImageFromJSONTyped = FigureImageFromJSONTyped;
19
+ exports.FigureImageToJSON = FigureImageToJSON;
20
+ exports.FigureImageToJSONTyped = FigureImageToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the FigureImage interface.
23
+ */
24
+ function instanceOfFigureImage(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function FigureImageFromJSON(json) {
30
+ return FigureImageFromJSONTyped(json, false);
31
+ }
32
+ function FigureImageFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ ...json,
38
+ 'id': json['id'],
39
+ 'topLeftX': json['top_left_x'] == null ? undefined : json['top_left_x'],
40
+ 'topLeftY': json['top_left_y'] == null ? undefined : json['top_left_y'],
41
+ 'bottomRightX': json['bottom_right_x'] == null ? undefined : json['bottom_right_x'],
42
+ 'bottomRightY': json['bottom_right_y'] == null ? undefined : json['bottom_right_y'],
43
+ 'imageBase64': json['image_base64'] == null ? undefined : json['image_base64'],
44
+ };
45
+ }
46
+ function FigureImageToJSON(json) {
47
+ return FigureImageToJSONTyped(json, false);
48
+ }
49
+ function FigureImageToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ ...value,
55
+ 'id': value['id'],
56
+ 'top_left_x': value['topLeftX'],
57
+ 'top_left_y': value['topLeftY'],
58
+ 'bottom_right_x': value['bottomRightX'],
59
+ 'bottom_right_y': value['bottomRightY'],
60
+ 'image_base64': value['imageBase64'],
61
+ };
62
+ }
@@ -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.4.15
5
+ * The version of the OpenAPI document: 1.11.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.4.15
8
+ * The version of the OpenAPI document: 1.11.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.4.15
5
+ * The version of the OpenAPI document: 1.11.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.4.15
8
+ * The version of the OpenAPI document: 1.11.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.4.15
5
+ * The version of the OpenAPI document: 1.11.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.4.15
8
+ * The version of the OpenAPI document: 1.11.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.4.15
5
+ * The version of the OpenAPI document: 1.11.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.4.15
8
+ * The version of the OpenAPI document: 1.11.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Client Data API
3
+ * Client Cluster Data API - Manifest-based storage service
4
+ *
5
+ * The version of the OpenAPI document: 1.11.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { IngestContractUsageRow } from './IngestContractUsageRow';
13
+ /**
14
+ * Which ingest shapes this cluster's producers actually use.
15
+ *
16
+ * Read before setting a date for refusing the legacy shape. The tenant is the cluster
17
+ * itself, so the same query run across clusters gives the per-tenant picture and this
18
+ * one gives the per-dataset detail within a tenant.
19
+ * @export
20
+ * @interface IngestContractUsageResponse
21
+ */
22
+ export interface IngestContractUsageResponse {
23
+ /**
24
+ * The tenant this cluster serves.
25
+ * @type {string}
26
+ * @memberof IngestContractUsageResponse
27
+ */
28
+ tenantId: string;
29
+ /**
30
+ * The tenant's slug.
31
+ * @type {string}
32
+ * @memberof IngestContractUsageResponse
33
+ */
34
+ tenantSlug: string;
35
+ /**
36
+ * One row per dataset and shape. A dataset absent from this list has had no processed content posted to it since counting began.
37
+ * @type {Array<IngestContractUsageRow>}
38
+ * @memberof IngestContractUsageResponse
39
+ */
40
+ usage: Array<IngestContractUsageRow>;
41
+ }
42
+ /**
43
+ * Check if a given object implements the IngestContractUsageResponse interface.
44
+ */
45
+ export declare function instanceOfIngestContractUsageResponse(value: object): value is IngestContractUsageResponse;
46
+ export declare function IngestContractUsageResponseFromJSON(json: any): IngestContractUsageResponse;
47
+ export declare function IngestContractUsageResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IngestContractUsageResponse;
48
+ export declare function IngestContractUsageResponseToJSON(json: any): IngestContractUsageResponse;
49
+ export declare function IngestContractUsageResponseToJSONTyped(value?: IngestContractUsageResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Client Data API
6
+ * Client Cluster Data API - Manifest-based storage service
7
+ *
8
+ * The version of the OpenAPI document: 1.11.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfIngestContractUsageResponse = instanceOfIngestContractUsageResponse;
17
+ exports.IngestContractUsageResponseFromJSON = IngestContractUsageResponseFromJSON;
18
+ exports.IngestContractUsageResponseFromJSONTyped = IngestContractUsageResponseFromJSONTyped;
19
+ exports.IngestContractUsageResponseToJSON = IngestContractUsageResponseToJSON;
20
+ exports.IngestContractUsageResponseToJSONTyped = IngestContractUsageResponseToJSONTyped;
21
+ const IngestContractUsageRow_1 = require("./IngestContractUsageRow");
22
+ /**
23
+ * Check if a given object implements the IngestContractUsageResponse interface.
24
+ */
25
+ function instanceOfIngestContractUsageResponse(value) {
26
+ if (!('tenantId' in value) || value['tenantId'] === undefined)
27
+ return false;
28
+ if (!('tenantSlug' in value) || value['tenantSlug'] === undefined)
29
+ return false;
30
+ if (!('usage' in value) || value['usage'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function IngestContractUsageResponseFromJSON(json) {
35
+ return IngestContractUsageResponseFromJSONTyped(json, false);
36
+ }
37
+ function IngestContractUsageResponseFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'tenantId': json['tenant_id'],
43
+ 'tenantSlug': json['tenant_slug'],
44
+ 'usage': (json['usage'].map(IngestContractUsageRow_1.IngestContractUsageRowFromJSON)),
45
+ };
46
+ }
47
+ function IngestContractUsageResponseToJSON(json) {
48
+ return IngestContractUsageResponseToJSONTyped(json, false);
49
+ }
50
+ function IngestContractUsageResponseToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'tenant_id': value['tenantId'],
56
+ 'tenant_slug': value['tenantSlug'],
57
+ 'usage': (value['usage'].map(IngestContractUsageRow_1.IngestContractUsageRowToJSON)),
58
+ };
59
+ }
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Client Data API
3
+ * Client Cluster Data API - Manifest-based storage service
4
+ *
5
+ * The version of the OpenAPI document: 1.11.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * How often one dataset has been posted to in one ingest shape.
14
+ * @export
15
+ * @interface IngestContractUsageRow
16
+ */
17
+ export interface IngestContractUsageRow {
18
+ /**
19
+ * Dataset the content was posted to.
20
+ * @type {number}
21
+ * @memberof IngestContractUsageRow
22
+ */
23
+ datasetId: number;
24
+ /**
25
+ * 'legacy_text' (no page structure sent), 'transcription' (pages) or 'producer_segments' (offsets).
26
+ * @type {string}
27
+ * @memberof IngestContractUsageRow
28
+ */
29
+ contentShape: string;
30
+ /**
31
+ * Posts counted in this shape.
32
+ * @type {number}
33
+ * @memberof IngestContractUsageRow
34
+ */
35
+ postCount: number;
36
+ /**
37
+ * First post counted in this shape.
38
+ * @type {Date}
39
+ * @memberof IngestContractUsageRow
40
+ */
41
+ firstSeenAt: Date;
42
+ /**
43
+ * Most recent post counted in this shape.
44
+ * @type {Date}
45
+ * @memberof IngestContractUsageRow
46
+ */
47
+ lastSeenAt: Date;
48
+ }
49
+ /**
50
+ * Check if a given object implements the IngestContractUsageRow interface.
51
+ */
52
+ export declare function instanceOfIngestContractUsageRow(value: object): value is IngestContractUsageRow;
53
+ export declare function IngestContractUsageRowFromJSON(json: any): IngestContractUsageRow;
54
+ export declare function IngestContractUsageRowFromJSONTyped(json: any, ignoreDiscriminator: boolean): IngestContractUsageRow;
55
+ export declare function IngestContractUsageRowToJSON(json: any): IngestContractUsageRow;
56
+ export declare function IngestContractUsageRowToJSONTyped(value?: IngestContractUsageRow | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Client Data API
6
+ * Client Cluster Data API - Manifest-based storage service
7
+ *
8
+ * The version of the OpenAPI document: 1.11.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfIngestContractUsageRow = instanceOfIngestContractUsageRow;
17
+ exports.IngestContractUsageRowFromJSON = IngestContractUsageRowFromJSON;
18
+ exports.IngestContractUsageRowFromJSONTyped = IngestContractUsageRowFromJSONTyped;
19
+ exports.IngestContractUsageRowToJSON = IngestContractUsageRowToJSON;
20
+ exports.IngestContractUsageRowToJSONTyped = IngestContractUsageRowToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the IngestContractUsageRow interface.
23
+ */
24
+ function instanceOfIngestContractUsageRow(value) {
25
+ if (!('datasetId' in value) || value['datasetId'] === undefined)
26
+ return false;
27
+ if (!('contentShape' in value) || value['contentShape'] === undefined)
28
+ return false;
29
+ if (!('postCount' in value) || value['postCount'] === undefined)
30
+ return false;
31
+ if (!('firstSeenAt' in value) || value['firstSeenAt'] === undefined)
32
+ return false;
33
+ if (!('lastSeenAt' in value) || value['lastSeenAt'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function IngestContractUsageRowFromJSON(json) {
38
+ return IngestContractUsageRowFromJSONTyped(json, false);
39
+ }
40
+ function IngestContractUsageRowFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'datasetId': json['dataset_id'],
46
+ 'contentShape': json['content_shape'],
47
+ 'postCount': json['post_count'],
48
+ 'firstSeenAt': (new Date(json['first_seen_at'])),
49
+ 'lastSeenAt': (new Date(json['last_seen_at'])),
50
+ };
51
+ }
52
+ function IngestContractUsageRowToJSON(json) {
53
+ return IngestContractUsageRowToJSONTyped(json, false);
54
+ }
55
+ function IngestContractUsageRowToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'dataset_id': value['datasetId'],
61
+ 'content_shape': value['contentShape'],
62
+ 'post_count': value['postCount'],
63
+ 'first_seen_at': ((value['firstSeenAt']).toISOString()),
64
+ 'last_seen_at': ((value['lastSeenAt']).toISOString()),
65
+ };
66
+ }
@@ -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.4.15
5
+ * The version of the OpenAPI document: 1.11.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.4.15
8
+ * The version of the OpenAPI document: 1.11.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.4.15
5
+ * The version of the OpenAPI document: 1.11.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.4.15
8
+ * The version of the OpenAPI document: 1.11.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.4.15
5
+ * The version of the OpenAPI document: 1.11.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.4.15
8
+ * The version of the OpenAPI document: 1.11.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.4.15
5
+ * The version of the OpenAPI document: 1.11.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).