@picteus/extension-sdk 0.19.0 → 0.20.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/generated/viewKit.d.ts +46 -19
- package/dist/generated/viewKit.js +37 -17
- 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 +1 -1
- package/dist/picteus-ws-client/apis/CollectionApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/CollectionApi.js +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +166 -2
- package/dist/picteus-ws-client/apis/ExtensionApi.js +199 -2
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +25 -1
- package/dist/picteus-ws-client/apis/ImageApi.js +25 -1
- 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 +1 -1
- package/dist/picteus-ws-client/apis/RepositoryApi.js +1 -1
- 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/models/AiModel.d.ts +44 -0
- package/dist/picteus-ws-client/models/AiModel.js +49 -0
- package/dist/picteus-ws-client/models/ApiSecret.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecret.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecretSummary.js +1 -1
- 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/ApplicationConfiguration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationConfiguration.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/ApplicationSettings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApplicationSettings.js +1 -1
- package/dist/picteus-ws-client/models/CaptionInstruction.d.ts +50 -0
- package/dist/picteus-ws-client/models/CaptionInstruction.js +55 -0
- package/dist/picteus-ws-client/models/Collection.d.ts +1 -1
- package/dist/picteus-ws-client/models/Collection.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 +15 -1
- package/dist/picteus-ws-client/models/ConstantsRegistry.js +11 -1
- 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/EligibleTagsInstruction.d.ts +56 -0
- package/dist/picteus-ws-client/models/EligibleTagsInstruction.js +59 -0
- 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/ExtensionActivityState.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityState.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionAiModel.d.ts +56 -0
- package/dist/picteus-ws-client/models/ExtensionAiModel.js +57 -0
- 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/ExtensionCaption.d.ts +44 -0
- package/dist/picteus-ws-client/models/ExtensionCaption.js +51 -0
- package/dist/picteus-ws-client/models/ExtensionCategory.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionCategory.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionEligibleTags.d.ts +44 -0
- package/dist/picteus-ws-client/models/ExtensionEligibleTags.js +51 -0
- 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/ExtensionIdImageEmbeddingName.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.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 +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.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/ExtensionState.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionState.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 +1 -1
- 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/GenerationRecipeVersion.d.ts +24 -0
- package/dist/picteus-ws-client/models/GenerationRecipeVersion.js +42 -0
- 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/ImageEmbedding.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageEmbedding.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeature.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeature.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.js +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureValue.js +1 -1
- package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFormat.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 -1
- package/dist/picteus-ws-client/models/ImageSummary.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/ManifestCapabilityCaptionsDetails.d.ts +32 -0
- package/dist/picteus-ws-client/models/ManifestCapabilityCaptionsDetails.js +41 -0
- package/dist/picteus-ws-client/models/ManifestCapabilityEligibleTagsDetails.d.ts +32 -0
- package/dist/picteus-ws-client/models/ManifestCapabilityEligibleTagsDetails.js +41 -0
- 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/ManifestExtensionCommandUi.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.js +1 -1
- package/dist/picteus-ws-client/models/ManifestImageFeaturesCapability.d.ts +40 -0
- package/dist/picteus-ws-client/models/ManifestImageFeaturesCapability.js +47 -0
- package/dist/picteus-ws-client/models/ManifestImageTagsCapability.d.ts +40 -0
- package/dist/picteus-ws-client/models/ManifestImageTagsCapability.js +47 -0
- package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +4 -4
- package/dist/picteus-ws-client/models/ManifestInstructions.js +4 -4
- package/dist/picteus-ws-client/models/ManifestInstructionsCapabilitiesInner.d.ts +32 -0
- package/dist/picteus-ws-client/models/ManifestInstructionsCapabilitiesInner.js +56 -0
- 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/ManifestInterfaceElementIntegration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.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/RepositoryState.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryState.js +1 -1
- package/dist/picteus-ws-client/models/RunCommandParameters.d.ts +1 -1
- package/dist/picteus-ws-client/models/RunCommandParameters.js +1 -1
- package/dist/picteus-ws-client/models/SearchCriteria.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchCriteria.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureCondition.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureCondition.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatures.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeatures.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeaturesResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFeaturesResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchFilter.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFilter.js +1 -1
- package/dist/picteus-ws-client/models/SearchFilterOrigin.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchFilterOrigin.js +1 -1
- package/dist/picteus-ws-client/models/SearchImageIdResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImageIdResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchImageResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImageResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchImagesOrigin.js +1 -1
- package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
- package/dist/picteus-ws-client/models/SearchMediaUrlResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +1 -1
- package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchOriginNature.js +1 -1
- package/dist/picteus-ws-client/models/SearchParameters.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchParameters.js +1 -1
- package/dist/picteus-ws-client/models/SearchProperties.d.ts +1 -1
- 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 +1 -1
- package/dist/picteus-ws-client/models/SearchRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +1 -1
- 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 +1 -1
- package/dist/picteus-ws-client/models/SearchTags.js +1 -1
- package/dist/picteus-ws-client/models/SearchTagsResult.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchTagsResult.js +1 -1
- package/dist/picteus-ws-client/models/Software.d.ts +1 -1
- package/dist/picteus-ws-client/models/Software.js +1 -1
- package/dist/picteus-ws-client/models/TagsPlaceholder.d.ts +24 -0
- package/dist/picteus-ws-client/models/TagsPlaceholder.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/UserInterfaceSidebarIntegration.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +1 -1
- package/dist/picteus-ws-client/models/index.d.ts +11 -0
- package/dist/picteus-ws-client/models/index.js +11 -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 +15 -2
- package/dist/picteusExtension.js +17 -3
- package/package.json +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.24.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
|
+
* An instruction for computing captions with an AI model
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CaptionInstruction
|
|
16
|
+
*/
|
|
17
|
+
export interface CaptionInstruction {
|
|
18
|
+
/**
|
|
19
|
+
* The technical identifier of the AI model to use
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CaptionInstruction
|
|
22
|
+
*/
|
|
23
|
+
aiModelTechnicalId: string;
|
|
24
|
+
/**
|
|
25
|
+
* The question submitted to the AI model to produce the caption or the eligible tags
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CaptionInstruction
|
|
28
|
+
*/
|
|
29
|
+
question: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the instruction should run automatically on image indexing
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof CaptionInstruction
|
|
34
|
+
*/
|
|
35
|
+
isAuto: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Whether this instruction is active
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof CaptionInstruction
|
|
40
|
+
*/
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the CaptionInstruction interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfCaptionInstruction(value: object): value is CaptionInstruction;
|
|
47
|
+
export declare function CaptionInstructionFromJSON(json: any): CaptionInstruction;
|
|
48
|
+
export declare function CaptionInstructionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaptionInstruction;
|
|
49
|
+
export declare function CaptionInstructionToJSON(json: any): CaptionInstruction;
|
|
50
|
+
export declare function CaptionInstructionToJSONTyped(value?: CaptionInstruction | 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.24.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
|
+
* Check if a given object implements the CaptionInstruction interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCaptionInstruction(value) {
|
|
18
|
+
if (!('aiModelTechnicalId' in value) || value['aiModelTechnicalId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('question' in value) || value['question'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('isAuto' in value) || value['isAuto'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function CaptionInstructionFromJSON(json) {
|
|
29
|
+
return CaptionInstructionFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function CaptionInstructionFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'aiModelTechnicalId': json['aiModelTechnicalId'],
|
|
37
|
+
'question': json['question'],
|
|
38
|
+
'isAuto': json['isAuto'],
|
|
39
|
+
'enabled': json['enabled'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function CaptionInstructionToJSON(json) {
|
|
43
|
+
return CaptionInstructionToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function CaptionInstructionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'aiModelTechnicalId': value['aiModelTechnicalId'],
|
|
51
|
+
'question': value['question'],
|
|
52
|
+
'isAuto': value['isAuto'],
|
|
53
|
+
'enabled': value['enabled'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -2,15 +2,17 @@
|
|
|
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.24.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 { TagsPlaceholder } from './TagsPlaceholder.js';
|
|
12
13
|
import type { Software } from './Software.js';
|
|
13
14
|
import type { ImageFeatureNullValue } from './ImageFeatureNullValue.js';
|
|
15
|
+
import type { GenerationRecipeVersion } from './GenerationRecipeVersion.js';
|
|
14
16
|
/**
|
|
15
17
|
* Contains the definition of all the application constants
|
|
16
18
|
* @export
|
|
@@ -23,6 +25,18 @@ export interface ConstantsRegistry {
|
|
|
23
25
|
* @memberof ConstantsRegistry
|
|
24
26
|
*/
|
|
25
27
|
applicationName: Software;
|
|
28
|
+
/**
|
|
29
|
+
* The generation recipe schema version
|
|
30
|
+
* @type {GenerationRecipeVersion}
|
|
31
|
+
* @memberof ConstantsRegistry
|
|
32
|
+
*/
|
|
33
|
+
generationRecipeVersion: GenerationRecipeVersion;
|
|
34
|
+
/**
|
|
35
|
+
* The tags placeholder to be used in questions for eligible tags
|
|
36
|
+
* @type {TagsPlaceholder}
|
|
37
|
+
* @memberof ConstantsRegistry
|
|
38
|
+
*/
|
|
39
|
+
tagsPlaceholder: TagsPlaceholder;
|
|
26
40
|
/**
|
|
27
41
|
* The value to pass to the image search web services to designate a 'non-null' feature value
|
|
28
42
|
* @type {ImageFeatureNullValue}
|
|
@@ -4,21 +4,27 @@
|
|
|
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.24.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 { TagsPlaceholderFromJSON, TagsPlaceholderToJSON, } from './TagsPlaceholder.js';
|
|
14
15
|
import { SoftwareFromJSON, SoftwareToJSON, } from './Software.js';
|
|
15
16
|
import { ImageFeatureNullValueFromJSON, ImageFeatureNullValueToJSON, } from './ImageFeatureNullValue.js';
|
|
17
|
+
import { GenerationRecipeVersionFromJSON, GenerationRecipeVersionToJSON, } from './GenerationRecipeVersion.js';
|
|
16
18
|
/**
|
|
17
19
|
* Check if a given object implements the ConstantsRegistry interface.
|
|
18
20
|
*/
|
|
19
21
|
export function instanceOfConstantsRegistry(value) {
|
|
20
22
|
if (!('applicationName' in value) || value['applicationName'] === undefined)
|
|
21
23
|
return false;
|
|
24
|
+
if (!('generationRecipeVersion' in value) || value['generationRecipeVersion'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('tagsPlaceholder' in value) || value['tagsPlaceholder'] === undefined)
|
|
27
|
+
return false;
|
|
22
28
|
if (!('imageFeatureNullValue' in value) || value['imageFeatureNullValue'] === undefined)
|
|
23
29
|
return false;
|
|
24
30
|
return true;
|
|
@@ -32,6 +38,8 @@ export function ConstantsRegistryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
38
|
}
|
|
33
39
|
return {
|
|
34
40
|
'applicationName': SoftwareFromJSON(json['applicationName']),
|
|
41
|
+
'generationRecipeVersion': GenerationRecipeVersionFromJSON(json['generationRecipeVersion']),
|
|
42
|
+
'tagsPlaceholder': TagsPlaceholderFromJSON(json['tagsPlaceholder']),
|
|
35
43
|
'imageFeatureNullValue': ImageFeatureNullValueFromJSON(json['imageFeatureNullValue']),
|
|
36
44
|
};
|
|
37
45
|
}
|
|
@@ -44,6 +52,8 @@ export function ConstantsRegistryToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
44
52
|
}
|
|
45
53
|
return {
|
|
46
54
|
'applicationName': SoftwareToJSON(value['applicationName']),
|
|
55
|
+
'generationRecipeVersion': GenerationRecipeVersionToJSON(value['generationRecipeVersion']),
|
|
56
|
+
'tagsPlaceholder': TagsPlaceholderToJSON(value['tagsPlaceholder']),
|
|
47
57
|
'imageFeatureNullValue': ImageFeatureNullValueToJSON(value['imageFeatureNullValue']),
|
|
48
58
|
};
|
|
49
59
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.24.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
|
+
* An instruction for computing eligible tags with an AI model
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EligibleTagsInstruction
|
|
16
|
+
*/
|
|
17
|
+
export interface EligibleTagsInstruction {
|
|
18
|
+
/**
|
|
19
|
+
* The technical identifier of the AI model to use
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EligibleTagsInstruction
|
|
22
|
+
*/
|
|
23
|
+
aiModelTechnicalId: string;
|
|
24
|
+
/**
|
|
25
|
+
* The question submitted to the AI model to produce the caption or the eligible tags
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EligibleTagsInstruction
|
|
28
|
+
*/
|
|
29
|
+
question: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the instruction should run automatically on image indexing
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof EligibleTagsInstruction
|
|
34
|
+
*/
|
|
35
|
+
isAuto: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Whether this instruction is active
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof EligibleTagsInstruction
|
|
40
|
+
*/
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* The candidate tags the AI model picks from
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof EligibleTagsInstruction
|
|
46
|
+
*/
|
|
47
|
+
tags: Array<string>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the EligibleTagsInstruction interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfEligibleTagsInstruction(value: object): value is EligibleTagsInstruction;
|
|
53
|
+
export declare function EligibleTagsInstructionFromJSON(json: any): EligibleTagsInstruction;
|
|
54
|
+
export declare function EligibleTagsInstructionFromJSONTyped(json: any, ignoreDiscriminator: boolean): EligibleTagsInstruction;
|
|
55
|
+
export declare function EligibleTagsInstructionToJSON(json: any): EligibleTagsInstruction;
|
|
56
|
+
export declare function EligibleTagsInstructionToJSONTyped(value?: EligibleTagsInstruction | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.24.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
|
+
* Check if a given object implements the EligibleTagsInstruction interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfEligibleTagsInstruction(value) {
|
|
18
|
+
if (!('aiModelTechnicalId' in value) || value['aiModelTechnicalId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('question' in value) || value['question'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('isAuto' in value) || value['isAuto'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('tags' in value) || value['tags'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function EligibleTagsInstructionFromJSON(json) {
|
|
31
|
+
return EligibleTagsInstructionFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function EligibleTagsInstructionFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'aiModelTechnicalId': json['aiModelTechnicalId'],
|
|
39
|
+
'question': json['question'],
|
|
40
|
+
'isAuto': json['isAuto'],
|
|
41
|
+
'enabled': json['enabled'],
|
|
42
|
+
'tags': json['tags'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function EligibleTagsInstructionToJSON(json) {
|
|
46
|
+
return EligibleTagsInstructionToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function EligibleTagsInstructionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'aiModelTechnicalId': value['aiModelTechnicalId'],
|
|
54
|
+
'question': value['question'],
|
|
55
|
+
'isAuto': value['isAuto'],
|
|
56
|
+
'enabled': value['enabled'],
|
|
57
|
+
'tags': value['tags'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.24.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
|
+
* An AI model declared by an extension, with its owner and declaration date
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ExtensionAiModel
|
|
16
|
+
*/
|
|
17
|
+
export interface ExtensionAiModel {
|
|
18
|
+
/**
|
|
19
|
+
* The model technical identifier, unique within the extension
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExtensionAiModel
|
|
22
|
+
*/
|
|
23
|
+
technicalId: string;
|
|
24
|
+
/**
|
|
25
|
+
* The model display name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExtensionAiModel
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The model comment
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ExtensionAiModel
|
|
34
|
+
*/
|
|
35
|
+
comment?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The identifier of the extension which declared the model
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ExtensionAiModel
|
|
40
|
+
*/
|
|
41
|
+
extensionId: string;
|
|
42
|
+
/**
|
|
43
|
+
* The date of the declaration
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ExtensionAiModel
|
|
46
|
+
*/
|
|
47
|
+
creationDate: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ExtensionAiModel interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfExtensionAiModel(value: object): value is ExtensionAiModel;
|
|
53
|
+
export declare function ExtensionAiModelFromJSON(json: any): ExtensionAiModel;
|
|
54
|
+
export declare function ExtensionAiModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionAiModel;
|
|
55
|
+
export declare function ExtensionAiModelToJSON(json: any): ExtensionAiModel;
|
|
56
|
+
export declare function ExtensionAiModelToJSONTyped(value?: ExtensionAiModel | 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.24.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
|
+
* Check if a given object implements the ExtensionAiModel interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfExtensionAiModel(value) {
|
|
18
|
+
if (!('technicalId' in value) || value['technicalId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('extensionId' in value) || value['extensionId'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('creationDate' in value) || value['creationDate'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function ExtensionAiModelFromJSON(json) {
|
|
29
|
+
return ExtensionAiModelFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function ExtensionAiModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'technicalId': json['technicalId'],
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'comment': json['comment'] == null ? undefined : json['comment'],
|
|
39
|
+
'extensionId': json['extensionId'],
|
|
40
|
+
'creationDate': json['creationDate'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function ExtensionAiModelToJSON(json) {
|
|
44
|
+
return ExtensionAiModelToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function ExtensionAiModelToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'technicalId': value['technicalId'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'comment': value['comment'],
|
|
54
|
+
'extensionId': value['extensionId'],
|
|
55
|
+
'creationDate': value['creationDate'],
|
|
56
|
+
};
|
|
57
|
+
}
|