@picteus/extension-sdk 0.18.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/backEndIntents.d.ts +216 -0
- package/dist/generated/backEndIntents.js +12 -0
- package/dist/generated/frontEndIntents.d.ts +1112 -0
- package/dist/generated/frontEndIntents.js +97 -0
- package/dist/generated/intentValidator.d.ts +49 -0
- package/dist/generated/intentValidator.js +363 -0
- package/dist/generated/viewKit.d.ts +1728 -378
- package/dist/generated/viewKit.js +1024 -300
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- 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 +27 -5
- package/dist/picteusExtension.js +62 -27
- package/package.json +4 -6
- package/dist/featureViewGrammar.d.ts +0 -2814
- package/dist/featureViewGrammar.js +0 -2612
- package/dist/generated/featureViewGrammar.d.ts +0 -3913
- package/dist/generated/featureViewGrammar.js +0 -4099
- package/dist/intents.d.ts +0 -188
- package/dist/intents.js +0 -26
- package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +0 -26
- package/dist/picteus-ws-client/models/ExtensionActivityKind.js +0 -44
- package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +0 -25
- package/dist/picteus-ws-client/models/ExtensionStatus.js +0 -43
- package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +0 -32
- package/dist/picteus-ws-client/models/ImageEmbeddings.js +0 -43
- package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +0 -27
- package/dist/picteus-ws-client/models/RepositoryStatus.js +0 -45
- package/dist/picteus-ws-client/models/Settings.d.ts +0 -32
- package/dist/picteus-ws-client/models/Settings.js +0 -41
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export * from "./intents.js";
|
|
2
|
-
export * from "./picteusExtension.js";
|
|
3
1
|
export * from "./picteus-ws-client/index.js";
|
|
2
|
+
export * from "./generated/backEndIntents.js";
|
|
3
|
+
export * from "./generated/frontEndIntents.js";
|
|
4
4
|
export * from "./generated/viewKit.js";
|
|
5
|
+
export * from "./picteusExtension.js";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export * from "./intents.js";
|
|
2
|
-
export * from "./picteusExtension.js";
|
|
3
1
|
export * from "./picteus-ws-client/index.js";
|
|
2
|
+
export * from "./generated/backEndIntents.js";
|
|
3
|
+
export * from "./generated/frontEndIntents.js";
|
|
4
4
|
export * from "./generated/viewKit.js";
|
|
5
|
+
export * from "./picteusExtension.js";
|
|
@@ -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.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).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { Extension, ExtensionActivity, ExtensionAndManual, ExtensionGenerationOptions, ExtensionSettings, ExtensionState, ExtensionsConfiguration, RunCommandParameters } from '../models/index.js';
|
|
13
|
+
import type { AiModel, CaptionInstruction, EligibleTagsInstruction, Extension, ExtensionActivity, ExtensionAiModel, ExtensionAndManual, ExtensionGenerationOptions, ExtensionSettings, ExtensionState, ExtensionsConfiguration, RunCommandParameters } from '../models/index.js';
|
|
14
14
|
export interface ExtensionApiExtensionBuildRequest {
|
|
15
15
|
body: Blob;
|
|
16
16
|
}
|
|
@@ -28,6 +28,12 @@ export interface ExtensionApiExtensionGenerateRequest {
|
|
|
28
28
|
export interface ExtensionApiExtensionGetRequest {
|
|
29
29
|
id: string;
|
|
30
30
|
}
|
|
31
|
+
export interface ExtensionApiExtensionGetCaptionInstructionsRequest {
|
|
32
|
+
id: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ExtensionApiExtensionGetEligibleTagsInstructionsRequest {
|
|
35
|
+
id: string;
|
|
36
|
+
}
|
|
31
37
|
export interface ExtensionApiExtensionGetSettingsRequest {
|
|
32
38
|
id: string;
|
|
33
39
|
}
|
|
@@ -56,6 +62,18 @@ export interface ExtensionApiExtensionRunProcessCommandRequest {
|
|
|
56
62
|
[key: string]: any;
|
|
57
63
|
};
|
|
58
64
|
}
|
|
65
|
+
export interface ExtensionApiExtensionSetAiModelsRequest {
|
|
66
|
+
id: string;
|
|
67
|
+
aiModel: Array<AiModel>;
|
|
68
|
+
}
|
|
69
|
+
export interface ExtensionApiExtensionSetCaptionInstructionsRequest {
|
|
70
|
+
id: string;
|
|
71
|
+
captionInstruction: Array<CaptionInstruction>;
|
|
72
|
+
}
|
|
73
|
+
export interface ExtensionApiExtensionSetEligibleTagsInstructionsRequest {
|
|
74
|
+
id: string;
|
|
75
|
+
eligibleTagsInstruction: Array<EligibleTagsInstruction>;
|
|
76
|
+
}
|
|
59
77
|
export interface ExtensionApiExtensionSetSettingsRequest {
|
|
60
78
|
id: string;
|
|
61
79
|
extensionSettings: ExtensionSettings;
|
|
@@ -163,6 +181,20 @@ export interface ExtensionApiInterface {
|
|
|
163
181
|
* Gets an extension
|
|
164
182
|
*/
|
|
165
183
|
extensionGet(requestParameters: ExtensionApiExtensionGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExtensionAndManual>;
|
|
184
|
+
/**
|
|
185
|
+
* Returns the caption instructions declared for an extension.
|
|
186
|
+
* @summary Gets the caption instructions for an extension
|
|
187
|
+
* @param {string} id The extension identifier
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
* @memberof ExtensionApiInterface
|
|
191
|
+
*/
|
|
192
|
+
extensionGetCaptionInstructionsRaw(requestParameters: ExtensionApiExtensionGetCaptionInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CaptionInstruction>>>;
|
|
193
|
+
/**
|
|
194
|
+
* Returns the caption instructions declared for an extension.
|
|
195
|
+
* Gets the caption instructions for an extension
|
|
196
|
+
*/
|
|
197
|
+
extensionGetCaptionInstructions(requestParameters: ExtensionApiExtensionGetCaptionInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CaptionInstruction>>;
|
|
166
198
|
/**
|
|
167
199
|
* Returns the details in terms of all installed extensions capabilities, i.e. what they can offer, and the command they offer.
|
|
168
200
|
* @summary Provides the extensions configuration
|
|
@@ -176,6 +208,20 @@ export interface ExtensionApiInterface {
|
|
|
176
208
|
* Provides the extensions configuration
|
|
177
209
|
*/
|
|
178
210
|
extensionGetConfiguration(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExtensionsConfiguration>;
|
|
211
|
+
/**
|
|
212
|
+
* Returns the eligible tags instructions declared for an extension.
|
|
213
|
+
* @summary Gets the eligible tags instructions for an extension
|
|
214
|
+
* @param {string} id The extension identifier
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
* @memberof ExtensionApiInterface
|
|
218
|
+
*/
|
|
219
|
+
extensionGetEligibleTagsInstructionsRaw(requestParameters: ExtensionApiExtensionGetEligibleTagsInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<EligibleTagsInstruction>>>;
|
|
220
|
+
/**
|
|
221
|
+
* Returns the eligible tags instructions declared for an extension.
|
|
222
|
+
* Gets the eligible tags instructions for an extension
|
|
223
|
+
*/
|
|
224
|
+
extensionGetEligibleTagsInstructions(requestParameters: ExtensionApiExtensionGetEligibleTagsInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<EligibleTagsInstruction>>;
|
|
179
225
|
/**
|
|
180
226
|
* Returns the settings of an extension.
|
|
181
227
|
* @summary Gets an extension settings
|
|
@@ -235,6 +281,19 @@ export interface ExtensionApiInterface {
|
|
|
235
281
|
* Lists all extensions
|
|
236
282
|
*/
|
|
237
283
|
extensionList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Extension>>;
|
|
284
|
+
/**
|
|
285
|
+
* Returns the AI models declared by all installed extensions.
|
|
286
|
+
* @summary Lists the AI models declared by all extensions
|
|
287
|
+
* @param {*} [options] Override http request option.
|
|
288
|
+
* @throws {RequiredError}
|
|
289
|
+
* @memberof ExtensionApiInterface
|
|
290
|
+
*/
|
|
291
|
+
extensionListAiModelsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionAiModel>>>;
|
|
292
|
+
/**
|
|
293
|
+
* Returns the AI models declared by all installed extensions.
|
|
294
|
+
* Lists the AI models declared by all extensions
|
|
295
|
+
*/
|
|
296
|
+
extensionListAiModels(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionAiModel>>;
|
|
238
297
|
/**
|
|
239
298
|
* Reverts the settings of an extension to its default value.
|
|
240
299
|
* @summary Resets the settings of an extension
|
|
@@ -281,6 +340,51 @@ export interface ExtensionApiInterface {
|
|
|
281
340
|
* Runs a command exposed by an extension, on the process
|
|
282
341
|
*/
|
|
283
342
|
extensionRunProcessCommand(requestParameters: ExtensionApiExtensionRunProcessCommandRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
343
|
+
/**
|
|
344
|
+
* Overwrites the AI models previously declared for an extension and returns them. An empty array clears them.
|
|
345
|
+
* @summary Sets the AI models declared for an extension
|
|
346
|
+
* @param {string} id The extension identifier
|
|
347
|
+
* @param {Array<AiModel>} aiModel The AI models declared for the extension
|
|
348
|
+
* @param {*} [options] Override http request option.
|
|
349
|
+
* @throws {RequiredError}
|
|
350
|
+
* @memberof ExtensionApiInterface
|
|
351
|
+
*/
|
|
352
|
+
extensionSetAiModelsRaw(requestParameters: ExtensionApiExtensionSetAiModelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionAiModel>>>;
|
|
353
|
+
/**
|
|
354
|
+
* Overwrites the AI models previously declared for an extension and returns them. An empty array clears them.
|
|
355
|
+
* Sets the AI models declared for an extension
|
|
356
|
+
*/
|
|
357
|
+
extensionSetAiModels(requestParameters: ExtensionApiExtensionSetAiModelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionAiModel>>;
|
|
358
|
+
/**
|
|
359
|
+
* Overwrites the caption instructions declared for an extension.
|
|
360
|
+
* @summary Sets the caption instructions for an extension
|
|
361
|
+
* @param {string} id The extension identifier
|
|
362
|
+
* @param {Array<CaptionInstruction>} captionInstruction The caption instructions for the extension
|
|
363
|
+
* @param {*} [options] Override http request option.
|
|
364
|
+
* @throws {RequiredError}
|
|
365
|
+
* @memberof ExtensionApiInterface
|
|
366
|
+
*/
|
|
367
|
+
extensionSetCaptionInstructionsRaw(requestParameters: ExtensionApiExtensionSetCaptionInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CaptionInstruction>>>;
|
|
368
|
+
/**
|
|
369
|
+
* Overwrites the caption instructions declared for an extension.
|
|
370
|
+
* Sets the caption instructions for an extension
|
|
371
|
+
*/
|
|
372
|
+
extensionSetCaptionInstructions(requestParameters: ExtensionApiExtensionSetCaptionInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CaptionInstruction>>;
|
|
373
|
+
/**
|
|
374
|
+
* Overwrites the eligible tags instructions declared for an extension.
|
|
375
|
+
* @summary Sets the eligible tags instructions for an extension
|
|
376
|
+
* @param {string} id The extension identifier
|
|
377
|
+
* @param {Array<EligibleTagsInstruction>} eligibleTagsInstruction The eligible tags instructions for the extension
|
|
378
|
+
* @param {*} [options] Override http request option.
|
|
379
|
+
* @throws {RequiredError}
|
|
380
|
+
* @memberof ExtensionApiInterface
|
|
381
|
+
*/
|
|
382
|
+
extensionSetEligibleTagsInstructionsRaw(requestParameters: ExtensionApiExtensionSetEligibleTagsInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<EligibleTagsInstruction>>>;
|
|
383
|
+
/**
|
|
384
|
+
* Overwrites the eligible tags instructions declared for an extension.
|
|
385
|
+
* Sets the eligible tags instructions for an extension
|
|
386
|
+
*/
|
|
387
|
+
extensionSetEligibleTagsInstructions(requestParameters: ExtensionApiExtensionSetEligibleTagsInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<EligibleTagsInstruction>>;
|
|
284
388
|
/**
|
|
285
389
|
* Defines the settings of an extension.
|
|
286
390
|
* @summary Sets an extension settings
|
|
@@ -405,6 +509,16 @@ export declare class ExtensionApi extends runtime.BaseAPI implements ExtensionAp
|
|
|
405
509
|
* Gets an extension
|
|
406
510
|
*/
|
|
407
511
|
extensionGet(requestParameters: ExtensionApiExtensionGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExtensionAndManual>;
|
|
512
|
+
/**
|
|
513
|
+
* Returns the caption instructions declared for an extension.
|
|
514
|
+
* Gets the caption instructions for an extension
|
|
515
|
+
*/
|
|
516
|
+
extensionGetCaptionInstructionsRaw(requestParameters: ExtensionApiExtensionGetCaptionInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CaptionInstruction>>>;
|
|
517
|
+
/**
|
|
518
|
+
* Returns the caption instructions declared for an extension.
|
|
519
|
+
* Gets the caption instructions for an extension
|
|
520
|
+
*/
|
|
521
|
+
extensionGetCaptionInstructions(requestParameters: ExtensionApiExtensionGetCaptionInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CaptionInstruction>>;
|
|
408
522
|
/**
|
|
409
523
|
* Returns the details in terms of all installed extensions capabilities, i.e. what they can offer, and the command they offer.
|
|
410
524
|
* Provides the extensions configuration
|
|
@@ -415,6 +529,16 @@ export declare class ExtensionApi extends runtime.BaseAPI implements ExtensionAp
|
|
|
415
529
|
* Provides the extensions configuration
|
|
416
530
|
*/
|
|
417
531
|
extensionGetConfiguration(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExtensionsConfiguration>;
|
|
532
|
+
/**
|
|
533
|
+
* Returns the eligible tags instructions declared for an extension.
|
|
534
|
+
* Gets the eligible tags instructions for an extension
|
|
535
|
+
*/
|
|
536
|
+
extensionGetEligibleTagsInstructionsRaw(requestParameters: ExtensionApiExtensionGetEligibleTagsInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<EligibleTagsInstruction>>>;
|
|
537
|
+
/**
|
|
538
|
+
* Returns the eligible tags instructions declared for an extension.
|
|
539
|
+
* Gets the eligible tags instructions for an extension
|
|
540
|
+
*/
|
|
541
|
+
extensionGetEligibleTagsInstructions(requestParameters: ExtensionApiExtensionGetEligibleTagsInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<EligibleTagsInstruction>>;
|
|
418
542
|
/**
|
|
419
543
|
* Returns the settings of an extension.
|
|
420
544
|
* Gets an extension settings
|
|
@@ -455,6 +579,16 @@ export declare class ExtensionApi extends runtime.BaseAPI implements ExtensionAp
|
|
|
455
579
|
* Lists all extensions
|
|
456
580
|
*/
|
|
457
581
|
extensionList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Extension>>;
|
|
582
|
+
/**
|
|
583
|
+
* Returns the AI models declared by all installed extensions.
|
|
584
|
+
* Lists the AI models declared by all extensions
|
|
585
|
+
*/
|
|
586
|
+
extensionListAiModelsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionAiModel>>>;
|
|
587
|
+
/**
|
|
588
|
+
* Returns the AI models declared by all installed extensions.
|
|
589
|
+
* Lists the AI models declared by all extensions
|
|
590
|
+
*/
|
|
591
|
+
extensionListAiModels(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionAiModel>>;
|
|
458
592
|
/**
|
|
459
593
|
* Reverts the settings of an extension to its default value.
|
|
460
594
|
* Resets the settings of an extension
|
|
@@ -485,6 +619,36 @@ export declare class ExtensionApi extends runtime.BaseAPI implements ExtensionAp
|
|
|
485
619
|
* Runs a command exposed by an extension, on the process
|
|
486
620
|
*/
|
|
487
621
|
extensionRunProcessCommand(requestParameters: ExtensionApiExtensionRunProcessCommandRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
622
|
+
/**
|
|
623
|
+
* Overwrites the AI models previously declared for an extension and returns them. An empty array clears them.
|
|
624
|
+
* Sets the AI models declared for an extension
|
|
625
|
+
*/
|
|
626
|
+
extensionSetAiModelsRaw(requestParameters: ExtensionApiExtensionSetAiModelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionAiModel>>>;
|
|
627
|
+
/**
|
|
628
|
+
* Overwrites the AI models previously declared for an extension and returns them. An empty array clears them.
|
|
629
|
+
* Sets the AI models declared for an extension
|
|
630
|
+
*/
|
|
631
|
+
extensionSetAiModels(requestParameters: ExtensionApiExtensionSetAiModelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionAiModel>>;
|
|
632
|
+
/**
|
|
633
|
+
* Overwrites the caption instructions declared for an extension.
|
|
634
|
+
* Sets the caption instructions for an extension
|
|
635
|
+
*/
|
|
636
|
+
extensionSetCaptionInstructionsRaw(requestParameters: ExtensionApiExtensionSetCaptionInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CaptionInstruction>>>;
|
|
637
|
+
/**
|
|
638
|
+
* Overwrites the caption instructions declared for an extension.
|
|
639
|
+
* Sets the caption instructions for an extension
|
|
640
|
+
*/
|
|
641
|
+
extensionSetCaptionInstructions(requestParameters: ExtensionApiExtensionSetCaptionInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CaptionInstruction>>;
|
|
642
|
+
/**
|
|
643
|
+
* Overwrites the eligible tags instructions declared for an extension.
|
|
644
|
+
* Sets the eligible tags instructions for an extension
|
|
645
|
+
*/
|
|
646
|
+
extensionSetEligibleTagsInstructionsRaw(requestParameters: ExtensionApiExtensionSetEligibleTagsInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<EligibleTagsInstruction>>>;
|
|
647
|
+
/**
|
|
648
|
+
* Overwrites the eligible tags instructions declared for an extension.
|
|
649
|
+
* Sets the eligible tags instructions for an extension
|
|
650
|
+
*/
|
|
651
|
+
extensionSetEligibleTagsInstructions(requestParameters: ExtensionApiExtensionSetEligibleTagsInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<EligibleTagsInstruction>>;
|
|
488
652
|
/**
|
|
489
653
|
* Defines the settings of an extension.
|
|
490
654
|
* Sets an extension settings
|
|
@@ -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.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).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime.js';
|
|
15
|
-
import { ExtensionFromJSON, ExtensionActivityFromJSON, ExtensionAndManualFromJSON, ExtensionGenerationOptionsToJSON, ExtensionSettingsFromJSON, ExtensionSettingsToJSON, ExtensionsConfigurationFromJSON, RunCommandParametersToJSON, } from '../models/index.js';
|
|
15
|
+
import { AiModelToJSON, CaptionInstructionFromJSON, CaptionInstructionToJSON, EligibleTagsInstructionFromJSON, EligibleTagsInstructionToJSON, ExtensionFromJSON, ExtensionActivityFromJSON, ExtensionAiModelFromJSON, ExtensionAndManualFromJSON, ExtensionGenerationOptionsToJSON, ExtensionSettingsFromJSON, ExtensionSettingsToJSON, ExtensionsConfigurationFromJSON, RunCommandParametersToJSON, } from '../models/index.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -211,6 +211,37 @@ export class ExtensionApi extends runtime.BaseAPI {
|
|
|
211
211
|
const response = await this.extensionGetRaw(requestParameters, initOverrides);
|
|
212
212
|
return await response.value();
|
|
213
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* Returns the caption instructions declared for an extension.
|
|
216
|
+
* Gets the caption instructions for an extension
|
|
217
|
+
*/
|
|
218
|
+
async extensionGetCaptionInstructionsRaw(requestParameters, initOverrides) {
|
|
219
|
+
if (requestParameters['id'] == null) {
|
|
220
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling extensionGetCaptionInstructions().');
|
|
221
|
+
}
|
|
222
|
+
const queryParameters = {};
|
|
223
|
+
const headerParameters = {};
|
|
224
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
225
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
226
|
+
}
|
|
227
|
+
let urlPath = `/extension/{id}/getCaptionInstructions`;
|
|
228
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
229
|
+
const response = await this.request({
|
|
230
|
+
path: urlPath,
|
|
231
|
+
method: 'GET',
|
|
232
|
+
headers: headerParameters,
|
|
233
|
+
query: queryParameters,
|
|
234
|
+
}, initOverrides);
|
|
235
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(CaptionInstructionFromJSON));
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Returns the caption instructions declared for an extension.
|
|
239
|
+
* Gets the caption instructions for an extension
|
|
240
|
+
*/
|
|
241
|
+
async extensionGetCaptionInstructions(requestParameters, initOverrides) {
|
|
242
|
+
const response = await this.extensionGetCaptionInstructionsRaw(requestParameters, initOverrides);
|
|
243
|
+
return await response.value();
|
|
244
|
+
}
|
|
214
245
|
/**
|
|
215
246
|
* Returns the details in terms of all installed extensions capabilities, i.e. what they can offer, and the command they offer.
|
|
216
247
|
* Provides the extensions configuration
|
|
@@ -238,6 +269,37 @@ export class ExtensionApi extends runtime.BaseAPI {
|
|
|
238
269
|
const response = await this.extensionGetConfigurationRaw(initOverrides);
|
|
239
270
|
return await response.value();
|
|
240
271
|
}
|
|
272
|
+
/**
|
|
273
|
+
* Returns the eligible tags instructions declared for an extension.
|
|
274
|
+
* Gets the eligible tags instructions for an extension
|
|
275
|
+
*/
|
|
276
|
+
async extensionGetEligibleTagsInstructionsRaw(requestParameters, initOverrides) {
|
|
277
|
+
if (requestParameters['id'] == null) {
|
|
278
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling extensionGetEligibleTagsInstructions().');
|
|
279
|
+
}
|
|
280
|
+
const queryParameters = {};
|
|
281
|
+
const headerParameters = {};
|
|
282
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
283
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
284
|
+
}
|
|
285
|
+
let urlPath = `/extension/{id}/getEligibleTagsInstructions`;
|
|
286
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
287
|
+
const response = await this.request({
|
|
288
|
+
path: urlPath,
|
|
289
|
+
method: 'GET',
|
|
290
|
+
headers: headerParameters,
|
|
291
|
+
query: queryParameters,
|
|
292
|
+
}, initOverrides);
|
|
293
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(EligibleTagsInstructionFromJSON));
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Returns the eligible tags instructions declared for an extension.
|
|
297
|
+
* Gets the eligible tags instructions for an extension
|
|
298
|
+
*/
|
|
299
|
+
async extensionGetEligibleTagsInstructions(requestParameters, initOverrides) {
|
|
300
|
+
const response = await this.extensionGetEligibleTagsInstructionsRaw(requestParameters, initOverrides);
|
|
301
|
+
return await response.value();
|
|
302
|
+
}
|
|
241
303
|
/**
|
|
242
304
|
* Returns the settings of an extension.
|
|
243
305
|
* Gets an extension settings
|
|
@@ -381,6 +443,33 @@ export class ExtensionApi extends runtime.BaseAPI {
|
|
|
381
443
|
const response = await this.extensionListRaw(initOverrides);
|
|
382
444
|
return await response.value();
|
|
383
445
|
}
|
|
446
|
+
/**
|
|
447
|
+
* Returns the AI models declared by all installed extensions.
|
|
448
|
+
* Lists the AI models declared by all extensions
|
|
449
|
+
*/
|
|
450
|
+
async extensionListAiModelsRaw(initOverrides) {
|
|
451
|
+
const queryParameters = {};
|
|
452
|
+
const headerParameters = {};
|
|
453
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
454
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
455
|
+
}
|
|
456
|
+
let urlPath = `/extension/listAiModels`;
|
|
457
|
+
const response = await this.request({
|
|
458
|
+
path: urlPath,
|
|
459
|
+
method: 'GET',
|
|
460
|
+
headers: headerParameters,
|
|
461
|
+
query: queryParameters,
|
|
462
|
+
}, initOverrides);
|
|
463
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ExtensionAiModelFromJSON));
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Returns the AI models declared by all installed extensions.
|
|
467
|
+
* Lists the AI models declared by all extensions
|
|
468
|
+
*/
|
|
469
|
+
async extensionListAiModels(initOverrides) {
|
|
470
|
+
const response = await this.extensionListAiModelsRaw(initOverrides);
|
|
471
|
+
return await response.value();
|
|
472
|
+
}
|
|
384
473
|
/**
|
|
385
474
|
* Reverts the settings of an extension to its default value.
|
|
386
475
|
* Resets the settings of an extension
|
|
@@ -491,6 +580,114 @@ export class ExtensionApi extends runtime.BaseAPI {
|
|
|
491
580
|
async extensionRunProcessCommand(requestParameters, initOverrides) {
|
|
492
581
|
await this.extensionRunProcessCommandRaw(requestParameters, initOverrides);
|
|
493
582
|
}
|
|
583
|
+
/**
|
|
584
|
+
* Overwrites the AI models previously declared for an extension and returns them. An empty array clears them.
|
|
585
|
+
* Sets the AI models declared for an extension
|
|
586
|
+
*/
|
|
587
|
+
async extensionSetAiModelsRaw(requestParameters, initOverrides) {
|
|
588
|
+
if (requestParameters['id'] == null) {
|
|
589
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling extensionSetAiModels().');
|
|
590
|
+
}
|
|
591
|
+
if (requestParameters['aiModel'] == null) {
|
|
592
|
+
throw new runtime.RequiredError('aiModel', 'Required parameter "aiModel" was null or undefined when calling extensionSetAiModels().');
|
|
593
|
+
}
|
|
594
|
+
const queryParameters = {};
|
|
595
|
+
const headerParameters = {};
|
|
596
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
597
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
598
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
599
|
+
}
|
|
600
|
+
let urlPath = `/extension/{id}/setAiModels`;
|
|
601
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
602
|
+
const response = await this.request({
|
|
603
|
+
path: urlPath,
|
|
604
|
+
method: 'PUT',
|
|
605
|
+
headers: headerParameters,
|
|
606
|
+
query: queryParameters,
|
|
607
|
+
body: requestParameters['aiModel'].map(AiModelToJSON),
|
|
608
|
+
}, initOverrides);
|
|
609
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ExtensionAiModelFromJSON));
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* Overwrites the AI models previously declared for an extension and returns them. An empty array clears them.
|
|
613
|
+
* Sets the AI models declared for an extension
|
|
614
|
+
*/
|
|
615
|
+
async extensionSetAiModels(requestParameters, initOverrides) {
|
|
616
|
+
const response = await this.extensionSetAiModelsRaw(requestParameters, initOverrides);
|
|
617
|
+
return await response.value();
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* Overwrites the caption instructions declared for an extension.
|
|
621
|
+
* Sets the caption instructions for an extension
|
|
622
|
+
*/
|
|
623
|
+
async extensionSetCaptionInstructionsRaw(requestParameters, initOverrides) {
|
|
624
|
+
if (requestParameters['id'] == null) {
|
|
625
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling extensionSetCaptionInstructions().');
|
|
626
|
+
}
|
|
627
|
+
if (requestParameters['captionInstruction'] == null) {
|
|
628
|
+
throw new runtime.RequiredError('captionInstruction', 'Required parameter "captionInstruction" was null or undefined when calling extensionSetCaptionInstructions().');
|
|
629
|
+
}
|
|
630
|
+
const queryParameters = {};
|
|
631
|
+
const headerParameters = {};
|
|
632
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
633
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
634
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
635
|
+
}
|
|
636
|
+
let urlPath = `/extension/{id}/setCaptionInstructions`;
|
|
637
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
638
|
+
const response = await this.request({
|
|
639
|
+
path: urlPath,
|
|
640
|
+
method: 'PUT',
|
|
641
|
+
headers: headerParameters,
|
|
642
|
+
query: queryParameters,
|
|
643
|
+
body: requestParameters['captionInstruction'].map(CaptionInstructionToJSON),
|
|
644
|
+
}, initOverrides);
|
|
645
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(CaptionInstructionFromJSON));
|
|
646
|
+
}
|
|
647
|
+
/**
|
|
648
|
+
* Overwrites the caption instructions declared for an extension.
|
|
649
|
+
* Sets the caption instructions for an extension
|
|
650
|
+
*/
|
|
651
|
+
async extensionSetCaptionInstructions(requestParameters, initOverrides) {
|
|
652
|
+
const response = await this.extensionSetCaptionInstructionsRaw(requestParameters, initOverrides);
|
|
653
|
+
return await response.value();
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* Overwrites the eligible tags instructions declared for an extension.
|
|
657
|
+
* Sets the eligible tags instructions for an extension
|
|
658
|
+
*/
|
|
659
|
+
async extensionSetEligibleTagsInstructionsRaw(requestParameters, initOverrides) {
|
|
660
|
+
if (requestParameters['id'] == null) {
|
|
661
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling extensionSetEligibleTagsInstructions().');
|
|
662
|
+
}
|
|
663
|
+
if (requestParameters['eligibleTagsInstruction'] == null) {
|
|
664
|
+
throw new runtime.RequiredError('eligibleTagsInstruction', 'Required parameter "eligibleTagsInstruction" was null or undefined when calling extensionSetEligibleTagsInstructions().');
|
|
665
|
+
}
|
|
666
|
+
const queryParameters = {};
|
|
667
|
+
const headerParameters = {};
|
|
668
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
669
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
670
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
671
|
+
}
|
|
672
|
+
let urlPath = `/extension/{id}/setEligibleTagsInstructions`;
|
|
673
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
674
|
+
const response = await this.request({
|
|
675
|
+
path: urlPath,
|
|
676
|
+
method: 'PUT',
|
|
677
|
+
headers: headerParameters,
|
|
678
|
+
query: queryParameters,
|
|
679
|
+
body: requestParameters['eligibleTagsInstruction'].map(EligibleTagsInstructionToJSON),
|
|
680
|
+
}, initOverrides);
|
|
681
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(EligibleTagsInstructionFromJSON));
|
|
682
|
+
}
|
|
683
|
+
/**
|
|
684
|
+
* Overwrites the eligible tags instructions declared for an extension.
|
|
685
|
+
* Sets the eligible tags instructions for an extension
|
|
686
|
+
*/
|
|
687
|
+
async extensionSetEligibleTagsInstructions(requestParameters, initOverrides) {
|
|
688
|
+
const response = await this.extensionSetEligibleTagsInstructionsRaw(requestParameters, initOverrides);
|
|
689
|
+
return await response.value();
|
|
690
|
+
}
|
|
494
691
|
/**
|
|
495
692
|
* Defines the settings of an extension.
|
|
496
693
|
* Sets an extension settings
|
|
@@ -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.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).
|
|
@@ -97,6 +97,7 @@ export interface ImageApiImageModifyRequest {
|
|
|
97
97
|
}
|
|
98
98
|
export interface ImageApiImageRunCapabilitiesRequest {
|
|
99
99
|
id: string;
|
|
100
|
+
capabilityIds?: Array<ImageRunCapabilitiesCapabilityIdsEnum>;
|
|
100
101
|
extensionIds?: Array<string>;
|
|
101
102
|
}
|
|
102
103
|
export interface ImageApiImageSearchFeaturesRequest {
|
|
@@ -118,6 +119,7 @@ export interface ImageApiImageSearchMediaUrlRequest {
|
|
|
118
119
|
}
|
|
119
120
|
export interface ImageApiImageSearchRunCapabilitiesRequest {
|
|
120
121
|
searchParameters: SearchParameters;
|
|
122
|
+
capabilityIds?: Array<ImageSearchRunCapabilitiesCapabilityIdsEnum>;
|
|
121
123
|
extensionIds?: Array<string>;
|
|
122
124
|
}
|
|
123
125
|
export interface ImageApiImageSearchSummariesRequest {
|
|
@@ -463,6 +465,7 @@ export interface ImageApiInterface {
|
|
|
463
465
|
* Runs all extensions capabilities against the image.
|
|
464
466
|
* @summary Runs capabilities on an image
|
|
465
467
|
* @param {string} id The image identifier
|
|
468
|
+
* @param {Array<'image.features' | 'image.embeddings' | 'image.tags' | 'text.embeddings'>} [capabilityIds] The capabilities to run
|
|
466
469
|
* @param {Array<string>} [extensionIds] The extension identifiers the capabilities should be limited to
|
|
467
470
|
* @param {*} [options] Override http request option.
|
|
468
471
|
* @throws {RequiredError}
|
|
@@ -539,6 +542,7 @@ export interface ImageApiInterface {
|
|
|
539
542
|
* Runs all extensions capabilities against the images following search parameters.
|
|
540
543
|
* @summary Run capabilities on images
|
|
541
544
|
* @param {SearchParameters} searchParameters The search parameters
|
|
545
|
+
* @param {Array<'image.features' | 'image.embeddings' | 'image.tags' | 'text.embeddings'>} [capabilityIds] The capabilities to run
|
|
542
546
|
* @param {Array<string>} [extensionIds] The extension identifiers the capabilities should be limited to
|
|
543
547
|
* @param {*} [options] Override http request option.
|
|
544
548
|
* @throws {RequiredError}
|
|
@@ -970,3 +974,23 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
970
974
|
*/
|
|
971
975
|
imageTextToImages(requestParameters: ImageApiImageTextToImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ImageDistance>>;
|
|
972
976
|
}
|
|
977
|
+
/**
|
|
978
|
+
* @export
|
|
979
|
+
*/
|
|
980
|
+
export declare const ImageRunCapabilitiesCapabilityIdsEnum: {
|
|
981
|
+
readonly ImageFeatures: "image.features";
|
|
982
|
+
readonly ImageEmbeddings: "image.embeddings";
|
|
983
|
+
readonly ImageTags: "image.tags";
|
|
984
|
+
readonly TextEmbeddings: "text.embeddings";
|
|
985
|
+
};
|
|
986
|
+
export type ImageRunCapabilitiesCapabilityIdsEnum = typeof ImageRunCapabilitiesCapabilityIdsEnum[keyof typeof ImageRunCapabilitiesCapabilityIdsEnum];
|
|
987
|
+
/**
|
|
988
|
+
* @export
|
|
989
|
+
*/
|
|
990
|
+
export declare const ImageSearchRunCapabilitiesCapabilityIdsEnum: {
|
|
991
|
+
readonly ImageFeatures: "image.features";
|
|
992
|
+
readonly ImageEmbeddings: "image.embeddings";
|
|
993
|
+
readonly ImageTags: "image.tags";
|
|
994
|
+
readonly TextEmbeddings: "text.embeddings";
|
|
995
|
+
};
|
|
996
|
+
export type ImageSearchRunCapabilitiesCapabilityIdsEnum = typeof ImageSearchRunCapabilitiesCapabilityIdsEnum[keyof typeof ImageSearchRunCapabilitiesCapabilityIdsEnum];
|