@picteus/extension-sdk 0.7.1 → 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 +133 -77
- package/dist/picteus-ws-client/apis/ImageApi.js +134 -64
- 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 +48 -35
- package/dist/picteus-ws-client/apis/RepositoryApi.js +56 -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/Automatic1111Instruction.d.ts +1 -1
- package/dist/picteus-ws-client/models/Automatic1111Instruction.js +1 -1
- package/dist/picteus-ws-client/models/Automatic1111UserComment.d.ts +1 -1
- package/dist/picteus-ws-client/models/Automatic1111UserComment.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/ComfyUiPromptAndWorkflow.d.ts +1 -1
- package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.js +1 -1
- 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 -8
- package/dist/picteus-ws-client/models/Image.js +1 -6
- 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/ImageGenerator.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageGenerator.js +1 -1
- 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 -8
- package/dist/picteus-ws-client/models/ImageSummary.js +1 -6
- 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/MidjourneyInstructions.d.ts +1 -1
- package/dist/picteus-ws-client/models/MidjourneyInstructions.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 -8
- package/dist/picteus-ws-client/models/SearchCriteria.js +4 -4
- 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 +3 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.js +3 -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 +2 -1
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +2 -1
- package/dist/picteus-ws-client/models/index.d.ts +16 -5
- package/dist/picteus-ws-client/models/index.js +16 -5
- 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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,6 +20,8 @@ export function instanceOfGenerationRecipe(value) {
|
|
|
20
20
|
return false;
|
|
21
21
|
if (!('modelTags' in value) || value['modelTags'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
+
if (!('prompt' in value) || value['prompt'] === undefined)
|
|
24
|
+
return false;
|
|
23
25
|
return true;
|
|
24
26
|
}
|
|
25
27
|
export function GenerationRecipeFromJSON(json) {
|
|
@@ -37,7 +39,7 @@ export function GenerationRecipeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
39
|
'software': json['software'] == null ? undefined : json['software'],
|
|
38
40
|
'inputAssets': json['inputAssets'] == null ? undefined : json['inputAssets'],
|
|
39
41
|
'aspectRatio': json['aspectRatio'] == null ? undefined : json['aspectRatio'],
|
|
40
|
-
'prompt':
|
|
42
|
+
'prompt': GenerationRecipePromptFromJSON(json['prompt']),
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
export function GenerationRecipeToJSON(json) {
|
|
@@ -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).
|
|
@@ -14,7 +14,6 @@ import type { ExtensionImageTag } from './ExtensionImageTag.js';
|
|
|
14
14
|
import type { ImageDimensions } from './ImageDimensions.js';
|
|
15
15
|
import type { ImageMetadata } from './ImageMetadata.js';
|
|
16
16
|
import type { Dates } from './Dates.js';
|
|
17
|
-
import type { ImageGenerator } from './ImageGenerator.js';
|
|
18
17
|
import type { ImageFormat } from './ImageFormat.js';
|
|
19
18
|
/**
|
|
20
19
|
* Comprehensive information about an image
|
|
@@ -106,12 +105,6 @@ export interface Image {
|
|
|
106
105
|
* @memberof Image
|
|
107
106
|
*/
|
|
108
107
|
fileDates: Dates;
|
|
109
|
-
/**
|
|
110
|
-
* The pieces of software used to generate the image
|
|
111
|
-
* @type {Array<ImageGenerator>}
|
|
112
|
-
* @memberof Image
|
|
113
|
-
*/
|
|
114
|
-
generators: Array<ImageGenerator>;
|
|
115
108
|
/**
|
|
116
109
|
* The image metadata
|
|
117
110
|
* @type {ImageMetadata}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,7 +16,6 @@ import { ExtensionImageTagFromJSON, ExtensionImageTagToJSON, } from './Extension
|
|
|
16
16
|
import { ImageDimensionsFromJSON, ImageDimensionsToJSON, } from './ImageDimensions.js';
|
|
17
17
|
import { ImageMetadataFromJSON, ImageMetadataToJSON, } from './ImageMetadata.js';
|
|
18
18
|
import { DatesFromJSON, DatesToJSON, } from './Dates.js';
|
|
19
|
-
import { ImageGeneratorFromJSON, ImageGeneratorToJSON, } from './ImageGenerator.js';
|
|
20
19
|
import { ImageFormatFromJSON, ImageFormatToJSON, } from './ImageFormat.js';
|
|
21
20
|
/**
|
|
22
21
|
* Check if a given object implements the Image interface.
|
|
@@ -46,8 +45,6 @@ export function instanceOfImage(value) {
|
|
|
46
45
|
return false;
|
|
47
46
|
if (!('fileDates' in value) || value['fileDates'] === undefined)
|
|
48
47
|
return false;
|
|
49
|
-
if (!('generators' in value) || value['generators'] === undefined)
|
|
50
|
-
return false;
|
|
51
48
|
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
52
49
|
return false;
|
|
53
50
|
if (!('features' in value) || value['features'] === undefined)
|
|
@@ -78,7 +75,6 @@ export function ImageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
78
75
|
'sizeInBytes': json['sizeInBytes'],
|
|
79
76
|
'dimensions': ImageDimensionsFromJSON(json['dimensions']),
|
|
80
77
|
'fileDates': DatesFromJSON(json['fileDates']),
|
|
81
|
-
'generators': (json['generators'].map(ImageGeneratorFromJSON)),
|
|
82
78
|
'metadata': ImageMetadataFromJSON(json['metadata']),
|
|
83
79
|
'features': (json['features'].map(ExtensionImageFeatureFromJSON)),
|
|
84
80
|
'tags': (json['tags'].map(ExtensionImageTagFromJSON)),
|
|
@@ -106,7 +102,6 @@ export function ImageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
106
102
|
'sizeInBytes': value['sizeInBytes'],
|
|
107
103
|
'dimensions': ImageDimensionsToJSON(value['dimensions']),
|
|
108
104
|
'fileDates': DatesToJSON(value['fileDates']),
|
|
109
|
-
'generators': (value['generators'].map(ImageGeneratorToJSON)),
|
|
110
105
|
'metadata': ImageMetadataToJSON(value['metadata']),
|
|
111
106
|
'features': (value['features'].map(ExtensionImageFeatureToJSON)),
|
|
112
107
|
'tags': (value['tags'].map(ExtensionImageTagToJSON)),
|
|
@@ -2,17 +2,18 @@
|
|
|
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).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ImageFeatureValue } from './ImageFeatureValue.js';
|
|
12
13
|
import type { ImageFeatureFormat } from './ImageFeatureFormat.js';
|
|
13
14
|
import type { ImageFeatureType } from './ImageFeatureType.js';
|
|
14
15
|
/**
|
|
15
|
-
*
|
|
16
|
+
* An image feature
|
|
16
17
|
* @export
|
|
17
18
|
* @interface ImageFeature
|
|
18
19
|
*/
|
|
@@ -36,11 +37,11 @@ export interface ImageFeature {
|
|
|
36
37
|
*/
|
|
37
38
|
name?: string;
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {
|
|
40
|
+
*
|
|
41
|
+
* @type {ImageFeatureValue}
|
|
41
42
|
* @memberof ImageFeature
|
|
42
43
|
*/
|
|
43
|
-
value:
|
|
44
|
+
value: ImageFeatureValue;
|
|
44
45
|
}
|
|
45
46
|
/**
|
|
46
47
|
* Check if a given object implements the ImageFeature interface.
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { ImageFeatureValueFromJSON, ImageFeatureValueToJSON, } from './ImageFeatureValue.js';
|
|
14
15
|
import { ImageFeatureFormatFromJSON, ImageFeatureFormatToJSON, } from './ImageFeatureFormat.js';
|
|
15
16
|
import { ImageFeatureTypeFromJSON, ImageFeatureTypeToJSON, } from './ImageFeatureType.js';
|
|
16
17
|
/**
|
|
@@ -36,7 +37,7 @@ export function ImageFeatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
37
|
'type': ImageFeatureTypeFromJSON(json['type']),
|
|
37
38
|
'format': ImageFeatureFormatFromJSON(json['format']),
|
|
38
39
|
'name': json['name'] == null ? undefined : json['name'],
|
|
39
|
-
'value': json['value'],
|
|
40
|
+
'value': ImageFeatureValueFromJSON(json['value']),
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
export function ImageFeatureToJSON(json) {
|
|
@@ -50,6 +51,6 @@ export function ImageFeatureToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
51
|
'type': ImageFeatureTypeToJSON(value['type']),
|
|
51
52
|
'format': ImageFeatureFormatToJSON(value['format']),
|
|
52
53
|
'name': value['name'],
|
|
53
|
-
'value': value['value'],
|
|
54
|
+
'value': ImageFeatureValueToJSON(value['value']),
|
|
54
55
|
};
|
|
55
56
|
}
|
|
@@ -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).
|
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const ImageFeatureFormat: {
|
|
17
17
|
readonly String: "string";
|
|
18
|
+
readonly Integer: "integer";
|
|
19
|
+
readonly Float: "float";
|
|
20
|
+
readonly Boolean: "boolean";
|
|
18
21
|
readonly Json: "json";
|
|
19
22
|
readonly Xml: "xml";
|
|
20
23
|
readonly Markdown: "markdown";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export const ImageFeatureFormat = {
|
|
19
19
|
String: 'string',
|
|
20
|
+
Integer: 'integer',
|
|
21
|
+
Float: 'float',
|
|
22
|
+
Boolean: 'boolean',
|
|
20
23
|
Json: 'json',
|
|
21
24
|
Xml: 'xml',
|
|
22
25
|
Markdown: 'markdown',
|
|
@@ -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 value to pass to the image search web services to designate a 'non-null' feature value
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const ImageFeatureNullValue: {
|
|
17
|
+
readonly Empty: "";
|
|
18
|
+
};
|
|
19
|
+
export type ImageFeatureNullValue = typeof ImageFeatureNullValue[keyof typeof ImageFeatureNullValue];
|
|
20
|
+
export declare function instanceOfImageFeatureNullValue(value: any): boolean;
|
|
21
|
+
export declare function ImageFeatureNullValueFromJSON(json: any): ImageFeatureNullValue;
|
|
22
|
+
export declare function ImageFeatureNullValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageFeatureNullValue;
|
|
23
|
+
export declare function ImageFeatureNullValueToJSON(value?: ImageFeatureNullValue | null): any;
|
|
24
|
+
export declare function ImageFeatureNullValueToJSONTyped(value: any, ignoreDiscriminator: boolean): ImageFeatureNullValue;
|
|
@@ -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 value to pass to the image search web services to designate a 'non-null' feature value
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ImageFeatureNullValue = {
|
|
19
|
+
Empty: ''
|
|
20
|
+
};
|
|
21
|
+
export function instanceOfImageFeatureNullValue(value) {
|
|
22
|
+
for (const key in ImageFeatureNullValue) {
|
|
23
|
+
if (Object.prototype.hasOwnProperty.call(ImageFeatureNullValue, key)) {
|
|
24
|
+
if (ImageFeatureNullValue[key] === value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
export function ImageFeatureNullValueFromJSON(json) {
|
|
32
|
+
return ImageFeatureNullValueFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function ImageFeatureNullValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
export function ImageFeatureNullValueToJSON(value) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
export function ImageFeatureNullValueToJSONTyped(value, ignoreDiscriminator) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
@@ -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).
|
|
@@ -17,8 +17,10 @@ export declare const ImageFeatureType: {
|
|
|
17
17
|
readonly Caption: "caption";
|
|
18
18
|
readonly Description: "description";
|
|
19
19
|
readonly Comment: "comment";
|
|
20
|
+
readonly Annotation: "annotation";
|
|
20
21
|
readonly Metadata: "metadata";
|
|
21
22
|
readonly Recipe: "recipe";
|
|
23
|
+
readonly Identity: "identity";
|
|
22
24
|
readonly Other: "other";
|
|
23
25
|
};
|
|
24
26
|
export type ImageFeatureType = typeof ImageFeatureType[keyof typeof ImageFeatureType];
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,8 +19,10 @@ export const ImageFeatureType = {
|
|
|
19
19
|
Caption: 'caption',
|
|
20
20
|
Description: 'description',
|
|
21
21
|
Comment: 'comment',
|
|
22
|
+
Annotation: 'annotation',
|
|
22
23
|
Metadata: 'metadata',
|
|
23
24
|
Recipe: 'recipe',
|
|
25
|
+
Identity: 'identity',
|
|
24
26
|
Other: 'other'
|
|
25
27
|
};
|
|
26
28
|
export function instanceOfImageFeatureType(value) {
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
* @type ImageFeatureValue
|
|
14
|
+
* The image feature value
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export type ImageFeatureValue = boolean | number | string;
|
|
18
|
+
export declare function ImageFeatureValueFromJSON(json: any): ImageFeatureValue;
|
|
19
|
+
export declare function ImageFeatureValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageFeatureValue;
|
|
20
|
+
export declare function ImageFeatureValueToJSON(json: any): any;
|
|
21
|
+
export declare function ImageFeatureValueToJSONTyped(value?: ImageFeatureValue | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
export function ImageFeatureValueFromJSON(json) {
|
|
15
|
+
return ImageFeatureValueFromJSONTyped(json, false);
|
|
16
|
+
}
|
|
17
|
+
export function ImageFeatureValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if (json == null) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
if (typeof json === 'number') {
|
|
22
|
+
return json;
|
|
23
|
+
}
|
|
24
|
+
if (typeof json === 'number') {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
if (typeof json === 'string') {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if (typeof json === 'boolean') {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {};
|
|
34
|
+
}
|
|
35
|
+
export function ImageFeatureValueToJSON(json) {
|
|
36
|
+
return ImageFeatureValueToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ImageFeatureValueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
if (typeof value === 'number') {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
if (typeof value === 'number') {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
if (typeof value === 'string') {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
if (typeof value === 'boolean') {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {};
|
|
55
|
+
}
|
|
@@ -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
|
-
*
|
|
13
|
+
* The image format
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const ImageFormat: {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The image format
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
18
18
|
export const ImageFormat = {
|
|
@@ -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,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ImageDimensions } from './ImageDimensions.js';
|
|
13
13
|
import type { Dates } from './Dates.js';
|
|
14
|
-
import type { ImageGenerator } from './ImageGenerator.js';
|
|
15
14
|
import type { ImageFormat } from './ImageFormat.js';
|
|
16
15
|
/**
|
|
17
16
|
* Basic information about an image
|
|
@@ -103,12 +102,6 @@ export interface ImageSummary {
|
|
|
103
102
|
* @memberof ImageSummary
|
|
104
103
|
*/
|
|
105
104
|
fileDates: Dates;
|
|
106
|
-
/**
|
|
107
|
-
* The pieces of software used to generate the image
|
|
108
|
-
* @type {Array<ImageGenerator>}
|
|
109
|
-
* @memberof ImageSummary
|
|
110
|
-
*/
|
|
111
|
-
generators: Array<ImageGenerator>;
|
|
112
105
|
}
|
|
113
106
|
/**
|
|
114
107
|
* Check if a given object implements the ImageSummary interface.
|