@picteus/extension-sdk 0.8.0 → 0.10.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/Intents.d.ts +125 -0
- package/dist/Intents.js +20 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- 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 +230 -31
- package/dist/picteus-ws-client/apis/ImageApi.js +268 -24
- 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 +2 -2
- 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/ExtensionImageFeaturesAttribute.d.ts +39 -0
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +48 -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/ExtensionImageTagsAttribute.d.ts +39 -0
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.js +48 -0
- 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 +2 -2
- 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 +2 -2
- package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
- package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +2 -2
- 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 +26 -0
- package/dist/picteus-ws-client/models/ImageFeatureValue.js +31 -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 +2 -2
- 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 +3 -1
- package/dist/picteus-ws-client/models/ManifestEvent.js +3 -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 +13 -7
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +9 -5
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.d.ts +27 -0
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.js +47 -0
- 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 +26 -0
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +31 -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/SearchFeaturesResult.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchFeaturesResult.js +48 -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/SearchImageResult.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchImageResult.js +48 -0
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +48 -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/SearchMediaUrlResult.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +48 -0
- 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/SearchParameters.d.ts +46 -0
- package/dist/picteus-ws-client/models/SearchParameters.js +47 -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/SearchTagsResult.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchTagsResult.js +48 -0
- 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 -3
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +2 -3
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.d.ts +39 -0
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +48 -0
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +33 -0
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +44 -0
- package/dist/picteus-ws-client/models/index.d.ts +27 -1
- package/dist/picteus-ws-client/models/index.js +27 -1
- package/dist/picteus-ws-client/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +1 -1
- package/dist/picteusExtension.d.ts +6 -63
- package/dist/picteusExtension.js +19 -21
- package/package.json +4 -4
|
@@ -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.14.1
|
|
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 embeddings vectors computed by an extension
|
|
14
14
|
* @export
|
|
15
15
|
* @interface ExtensionImageEmbeddings
|
|
16
16
|
*/
|
|
@@ -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.14.1
|
|
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, along with its extension identifier
|
|
16
17
|
* @export
|
|
17
18
|
* @interface ExtensionImageFeature
|
|
18
19
|
*/
|
|
@@ -36,11 +37,11 @@ export interface ExtensionImageFeature {
|
|
|
36
37
|
*/
|
|
37
38
|
name?: string;
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {
|
|
40
|
+
*
|
|
41
|
+
* @type {ImageFeatureValue}
|
|
41
42
|
* @memberof ExtensionImageFeature
|
|
42
43
|
*/
|
|
43
|
-
value:
|
|
44
|
+
value: ImageFeatureValue;
|
|
44
45
|
/**
|
|
45
46
|
* The extension identifier
|
|
46
47
|
* @type {string}
|
|
@@ -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.14.1
|
|
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
|
/**
|
|
@@ -38,7 +39,7 @@ export function ExtensionImageFeatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
'type': ImageFeatureTypeFromJSON(json['type']),
|
|
39
40
|
'format': ImageFeatureFormatFromJSON(json['format']),
|
|
40
41
|
'name': json['name'] == null ? undefined : json['name'],
|
|
41
|
-
'value': json['value'],
|
|
42
|
+
'value': ImageFeatureValueFromJSON(json['value']),
|
|
42
43
|
'id': json['id'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
@@ -53,7 +54,7 @@ export function ExtensionImageFeatureToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
53
54
|
'type': ImageFeatureTypeToJSON(value['type']),
|
|
54
55
|
'format': ImageFeatureFormatToJSON(value['format']),
|
|
55
56
|
'name': value['name'],
|
|
56
|
-
'value': value['value'],
|
|
57
|
+
'value': ImageFeatureValueToJSON(value['value']),
|
|
57
58
|
'id': value['id'],
|
|
58
59
|
};
|
|
59
60
|
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.14.1
|
|
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 { ImageFeatureFormat } from './ImageFeatureFormat.js';
|
|
13
|
+
import type { ImageFeatureType } from './ImageFeatureType.js';
|
|
14
|
+
/**
|
|
15
|
+
* A feature name set on an image for a given extension
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ExtensionImageFeatureName
|
|
18
|
+
*/
|
|
19
|
+
export interface ExtensionImageFeatureName {
|
|
20
|
+
/**
|
|
21
|
+
* The extension identifier
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ExtensionImageFeatureName
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* The image feature type
|
|
28
|
+
* @type {ImageFeatureType}
|
|
29
|
+
* @memberof ExtensionImageFeatureName
|
|
30
|
+
*/
|
|
31
|
+
type: ImageFeatureType;
|
|
32
|
+
/**
|
|
33
|
+
* The image feature format
|
|
34
|
+
* @type {ImageFeatureFormat}
|
|
35
|
+
* @memberof ExtensionImageFeatureName
|
|
36
|
+
*/
|
|
37
|
+
format: ImageFeatureFormat;
|
|
38
|
+
/**
|
|
39
|
+
* The image feature name
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ExtensionImageFeatureName
|
|
42
|
+
*/
|
|
43
|
+
name: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the ExtensionImageFeatureName interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfExtensionImageFeatureName(value: object): value is ExtensionImageFeatureName;
|
|
49
|
+
export declare function ExtensionImageFeatureNameFromJSON(json: any): ExtensionImageFeatureName;
|
|
50
|
+
export declare function ExtensionImageFeatureNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionImageFeatureName;
|
|
51
|
+
export declare function ExtensionImageFeatureNameToJSON(json: any): ExtensionImageFeatureName;
|
|
52
|
+
export declare function ExtensionImageFeatureNameToJSONTyped(value?: ExtensionImageFeatureName | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.14.1
|
|
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 { ImageFeatureFormatFromJSON, ImageFeatureFormatToJSON, } from './ImageFeatureFormat.js';
|
|
15
|
+
import { ImageFeatureTypeFromJSON, ImageFeatureTypeToJSON, } from './ImageFeatureType.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ExtensionImageFeatureName interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfExtensionImageFeatureName(value) {
|
|
20
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('format' in value) || value['format'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function ExtensionImageFeatureNameFromJSON(json) {
|
|
31
|
+
return ExtensionImageFeatureNameFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function ExtensionImageFeatureNameFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'id': json['id'],
|
|
39
|
+
'type': ImageFeatureTypeFromJSON(json['type']),
|
|
40
|
+
'format': ImageFeatureFormatFromJSON(json['format']),
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function ExtensionImageFeatureNameToJSON(json) {
|
|
45
|
+
return ExtensionImageFeatureNameToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function ExtensionImageFeatureNameToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'type': ImageFeatureTypeToJSON(value['type']),
|
|
54
|
+
'format': ImageFeatureFormatToJSON(value['format']),
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.14.1
|
|
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 { ExtensionImageFeature } from './ExtensionImageFeature.js';
|
|
13
|
+
/**
|
|
14
|
+
* Per image extension image features
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ExtensionImageFeaturesAttribute
|
|
17
|
+
*/
|
|
18
|
+
export interface ExtensionImageFeaturesAttribute {
|
|
19
|
+
/**
|
|
20
|
+
* The unique identifier of the image
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ExtensionImageFeaturesAttribute
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* The attribute attached to the image
|
|
27
|
+
* @type {Array<ExtensionImageFeature>}
|
|
28
|
+
* @memberof ExtensionImageFeaturesAttribute
|
|
29
|
+
*/
|
|
30
|
+
attribute: Array<ExtensionImageFeature>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ExtensionImageFeaturesAttribute interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfExtensionImageFeaturesAttribute(value: object): value is ExtensionImageFeaturesAttribute;
|
|
36
|
+
export declare function ExtensionImageFeaturesAttributeFromJSON(json: any): ExtensionImageFeaturesAttribute;
|
|
37
|
+
export declare function ExtensionImageFeaturesAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionImageFeaturesAttribute;
|
|
38
|
+
export declare function ExtensionImageFeaturesAttributeToJSON(json: any): ExtensionImageFeaturesAttribute;
|
|
39
|
+
export declare function ExtensionImageFeaturesAttributeToJSONTyped(value?: ExtensionImageFeaturesAttribute | 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.14.1
|
|
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 { ExtensionImageFeatureFromJSON, ExtensionImageFeatureToJSON, } from './ExtensionImageFeature.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ExtensionImageFeaturesAttribute interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfExtensionImageFeaturesAttribute(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('attribute' in value) || value['attribute'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ExtensionImageFeaturesAttributeFromJSON(json) {
|
|
26
|
+
return ExtensionImageFeaturesAttributeFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ExtensionImageFeaturesAttributeFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'id': json['id'],
|
|
34
|
+
'attribute': (json['attribute'].map(ExtensionImageFeatureFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ExtensionImageFeaturesAttributeToJSON(json) {
|
|
38
|
+
return ExtensionImageFeaturesAttributeToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ExtensionImageFeaturesAttributeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': value['id'],
|
|
46
|
+
'attribute': (value['attribute'].map(ExtensionImageFeatureToJSON)),
|
|
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.14.1
|
|
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 tag on an image for a given extension
|
|
13
|
+
* A tag set on an image for a given extension
|
|
14
14
|
* @export
|
|
15
15
|
* @interface ExtensionImageTag
|
|
16
16
|
*/
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.14.1
|
|
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 { ExtensionImageTag } from './ExtensionImageTag.js';
|
|
13
|
+
/**
|
|
14
|
+
* Per image extension image tags
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ExtensionImageTagsAttribute
|
|
17
|
+
*/
|
|
18
|
+
export interface ExtensionImageTagsAttribute {
|
|
19
|
+
/**
|
|
20
|
+
* The unique identifier of the image
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ExtensionImageTagsAttribute
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* The attribute attached to the image
|
|
27
|
+
* @type {Array<ExtensionImageTag>}
|
|
28
|
+
* @memberof ExtensionImageTagsAttribute
|
|
29
|
+
*/
|
|
30
|
+
attribute: Array<ExtensionImageTag>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ExtensionImageTagsAttribute interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfExtensionImageTagsAttribute(value: object): value is ExtensionImageTagsAttribute;
|
|
36
|
+
export declare function ExtensionImageTagsAttributeFromJSON(json: any): ExtensionImageTagsAttribute;
|
|
37
|
+
export declare function ExtensionImageTagsAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionImageTagsAttribute;
|
|
38
|
+
export declare function ExtensionImageTagsAttributeToJSON(json: any): ExtensionImageTagsAttribute;
|
|
39
|
+
export declare function ExtensionImageTagsAttributeToJSONTyped(value?: ExtensionImageTagsAttribute | 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.14.1
|
|
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 { ExtensionImageTagFromJSON, ExtensionImageTagToJSON, } from './ExtensionImageTag.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ExtensionImageTagsAttribute interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfExtensionImageTagsAttribute(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('attribute' in value) || value['attribute'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ExtensionImageTagsAttributeFromJSON(json) {
|
|
26
|
+
return ExtensionImageTagsAttributeFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ExtensionImageTagsAttributeFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'id': json['id'],
|
|
34
|
+
'attribute': (json['attribute'].map(ExtensionImageTagFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ExtensionImageTagsAttributeToJSON(json) {
|
|
38
|
+
return ExtensionImageTagsAttributeToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ExtensionImageTagsAttributeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': value['id'],
|
|
46
|
+
'attribute': (value['attribute'].map(ExtensionImageTagToJSON)),
|
|
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.14.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -63,7 +63,7 @@ export interface GenerationRecipe {
|
|
|
63
63
|
* @type {GenerationRecipePrompt}
|
|
64
64
|
* @memberof GenerationRecipe
|
|
65
65
|
*/
|
|
66
|
-
prompt
|
|
66
|
+
prompt: GenerationRecipePrompt;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* Check if a given object implements the GenerationRecipe interface.
|
|
@@ -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.14.1
|
|
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) {
|