@alien_intelligence/data-api-client 1.4.15 → 1.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +33 -6
- package/dist/src/apis/EntriesApi.js +29 -3
- 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/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/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 +4 -4
- package/dist/src/models/DatasetCreateRequest.js +4 -4
- 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 +75 -0
- package/dist/src/models/DatasetSchemaDefinitionCreate.js +71 -0
- 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 +42 -0
- package/dist/src/models/DeprecationNotice.js +54 -0
- package/dist/src/models/DerivedPageReport.d.ts +85 -0
- package/dist/src/models/DerivedPageReport.js +74 -0
- package/dist/src/models/EmbeddingProvider.d.ts +1 -1
- package/dist/src/models/EmbeddingProvider.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/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 +7 -1
- package/dist/src/models/EntryUpdateRequest.js +3 -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 +80 -0
- package/dist/src/models/FigureImage.js +62 -0
- 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 +49 -0
- package/dist/src/models/IngestContractUsageResponse.js +59 -0
- package/dist/src/models/IngestContractUsageRow.d.ts +56 -0
- package/dist/src/models/IngestContractUsageRow.js +66 -0
- package/dist/src/models/KeywordSearchHit.d.ts +1 -1
- package/dist/src/models/KeywordSearchHit.js +1 -1
- package/dist/src/models/KeywordSearchRequest.d.ts +19 -1
- package/dist/src/models/KeywordSearchRequest.js +11 -2
- package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.d.ts +1 -1
- package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.js +1 -1
- package/dist/src/models/KeywordSearchResponse.d.ts +6 -2
- package/dist/src/models/KeywordSearchResponse.js +1 -1
- package/dist/src/models/MissingPageRange.d.ts +57 -0
- package/dist/src/models/MissingPageRange.js +58 -0
- 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 +38 -0
- package/dist/src/models/PageDimensions.js +54 -0
- 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 +29 -3
- package/dist/src/models/ProcessedManifest.js +15 -1
- package/dist/src/models/ProcessingManifest.d.ts +1 -1
- package/dist/src/models/ProcessingManifest.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 +35 -2
- package/dist/src/models/SaveProcessedContentRequest.js +7 -1
- package/dist/src/models/SaveProcessedContentResponse.d.ts +29 -1
- package/dist/src/models/SaveProcessedContentResponse.js +17 -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 +93 -0
- package/dist/src/models/Segment.js +93 -0
- package/dist/src/models/SnippetContext.d.ts +14 -2
- package/dist/src/models/SnippetContext.js +5 -1
- package/dist/src/models/Transcription.d.ts +63 -0
- package/dist/src/models/Transcription.js +68 -0
- package/dist/src/models/TranscriptionDocumentInfo.d.ts +66 -0
- package/dist/src/models/TranscriptionDocumentInfo.js +76 -0
- package/dist/src/models/TranscriptionPage.d.ts +82 -0
- package/dist/src/models/TranscriptionPage.js +81 -0
- package/dist/src/models/TranscriptionUsage.d.ts +56 -0
- package/dist/src/models/TranscriptionUsage.js +62 -0
- package/dist/src/models/TranscriptionWarnings.d.ts +113 -0
- package/dist/src/models/TranscriptionWarnings.js +68 -0
- 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 +14 -0
- package/dist/src/models/index.js +14 -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 +60 -5
- 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/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/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 +12 -12
- 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 +142 -0
- 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 +79 -0
- package/src/src/models/DerivedPageReport.ts +137 -0
- package/src/src/models/EmbeddingProvider.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/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 +9 -1
- package/src/src/models/EntryWithContent.ts +1 -1
- package/src/src/models/FigureImage.ts +126 -0
- 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 +96 -0
- package/src/src/models/IngestContractUsageRow.ts +102 -0
- package/src/src/models/KeywordSearchHit.ts +1 -1
- package/src/src/models/KeywordSearchRequest.ts +22 -1
- package/src/src/models/KeywordSearchRequestMetadataFiltersValue.ts +1 -1
- package/src/src/models/KeywordSearchResponse.ts +6 -2
- package/src/src/models/MissingPageRange.ts +100 -0
- 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 +75 -0
- package/src/src/models/PipelineStepConfig.ts +1 -1
- package/src/src/models/PresetListResponse.ts +1 -1
- package/src/src/models/ProcessedManifest.ts +42 -3
- package/src/src/models/ProcessingManifest.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 +52 -2
- package/src/src/models/SaveProcessedContentResponse.ts +44 -1
- package/src/src/models/SearchSnippet.ts +1 -1
- package/src/src/models/Segment.ts +148 -0
- package/src/src/models/SnippetContext.ts +18 -2
- package/src/src/models/Transcription.ts +133 -0
- package/src/src/models/TranscriptionDocumentInfo.ts +115 -0
- package/src/src/models/TranscriptionPage.ts +144 -0
- package/src/src/models/TranscriptionUsage.ts +100 -0
- package/src/src/models/TranscriptionWarnings.ts +171 -0
- 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 +14 -0
- package/src/src/runtime.ts +1 -1
|
@@ -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.16.2
|
|
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.16.2
|
|
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.16.2
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.16.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -72,6 +72,16 @@ export interface KeywordSearchRequest {
|
|
|
72
72
|
* @memberof KeywordSearchRequest
|
|
73
73
|
*/
|
|
74
74
|
sort?: Array<string> | null;
|
|
75
|
+
/**
|
|
76
|
+
* Which index to search. 'entry' searches one document per entry, whose text_content Meilisearch caps at 65,535 positions - so a long document is only searchable near its start. 'segment' searches one document per citable segment, which is the whole text, and returns snippets carrying a page label and an offset into the entry's full content. Results are grouped back to one hit per entry either way, so the response shape is identical.
|
|
77
|
+
*
|
|
78
|
+
* 'entry' is the default while segment backfills are still running: an entry whose segments have not been written yet is absent from the segments index, and defaulting to it would silently narrow the corpus a query can reach.
|
|
79
|
+
*
|
|
80
|
+
* 'segment' is gated per tenant. On a tenant whose segments index is not live the request is answered by the entries index rather than by an empty one, and query_info reports granularity_fallback=true with a fallback_reason.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof KeywordSearchRequest
|
|
83
|
+
*/
|
|
84
|
+
granularity?: KeywordSearchRequestGranularityEnum;
|
|
75
85
|
/**
|
|
76
86
|
* Context extraction mode: 'smart' tries sentence→paragraph→section→crop
|
|
77
87
|
* @type {string}
|
|
@@ -91,6 +101,14 @@ export interface KeywordSearchRequest {
|
|
|
91
101
|
*/
|
|
92
102
|
maxCropLength?: number;
|
|
93
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* @export
|
|
106
|
+
*/
|
|
107
|
+
export declare const KeywordSearchRequestGranularityEnum: {
|
|
108
|
+
readonly Entry: "entry";
|
|
109
|
+
readonly Segment: "segment";
|
|
110
|
+
};
|
|
111
|
+
export type KeywordSearchRequestGranularityEnum = typeof KeywordSearchRequestGranularityEnum[keyof typeof KeywordSearchRequestGranularityEnum];
|
|
94
112
|
/**
|
|
95
113
|
* @export
|
|
96
114
|
*/
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 1.16.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.KeywordSearchRequestContextModeEnum = void 0;
|
|
16
|
+
exports.KeywordSearchRequestContextModeEnum = exports.KeywordSearchRequestGranularityEnum = void 0;
|
|
17
17
|
exports.instanceOfKeywordSearchRequest = instanceOfKeywordSearchRequest;
|
|
18
18
|
exports.KeywordSearchRequestFromJSON = KeywordSearchRequestFromJSON;
|
|
19
19
|
exports.KeywordSearchRequestFromJSONTyped = KeywordSearchRequestFromJSONTyped;
|
|
@@ -21,6 +21,13 @@ exports.KeywordSearchRequestToJSON = KeywordSearchRequestToJSON;
|
|
|
21
21
|
exports.KeywordSearchRequestToJSONTyped = KeywordSearchRequestToJSONTyped;
|
|
22
22
|
const runtime_1 = require("../runtime");
|
|
23
23
|
const KeywordSearchRequestMetadataFiltersValue_1 = require("./KeywordSearchRequestMetadataFiltersValue");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.KeywordSearchRequestGranularityEnum = {
|
|
28
|
+
Entry: 'entry',
|
|
29
|
+
Segment: 'segment'
|
|
30
|
+
};
|
|
24
31
|
/**
|
|
25
32
|
* @export
|
|
26
33
|
*/
|
|
@@ -55,6 +62,7 @@ function KeywordSearchRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
62
|
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
56
63
|
'metadataFilters': json['metadata_filters'] == null ? undefined : ((0, runtime_1.mapValues)(json['metadata_filters'], KeywordSearchRequestMetadataFiltersValue_1.KeywordSearchRequestMetadataFiltersValueFromJSON)),
|
|
57
64
|
'sort': json['sort'] == null ? undefined : json['sort'],
|
|
65
|
+
'granularity': json['granularity'] == null ? undefined : json['granularity'],
|
|
58
66
|
'contextMode': json['context_mode'] == null ? undefined : json['context_mode'],
|
|
59
67
|
'maxSnippets': json['max_snippets'] == null ? undefined : json['max_snippets'],
|
|
60
68
|
'maxCropLength': json['max_crop_length'] == null ? undefined : json['max_crop_length'],
|
|
@@ -77,6 +85,7 @@ function KeywordSearchRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
77
85
|
'tags': value['tags'],
|
|
78
86
|
'metadata_filters': value['metadataFilters'] == null ? undefined : ((0, runtime_1.mapValues)(value['metadataFilters'], KeywordSearchRequestMetadataFiltersValue_1.KeywordSearchRequestMetadataFiltersValueToJSON)),
|
|
79
87
|
'sort': value['sort'],
|
|
88
|
+
'granularity': value['granularity'],
|
|
80
89
|
'context_mode': value['contextMode'],
|
|
81
90
|
'max_snippets': value['maxSnippets'],
|
|
82
91
|
'max_crop_length': value['maxCropLength'],
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.16.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,11 @@ export interface KeywordSearchResponse {
|
|
|
29
29
|
*/
|
|
30
30
|
total: number;
|
|
31
31
|
/**
|
|
32
|
-
* Query metadata (query, filters applied, execution time, etc.)
|
|
32
|
+
* Query metadata (query, filters applied, execution time, etc.).
|
|
33
|
+
*
|
|
34
|
+
* `granularity` always names the index that actually answered.
|
|
35
|
+
*
|
|
36
|
+
* A request that asked for granularity='segment' additionally carries `granularity_requested`, `granularity_fallback` and `fallback_reason`. When `granularity_fallback` is true the results are entry-level, not segment-level: the tenant's segments index is not live, `granularity` reads 'entry', `fallback_reason` is one of 'segment_search_disabled', 'segments_index_empty' or 'segments_index_unavailable', and `fallback_detail` spells out what that means for the results.
|
|
33
37
|
* @type {{ [key: string]: any; }}
|
|
34
38
|
* @memberof KeywordSearchResponse
|
|
35
39
|
*/
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 1.16.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client Data API
|
|
3
|
+
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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
|
+
* A run of source pages that did not come back, and why.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MissingPageRange
|
|
16
|
+
*/
|
|
17
|
+
export interface MissingPageRange {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof MissingPageRange
|
|
23
|
+
*/
|
|
24
|
+
firstPage?: number | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof MissingPageRange
|
|
29
|
+
*/
|
|
30
|
+
lastPage?: number | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof MissingPageRange
|
|
35
|
+
*/
|
|
36
|
+
pageCount?: number | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof MissingPageRange
|
|
41
|
+
*/
|
|
42
|
+
code?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof MissingPageRange
|
|
47
|
+
*/
|
|
48
|
+
reason?: string | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the MissingPageRange interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfMissingPageRange(value: object): value is MissingPageRange;
|
|
54
|
+
export declare function MissingPageRangeFromJSON(json: any): MissingPageRange;
|
|
55
|
+
export declare function MissingPageRangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): MissingPageRange;
|
|
56
|
+
export declare function MissingPageRangeToJSON(json: any): MissingPageRange;
|
|
57
|
+
export declare function MissingPageRangeToJSONTyped(value?: MissingPageRange | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.16.2
|
|
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.instanceOfMissingPageRange = instanceOfMissingPageRange;
|
|
17
|
+
exports.MissingPageRangeFromJSON = MissingPageRangeFromJSON;
|
|
18
|
+
exports.MissingPageRangeFromJSONTyped = MissingPageRangeFromJSONTyped;
|
|
19
|
+
exports.MissingPageRangeToJSON = MissingPageRangeToJSON;
|
|
20
|
+
exports.MissingPageRangeToJSONTyped = MissingPageRangeToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MissingPageRange interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMissingPageRange(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function MissingPageRangeFromJSON(json) {
|
|
28
|
+
return MissingPageRangeFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function MissingPageRangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
...json,
|
|
36
|
+
'firstPage': json['first_page'] == null ? undefined : json['first_page'],
|
|
37
|
+
'lastPage': json['last_page'] == null ? undefined : json['last_page'],
|
|
38
|
+
'pageCount': json['page_count'] == null ? undefined : json['page_count'],
|
|
39
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
40
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function MissingPageRangeToJSON(json) {
|
|
44
|
+
return MissingPageRangeToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function MissingPageRangeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
...value,
|
|
52
|
+
'first_page': value['firstPage'],
|
|
53
|
+
'last_page': value['lastPage'],
|
|
54
|
+
'page_count': value['pageCount'],
|
|
55
|
+
'code': value['code'],
|
|
56
|
+
'reason': value['reason'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.16.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client Data API
|
|
3
|
+
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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
|
+
* Rendered page size in pixels, the space a figure bbox sits in.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PageDimensions
|
|
16
|
+
*/
|
|
17
|
+
export interface PageDimensions {
|
|
18
|
+
/**
|
|
19
|
+
* Rendered page width in pixels.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PageDimensions
|
|
22
|
+
*/
|
|
23
|
+
width: number;
|
|
24
|
+
/**
|
|
25
|
+
* Rendered page height in pixels.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PageDimensions
|
|
28
|
+
*/
|
|
29
|
+
height: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PageDimensions interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPageDimensions(value: object): value is PageDimensions;
|
|
35
|
+
export declare function PageDimensionsFromJSON(json: any): PageDimensions;
|
|
36
|
+
export declare function PageDimensionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageDimensions;
|
|
37
|
+
export declare function PageDimensionsToJSON(json: any): PageDimensions;
|
|
38
|
+
export declare function PageDimensionsToJSONTyped(value?: PageDimensions | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.16.2
|
|
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.instanceOfPageDimensions = instanceOfPageDimensions;
|
|
17
|
+
exports.PageDimensionsFromJSON = PageDimensionsFromJSON;
|
|
18
|
+
exports.PageDimensionsFromJSONTyped = PageDimensionsFromJSONTyped;
|
|
19
|
+
exports.PageDimensionsToJSON = PageDimensionsToJSON;
|
|
20
|
+
exports.PageDimensionsToJSONTyped = PageDimensionsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PageDimensions interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPageDimensions(value) {
|
|
25
|
+
if (!('width' in value) || value['width'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('height' in value) || value['height'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PageDimensionsFromJSON(json) {
|
|
32
|
+
return PageDimensionsFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PageDimensionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'width': json['width'],
|
|
40
|
+
'height': json['height'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function PageDimensionsToJSON(json) {
|
|
44
|
+
return PageDimensionsToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function PageDimensionsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'width': value['width'],
|
|
52
|
+
'height': value['height'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 1.16.2
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.16.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|