@alien_intelligence/data-api-client 2.1.2 → 2.2.1
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.
- package/dist/src/apis/AdminApi.d.ts +1 -1
- package/dist/src/apis/AdminApi.js +1 -1
- package/dist/src/apis/DatasetsApi.d.ts +1 -1
- package/dist/src/apis/DatasetsApi.js +1 -1
- package/dist/src/apis/DefaultApi.d.ts +1 -1
- package/dist/src/apis/DefaultApi.js +1 -1
- package/dist/src/apis/EmbeddingsApi.d.ts +1 -1
- package/dist/src/apis/EmbeddingsApi.js +1 -1
- package/dist/src/apis/EntriesApi.d.ts +29 -2
- package/dist/src/apis/EntriesApi.js +46 -1
- package/dist/src/apis/HealthApi.d.ts +1 -1
- package/dist/src/apis/HealthApi.js +1 -1
- package/dist/src/apis/PipelinesApi.d.ts +1 -1
- package/dist/src/apis/PipelinesApi.js +1 -1
- package/dist/src/apis/SearchApi.d.ts +1 -1
- package/dist/src/apis/SearchApi.js +1 -1
- package/dist/src/apis/SyncApi.d.ts +1 -1
- package/dist/src/apis/SyncApi.js +1 -1
- package/dist/src/apis/WebhooksApi.d.ts +1 -1
- package/dist/src/apis/WebhooksApi.js +1 -1
- package/dist/src/apis/WeightsApi.d.ts +1 -1
- package/dist/src/apis/WeightsApi.js +1 -1
- package/dist/src/models/AdmissionLaneHealth.d.ts +1 -1
- package/dist/src/models/AdmissionLaneHealth.js +1 -1
- package/dist/src/models/ArtifactInputConfig.d.ts +1 -1
- package/dist/src/models/ArtifactInputConfig.js +1 -1
- package/dist/src/models/BatchContentRequest.d.ts +1 -1
- package/dist/src/models/BatchContentRequest.js +1 -1
- package/dist/src/models/BatchContentResponse.d.ts +1 -1
- package/dist/src/models/BatchContentResponse.js +1 -1
- package/dist/src/models/BatchGetEntriesRequest.d.ts +1 -1
- package/dist/src/models/BatchGetEntriesRequest.js +1 -1
- package/dist/src/models/BatchGetEntriesResponse.d.ts +1 -1
- package/dist/src/models/BatchGetEntriesResponse.js +1 -1
- package/dist/src/models/BatchIngestError.d.ts +52 -0
- package/dist/src/models/BatchIngestError.js +60 -0
- package/dist/src/models/BatchIngestItemResult.d.ts +64 -0
- package/dist/src/models/BatchIngestItemResult.js +64 -0
- package/dist/src/models/BatchIngestOutcome.d.ts +26 -0
- package/dist/src/models/BatchIngestOutcome.js +52 -0
- package/dist/src/models/BatchIngestResponse.d.ts +57 -0
- package/dist/src/models/BatchIngestResponse.js +65 -0
- package/dist/src/models/ChunkSearchResponse.d.ts +1 -1
- package/dist/src/models/ChunkSearchResponse.js +1 -1
- package/dist/src/models/ChunkSearchResult.d.ts +1 -1
- package/dist/src/models/ChunkSearchResult.js +1 -1
- package/dist/src/models/CollectionInfo.d.ts +1 -1
- package/dist/src/models/CollectionInfo.js +1 -1
- package/dist/src/models/ComponentArtifact.d.ts +1 -1
- package/dist/src/models/ComponentArtifact.js +1 -1
- package/dist/src/models/ComponentListResponse.d.ts +1 -1
- package/dist/src/models/ComponentListResponse.js +1 -1
- package/dist/src/models/ComponentMetadata.d.ts +1 -1
- package/dist/src/models/ComponentMetadata.js +1 -1
- package/dist/src/models/ComponentParameter.d.ts +1 -1
- package/dist/src/models/ComponentParameter.js +1 -1
- package/dist/src/models/Dataset.d.ts +1 -1
- package/dist/src/models/Dataset.js +1 -1
- package/dist/src/models/DatasetCreateRequest.d.ts +1 -1
- package/dist/src/models/DatasetCreateRequest.js +1 -1
- package/dist/src/models/DatasetListResponse.d.ts +1 -1
- package/dist/src/models/DatasetListResponse.js +1 -1
- package/dist/src/models/DatasetPipelineConfig.d.ts +1 -1
- package/dist/src/models/DatasetPipelineConfig.js +1 -1
- package/dist/src/models/DatasetResponse.d.ts +1 -1
- package/dist/src/models/DatasetResponse.js +1 -1
- package/dist/src/models/DatasetSchemaDefinition.d.ts +1 -1
- package/dist/src/models/DatasetSchemaDefinition.js +1 -1
- package/dist/src/models/DatasetSchemaDefinitionCreate.d.ts +1 -1
- package/dist/src/models/DatasetSchemaDefinitionCreate.js +1 -1
- package/dist/src/models/DatasetSchemaOriginal.d.ts +1 -1
- package/dist/src/models/DatasetSchemaOriginal.js +1 -1
- package/dist/src/models/DatasetSchemaProcessed.d.ts +1 -1
- package/dist/src/models/DatasetSchemaProcessed.js +1 -1
- package/dist/src/models/DatasetSchemaProcessing.d.ts +1 -1
- package/dist/src/models/DatasetSchemaProcessing.js +1 -1
- package/dist/src/models/DatasetType.d.ts +1 -1
- package/dist/src/models/DatasetType.js +1 -1
- package/dist/src/models/DatasetUpdateRequest.d.ts +1 -1
- package/dist/src/models/DatasetUpdateRequest.js +1 -1
- package/dist/src/models/DatasetUpdateSchemaRequest.d.ts +1 -1
- package/dist/src/models/DatasetUpdateSchemaRequest.js +1 -1
- package/dist/src/models/Default.d.ts +1 -1
- package/dist/src/models/Default.js +1 -1
- package/dist/src/models/DeprecationNotice.d.ts +1 -1
- package/dist/src/models/DeprecationNotice.js +1 -1
- package/dist/src/models/DerivedPageReport.d.ts +1 -1
- package/dist/src/models/DerivedPageReport.js +1 -1
- package/dist/src/models/EmbeddingProvider.d.ts +1 -1
- package/dist/src/models/EmbeddingProvider.js +1 -1
- package/dist/src/models/EmbeddingPurpose.d.ts +1 -1
- package/dist/src/models/EmbeddingPurpose.js +1 -1
- package/dist/src/models/EmbeddingResponse.d.ts +1 -1
- package/dist/src/models/EmbeddingResponse.js +1 -1
- package/dist/src/models/Entry.d.ts +1 -1
- package/dist/src/models/Entry.js +1 -1
- package/dist/src/models/EntryContentResponse.d.ts +1 -1
- package/dist/src/models/EntryContentResponse.js +1 -1
- package/dist/src/models/EntryCreateRequest.d.ts +1 -1
- package/dist/src/models/EntryCreateRequest.js +1 -1
- package/dist/src/models/EntryCreateResponse.d.ts +1 -1
- package/dist/src/models/EntryCreateResponse.js +1 -1
- package/dist/src/models/EntryListPagination.d.ts +1 -1
- package/dist/src/models/EntryListPagination.js +1 -1
- package/dist/src/models/EntryManifest.d.ts +1 -1
- package/dist/src/models/EntryManifest.js +1 -1
- package/dist/src/models/EntrySearchResponse.d.ts +1 -1
- package/dist/src/models/EntrySearchResponse.js +1 -1
- package/dist/src/models/EntrySearchResult.d.ts +1 -1
- package/dist/src/models/EntrySearchResult.js +1 -1
- package/dist/src/models/EntryStatus.d.ts +1 -1
- package/dist/src/models/EntryStatus.js +1 -1
- package/dist/src/models/EntryUpdateRequest.d.ts +1 -1
- package/dist/src/models/EntryUpdateRequest.js +1 -1
- package/dist/src/models/EntryWithContent.d.ts +1 -1
- package/dist/src/models/EntryWithContent.js +1 -1
- package/dist/src/models/FigureImage.d.ts +1 -1
- package/dist/src/models/FigureImage.js +1 -1
- package/dist/src/models/FileMetadata.d.ts +1 -1
- package/dist/src/models/FileMetadata.js +1 -1
- package/dist/src/models/GenerateEmbeddingsRequest.d.ts +1 -1
- package/dist/src/models/GenerateEmbeddingsRequest.js +1 -1
- package/dist/src/models/HTTPValidationError.d.ts +1 -1
- package/dist/src/models/HTTPValidationError.js +1 -1
- package/dist/src/models/HealthResponse.d.ts +1 -1
- package/dist/src/models/HealthResponse.js +1 -1
- package/dist/src/models/IngestContractUsageResponse.d.ts +1 -1
- package/dist/src/models/IngestContractUsageResponse.js +1 -1
- package/dist/src/models/IngestContractUsageRow.d.ts +1 -1
- package/dist/src/models/IngestContractUsageRow.js +1 -1
- package/dist/src/models/KeywordSearchHit.d.ts +1 -1
- package/dist/src/models/KeywordSearchHit.js +1 -1
- package/dist/src/models/KeywordSearchRequest.d.ts +1 -1
- package/dist/src/models/KeywordSearchRequest.js +1 -1
- package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.d.ts +1 -1
- package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.js +1 -1
- package/dist/src/models/KeywordSearchResponse.d.ts +1 -1
- package/dist/src/models/KeywordSearchResponse.js +1 -1
- package/dist/src/models/MissingPageRange.d.ts +1 -1
- package/dist/src/models/MissingPageRange.js +1 -1
- package/dist/src/models/ModelInfo.d.ts +1 -1
- package/dist/src/models/ModelInfo.js +1 -1
- package/dist/src/models/MoveEntryRequest.d.ts +1 -1
- package/dist/src/models/MoveEntryRequest.js +1 -1
- package/dist/src/models/MoveEntryResponse.d.ts +1 -1
- package/dist/src/models/MoveEntryResponse.js +1 -1
- package/dist/src/models/OriginalManifest.d.ts +1 -1
- package/dist/src/models/OriginalManifest.js +1 -1
- package/dist/src/models/PageDimensions.d.ts +1 -1
- package/dist/src/models/PageDimensions.js +1 -1
- package/dist/src/models/PipelineStepConfig.d.ts +1 -1
- package/dist/src/models/PipelineStepConfig.js +1 -1
- package/dist/src/models/PresetListResponse.d.ts +1 -1
- package/dist/src/models/PresetListResponse.js +1 -1
- package/dist/src/models/ProcessedManifest.d.ts +1 -1
- package/dist/src/models/ProcessedManifest.js +1 -1
- package/dist/src/models/ProcessingManifest.d.ts +1 -1
- package/dist/src/models/ProcessingManifest.js +1 -1
- package/dist/src/models/ProcessingResetResponse.d.ts +1 -1
- package/dist/src/models/ProcessingResetResponse.js +1 -1
- package/dist/src/models/ReconcileSchemaFieldsResponse.d.ts +1 -1
- package/dist/src/models/ReconcileSchemaFieldsResponse.js +1 -1
- package/dist/src/models/RetryFailedWebhooksResponse.d.ts +1 -1
- package/dist/src/models/RetryFailedWebhooksResponse.js +1 -1
- package/dist/src/models/SaveProcessedContentRequest.d.ts +1 -1
- package/dist/src/models/SaveProcessedContentRequest.js +1 -1
- package/dist/src/models/SaveProcessedContentResponse.d.ts +1 -1
- package/dist/src/models/SaveProcessedContentResponse.js +1 -1
- package/dist/src/models/SearchSnippet.d.ts +1 -1
- package/dist/src/models/SearchSnippet.js +1 -1
- package/dist/src/models/Segment.d.ts +1 -1
- package/dist/src/models/Segment.js +1 -1
- package/dist/src/models/SnippetContext.d.ts +1 -1
- package/dist/src/models/SnippetContext.js +1 -1
- package/dist/src/models/Transcription.d.ts +1 -1
- package/dist/src/models/Transcription.js +1 -1
- package/dist/src/models/TranscriptionDocumentInfo.d.ts +1 -1
- package/dist/src/models/TranscriptionDocumentInfo.js +1 -1
- package/dist/src/models/TranscriptionPage.d.ts +1 -1
- package/dist/src/models/TranscriptionPage.js +1 -1
- package/dist/src/models/TranscriptionUsage.d.ts +1 -1
- package/dist/src/models/TranscriptionUsage.js +1 -1
- package/dist/src/models/TranscriptionWarnings.d.ts +1 -1
- package/dist/src/models/TranscriptionWarnings.js +1 -1
- package/dist/src/models/UploadFileResponse.d.ts +1 -1
- package/dist/src/models/UploadFileResponse.js +1 -1
- package/dist/src/models/ValidationError.d.ts +1 -1
- package/dist/src/models/ValidationError.js +1 -1
- package/dist/src/models/ValidationErrorLocInner.d.ts +1 -1
- package/dist/src/models/ValidationErrorLocInner.js +1 -1
- package/dist/src/models/VectorSearchRequest.d.ts +1 -1
- package/dist/src/models/VectorSearchRequest.js +1 -1
- package/dist/src/models/WebhookEndpointCreate.d.ts +1 -1
- package/dist/src/models/WebhookEndpointCreate.js +1 -1
- package/dist/src/models/WebhookEndpointResponse.d.ts +1 -1
- package/dist/src/models/WebhookEndpointResponse.js +1 -1
- package/dist/src/models/Weight.d.ts +1 -1
- package/dist/src/models/Weight.js +1 -1
- package/dist/src/models/WeightListResponse.d.ts +1 -1
- package/dist/src/models/WeightListResponse.js +1 -1
- package/dist/src/models/WeightResponse.d.ts +1 -1
- package/dist/src/models/WeightResponse.js +1 -1
- package/dist/src/models/WeightType.d.ts +1 -1
- package/dist/src/models/WeightType.js +1 -1
- package/dist/src/models/index.d.ts +4 -0
- package/dist/src/models/index.js +4 -0
- package/dist/src/runtime.d.ts +1 -1
- package/dist/src/runtime.js +1 -1
- package/package.json +1 -1
- package/src/README.md +2 -2
- package/src/package.json +1 -1
- package/src/src/apis/AdminApi.ts +1 -1
- package/src/src/apis/DatasetsApi.ts +1 -1
- package/src/src/apis/DefaultApi.ts +1 -1
- package/src/src/apis/EmbeddingsApi.ts +1 -1
- package/src/src/apis/EntriesApi.ts +80 -1
- package/src/src/apis/HealthApi.ts +1 -1
- package/src/src/apis/PipelinesApi.ts +1 -1
- package/src/src/apis/SearchApi.ts +1 -1
- package/src/src/apis/SyncApi.ts +1 -1
- package/src/src/apis/WebhooksApi.ts +1 -1
- package/src/src/apis/WeightsApi.ts +1 -1
- package/src/src/models/AdmissionLaneHealth.ts +1 -1
- package/src/src/models/ArtifactInputConfig.ts +1 -1
- package/src/src/models/BatchContentRequest.ts +1 -1
- package/src/src/models/BatchContentResponse.ts +1 -1
- package/src/src/models/BatchGetEntriesRequest.ts +1 -1
- package/src/src/models/BatchGetEntriesResponse.ts +1 -1
- package/src/src/models/BatchIngestError.ts +92 -0
- package/src/src/models/BatchIngestItemResult.ts +124 -0
- package/src/src/models/BatchIngestOutcome.ts +54 -0
- package/src/src/models/BatchIngestResponse.ts +109 -0
- package/src/src/models/ChunkSearchResponse.ts +1 -1
- package/src/src/models/ChunkSearchResult.ts +1 -1
- package/src/src/models/CollectionInfo.ts +1 -1
- package/src/src/models/ComponentArtifact.ts +1 -1
- package/src/src/models/ComponentListResponse.ts +1 -1
- package/src/src/models/ComponentMetadata.ts +1 -1
- package/src/src/models/ComponentParameter.ts +1 -1
- package/src/src/models/Dataset.ts +1 -1
- package/src/src/models/DatasetCreateRequest.ts +1 -1
- package/src/src/models/DatasetListResponse.ts +1 -1
- package/src/src/models/DatasetPipelineConfig.ts +1 -1
- package/src/src/models/DatasetResponse.ts +1 -1
- package/src/src/models/DatasetSchemaDefinition.ts +1 -1
- package/src/src/models/DatasetSchemaDefinitionCreate.ts +1 -1
- package/src/src/models/DatasetSchemaOriginal.ts +1 -1
- package/src/src/models/DatasetSchemaProcessed.ts +1 -1
- package/src/src/models/DatasetSchemaProcessing.ts +1 -1
- package/src/src/models/DatasetType.ts +1 -1
- package/src/src/models/DatasetUpdateRequest.ts +1 -1
- package/src/src/models/DatasetUpdateSchemaRequest.ts +1 -1
- package/src/src/models/Default.ts +1 -1
- package/src/src/models/DeprecationNotice.ts +1 -1
- package/src/src/models/DerivedPageReport.ts +1 -1
- package/src/src/models/EmbeddingProvider.ts +1 -1
- package/src/src/models/EmbeddingPurpose.ts +1 -1
- package/src/src/models/EmbeddingResponse.ts +1 -1
- package/src/src/models/Entry.ts +1 -1
- package/src/src/models/EntryContentResponse.ts +1 -1
- package/src/src/models/EntryCreateRequest.ts +1 -1
- package/src/src/models/EntryCreateResponse.ts +1 -1
- package/src/src/models/EntryListPagination.ts +1 -1
- package/src/src/models/EntryManifest.ts +1 -1
- package/src/src/models/EntrySearchResponse.ts +1 -1
- package/src/src/models/EntrySearchResult.ts +1 -1
- package/src/src/models/EntryStatus.ts +1 -1
- package/src/src/models/EntryUpdateRequest.ts +1 -1
- package/src/src/models/EntryWithContent.ts +1 -1
- package/src/src/models/FigureImage.ts +1 -1
- package/src/src/models/FileMetadata.ts +1 -1
- package/src/src/models/GenerateEmbeddingsRequest.ts +1 -1
- package/src/src/models/HTTPValidationError.ts +1 -1
- package/src/src/models/HealthResponse.ts +1 -1
- package/src/src/models/IngestContractUsageResponse.ts +1 -1
- package/src/src/models/IngestContractUsageRow.ts +1 -1
- package/src/src/models/KeywordSearchHit.ts +1 -1
- package/src/src/models/KeywordSearchRequest.ts +1 -1
- package/src/src/models/KeywordSearchRequestMetadataFiltersValue.ts +1 -1
- package/src/src/models/KeywordSearchResponse.ts +1 -1
- package/src/src/models/MissingPageRange.ts +1 -1
- package/src/src/models/ModelInfo.ts +1 -1
- package/src/src/models/MoveEntryRequest.ts +1 -1
- package/src/src/models/MoveEntryResponse.ts +1 -1
- package/src/src/models/OriginalManifest.ts +1 -1
- package/src/src/models/PageDimensions.ts +1 -1
- package/src/src/models/PipelineStepConfig.ts +1 -1
- package/src/src/models/PresetListResponse.ts +1 -1
- package/src/src/models/ProcessedManifest.ts +1 -1
- package/src/src/models/ProcessingManifest.ts +1 -1
- package/src/src/models/ProcessingResetResponse.ts +1 -1
- package/src/src/models/ReconcileSchemaFieldsResponse.ts +1 -1
- package/src/src/models/RetryFailedWebhooksResponse.ts +1 -1
- package/src/src/models/SaveProcessedContentRequest.ts +1 -1
- package/src/src/models/SaveProcessedContentResponse.ts +1 -1
- package/src/src/models/SearchSnippet.ts +1 -1
- package/src/src/models/Segment.ts +1 -1
- package/src/src/models/SnippetContext.ts +1 -1
- package/src/src/models/Transcription.ts +1 -1
- package/src/src/models/TranscriptionDocumentInfo.ts +1 -1
- package/src/src/models/TranscriptionPage.ts +1 -1
- package/src/src/models/TranscriptionUsage.ts +1 -1
- package/src/src/models/TranscriptionWarnings.ts +1 -1
- package/src/src/models/UploadFileResponse.ts +1 -1
- package/src/src/models/ValidationError.ts +1 -1
- package/src/src/models/ValidationErrorLocInner.ts +1 -1
- package/src/src/models/VectorSearchRequest.ts +1 -1
- package/src/src/models/WebhookEndpointCreate.ts +1 -1
- package/src/src/models/WebhookEndpointResponse.ts +1 -1
- package/src/src/models/Weight.ts +1 -1
- package/src/src/models/WeightListResponse.ts +1 -1
- package/src/src/models/WeightResponse.ts +1 -1
- package/src/src/models/WeightType.ts +1 -1
- package/src/src/models/index.ts +4 -0
- 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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,13 +10,16 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchContentRequest, BatchContentResponse, BatchGetEntriesRequest, BatchGetEntriesResponse, Entry, EntryCreateRequest, EntryCreateResponse, EntryListPagination, EntryUpdateRequest, IngestContractUsageResponse, MoveEntryRequest, MoveEntryResponse, ProcessingResetResponse, SaveProcessedContentRequest, SaveProcessedContentResponse, UploadFileResponse } from '../models/index';
|
|
13
|
+
import type { BatchContentRequest, BatchContentResponse, BatchGetEntriesRequest, BatchGetEntriesResponse, BatchIngestResponse, Entry, EntryCreateRequest, EntryCreateResponse, EntryListPagination, EntryUpdateRequest, IngestContractUsageResponse, MoveEntryRequest, MoveEntryResponse, ProcessingResetResponse, SaveProcessedContentRequest, SaveProcessedContentResponse, UploadFileResponse } from '../models/index';
|
|
14
14
|
export interface BatchGetContentApiV1EntriesBatchContentPostRequest {
|
|
15
15
|
batchContentRequest: BatchContentRequest;
|
|
16
16
|
}
|
|
17
17
|
export interface BatchGetEntriesApiV1EntriesBatchPostRequest {
|
|
18
18
|
batchGetEntriesRequest: BatchGetEntriesRequest;
|
|
19
19
|
}
|
|
20
|
+
export interface BatchIngestApiV1EntriesBatchIngestPostRequest {
|
|
21
|
+
items: Blob;
|
|
22
|
+
}
|
|
20
23
|
export interface CreateEntryApiV1EntriesPostRequest {
|
|
21
24
|
entryCreateRequest: EntryCreateRequest;
|
|
22
25
|
}
|
|
@@ -113,6 +116,20 @@ export interface EntriesApiInterface {
|
|
|
113
116
|
* Batch Get Entries
|
|
114
117
|
*/
|
|
115
118
|
batchGetEntriesApiV1EntriesBatchPost(requestParameters: BatchGetEntriesApiV1EntriesBatchPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BatchGetEntriesResponse>;
|
|
119
|
+
/**
|
|
120
|
+
* Create or update many entries in one request, each with its original files, processed content, figures and chunks. Each item is upserted on (dataset_id, slug). Items succeed or fail on their own, and the response says which and why. An item that fails is safe to send again unchanged when its error is ``retryable``. The body is multipart and its parts are named by the client, so it cannot be declared as a FastAPI model. The ``items`` part is validated item by item against ``BatchIngestItem``; every reference an item makes to a binary part is checked before anything is written. Entries are searchable by vector when this returns, and by keyword once the index worker has written them.
|
|
121
|
+
* @summary Batch Ingest
|
|
122
|
+
* @param {Blob} items A file part holding the JSON document described by BatchIngestDocument. Every other part is a binary one an item names.
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
* @memberof EntriesApiInterface
|
|
126
|
+
*/
|
|
127
|
+
batchIngestApiV1EntriesBatchIngestPostRaw(requestParameters: BatchIngestApiV1EntriesBatchIngestPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BatchIngestResponse>>;
|
|
128
|
+
/**
|
|
129
|
+
* Create or update many entries in one request, each with its original files, processed content, figures and chunks. Each item is upserted on (dataset_id, slug). Items succeed or fail on their own, and the response says which and why. An item that fails is safe to send again unchanged when its error is ``retryable``. The body is multipart and its parts are named by the client, so it cannot be declared as a FastAPI model. The ``items`` part is validated item by item against ``BatchIngestItem``; every reference an item makes to a binary part is checked before anything is written. Entries are searchable by vector when this returns, and by keyword once the index worker has written them.
|
|
130
|
+
* Batch Ingest
|
|
131
|
+
*/
|
|
132
|
+
batchIngestApiV1EntriesBatchIngestPost(requestParameters: BatchIngestApiV1EntriesBatchIngestPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BatchIngestResponse>;
|
|
116
133
|
/**
|
|
117
134
|
* Create a new entry. This creates the entry record in PostgreSQL but does NOT upload files yet. Use POST /entries/{id}/upload to upload the actual file.
|
|
118
135
|
* @summary Create Entry
|
|
@@ -378,6 +395,16 @@ export declare class EntriesApi extends runtime.BaseAPI implements EntriesApiInt
|
|
|
378
395
|
* Batch Get Entries
|
|
379
396
|
*/
|
|
380
397
|
batchGetEntriesApiV1EntriesBatchPost(requestParameters: BatchGetEntriesApiV1EntriesBatchPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BatchGetEntriesResponse>;
|
|
398
|
+
/**
|
|
399
|
+
* Create or update many entries in one request, each with its original files, processed content, figures and chunks. Each item is upserted on (dataset_id, slug). Items succeed or fail on their own, and the response says which and why. An item that fails is safe to send again unchanged when its error is ``retryable``. The body is multipart and its parts are named by the client, so it cannot be declared as a FastAPI model. The ``items`` part is validated item by item against ``BatchIngestItem``; every reference an item makes to a binary part is checked before anything is written. Entries are searchable by vector when this returns, and by keyword once the index worker has written them.
|
|
400
|
+
* Batch Ingest
|
|
401
|
+
*/
|
|
402
|
+
batchIngestApiV1EntriesBatchIngestPostRaw(requestParameters: BatchIngestApiV1EntriesBatchIngestPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BatchIngestResponse>>;
|
|
403
|
+
/**
|
|
404
|
+
* Create or update many entries in one request, each with its original files, processed content, figures and chunks. Each item is upserted on (dataset_id, slug). Items succeed or fail on their own, and the response says which and why. An item that fails is safe to send again unchanged when its error is ``retryable``. The body is multipart and its parts are named by the client, so it cannot be declared as a FastAPI model. The ``items`` part is validated item by item against ``BatchIngestItem``; every reference an item makes to a binary part is checked before anything is written. Entries are searchable by vector when this returns, and by keyword once the index worker has written them.
|
|
405
|
+
* Batch Ingest
|
|
406
|
+
*/
|
|
407
|
+
batchIngestApiV1EntriesBatchIngestPost(requestParameters: BatchIngestApiV1EntriesBatchIngestPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BatchIngestResponse>;
|
|
381
408
|
/**
|
|
382
409
|
* Create a new entry. This creates the entry record in PostgreSQL but does NOT upload files yet. Use POST /entries/{id}/upload to upload the actual file.
|
|
383
410
|
* Create Entry
|
|
@@ -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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -109,6 +109,51 @@ class EntriesApi extends runtime.BaseAPI {
|
|
|
109
109
|
const response = await this.batchGetEntriesApiV1EntriesBatchPostRaw(requestParameters, initOverrides);
|
|
110
110
|
return await response.value();
|
|
111
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* Create or update many entries in one request, each with its original files, processed content, figures and chunks. Each item is upserted on (dataset_id, slug). Items succeed or fail on their own, and the response says which and why. An item that fails is safe to send again unchanged when its error is ``retryable``. The body is multipart and its parts are named by the client, so it cannot be declared as a FastAPI model. The ``items`` part is validated item by item against ``BatchIngestItem``; every reference an item makes to a binary part is checked before anything is written. Entries are searchable by vector when this returns, and by keyword once the index worker has written them.
|
|
114
|
+
* Batch Ingest
|
|
115
|
+
*/
|
|
116
|
+
async batchIngestApiV1EntriesBatchIngestPostRaw(requestParameters, initOverrides) {
|
|
117
|
+
if (requestParameters['items'] == null) {
|
|
118
|
+
throw new runtime.RequiredError('items', 'Required parameter "items" was null or undefined when calling batchIngestApiV1EntriesBatchIngestPost().');
|
|
119
|
+
}
|
|
120
|
+
const queryParameters = {};
|
|
121
|
+
const headerParameters = {};
|
|
122
|
+
const consumes = [
|
|
123
|
+
{ contentType: 'multipart/form-data' },
|
|
124
|
+
];
|
|
125
|
+
// @ts-ignore: canConsumeForm may be unused
|
|
126
|
+
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
127
|
+
let formParams;
|
|
128
|
+
let useForm = false;
|
|
129
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
130
|
+
useForm = canConsumeForm;
|
|
131
|
+
if (useForm) {
|
|
132
|
+
formParams = new FormData();
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
formParams = new URLSearchParams();
|
|
136
|
+
}
|
|
137
|
+
if (requestParameters['items'] != null) {
|
|
138
|
+
formParams.append('items', requestParameters['items']);
|
|
139
|
+
}
|
|
140
|
+
const response = await this.request({
|
|
141
|
+
path: `/api/v1/entries/batch-ingest`,
|
|
142
|
+
method: 'POST',
|
|
143
|
+
headers: headerParameters,
|
|
144
|
+
query: queryParameters,
|
|
145
|
+
body: formParams,
|
|
146
|
+
}, initOverrides);
|
|
147
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.BatchIngestResponseFromJSON)(jsonValue));
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Create or update many entries in one request, each with its original files, processed content, figures and chunks. Each item is upserted on (dataset_id, slug). Items succeed or fail on their own, and the response says which and why. An item that fails is safe to send again unchanged when its error is ``retryable``. The body is multipart and its parts are named by the client, so it cannot be declared as a FastAPI model. The ``items`` part is validated item by item against ``BatchIngestItem``; every reference an item makes to a binary part is checked before anything is written. Entries are searchable by vector when this returns, and by keyword once the index worker has written them.
|
|
151
|
+
* Batch Ingest
|
|
152
|
+
*/
|
|
153
|
+
async batchIngestApiV1EntriesBatchIngestPost(requestParameters, initOverrides) {
|
|
154
|
+
const response = await this.batchIngestApiV1EntriesBatchIngestPostRaw(requestParameters, initOverrides);
|
|
155
|
+
return await response.value();
|
|
156
|
+
}
|
|
112
157
|
/**
|
|
113
158
|
* Create a new entry. This creates the entry record in PostgreSQL but does NOT upload files yet. Use POST /entries/{id}/upload to upload the actual file.
|
|
114
159
|
* Create Entry
|
|
@@ -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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/src/apis/SyncApi.js
CHANGED
|
@@ -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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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: 2.1
|
|
8
|
+
* The version of the OpenAPI document: 2.2.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client Data API
|
|
3
|
+
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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
|
+
* Why an item failed, in the shape the per-entry routes refuse with.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BatchIngestError
|
|
16
|
+
*/
|
|
17
|
+
export interface BatchIngestError {
|
|
18
|
+
/**
|
|
19
|
+
* A stable name for the kind of failure.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BatchIngestError
|
|
22
|
+
*/
|
|
23
|
+
code: string;
|
|
24
|
+
/**
|
|
25
|
+
* What went wrong, for a person.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BatchIngestError
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
* Which part of the item to fix.
|
|
32
|
+
* @type {{ [key: string]: any; }}
|
|
33
|
+
* @memberof BatchIngestError
|
|
34
|
+
*/
|
|
35
|
+
context?: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Whether sending the item again unchanged may succeed: true for a failure of a store or a conflicting concurrent write, false for a fault in the item.
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof BatchIngestError
|
|
42
|
+
*/
|
|
43
|
+
retryable: boolean;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the BatchIngestError interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfBatchIngestError(value: object): value is BatchIngestError;
|
|
49
|
+
export declare function BatchIngestErrorFromJSON(json: any): BatchIngestError;
|
|
50
|
+
export declare function BatchIngestErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchIngestError;
|
|
51
|
+
export declare function BatchIngestErrorToJSON(json: any): BatchIngestError;
|
|
52
|
+
export declare function BatchIngestErrorToJSONTyped(value?: BatchIngestError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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: 2.2.1
|
|
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.instanceOfBatchIngestError = instanceOfBatchIngestError;
|
|
17
|
+
exports.BatchIngestErrorFromJSON = BatchIngestErrorFromJSON;
|
|
18
|
+
exports.BatchIngestErrorFromJSONTyped = BatchIngestErrorFromJSONTyped;
|
|
19
|
+
exports.BatchIngestErrorToJSON = BatchIngestErrorToJSON;
|
|
20
|
+
exports.BatchIngestErrorToJSONTyped = BatchIngestErrorToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BatchIngestError interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBatchIngestError(value) {
|
|
25
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('retryable' in value) || value['retryable'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function BatchIngestErrorFromJSON(json) {
|
|
34
|
+
return BatchIngestErrorFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function BatchIngestErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'code': json['code'],
|
|
42
|
+
'message': json['message'],
|
|
43
|
+
'context': json['context'] == null ? undefined : json['context'],
|
|
44
|
+
'retryable': json['retryable'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function BatchIngestErrorToJSON(json) {
|
|
48
|
+
return BatchIngestErrorToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function BatchIngestErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'code': value['code'],
|
|
56
|
+
'message': value['message'],
|
|
57
|
+
'context': value['context'],
|
|
58
|
+
'retryable': value['retryable'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client Data API
|
|
3
|
+
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
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 { BatchIngestError } from './BatchIngestError';
|
|
13
|
+
import type { BatchIngestOutcome } from './BatchIngestOutcome';
|
|
14
|
+
/**
|
|
15
|
+
* The outcome of one item, at its position in the request.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BatchIngestItemResult
|
|
18
|
+
*/
|
|
19
|
+
export interface BatchIngestItemResult {
|
|
20
|
+
/**
|
|
21
|
+
* Position of the item in the request.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof BatchIngestItemResult
|
|
24
|
+
*/
|
|
25
|
+
index: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof BatchIngestItemResult
|
|
30
|
+
*/
|
|
31
|
+
datasetId?: number | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof BatchIngestItemResult
|
|
36
|
+
*/
|
|
37
|
+
slug?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof BatchIngestItemResult
|
|
42
|
+
*/
|
|
43
|
+
entryId?: number | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {BatchIngestOutcome}
|
|
47
|
+
* @memberof BatchIngestItemResult
|
|
48
|
+
*/
|
|
49
|
+
outcome: BatchIngestOutcome;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {BatchIngestError}
|
|
53
|
+
* @memberof BatchIngestItemResult
|
|
54
|
+
*/
|
|
55
|
+
error?: BatchIngestError | null;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the BatchIngestItemResult interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfBatchIngestItemResult(value: object): value is BatchIngestItemResult;
|
|
61
|
+
export declare function BatchIngestItemResultFromJSON(json: any): BatchIngestItemResult;
|
|
62
|
+
export declare function BatchIngestItemResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchIngestItemResult;
|
|
63
|
+
export declare function BatchIngestItemResultToJSON(json: any): BatchIngestItemResult;
|
|
64
|
+
export declare function BatchIngestItemResultToJSONTyped(value?: BatchIngestItemResult | null, ignoreDiscriminator?: boolean): any;
|