@picteus/extension-sdk 0.20.2 → 0.22.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/frontEndIntents.d.ts +147 -106
- package/dist/generated/frontEndIntents.js +22 -0
- package/dist/generated/viewKit.d.ts +103 -79
- package/dist/generated/viewKit.js +87 -54
- 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 +78 -16
- package/dist/picteus-ws-client/apis/ExtensionApi.js +82 -9
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +38 -5
- package/dist/picteus-ws-client/apis/ImageApi.js +53 -9
- 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/MarketplaceApi.d.ts +140 -0
- package/dist/picteus-ws-client/apis/MarketplaceApi.js +155 -0
- 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 +43 -47
- package/dist/picteus-ws-client/apis/RepositoryApi.js +52 -54
- 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/AiModel.d.ts +8 -1
- package/dist/picteus-ws-client/models/AiModel.js +6 -1
- package/dist/picteus-ws-client/models/AiModelModality.d.ts +27 -0
- package/dist/picteus-ws-client/models/AiModelModality.js +45 -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 +7 -7
- package/dist/picteus-ws-client/models/CaptionInstruction.js +5 -5
- 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 +1 -1
- package/dist/picteus-ws-client/models/ConstantsRegistry.js +1 -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 +7 -7
- package/dist/picteus-ws-client/models/EligibleTagsInstruction.js +5 -5
- package/dist/picteus-ws-client/models/EmbeddingInstruction.d.ts +44 -0
- package/dist/picteus-ws-client/models/{ExtensionEligibleTags.js → EmbeddingInstruction.js} +12 -12
- 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 +8 -1
- package/dist/picteus-ws-client/models/ExtensionAiModel.js +6 -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/ExtensionCategory.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionCategory.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/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 +1 -1
- 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 +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipeVersion.js +1 -1
- package/dist/picteus-ws-client/models/Image.d.ts +1 -1
- package/dist/picteus-ws-client/models/Image.js +1 -1
- package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
- package/dist/picteus-ws-client/models/ImageDistance.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
- package/dist/picteus-ws-client/models/ImageEmbedding.d.ts +4 -4
- package/dist/picteus-ws-client/models/ImageEmbedding.js +4 -4
- 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 +7 -1
- package/dist/picteus-ws-client/models/Manifest.js +5 -1
- package/dist/picteus-ws-client/models/ManifestAndManual.d.ts +40 -0
- package/dist/picteus-ws-client/models/ManifestAndManual.js +47 -0
- 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 +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityCaptionsDetails.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityEligibleTagsDetails.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityEligibleTagsDetails.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/ManifestEmbeddingsCapability.d.ts +33 -0
- package/dist/picteus-ws-client/models/ManifestEmbeddingsCapability.js +44 -0
- package/dist/picteus-ws-client/models/ManifestEvent.d.ts +2 -1
- package/dist/picteus-ws-client/models/ManifestEvent.js +2 -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 +1 -1
- package/dist/picteus-ws-client/models/ManifestImageFeaturesCapability.js +1 -1
- package/dist/picteus-ws-client/models/ManifestImageTagsCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestImageTagsCapability.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/ManifestInstructionsCapabilitiesInner.d.ts +4 -4
- package/dist/picteus-ws-client/models/ManifestInstructionsCapabilitiesInner.js +6 -6
- 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/MarketplaceExtension.d.ts +39 -0
- package/dist/picteus-ws-client/models/MarketplaceExtension.js +46 -0
- package/dist/picteus-ws-client/models/MarketplaceExtensionDetails.d.ts +46 -0
- package/dist/picteus-ws-client/models/MarketplaceExtensionDetails.js +49 -0
- 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 +20 -7
- package/dist/picteus-ws-client/models/Repository.js +12 -3
- 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/RepositoryMode.d.ts +26 -0
- package/dist/picteus-ws-client/models/RepositoryMode.js +44 -0
- package/dist/picteus-ws-client/models/RepositoryState.d.ts +4 -5
- package/dist/picteus-ws-client/models/RepositoryState.js +4 -5
- 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 +1 -1
- package/dist/picteus-ws-client/models/TagsPlaceholder.js +1 -1
- 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 +6 -0
- package/dist/picteus-ws-client/models/index.js +6 -0
- package/dist/picteus-ws-client/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +2 -2
- package/dist/picteusExtension.d.ts +7 -2
- package/dist/picteusExtension.js +13 -4
- package/package.json +1 -1
- package/dist/generated/intentValidator.d.ts +0 -49
- package/dist/generated/intentValidator.js +0 -363
- package/dist/picteus-ws-client/models/ExtensionCaption.d.ts +0 -44
- package/dist/picteus-ws-client/models/ExtensionCaption.js +0 -51
- package/dist/picteus-ws-client/models/ExtensionEligibleTags.d.ts +0 -44
|
@@ -4,6 +4,7 @@ export * from './CollectionApi.js';
|
|
|
4
4
|
export * from './ExtensionApi.js';
|
|
5
5
|
export * from './ImageApi.js';
|
|
6
6
|
export * from './ImageAttachmentApi.js';
|
|
7
|
+
export * from './MarketplaceApi.js';
|
|
7
8
|
export * from './MiscellaneousApi.js';
|
|
8
9
|
export * from './RepositoryApi.js';
|
|
9
10
|
export * from './SettingsApi.js';
|
|
@@ -6,6 +6,7 @@ export * from './CollectionApi.js';
|
|
|
6
6
|
export * from './ExtensionApi.js';
|
|
7
7
|
export * from './ImageApi.js';
|
|
8
8
|
export * from './ImageAttachmentApi.js';
|
|
9
|
+
export * from './MarketplaceApi.js';
|
|
9
10
|
export * from './MiscellaneousApi.js';
|
|
10
11
|
export * from './RepositoryApi.js';
|
|
11
12
|
export * from './SettingsApi.js';
|
|
@@ -2,13 +2,14 @@
|
|
|
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.26.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 { AiModelModality } from './AiModelModality.js';
|
|
12
13
|
/**
|
|
13
14
|
* An AI model declared by an extension
|
|
14
15
|
* @export
|
|
@@ -33,6 +34,12 @@ export interface AiModel {
|
|
|
33
34
|
* @memberof AiModel
|
|
34
35
|
*/
|
|
35
36
|
comment?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The task modalities the AI model is compatible with
|
|
39
|
+
* @type {Array<AiModelModality>}
|
|
40
|
+
* @memberof AiModel
|
|
41
|
+
*/
|
|
42
|
+
modalities: Array<AiModelModality>;
|
|
36
43
|
}
|
|
37
44
|
/**
|
|
38
45
|
* Check if a given object implements the AiModel 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.26.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 { AiModelModalityFromJSON, AiModelModalityToJSON, } from './AiModelModality.js';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the AiModel interface.
|
|
16
17
|
*/
|
|
@@ -19,6 +20,8 @@ export function instanceOfAiModel(value) {
|
|
|
19
20
|
return false;
|
|
20
21
|
if (!('name' in value) || value['name'] === undefined)
|
|
21
22
|
return false;
|
|
23
|
+
if (!('modalities' in value) || value['modalities'] === undefined)
|
|
24
|
+
return false;
|
|
22
25
|
return true;
|
|
23
26
|
}
|
|
24
27
|
export function AiModelFromJSON(json) {
|
|
@@ -32,6 +35,7 @@ export function AiModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
35
|
'technicalId': json['technicalId'],
|
|
33
36
|
'name': json['name'],
|
|
34
37
|
'comment': json['comment'] == null ? undefined : json['comment'],
|
|
38
|
+
'modalities': (json['modalities'].map(AiModelModalityFromJSON)),
|
|
35
39
|
};
|
|
36
40
|
}
|
|
37
41
|
export function AiModelToJSON(json) {
|
|
@@ -45,5 +49,6 @@ export function AiModelToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
45
49
|
'technicalId': value['technicalId'],
|
|
46
50
|
'name': value['name'],
|
|
47
51
|
'comment': value['comment'],
|
|
52
|
+
'modalities': (value['modalities'].map(AiModelModalityToJSON)),
|
|
48
53
|
};
|
|
49
54
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.26.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 task modalities the AI model is compatible with
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const AiModelModality: {
|
|
17
|
+
readonly ImageCaptions: "image.captions";
|
|
18
|
+
readonly ImageEligibleTags: "image.eligibleTags";
|
|
19
|
+
readonly ImageEmbeddings: "image.embeddings";
|
|
20
|
+
readonly TextEmbeddings: "text.embeddings";
|
|
21
|
+
};
|
|
22
|
+
export type AiModelModality = typeof AiModelModality[keyof typeof AiModelModality];
|
|
23
|
+
export declare function instanceOfAiModelModality(value: any): boolean;
|
|
24
|
+
export declare function AiModelModalityFromJSON(json: any): AiModelModality;
|
|
25
|
+
export declare function AiModelModalityFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiModelModality;
|
|
26
|
+
export declare function AiModelModalityToJSON(value?: AiModelModality | null): any;
|
|
27
|
+
export declare function AiModelModalityToJSONTyped(value: any, ignoreDiscriminator: boolean): AiModelModality;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.26.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 task modalities the AI model is compatible with
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const AiModelModality = {
|
|
19
|
+
ImageCaptions: 'image.captions',
|
|
20
|
+
ImageEligibleTags: 'image.eligibleTags',
|
|
21
|
+
ImageEmbeddings: 'image.embeddings',
|
|
22
|
+
TextEmbeddings: 'text.embeddings'
|
|
23
|
+
};
|
|
24
|
+
export function instanceOfAiModelModality(value) {
|
|
25
|
+
for (const key in AiModelModality) {
|
|
26
|
+
if (Object.prototype.hasOwnProperty.call(AiModelModality, key)) {
|
|
27
|
+
if (AiModelModality[key] === value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
export function AiModelModalityFromJSON(json) {
|
|
35
|
+
return AiModelModalityFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function AiModelModalityFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
export function AiModelModalityToJSON(value) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
export function AiModelModalityToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
@@ -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.26.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,12 +21,6 @@ export interface CaptionInstruction {
|
|
|
21
21
|
* @memberof CaptionInstruction
|
|
22
22
|
*/
|
|
23
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
24
|
/**
|
|
31
25
|
* Whether the instruction should run automatically on image indexing
|
|
32
26
|
* @type {boolean}
|
|
@@ -39,6 +33,12 @@ export interface CaptionInstruction {
|
|
|
39
33
|
* @memberof CaptionInstruction
|
|
40
34
|
*/
|
|
41
35
|
enabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The question submitted to the AI model to produce the caption or the eligible tags
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CaptionInstruction
|
|
40
|
+
*/
|
|
41
|
+
question: string;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the CaptionInstruction 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.26.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,12 +17,12 @@
|
|
|
17
17
|
export function instanceOfCaptionInstruction(value) {
|
|
18
18
|
if (!('aiModelTechnicalId' in value) || value['aiModelTechnicalId'] === undefined)
|
|
19
19
|
return false;
|
|
20
|
-
if (!('question' in value) || value['question'] === undefined)
|
|
21
|
-
return false;
|
|
22
20
|
if (!('isAuto' in value) || value['isAuto'] === undefined)
|
|
23
21
|
return false;
|
|
24
22
|
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
25
23
|
return false;
|
|
24
|
+
if (!('question' in value) || value['question'] === undefined)
|
|
25
|
+
return false;
|
|
26
26
|
return true;
|
|
27
27
|
}
|
|
28
28
|
export function CaptionInstructionFromJSON(json) {
|
|
@@ -34,9 +34,9 @@ export function CaptionInstructionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
36
|
'aiModelTechnicalId': json['aiModelTechnicalId'],
|
|
37
|
-
'question': json['question'],
|
|
38
37
|
'isAuto': json['isAuto'],
|
|
39
38
|
'enabled': json['enabled'],
|
|
39
|
+
'question': json['question'],
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
export function CaptionInstructionToJSON(json) {
|
|
@@ -48,8 +48,8 @@ export function CaptionInstructionToJSONTyped(value, ignoreDiscriminator = false
|
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
50
|
'aiModelTechnicalId': value['aiModelTechnicalId'],
|
|
51
|
-
'question': value['question'],
|
|
52
51
|
'isAuto': value['isAuto'],
|
|
53
52
|
'enabled': value['enabled'],
|
|
53
|
+
'question': value['question'],
|
|
54
54
|
};
|
|
55
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.26.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,12 +21,6 @@ export interface EligibleTagsInstruction {
|
|
|
21
21
|
* @memberof EligibleTagsInstruction
|
|
22
22
|
*/
|
|
23
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
24
|
/**
|
|
31
25
|
* Whether the instruction should run automatically on image indexing
|
|
32
26
|
* @type {boolean}
|
|
@@ -39,6 +33,12 @@ export interface EligibleTagsInstruction {
|
|
|
39
33
|
* @memberof EligibleTagsInstruction
|
|
40
34
|
*/
|
|
41
35
|
enabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The question submitted to the AI model to produce the caption or the eligible tags
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EligibleTagsInstruction
|
|
40
|
+
*/
|
|
41
|
+
question: string;
|
|
42
42
|
/**
|
|
43
43
|
* The candidate tags the AI model picks from
|
|
44
44
|
* @type {Array<string>}
|
|
@@ -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.26.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,12 +17,12 @@
|
|
|
17
17
|
export function instanceOfEligibleTagsInstruction(value) {
|
|
18
18
|
if (!('aiModelTechnicalId' in value) || value['aiModelTechnicalId'] === undefined)
|
|
19
19
|
return false;
|
|
20
|
-
if (!('question' in value) || value['question'] === undefined)
|
|
21
|
-
return false;
|
|
22
20
|
if (!('isAuto' in value) || value['isAuto'] === undefined)
|
|
23
21
|
return false;
|
|
24
22
|
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
25
23
|
return false;
|
|
24
|
+
if (!('question' in value) || value['question'] === undefined)
|
|
25
|
+
return false;
|
|
26
26
|
if (!('tags' in value) || value['tags'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
return true;
|
|
@@ -36,9 +36,9 @@ export function EligibleTagsInstructionFromJSONTyped(json, ignoreDiscriminator)
|
|
|
36
36
|
}
|
|
37
37
|
return {
|
|
38
38
|
'aiModelTechnicalId': json['aiModelTechnicalId'],
|
|
39
|
-
'question': json['question'],
|
|
40
39
|
'isAuto': json['isAuto'],
|
|
41
40
|
'enabled': json['enabled'],
|
|
41
|
+
'question': json['question'],
|
|
42
42
|
'tags': json['tags'],
|
|
43
43
|
};
|
|
44
44
|
}
|
|
@@ -51,9 +51,9 @@ export function EligibleTagsInstructionToJSONTyped(value, ignoreDiscriminator =
|
|
|
51
51
|
}
|
|
52
52
|
return {
|
|
53
53
|
'aiModelTechnicalId': value['aiModelTechnicalId'],
|
|
54
|
-
'question': value['question'],
|
|
55
54
|
'isAuto': value['isAuto'],
|
|
56
55
|
'enabled': value['enabled'],
|
|
56
|
+
'question': value['question'],
|
|
57
57
|
'tags': value['tags'],
|
|
58
58
|
};
|
|
59
59
|
}
|