@picteus/extension-sdk 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/AdministrationApi.js +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.js +2 -2
- package/dist/picteus-ws-client/apis/CollectionApi.d.ts +167 -0
- package/dist/picteus-ws-client/apis/CollectionApi.js +188 -0
- package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.js +1 -1
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +99 -16
- package/dist/picteus-ws-client/apis/ImageApi.js +115 -13
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +1 -1
- package/dist/picteus-ws-client/apis/MiscellaneousApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/MiscellaneousApi.js +1 -1
- package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +25 -35
- package/dist/picteus-ws-client/apis/RepositoryApi.js +29 -42
- package/dist/picteus-ws-client/apis/SettingsApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/SettingsApi.js +1 -1
- package/dist/picteus-ws-client/apis/index.d.ts +1 -0
- package/dist/picteus-ws-client/apis/index.js +1 -0
- package/dist/picteus-ws-client/models/ApiSecret.d.ts +17 -17
- package/dist/picteus-ws-client/models/ApiSecret.js +7 -7
- package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +17 -17
- package/dist/picteus-ws-client/models/ApiSecretSummary.js +7 -7
- package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadata.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItem.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItem.js +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.js +1 -1
- package/dist/picteus-ws-client/models/Collection.d.ts +63 -0
- package/dist/picteus-ws-client/models/Collection.js +62 -0
- package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
- package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ComputedImageFormat.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/ConstantsRegistry.d.ts +40 -0
- package/dist/picteus-ws-client/models/ConstantsRegistry.js +49 -0
- package/dist/picteus-ws-client/models/Dates.d.ts +1 -1
- package/dist/picteus-ws-client/models/Dates.js +1 -1
- package/dist/picteus-ws-client/models/Extension.d.ts +1 -1
- package/dist/picteus-ws-client/models/Extension.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityKind.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +6 -5
- package/dist/picteus-ws-client/models/ExtensionImageFeature.js +4 -3
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +52 -0
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +57 -0
- package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +2 -2
- package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionStatus.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +2 -2
- package/dist/picteus-ws-client/models/GenerationRecipe.js +4 -2
- package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +1 -1
- package/dist/picteus-ws-client/models/Image.d.ts +1 -1
- package/dist/picteus-ws-client/models/Image.js +1 -1
- package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
- package/dist/picteus-ws-client/models/ImageDistance.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
- package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageEmbeddings.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeature.d.ts +6 -5
- package/dist/picteus-ws-client/models/ImageFeature.js +4 -3
- package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +4 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.js +4 -1
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.d.ts +24 -0
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.js +42 -0
- package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +3 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.js +3 -1
- package/dist/picteus-ws-client/models/ImageFeatureValue.d.ts +21 -0
- package/dist/picteus-ws-client/models/ImageFeatureValue.js +55 -0
- package/dist/picteus-ws-client/models/ImageFormat.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageFormat.js +2 -2
- package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
- package/dist/picteus-ws-client/models/ImageSummaryList.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageSummaryList.js +1 -1
- package/dist/picteus-ws-client/models/InstructionsPrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/InstructionsPrompt.js +1 -1
- package/dist/picteus-ws-client/models/Manifest.d.ts +1 -1
- package/dist/picteus-ws-client/models/Manifest.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
- package/dist/picteus-ws-client/models/ManifestEvent.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestEvent.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
- package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.js +1 -1
- package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
- package/dist/picteus-ws-client/models/PromptKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/PromptKind.js +1 -1
- package/dist/picteus-ws-client/models/Repository.d.ts +1 -1
- package/dist/picteus-ws-client/models/Repository.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
- package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryStatus.js +1 -1
- package/dist/picteus-ws-client/models/SearchCriteria.d.ts +8 -1
- package/dist/picteus-ws-client/models/SearchCriteria.js +4 -1
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.d.ts +30 -0
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.js +48 -0
- package/dist/picteus-ws-client/models/SearchFeatureCondition.d.ts +60 -0
- package/dist/picteus-ws-client/models/SearchFeatureCondition.js +59 -0
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +21 -0
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +55 -0
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.d.ts +26 -0
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.js +44 -0
- package/dist/picteus-ws-client/models/SearchFeatures.d.ts +46 -0
- package/dist/picteus-ws-client/models/SearchFeatures.js +51 -0
- package/dist/picteus-ws-client/models/SearchFilter.d.ts +47 -0
- package/dist/picteus-ws-client/models/SearchFilter.js +48 -0
- package/dist/picteus-ws-client/models/SearchFilterOrigin.d.ts +27 -0
- package/dist/picteus-ws-client/models/SearchFilterOrigin.js +47 -0
- package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchImagesOrigin.js +48 -0
- package/dist/picteus-ws-client/models/SearchKeyword.d.ts +2 -2
- package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
- package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +25 -0
- package/dist/picteus-ws-client/models/SearchOriginNature.js +43 -0
- package/dist/picteus-ws-client/models/SearchProperties.d.ts +2 -2
- package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
- package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchRange.d.ts +2 -2
- package/dist/picteus-ws-client/models/SearchRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +48 -0
- package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
- package/dist/picteus-ws-client/models/SearchTags.d.ts +3 -3
- package/dist/picteus-ws-client/models/SearchTags.js +1 -1
- package/dist/picteus-ws-client/models/Settings.d.ts +1 -1
- package/dist/picteus-ws-client/models/Settings.js +1 -1
- package/dist/picteus-ws-client/models/Software.d.ts +24 -0
- package/dist/picteus-ws-client/models/Software.js +42 -0
- package/dist/picteus-ws-client/models/TextualPrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/TextualPrompt.js +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
- package/dist/picteus-ws-client/models/index.d.ts +16 -0
- package/dist/picteus-ws-client/models/index.js +16 -0
- package/dist/picteus-ws-client/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +1 -1
- package/dist/picteusExtension.d.ts +8 -4
- package/dist/picteusExtension.js +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
|
+
* Contact: edouard@koppasoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SearchOriginNatureFromJSON, SearchOriginNatureToJSON, } from './SearchOriginNature.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SearchImagesOrigin interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSearchImagesOrigin(value) {
|
|
19
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('ids' in value) || value['ids'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function SearchImagesOriginFromJSON(json) {
|
|
26
|
+
return SearchImagesOriginFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function SearchImagesOriginFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'kind': SearchOriginNatureFromJSON(json['kind']),
|
|
34
|
+
'ids': json['ids'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function SearchImagesOriginToJSON(json) {
|
|
38
|
+
return SearchImagesOriginToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SearchImagesOriginToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'kind': SearchOriginNatureToJSON(value['kind']),
|
|
46
|
+
'ids': value['ids'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The textual specifications to match when searching for images
|
|
13
|
+
* The textual specifications to match when searching for images, i.e. how an image search should operate regarding the images multiple texts
|
|
14
14
|
* @export
|
|
15
15
|
* @interface SearchKeyword
|
|
16
16
|
*/
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
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
|
+
* Indicates how the search result entities should be sorted
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const SearchOriginNature: {
|
|
17
|
+
readonly Repositories: "repositories";
|
|
18
|
+
readonly Images: "images";
|
|
19
|
+
};
|
|
20
|
+
export type SearchOriginNature = typeof SearchOriginNature[keyof typeof SearchOriginNature];
|
|
21
|
+
export declare function instanceOfSearchOriginNature(value: any): boolean;
|
|
22
|
+
export declare function SearchOriginNatureFromJSON(json: any): SearchOriginNature;
|
|
23
|
+
export declare function SearchOriginNatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchOriginNature;
|
|
24
|
+
export declare function SearchOriginNatureToJSON(value?: SearchOriginNature | null): any;
|
|
25
|
+
export declare function SearchOriginNatureToJSONTyped(value: any, ignoreDiscriminator: boolean): SearchOriginNature;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
|
+
* Contact: edouard@koppasoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Indicates how the search result entities should be sorted
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SearchOriginNature = {
|
|
19
|
+
Repositories: 'repositories',
|
|
20
|
+
Images: 'images'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfSearchOriginNature(value) {
|
|
23
|
+
for (const key in SearchOriginNature) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(SearchOriginNature, key)) {
|
|
25
|
+
if (SearchOriginNature[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function SearchOriginNatureFromJSON(json) {
|
|
33
|
+
return SearchOriginNatureFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SearchOriginNatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function SearchOriginNatureToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function SearchOriginNatureToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { SearchPropertyRange } from './SearchPropertyRange.js';
|
|
13
13
|
/**
|
|
14
|
-
* Technical properties to match when searching for images
|
|
14
|
+
* Technical properties to match when searching for images, i.e. how an image search should operate regarding the image technical properties
|
|
15
15
|
* @export
|
|
16
16
|
* @interface SearchProperties
|
|
17
17
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* A range of images to return when searching for images
|
|
13
|
+
* A range of images to return when searching for images, i.e. how to restrict the number of entities following a search
|
|
14
14
|
* @export
|
|
15
15
|
* @interface SearchRange
|
|
16
16
|
*/
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
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 { SearchOriginNature } from './SearchOriginNature.js';
|
|
13
|
+
/**
|
|
14
|
+
* A repositories-based search origin, involving that the images should belong to the designed repositories
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SearchRepositoriesOrigin
|
|
17
|
+
*/
|
|
18
|
+
export interface SearchRepositoriesOrigin {
|
|
19
|
+
/**
|
|
20
|
+
* Indicates how the search result entities should be sorted
|
|
21
|
+
* @type {SearchOriginNature}
|
|
22
|
+
* @memberof SearchRepositoriesOrigin
|
|
23
|
+
*/
|
|
24
|
+
kind: SearchOriginNature;
|
|
25
|
+
/**
|
|
26
|
+
* The repository identifiers
|
|
27
|
+
* @type {Array<string>}
|
|
28
|
+
* @memberof SearchRepositoriesOrigin
|
|
29
|
+
*/
|
|
30
|
+
ids: Array<string>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SearchRepositoriesOrigin interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSearchRepositoriesOrigin(value: object): value is SearchRepositoriesOrigin;
|
|
36
|
+
export declare function SearchRepositoriesOriginFromJSON(json: any): SearchRepositoriesOrigin;
|
|
37
|
+
export declare function SearchRepositoriesOriginFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchRepositoriesOrigin;
|
|
38
|
+
export declare function SearchRepositoriesOriginToJSON(json: any): SearchRepositoriesOrigin;
|
|
39
|
+
export declare function SearchRepositoriesOriginToJSONTyped(value?: SearchRepositoriesOrigin | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
|
+
* Contact: edouard@koppasoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SearchOriginNatureFromJSON, SearchOriginNatureToJSON, } from './SearchOriginNature.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SearchRepositoriesOrigin interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSearchRepositoriesOrigin(value) {
|
|
19
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('ids' in value) || value['ids'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function SearchRepositoriesOriginFromJSON(json) {
|
|
26
|
+
return SearchRepositoriesOriginFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function SearchRepositoriesOriginFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'kind': SearchOriginNatureFromJSON(json['kind']),
|
|
34
|
+
'ids': json['ids'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function SearchRepositoriesOriginToJSON(json) {
|
|
38
|
+
return SearchRepositoriesOriginToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SearchRepositoriesOriginToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'kind': SearchOriginNatureToJSON(value['kind']),
|
|
46
|
+
'ids': value['ids'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The matching values of tags to match when searching for images
|
|
13
|
+
* The matching values of tags to match when searching for images, i.e. how an image search should operate regarding the image tags
|
|
14
14
|
* @export
|
|
15
15
|
* @interface SearchTags
|
|
16
16
|
*/
|
|
17
17
|
export interface SearchTags {
|
|
18
18
|
/**
|
|
19
|
-
* The tags to search for
|
|
19
|
+
* The tags to search for, i.e. images matching at least of the tags will be included in the result
|
|
20
20
|
* @type {Array<string>}
|
|
21
21
|
* @memberof SearchTags
|
|
22
22
|
*/
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
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
|
+
* The application name
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const Software: {
|
|
17
|
+
readonly Picteus: "picteus";
|
|
18
|
+
};
|
|
19
|
+
export type Software = typeof Software[keyof typeof Software];
|
|
20
|
+
export declare function instanceOfSoftware(value: any): boolean;
|
|
21
|
+
export declare function SoftwareFromJSON(json: any): Software;
|
|
22
|
+
export declare function SoftwareFromJSONTyped(json: any, ignoreDiscriminator: boolean): Software;
|
|
23
|
+
export declare function SoftwareToJSON(value?: Software | null): any;
|
|
24
|
+
export declare function SoftwareToJSONTyped(value: any, ignoreDiscriminator: boolean): Software;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
|
+
* Contact: edouard@koppasoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* The application name
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const Software = {
|
|
19
|
+
Picteus: 'picteus'
|
|
20
|
+
};
|
|
21
|
+
export function instanceOfSoftware(value) {
|
|
22
|
+
for (const key in Software) {
|
|
23
|
+
if (Object.prototype.hasOwnProperty.call(Software, key)) {
|
|
24
|
+
if (Software[key] === value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
export function SoftwareFromJSON(json) {
|
|
32
|
+
return SoftwareFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function SoftwareFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
export function SoftwareToJSON(value) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
export function SoftwareToJSONTyped(value, ignoreDiscriminator) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
@@ -4,10 +4,12 @@ export * from './ApiSecretType.js';
|
|
|
4
4
|
export * from './ApplicationMetadata.js';
|
|
5
5
|
export * from './ApplicationMetadataItem.js';
|
|
6
6
|
export * from './ApplicationMetadataItemValue.js';
|
|
7
|
+
export * from './Collection.js';
|
|
7
8
|
export * from './CommandEntity.js';
|
|
8
9
|
export * from './ComputedImageFormat.js';
|
|
9
10
|
export * from './ConfigurationCapability.js';
|
|
10
11
|
export * from './ConfigurationExtensionCommand.js';
|
|
12
|
+
export * from './ConstantsRegistry.js';
|
|
11
13
|
export * from './Dates.js';
|
|
12
14
|
export * from './Extension.js';
|
|
13
15
|
export * from './ExtensionActivity.js';
|
|
@@ -16,6 +18,7 @@ export * from './ExtensionAndManual.js';
|
|
|
16
18
|
export * from './ExtensionGenerationOptions.js';
|
|
17
19
|
export * from './ExtensionImageEmbeddings.js';
|
|
18
20
|
export * from './ExtensionImageFeature.js';
|
|
21
|
+
export * from './ExtensionImageFeatureName.js';
|
|
19
22
|
export * from './ExtensionImageTag.js';
|
|
20
23
|
export * from './ExtensionManual.js';
|
|
21
24
|
export * from './ExtensionSettings.js';
|
|
@@ -29,7 +32,9 @@ export * from './ImageDistance.js';
|
|
|
29
32
|
export * from './ImageEmbeddings.js';
|
|
30
33
|
export * from './ImageFeature.js';
|
|
31
34
|
export * from './ImageFeatureFormat.js';
|
|
35
|
+
export * from './ImageFeatureNullValue.js';
|
|
32
36
|
export * from './ImageFeatureType.js';
|
|
37
|
+
export * from './ImageFeatureValue.js';
|
|
33
38
|
export * from './ImageFormat.js';
|
|
34
39
|
export * from './ImageMediaUrl.js';
|
|
35
40
|
export * from './ImageMetadata.js';
|
|
@@ -58,13 +63,24 @@ export * from './RepositoryActivityKind.js';
|
|
|
58
63
|
export * from './RepositoryLocationType.js';
|
|
59
64
|
export * from './RepositoryStatus.js';
|
|
60
65
|
export * from './SearchCriteria.js';
|
|
66
|
+
export * from './SearchFeatureComparisonOperator.js';
|
|
67
|
+
export * from './SearchFeatureCondition.js';
|
|
68
|
+
export * from './SearchFeatureConditionValue.js';
|
|
69
|
+
export * from './SearchFeatureLogicalOperator.js';
|
|
70
|
+
export * from './SearchFeatures.js';
|
|
71
|
+
export * from './SearchFilter.js';
|
|
72
|
+
export * from './SearchFilterOrigin.js';
|
|
73
|
+
export * from './SearchImagesOrigin.js';
|
|
61
74
|
export * from './SearchKeyword.js';
|
|
75
|
+
export * from './SearchOriginNature.js';
|
|
62
76
|
export * from './SearchProperties.js';
|
|
63
77
|
export * from './SearchPropertyRange.js';
|
|
64
78
|
export * from './SearchRange.js';
|
|
79
|
+
export * from './SearchRepositoriesOrigin.js';
|
|
65
80
|
export * from './SearchSorting.js';
|
|
66
81
|
export * from './SearchSortingProperty.js';
|
|
67
82
|
export * from './SearchTags.js';
|
|
68
83
|
export * from './Settings.js';
|
|
84
|
+
export * from './Software.js';
|
|
69
85
|
export * from './TextualPrompt.js';
|
|
70
86
|
export * from './UserInterfaceAnchor.js';
|
|
@@ -6,10 +6,12 @@ export * from './ApiSecretType.js';
|
|
|
6
6
|
export * from './ApplicationMetadata.js';
|
|
7
7
|
export * from './ApplicationMetadataItem.js';
|
|
8
8
|
export * from './ApplicationMetadataItemValue.js';
|
|
9
|
+
export * from './Collection.js';
|
|
9
10
|
export * from './CommandEntity.js';
|
|
10
11
|
export * from './ComputedImageFormat.js';
|
|
11
12
|
export * from './ConfigurationCapability.js';
|
|
12
13
|
export * from './ConfigurationExtensionCommand.js';
|
|
14
|
+
export * from './ConstantsRegistry.js';
|
|
13
15
|
export * from './Dates.js';
|
|
14
16
|
export * from './Extension.js';
|
|
15
17
|
export * from './ExtensionActivity.js';
|
|
@@ -18,6 +20,7 @@ export * from './ExtensionAndManual.js';
|
|
|
18
20
|
export * from './ExtensionGenerationOptions.js';
|
|
19
21
|
export * from './ExtensionImageEmbeddings.js';
|
|
20
22
|
export * from './ExtensionImageFeature.js';
|
|
23
|
+
export * from './ExtensionImageFeatureName.js';
|
|
21
24
|
export * from './ExtensionImageTag.js';
|
|
22
25
|
export * from './ExtensionManual.js';
|
|
23
26
|
export * from './ExtensionSettings.js';
|
|
@@ -31,7 +34,9 @@ export * from './ImageDistance.js';
|
|
|
31
34
|
export * from './ImageEmbeddings.js';
|
|
32
35
|
export * from './ImageFeature.js';
|
|
33
36
|
export * from './ImageFeatureFormat.js';
|
|
37
|
+
export * from './ImageFeatureNullValue.js';
|
|
34
38
|
export * from './ImageFeatureType.js';
|
|
39
|
+
export * from './ImageFeatureValue.js';
|
|
35
40
|
export * from './ImageFormat.js';
|
|
36
41
|
export * from './ImageMediaUrl.js';
|
|
37
42
|
export * from './ImageMetadata.js';
|
|
@@ -60,13 +65,24 @@ export * from './RepositoryActivityKind.js';
|
|
|
60
65
|
export * from './RepositoryLocationType.js';
|
|
61
66
|
export * from './RepositoryStatus.js';
|
|
62
67
|
export * from './SearchCriteria.js';
|
|
68
|
+
export * from './SearchFeatureComparisonOperator.js';
|
|
69
|
+
export * from './SearchFeatureCondition.js';
|
|
70
|
+
export * from './SearchFeatureConditionValue.js';
|
|
71
|
+
export * from './SearchFeatureLogicalOperator.js';
|
|
72
|
+
export * from './SearchFeatures.js';
|
|
73
|
+
export * from './SearchFilter.js';
|
|
74
|
+
export * from './SearchFilterOrigin.js';
|
|
75
|
+
export * from './SearchImagesOrigin.js';
|
|
63
76
|
export * from './SearchKeyword.js';
|
|
77
|
+
export * from './SearchOriginNature.js';
|
|
64
78
|
export * from './SearchProperties.js';
|
|
65
79
|
export * from './SearchPropertyRange.js';
|
|
66
80
|
export * from './SearchRange.js';
|
|
81
|
+
export * from './SearchRepositoriesOrigin.js';
|
|
67
82
|
export * from './SearchSorting.js';
|
|
68
83
|
export * from './SearchSortingProperty.js';
|
|
69
84
|
export * from './SearchTags.js';
|
|
70
85
|
export * from './Settings.js';
|
|
86
|
+
export * from './Software.js';
|
|
71
87
|
export * from './TextualPrompt.js';
|
|
72
88
|
export * from './UserInterfaceAnchor.js';
|