@alien_intelligence/data-api-client 1.2.5
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/README.md +70 -0
- package/dist/apis/AdminApi.d.ts +84 -0
- package/dist/apis/AdminApi.js +106 -0
- package/dist/apis/DatasetsApi.d.ts +221 -0
- package/dist/apis/DatasetsApi.js +250 -0
- package/dist/apis/DefaultApi.d.ts +48 -0
- package/dist/apis/DefaultApi.js +84 -0
- package/dist/apis/EmbeddingsApi.d.ts +111 -0
- package/dist/apis/EmbeddingsApi.js +134 -0
- package/dist/apis/EntriesApi.d.ts +458 -0
- package/dist/apis/EntriesApi.js +500 -0
- package/dist/apis/HealthApi.d.ts +118 -0
- package/dist/apis/HealthApi.js +125 -0
- package/dist/apis/PipelinesApi.d.ts +229 -0
- package/dist/apis/PipelinesApi.js +242 -0
- package/dist/apis/SearchApi.d.ts +109 -0
- package/dist/apis/SearchApi.js +144 -0
- package/dist/apis/SyncApi.d.ts +80 -0
- package/dist/apis/SyncApi.js +103 -0
- package/dist/apis/WebhooksApi.d.ts +94 -0
- package/dist/apis/WebhooksApi.js +127 -0
- package/dist/apis/WeightsApi.d.ts +276 -0
- package/dist/apis/WeightsApi.js +328 -0
- package/dist/apis/index.d.ts +11 -0
- package/dist/apis/index.js +29 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/ArtifactInputConfig.d.ts +46 -0
- package/dist/models/ArtifactInputConfig.js +58 -0
- package/dist/models/BatchContentRequest.d.ts +32 -0
- package/dist/models/BatchContentRequest.js +50 -0
- package/dist/models/BatchContentResponse.d.ts +33 -0
- package/dist/models/BatchContentResponse.js +51 -0
- package/dist/models/BatchGetEntriesRequest.d.ts +56 -0
- package/dist/models/BatchGetEntriesRequest.js +58 -0
- package/dist/models/BatchGetEntriesResponse.d.ts +39 -0
- package/dist/models/BatchGetEntriesResponse.js +55 -0
- package/dist/models/ChunkSearchResponse.d.ts +47 -0
- package/dist/models/ChunkSearchResponse.js +57 -0
- package/dist/models/ChunkSearchResult.d.ts +52 -0
- package/dist/models/ChunkSearchResult.js +58 -0
- package/dist/models/CollectionInfo.d.ts +50 -0
- package/dist/models/CollectionInfo.js +62 -0
- package/dist/models/ComponentArtifact.d.ts +46 -0
- package/dist/models/ComponentArtifact.js +54 -0
- package/dist/models/ComponentListResponse.d.ts +47 -0
- package/dist/models/ComponentListResponse.js +57 -0
- package/dist/models/ComponentMetadata.d.ts +95 -0
- package/dist/models/ComponentMetadata.js +74 -0
- package/dist/models/ComponentParameter.d.ts +48 -0
- package/dist/models/ComponentParameter.js +55 -0
- package/dist/models/CreateCollectionRequest.d.ts +44 -0
- package/dist/models/CreateCollectionRequest.js +54 -0
- package/dist/models/Dataset.d.ts +117 -0
- package/dist/models/Dataset.js +94 -0
- package/dist/models/DatasetCreateRequest.d.ts +58 -0
- package/dist/models/DatasetCreateRequest.js +68 -0
- package/dist/models/DatasetListResponse.d.ts +51 -0
- package/dist/models/DatasetListResponse.js +59 -0
- package/dist/models/DatasetPipelineConfigInput.d.ts +62 -0
- package/dist/models/DatasetPipelineConfigInput.js +65 -0
- package/dist/models/DatasetPipelineConfigOutput.d.ts +62 -0
- package/dist/models/DatasetPipelineConfigOutput.js +65 -0
- package/dist/models/DatasetResponse.d.ts +124 -0
- package/dist/models/DatasetResponse.js +100 -0
- package/dist/models/DatasetSchemaDefinition.d.ts +65 -0
- package/dist/models/DatasetSchemaDefinition.js +71 -0
- package/dist/models/DatasetSchemaOriginal.d.ts +46 -0
- package/dist/models/DatasetSchemaOriginal.js +52 -0
- package/dist/models/DatasetSchemaProcessed.d.ts +46 -0
- package/dist/models/DatasetSchemaProcessed.js +52 -0
- package/dist/models/DatasetSchemaProcessing.d.ts +38 -0
- package/dist/models/DatasetSchemaProcessing.js +50 -0
- package/dist/models/DatasetType.d.ts +27 -0
- package/dist/models/DatasetType.js +53 -0
- package/dist/models/DatasetUpdateSchemaRequest.d.ts +39 -0
- package/dist/models/DatasetUpdateSchemaRequest.js +55 -0
- package/dist/models/Default.d.ts +26 -0
- package/dist/models/Default.js +38 -0
- package/dist/models/EmbeddingProvider.d.ts +27 -0
- package/dist/models/EmbeddingProvider.js +53 -0
- package/dist/models/EmbeddingResponse.d.ts +57 -0
- package/dist/models/EmbeddingResponse.js +67 -0
- package/dist/models/Entry.d.ts +130 -0
- package/dist/models/Entry.js +100 -0
- package/dist/models/EntryContentResponse.d.ts +40 -0
- package/dist/models/EntryContentResponse.js +54 -0
- package/dist/models/EntryCreateRequest.d.ts +58 -0
- package/dist/models/EntryCreateRequest.js +62 -0
- package/dist/models/EntryCreateResponse.d.ts +39 -0
- package/dist/models/EntryCreateResponse.js +53 -0
- package/dist/models/EntryManifest.d.ts +71 -0
- package/dist/models/EntryManifest.js +65 -0
- package/dist/models/EntryPreview.d.ts +56 -0
- package/dist/models/EntryPreview.js +54 -0
- package/dist/models/EntrySearchResponse.d.ts +47 -0
- package/dist/models/EntrySearchResponse.js +57 -0
- package/dist/models/EntrySearchResult.d.ts +65 -0
- package/dist/models/EntrySearchResult.js +69 -0
- package/dist/models/EntryStatus.d.ts +29 -0
- package/dist/models/EntryStatus.js +55 -0
- package/dist/models/EntryUpdateRequest.d.ts +53 -0
- package/dist/models/EntryUpdateRequest.js +55 -0
- package/dist/models/EntryWithContent.d.ts +132 -0
- package/dist/models/EntryWithContent.js +102 -0
- package/dist/models/FileMetadata.d.ts +62 -0
- package/dist/models/FileMetadata.js +64 -0
- package/dist/models/GenerateEmbeddingsRequest.d.ts +44 -0
- package/dist/models/GenerateEmbeddingsRequest.js +54 -0
- package/dist/models/HTTPValidationError.d.ts +33 -0
- package/dist/models/HTTPValidationError.js +49 -0
- package/dist/models/HealthResponse.d.ts +50 -0
- package/dist/models/HealthResponse.js +62 -0
- package/dist/models/KeywordSearchHit.d.ts +96 -0
- package/dist/models/KeywordSearchHit.js +82 -0
- package/dist/models/KeywordSearchRequest.d.ts +102 -0
- package/dist/models/KeywordSearchRequest.js +80 -0
- package/dist/models/KeywordSearchResponse.d.ts +47 -0
- package/dist/models/KeywordSearchResponse.js +57 -0
- package/dist/models/ModelInfo.d.ts +51 -0
- package/dist/models/ModelInfo.js +63 -0
- package/dist/models/OriginalManifest.d.ts +41 -0
- package/dist/models/OriginalManifest.js +51 -0
- package/dist/models/PipelineStepConfig.d.ts +80 -0
- package/dist/models/PipelineStepConfig.js +69 -0
- package/dist/models/PresetListResponse.d.ts +42 -0
- package/dist/models/PresetListResponse.js +54 -0
- package/dist/models/ProcessedManifest.d.ts +59 -0
- package/dist/models/ProcessedManifest.js +57 -0
- package/dist/models/ProcessingManifest.d.ts +39 -0
- package/dist/models/ProcessingManifest.js +51 -0
- package/dist/models/RetryFailedWebhooksResponse.d.ts +44 -0
- package/dist/models/RetryFailedWebhooksResponse.js +58 -0
- package/dist/models/SaveProcessedContentRequest.d.ts +42 -0
- package/dist/models/SaveProcessedContentRequest.js +52 -0
- package/dist/models/SaveProcessedContentResponse.d.ts +45 -0
- package/dist/models/SaveProcessedContentResponse.js +57 -0
- package/dist/models/SearchSnippet.d.ts +57 -0
- package/dist/models/SearchSnippet.js +65 -0
- package/dist/models/SnippetContext.d.ts +68 -0
- package/dist/models/SnippetContext.js +75 -0
- package/dist/models/UploadFileResponse.d.ts +63 -0
- package/dist/models/UploadFileResponse.js +69 -0
- package/dist/models/ValidationError.d.ts +45 -0
- package/dist/models/ValidationError.js +59 -0
- package/dist/models/ValidationErrorLocInner.d.ts +26 -0
- package/dist/models/ValidationErrorLocInner.js +38 -0
- package/dist/models/VectorSearchRequest.d.ts +71 -0
- package/dist/models/VectorSearchRequest.js +60 -0
- package/dist/models/WebhookEndpointCreate.d.ts +32 -0
- package/dist/models/WebhookEndpointCreate.js +50 -0
- package/dist/models/WebhookEndpointResponse.d.ts +50 -0
- package/dist/models/WebhookEndpointResponse.js +62 -0
- package/dist/models/Weight.d.ts +101 -0
- package/dist/models/Weight.js +85 -0
- package/dist/models/WeightListResponse.d.ts +51 -0
- package/dist/models/WeightListResponse.js +59 -0
- package/dist/models/WeightResponse.d.ts +107 -0
- package/dist/models/WeightResponse.js +87 -0
- package/dist/models/WeightType.d.ts +26 -0
- package/dist/models/WeightType.js +52 -0
- package/dist/models/index.d.ts +66 -0
- package/dist/models/index.js +84 -0
- package/dist/runtime.d.ts +182 -0
- package/dist/runtime.js +334 -0
- package/package.json +38 -0
- package/src/apis/AdminApi.ts +140 -0
- package/src/apis/DatasetsApi.ts +461 -0
- package/src/apis/DefaultApi.ts +79 -0
- package/src/apis/EmbeddingsApi.ts +204 -0
- package/src/apis/EntriesApi.ts +969 -0
- package/src/apis/HealthApi.ts +161 -0
- package/src/apis/PipelinesApi.ts +432 -0
- package/src/apis/SearchApi.ts +234 -0
- package/src/apis/SyncApi.ts +125 -0
- package/src/apis/WebhooksApi.ts +191 -0
- package/src/apis/WeightsApi.ts +600 -0
- package/src/apis/index.ts +13 -0
- package/src/index.ts +5 -0
- package/src/models/ArtifactInputConfig.ts +86 -0
- package/src/models/BatchContentRequest.ts +66 -0
- package/src/models/BatchContentResponse.ts +74 -0
- package/src/models/BatchGetEntriesRequest.ts +98 -0
- package/src/models/BatchGetEntriesResponse.ts +83 -0
- package/src/models/ChunkSearchResponse.ts +91 -0
- package/src/models/ChunkSearchResult.ts +91 -0
- package/src/models/CollectionInfo.ts +93 -0
- package/src/models/ComponentArtifact.ts +84 -0
- package/src/models/ComponentListResponse.ts +93 -0
- package/src/models/ComponentMetadata.ts +158 -0
- package/src/models/ComponentParameter.ts +93 -0
- package/src/models/CreateCollectionRequest.ts +82 -0
- package/src/models/Dataset.ts +200 -0
- package/src/models/DatasetCreateRequest.ts +119 -0
- package/src/models/DatasetListResponse.ts +99 -0
- package/src/models/DatasetPipelineConfigInput.ts +112 -0
- package/src/models/DatasetPipelineConfigOutput.ts +112 -0
- package/src/models/DatasetResponse.ts +212 -0
- package/src/models/DatasetSchemaDefinition.ts +132 -0
- package/src/models/DatasetSchemaOriginal.ts +81 -0
- package/src/models/DatasetSchemaProcessed.ts +81 -0
- package/src/models/DatasetSchemaProcessing.ts +73 -0
- package/src/models/DatasetType.ts +55 -0
- package/src/models/DatasetUpdateSchemaRequest.ts +83 -0
- package/src/models/Default.ts +46 -0
- package/src/models/EmbeddingProvider.ts +55 -0
- package/src/models/EmbeddingResponse.ts +112 -0
- package/src/models/Entry.ts +218 -0
- package/src/models/EntryContentResponse.ts +75 -0
- package/src/models/EntryCreateRequest.ts +100 -0
- package/src/models/EntryCreateResponse.ts +82 -0
- package/src/models/EntryManifest.ts +135 -0
- package/src/models/EntryPreview.ts +89 -0
- package/src/models/EntrySearchResponse.ts +91 -0
- package/src/models/EntrySearchResult.ts +118 -0
- package/src/models/EntryStatus.ts +57 -0
- package/src/models/EntryUpdateRequest.ts +99 -0
- package/src/models/EntryWithContent.ts +220 -0
- package/src/models/FileMetadata.ts +108 -0
- package/src/models/GenerateEmbeddingsRequest.ts +82 -0
- package/src/models/HTTPValidationError.ts +73 -0
- package/src/models/HealthResponse.ts +93 -0
- package/src/models/KeywordSearchHit.ts +166 -0
- package/src/models/KeywordSearchRequest.ts +159 -0
- package/src/models/KeywordSearchResponse.ts +91 -0
- package/src/models/ModelInfo.ts +103 -0
- package/src/models/OriginalManifest.ts +81 -0
- package/src/models/PipelineStepConfig.ts +135 -0
- package/src/models/PresetListResponse.ts +77 -0
- package/src/models/ProcessedManifest.ts +105 -0
- package/src/models/ProcessingManifest.ts +81 -0
- package/src/models/RetryFailedWebhooksResponse.ts +84 -0
- package/src/models/SaveProcessedContentRequest.ts +74 -0
- package/src/models/SaveProcessedContentResponse.ts +91 -0
- package/src/models/SearchSnippet.ts +109 -0
- package/src/models/SnippetContext.ts +113 -0
- package/src/models/UploadFileResponse.ts +118 -0
- package/src/models/ValidationError.ts +92 -0
- package/src/models/ValidationErrorLocInner.ts +46 -0
- package/src/models/VectorSearchRequest.ts +116 -0
- package/src/models/WebhookEndpointCreate.ts +66 -0
- package/src/models/WebhookEndpointResponse.ts +93 -0
- package/src/models/Weight.ts +170 -0
- package/src/models/WeightListResponse.ts +99 -0
- package/src/models/WeightResponse.ts +178 -0
- package/src/models/WeightType.ts +54 -0
- package/src/models/index.ts +68 -0
- package/src/runtime.ts +431 -0
|
@@ -0,0 +1,69 @@
|
|
|
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.0.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.instanceOfUploadFileResponse = instanceOfUploadFileResponse;
|
|
17
|
+
exports.UploadFileResponseFromJSON = UploadFileResponseFromJSON;
|
|
18
|
+
exports.UploadFileResponseFromJSONTyped = UploadFileResponseFromJSONTyped;
|
|
19
|
+
exports.UploadFileResponseToJSON = UploadFileResponseToJSON;
|
|
20
|
+
exports.UploadFileResponseToJSONTyped = UploadFileResponseToJSONTyped;
|
|
21
|
+
const EntryManifest_1 = require("./EntryManifest");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UploadFileResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUploadFileResponse(value) {
|
|
26
|
+
if (!('entryId' in value) || value['entryId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('fileType' in value) || value['fileType'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('fileKey' in value) || value['fileKey'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('fileSize' in value) || value['fileSize'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('manifest' in value) || value['manifest'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function UploadFileResponseFromJSON(json) {
|
|
39
|
+
return UploadFileResponseFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function UploadFileResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'entryId': json['entry_id'],
|
|
47
|
+
'fileType': json['file_type'],
|
|
48
|
+
'fileKey': json['file_key'],
|
|
49
|
+
'fileSize': json['file_size'],
|
|
50
|
+
'manifest': (0, EntryManifest_1.EntryManifestFromJSON)(json['manifest']),
|
|
51
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function UploadFileResponseToJSON(json) {
|
|
55
|
+
return UploadFileResponseToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function UploadFileResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'entry_id': value['entryId'],
|
|
63
|
+
'file_type': value['fileType'],
|
|
64
|
+
'file_key': value['fileKey'],
|
|
65
|
+
'file_size': value['fileSize'],
|
|
66
|
+
'manifest': (0, EntryManifest_1.EntryManifestToJSON)(value['manifest']),
|
|
67
|
+
'success': value['success'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client Data API
|
|
3
|
+
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 { ValidationErrorLocInner } from './ValidationErrorLocInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ValidationError
|
|
17
|
+
*/
|
|
18
|
+
export interface ValidationError {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ValidationErrorLocInner>}
|
|
22
|
+
* @memberof ValidationError
|
|
23
|
+
*/
|
|
24
|
+
loc: Array<ValidationErrorLocInner>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ValidationError
|
|
29
|
+
*/
|
|
30
|
+
msg: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ValidationError
|
|
35
|
+
*/
|
|
36
|
+
type: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ValidationError interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfValidationError(value: object): value is ValidationError;
|
|
42
|
+
export declare function ValidationErrorFromJSON(json: any): ValidationError;
|
|
43
|
+
export declare function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationError;
|
|
44
|
+
export declare function ValidationErrorToJSON(json: any): ValidationError;
|
|
45
|
+
export declare function ValidationErrorToJSONTyped(value?: ValidationError | 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.0.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.instanceOfValidationError = instanceOfValidationError;
|
|
17
|
+
exports.ValidationErrorFromJSON = ValidationErrorFromJSON;
|
|
18
|
+
exports.ValidationErrorFromJSONTyped = ValidationErrorFromJSONTyped;
|
|
19
|
+
exports.ValidationErrorToJSON = ValidationErrorToJSON;
|
|
20
|
+
exports.ValidationErrorToJSONTyped = ValidationErrorToJSONTyped;
|
|
21
|
+
const ValidationErrorLocInner_1 = require("./ValidationErrorLocInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ValidationError interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfValidationError(value) {
|
|
26
|
+
if (!('loc' in value) || value['loc'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('msg' in value) || value['msg'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function ValidationErrorFromJSON(json) {
|
|
35
|
+
return ValidationErrorFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function ValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'loc': (json['loc'].map(ValidationErrorLocInner_1.ValidationErrorLocInnerFromJSON)),
|
|
43
|
+
'msg': json['msg'],
|
|
44
|
+
'type': json['type'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function ValidationErrorToJSON(json) {
|
|
48
|
+
return ValidationErrorToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function ValidationErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'loc': (value['loc'].map(ValidationErrorLocInner_1.ValidationErrorLocInnerToJSON)),
|
|
56
|
+
'msg': value['msg'],
|
|
57
|
+
'type': value['type'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client Data API
|
|
3
|
+
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ValidationErrorLocInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidationErrorLocInner {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
21
|
+
*/
|
|
22
|
+
export declare function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner;
|
|
23
|
+
export declare function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner;
|
|
24
|
+
export declare function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner;
|
|
25
|
+
export declare function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner;
|
|
26
|
+
export declare function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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.0.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.instanceOfValidationErrorLocInner = instanceOfValidationErrorLocInner;
|
|
17
|
+
exports.ValidationErrorLocInnerFromJSON = ValidationErrorLocInnerFromJSON;
|
|
18
|
+
exports.ValidationErrorLocInnerFromJSONTyped = ValidationErrorLocInnerFromJSONTyped;
|
|
19
|
+
exports.ValidationErrorLocInnerToJSON = ValidationErrorLocInnerToJSON;
|
|
20
|
+
exports.ValidationErrorLocInnerToJSONTyped = ValidationErrorLocInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfValidationErrorLocInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ValidationErrorLocInnerFromJSON(json) {
|
|
28
|
+
return ValidationErrorLocInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ValidationErrorLocInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function ValidationErrorLocInnerToJSON(json) {
|
|
34
|
+
return ValidationErrorLocInnerToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ValidationErrorLocInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client Data API
|
|
3
|
+
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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
|
+
* Request schema for vector search with auto-embedding support.
|
|
14
|
+
*
|
|
15
|
+
* Either `query` (text) or `query_vector` (pre-computed embeddings) must be provided.
|
|
16
|
+
* If both are provided, `query_vector` takes precedence.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface VectorSearchRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface VectorSearchRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof VectorSearchRequest
|
|
25
|
+
*/
|
|
26
|
+
query?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Array<number>}
|
|
30
|
+
* @memberof VectorSearchRequest
|
|
31
|
+
*/
|
|
32
|
+
queryVector?: Array<number> | null;
|
|
33
|
+
/**
|
|
34
|
+
* Maximum number of results to return
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof VectorSearchRequest
|
|
37
|
+
*/
|
|
38
|
+
limit?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Number of results to skip (for pagination)
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof VectorSearchRequest
|
|
43
|
+
*/
|
|
44
|
+
offset?: number;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof VectorSearchRequest
|
|
49
|
+
*/
|
|
50
|
+
scoreThreshold?: number | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<number>}
|
|
54
|
+
* @memberof VectorSearchRequest
|
|
55
|
+
*/
|
|
56
|
+
datasetIds?: Array<number> | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Array<number>}
|
|
60
|
+
* @memberof VectorSearchRequest
|
|
61
|
+
*/
|
|
62
|
+
entryIds?: Array<number> | null;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the VectorSearchRequest interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfVectorSearchRequest(value: object): value is VectorSearchRequest;
|
|
68
|
+
export declare function VectorSearchRequestFromJSON(json: any): VectorSearchRequest;
|
|
69
|
+
export declare function VectorSearchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): VectorSearchRequest;
|
|
70
|
+
export declare function VectorSearchRequestToJSON(json: any): VectorSearchRequest;
|
|
71
|
+
export declare function VectorSearchRequestToJSONTyped(value?: VectorSearchRequest | 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: 1.0.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.instanceOfVectorSearchRequest = instanceOfVectorSearchRequest;
|
|
17
|
+
exports.VectorSearchRequestFromJSON = VectorSearchRequestFromJSON;
|
|
18
|
+
exports.VectorSearchRequestFromJSONTyped = VectorSearchRequestFromJSONTyped;
|
|
19
|
+
exports.VectorSearchRequestToJSON = VectorSearchRequestToJSON;
|
|
20
|
+
exports.VectorSearchRequestToJSONTyped = VectorSearchRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VectorSearchRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVectorSearchRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function VectorSearchRequestFromJSON(json) {
|
|
28
|
+
return VectorSearchRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function VectorSearchRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'query': json['query'] == null ? undefined : json['query'],
|
|
36
|
+
'queryVector': json['query_vector'] == null ? undefined : json['query_vector'],
|
|
37
|
+
'limit': json['limit'] == null ? undefined : json['limit'],
|
|
38
|
+
'offset': json['offset'] == null ? undefined : json['offset'],
|
|
39
|
+
'scoreThreshold': json['score_threshold'] == null ? undefined : json['score_threshold'],
|
|
40
|
+
'datasetIds': json['dataset_ids'] == null ? undefined : json['dataset_ids'],
|
|
41
|
+
'entryIds': json['entry_ids'] == null ? undefined : json['entry_ids'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function VectorSearchRequestToJSON(json) {
|
|
45
|
+
return VectorSearchRequestToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function VectorSearchRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'query': value['query'],
|
|
53
|
+
'query_vector': value['queryVector'],
|
|
54
|
+
'limit': value['limit'],
|
|
55
|
+
'offset': value['offset'],
|
|
56
|
+
'score_threshold': value['scoreThreshold'],
|
|
57
|
+
'dataset_ids': value['datasetIds'],
|
|
58
|
+
'entry_ids': value['entryIds'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client Data API
|
|
3
|
+
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WebhookEndpointCreate
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookEndpointCreate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WebhookEndpointCreate
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the WebhookEndpointCreate interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfWebhookEndpointCreate(value: object): value is WebhookEndpointCreate;
|
|
29
|
+
export declare function WebhookEndpointCreateFromJSON(json: any): WebhookEndpointCreate;
|
|
30
|
+
export declare function WebhookEndpointCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookEndpointCreate;
|
|
31
|
+
export declare function WebhookEndpointCreateToJSON(json: any): WebhookEndpointCreate;
|
|
32
|
+
export declare function WebhookEndpointCreateToJSONTyped(value?: WebhookEndpointCreate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.0.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.instanceOfWebhookEndpointCreate = instanceOfWebhookEndpointCreate;
|
|
17
|
+
exports.WebhookEndpointCreateFromJSON = WebhookEndpointCreateFromJSON;
|
|
18
|
+
exports.WebhookEndpointCreateFromJSONTyped = WebhookEndpointCreateFromJSONTyped;
|
|
19
|
+
exports.WebhookEndpointCreateToJSON = WebhookEndpointCreateToJSON;
|
|
20
|
+
exports.WebhookEndpointCreateToJSONTyped = WebhookEndpointCreateToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the WebhookEndpointCreate interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfWebhookEndpointCreate(value) {
|
|
25
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function WebhookEndpointCreateFromJSON(json) {
|
|
30
|
+
return WebhookEndpointCreateFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function WebhookEndpointCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'url': json['url'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function WebhookEndpointCreateToJSON(json) {
|
|
41
|
+
return WebhookEndpointCreateToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function WebhookEndpointCreateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'url': value['url'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client Data API
|
|
3
|
+
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WebhookEndpointResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookEndpointResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof WebhookEndpointResponse
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WebhookEndpointResponse
|
|
28
|
+
*/
|
|
29
|
+
url: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof WebhookEndpointResponse
|
|
34
|
+
*/
|
|
35
|
+
isActive: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof WebhookEndpointResponse
|
|
40
|
+
*/
|
|
41
|
+
createdAt: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the WebhookEndpointResponse interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfWebhookEndpointResponse(value: object): value is WebhookEndpointResponse;
|
|
47
|
+
export declare function WebhookEndpointResponseFromJSON(json: any): WebhookEndpointResponse;
|
|
48
|
+
export declare function WebhookEndpointResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookEndpointResponse;
|
|
49
|
+
export declare function WebhookEndpointResponseToJSON(json: any): WebhookEndpointResponse;
|
|
50
|
+
export declare function WebhookEndpointResponseToJSONTyped(value?: WebhookEndpointResponse | 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.0.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.instanceOfWebhookEndpointResponse = instanceOfWebhookEndpointResponse;
|
|
17
|
+
exports.WebhookEndpointResponseFromJSON = WebhookEndpointResponseFromJSON;
|
|
18
|
+
exports.WebhookEndpointResponseFromJSONTyped = WebhookEndpointResponseFromJSONTyped;
|
|
19
|
+
exports.WebhookEndpointResponseToJSON = WebhookEndpointResponseToJSON;
|
|
20
|
+
exports.WebhookEndpointResponseToJSONTyped = WebhookEndpointResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the WebhookEndpointResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfWebhookEndpointResponse(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('isActive' in value) || value['isActive'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function WebhookEndpointResponseFromJSON(json) {
|
|
36
|
+
return WebhookEndpointResponseFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function WebhookEndpointResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'url': json['url'],
|
|
45
|
+
'isActive': json['is_active'],
|
|
46
|
+
'createdAt': (new Date(json['created_at'])),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function WebhookEndpointResponseToJSON(json) {
|
|
50
|
+
return WebhookEndpointResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function WebhookEndpointResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': value['id'],
|
|
58
|
+
'url': value['url'],
|
|
59
|
+
'is_active': value['isActive'],
|
|
60
|
+
'created_at': ((value['createdAt']).toISOString()),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client Data API
|
|
3
|
+
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 { WeightType } from './WeightType';
|
|
13
|
+
/**
|
|
14
|
+
* Complete weight schema
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Weight
|
|
17
|
+
*/
|
|
18
|
+
export interface Weight {
|
|
19
|
+
/**
|
|
20
|
+
* S3/MinIO bucket path to weight file
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Weight
|
|
23
|
+
*/
|
|
24
|
+
bucketPath: string;
|
|
25
|
+
/**
|
|
26
|
+
* MIME type of weight file
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Weight
|
|
29
|
+
*/
|
|
30
|
+
mimeType: string;
|
|
31
|
+
/**
|
|
32
|
+
* File size in bytes
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof Weight
|
|
35
|
+
*/
|
|
36
|
+
size: number;
|
|
37
|
+
/**
|
|
38
|
+
* Type of weight
|
|
39
|
+
* @type {WeightType}
|
|
40
|
+
* @memberof Weight
|
|
41
|
+
*/
|
|
42
|
+
type: WeightType;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Weight
|
|
47
|
+
*/
|
|
48
|
+
externalId?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {{ [key: string]: any; }}
|
|
52
|
+
* @memberof Weight
|
|
53
|
+
*/
|
|
54
|
+
metadata?: {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
} | null;
|
|
57
|
+
/**
|
|
58
|
+
* Weight ID
|
|
59
|
+
* @type {number}
|
|
60
|
+
* @memberof Weight
|
|
61
|
+
*/
|
|
62
|
+
id: number;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof Weight
|
|
67
|
+
*/
|
|
68
|
+
datasetId?: number | null;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {number}
|
|
72
|
+
* @memberof Weight
|
|
73
|
+
*/
|
|
74
|
+
aiModelId?: number | null;
|
|
75
|
+
/**
|
|
76
|
+
* Creation timestamp
|
|
77
|
+
* @type {Date}
|
|
78
|
+
* @memberof Weight
|
|
79
|
+
*/
|
|
80
|
+
createdAt: Date;
|
|
81
|
+
/**
|
|
82
|
+
* Last update timestamp
|
|
83
|
+
* @type {Date}
|
|
84
|
+
* @memberof Weight
|
|
85
|
+
*/
|
|
86
|
+
updatedAt: Date;
|
|
87
|
+
/**
|
|
88
|
+
* Version number for optimistic locking
|
|
89
|
+
* @type {number}
|
|
90
|
+
* @memberof Weight
|
|
91
|
+
*/
|
|
92
|
+
version?: number;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the Weight interface.
|
|
96
|
+
*/
|
|
97
|
+
export declare function instanceOfWeight(value: object): value is Weight;
|
|
98
|
+
export declare function WeightFromJSON(json: any): Weight;
|
|
99
|
+
export declare function WeightFromJSONTyped(json: any, ignoreDiscriminator: boolean): Weight;
|
|
100
|
+
export declare function WeightToJSON(json: any): Weight;
|
|
101
|
+
export declare function WeightToJSONTyped(value?: Weight | null, ignoreDiscriminator?: boolean): any;
|