@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/intents.d.ts
DELETED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
type Json = Record<string, any>;
|
|
2
|
-
export interface IntentIdentity {
|
|
3
|
-
readonly id: string;
|
|
4
|
-
}
|
|
5
|
-
export interface IntentContext {
|
|
6
|
-
readonly imageIds?: string[];
|
|
7
|
-
}
|
|
8
|
-
export interface BasisIntent {
|
|
9
|
-
readonly identity?: IntentIdentity;
|
|
10
|
-
}
|
|
11
|
-
export interface WithContextIntent extends BasisIntent {
|
|
12
|
-
readonly context?: IntentContext;
|
|
13
|
-
}
|
|
14
|
-
export interface IntentResourceUrl {
|
|
15
|
-
readonly url: string;
|
|
16
|
-
}
|
|
17
|
-
export interface IntentResourceContent {
|
|
18
|
-
readonly content: Buffer;
|
|
19
|
-
}
|
|
20
|
-
export type IntentResource = IntentResourceUrl | IntentResourceContent;
|
|
21
|
-
export interface IntentDialogContent {
|
|
22
|
-
readonly title: string;
|
|
23
|
-
readonly description: string;
|
|
24
|
-
readonly details?: string;
|
|
25
|
-
}
|
|
26
|
-
export interface IntentDialogIconContent extends IntentDialogContent {
|
|
27
|
-
readonly icon?: IntentResource;
|
|
28
|
-
}
|
|
29
|
-
export interface IntentDialogIconSizeContent extends IntentDialogIconContent {
|
|
30
|
-
readonly size?: "auto" | "xs" | "s" | "m" | "l" | "xl";
|
|
31
|
-
}
|
|
32
|
-
export interface IntentFormContent {
|
|
33
|
-
readonly parameters: Json;
|
|
34
|
-
readonly dialogContent?: IntentDialogIconSizeContent;
|
|
35
|
-
}
|
|
36
|
-
export interface FormIntent extends WithContextIntent {
|
|
37
|
-
readonly form: IntentFormContent;
|
|
38
|
-
}
|
|
39
|
-
export declare enum IntentUiAnchor {
|
|
40
|
-
Modal = "modal",
|
|
41
|
-
Sidebar = "sidebar",
|
|
42
|
-
Window = "window",
|
|
43
|
-
ImageDetail = "imageDetail"
|
|
44
|
-
}
|
|
45
|
-
export interface IntentUISidebarIntegration {
|
|
46
|
-
anchor: IntentUiAnchor.Sidebar;
|
|
47
|
-
isExternal: boolean;
|
|
48
|
-
}
|
|
49
|
-
export interface IntentUIWindowIntegration {
|
|
50
|
-
anchor: IntentUiAnchor.Window;
|
|
51
|
-
}
|
|
52
|
-
export interface IntentUIModalIntegration {
|
|
53
|
-
anchor: IntentUiAnchor.Modal;
|
|
54
|
-
}
|
|
55
|
-
export type IntentUIIntegration = IntentUISidebarIntegration | IntentUIWindowIntegration | IntentUIModalIntegration;
|
|
56
|
-
export interface IntentUrlContent {
|
|
57
|
-
readonly url: string;
|
|
58
|
-
}
|
|
59
|
-
export interface IntentHtmlContent {
|
|
60
|
-
readonly html: string;
|
|
61
|
-
}
|
|
62
|
-
export type IntentFrameContent = IntentUrlContent | IntentHtmlContent;
|
|
63
|
-
export interface IntentUi {
|
|
64
|
-
readonly id: string;
|
|
65
|
-
readonly integration: IntentUIIntegration;
|
|
66
|
-
readonly frameContent: IntentFrameContent;
|
|
67
|
-
readonly dialogContent?: IntentDialogIconContent;
|
|
68
|
-
}
|
|
69
|
-
export interface UiIntent extends WithContextIntent {
|
|
70
|
-
readonly ui: IntentUi;
|
|
71
|
-
}
|
|
72
|
-
export interface IntentOpenBrowser {
|
|
73
|
-
readonly url: string;
|
|
74
|
-
}
|
|
75
|
-
export interface OpenBrowserIntent extends BasisIntent {
|
|
76
|
-
readonly openBrowser: IntentOpenBrowser;
|
|
77
|
-
}
|
|
78
|
-
export declare enum IntentDialogType {
|
|
79
|
-
Error = "error",
|
|
80
|
-
Info = "info",
|
|
81
|
-
Question = "question"
|
|
82
|
-
}
|
|
83
|
-
export interface IntentFrame {
|
|
84
|
-
readonly content: IntentFrameContent;
|
|
85
|
-
readonly height: number;
|
|
86
|
-
}
|
|
87
|
-
export interface IntentDialogButtons {
|
|
88
|
-
yes: string;
|
|
89
|
-
no?: string;
|
|
90
|
-
}
|
|
91
|
-
export interface IntentDialog extends IntentDialogIconSizeContent {
|
|
92
|
-
readonly type: IntentDialogType;
|
|
93
|
-
readonly frame?: IntentFrame;
|
|
94
|
-
readonly buttons: IntentDialogButtons;
|
|
95
|
-
}
|
|
96
|
-
export interface DialogIntent extends WithContextIntent {
|
|
97
|
-
readonly dialog: IntentDialog;
|
|
98
|
-
}
|
|
99
|
-
export interface IntentImage {
|
|
100
|
-
readonly imageId: string;
|
|
101
|
-
readonly dialogContent?: IntentDialogContent;
|
|
102
|
-
}
|
|
103
|
-
export interface IntentImages {
|
|
104
|
-
readonly images: IntentImage[];
|
|
105
|
-
readonly dialogContent: IntentDialogIconContent;
|
|
106
|
-
}
|
|
107
|
-
export interface ImagesIntent extends WithContextIntent {
|
|
108
|
-
readonly images: IntentImages;
|
|
109
|
-
}
|
|
110
|
-
export declare enum IntentShowType {
|
|
111
|
-
Sidebar = "sidebar",
|
|
112
|
-
ExtensionSettings = "extensionSettings",
|
|
113
|
-
Image = "image",
|
|
114
|
-
Repository = "repository"
|
|
115
|
-
}
|
|
116
|
-
export interface IntentShow {
|
|
117
|
-
readonly type: IntentShowType;
|
|
118
|
-
readonly id: string;
|
|
119
|
-
}
|
|
120
|
-
export interface ShowIntent extends BasisIntent {
|
|
121
|
-
readonly show: IntentShow;
|
|
122
|
-
}
|
|
123
|
-
export declare enum IntentToastType {
|
|
124
|
-
Info = "info",
|
|
125
|
-
Cancel = "cancel",
|
|
126
|
-
Error = "error"
|
|
127
|
-
}
|
|
128
|
-
export interface IntentToast {
|
|
129
|
-
readonly type: IntentToastType;
|
|
130
|
-
readonly title?: string;
|
|
131
|
-
readonly subtitle: string;
|
|
132
|
-
}
|
|
133
|
-
export interface ToastIntent extends WithContextIntent {
|
|
134
|
-
readonly toast: IntentToast;
|
|
135
|
-
}
|
|
136
|
-
export interface IntentNotification {
|
|
137
|
-
readonly title: string;
|
|
138
|
-
readonly subtitle: string;
|
|
139
|
-
readonly body: string;
|
|
140
|
-
readonly silent: boolean;
|
|
141
|
-
readonly icon?: Buffer;
|
|
142
|
-
readonly isNative: boolean;
|
|
143
|
-
}
|
|
144
|
-
export interface NotificationIntent extends WithContextIntent {
|
|
145
|
-
readonly notification: IntentNotification;
|
|
146
|
-
}
|
|
147
|
-
export interface IntentProcessCommand {
|
|
148
|
-
readonly extensionId: string;
|
|
149
|
-
readonly commandId: string;
|
|
150
|
-
}
|
|
151
|
-
export interface ProcessCommandIntent extends WithContextIntent {
|
|
152
|
-
readonly processCommand: IntentProcessCommand;
|
|
153
|
-
}
|
|
154
|
-
export interface IntentAction {
|
|
155
|
-
readonly intent: ShowIntent | UiIntent | OpenBrowserIntent | ProcessCommandIntent;
|
|
156
|
-
readonly dialogContent: IntentDialogIconSizeContent;
|
|
157
|
-
readonly label?: string;
|
|
158
|
-
}
|
|
159
|
-
export interface ActionIntent extends WithContextIntent {
|
|
160
|
-
readonly action: IntentAction;
|
|
161
|
-
}
|
|
162
|
-
export type FrontIntent = FormIntent | UiIntent | OpenBrowserIntent | DialogIntent | ImagesIntent | ShowIntent | ToastIntent | NotificationIntent | ActionIntent;
|
|
163
|
-
export interface IntentServeBundle {
|
|
164
|
-
readonly content: Buffer;
|
|
165
|
-
readonly settings?: Json;
|
|
166
|
-
}
|
|
167
|
-
export interface BundleIntent extends BasisIntent {
|
|
168
|
-
readonly serveBundle: IntentServeBundle;
|
|
169
|
-
}
|
|
170
|
-
export interface IntentReadFile {
|
|
171
|
-
readonly extensions?: string[];
|
|
172
|
-
readonly message: string;
|
|
173
|
-
}
|
|
174
|
-
export interface ReadFileIntent extends WithContextIntent {
|
|
175
|
-
readonly readFile: IntentReadFile;
|
|
176
|
-
}
|
|
177
|
-
export interface IntentWriteFile {
|
|
178
|
-
readonly content: Buffer;
|
|
179
|
-
readonly name: string;
|
|
180
|
-
readonly extension: string;
|
|
181
|
-
readonly message: string;
|
|
182
|
-
}
|
|
183
|
-
export interface WriteFileIntent extends WithContextIntent {
|
|
184
|
-
readonly writeFile: IntentWriteFile;
|
|
185
|
-
}
|
|
186
|
-
export type BackIntent = BundleIntent | ReadFileIntent | WriteFileIntent;
|
|
187
|
-
export type Intent = FrontIntent | BackIntent;
|
|
188
|
-
export {};
|
package/dist/intents.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export var IntentUiAnchor;
|
|
2
|
-
(function (IntentUiAnchor) {
|
|
3
|
-
IntentUiAnchor["Modal"] = "modal";
|
|
4
|
-
IntentUiAnchor["Sidebar"] = "sidebar";
|
|
5
|
-
IntentUiAnchor["Window"] = "window";
|
|
6
|
-
IntentUiAnchor["ImageDetail"] = "imageDetail";
|
|
7
|
-
})(IntentUiAnchor || (IntentUiAnchor = {}));
|
|
8
|
-
export var IntentDialogType;
|
|
9
|
-
(function (IntentDialogType) {
|
|
10
|
-
IntentDialogType["Error"] = "error";
|
|
11
|
-
IntentDialogType["Info"] = "info";
|
|
12
|
-
IntentDialogType["Question"] = "question";
|
|
13
|
-
})(IntentDialogType || (IntentDialogType = {}));
|
|
14
|
-
export var IntentShowType;
|
|
15
|
-
(function (IntentShowType) {
|
|
16
|
-
IntentShowType["Sidebar"] = "sidebar";
|
|
17
|
-
IntentShowType["ExtensionSettings"] = "extensionSettings";
|
|
18
|
-
IntentShowType["Image"] = "image";
|
|
19
|
-
IntentShowType["Repository"] = "repository";
|
|
20
|
-
})(IntentShowType || (IntentShowType = {}));
|
|
21
|
-
export var IntentToastType;
|
|
22
|
-
(function (IntentToastType) {
|
|
23
|
-
IntentToastType["Info"] = "info";
|
|
24
|
-
IntentToastType["Cancel"] = "cancel";
|
|
25
|
-
IntentToastType["Error"] = "error";
|
|
26
|
-
})(IntentToastType || (IntentToastType = {}));
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Picteus
|
|
3
|
-
* The Picteus API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.21.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 kind of activity of the extension
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const ExtensionActivityKind: {
|
|
17
|
-
readonly Connecting: "connecting";
|
|
18
|
-
readonly Connected: "connected";
|
|
19
|
-
readonly Error: "error";
|
|
20
|
-
};
|
|
21
|
-
export type ExtensionActivityKind = typeof ExtensionActivityKind[keyof typeof ExtensionActivityKind];
|
|
22
|
-
export declare function instanceOfExtensionActivityKind(value: any): boolean;
|
|
23
|
-
export declare function ExtensionActivityKindFromJSON(json: any): ExtensionActivityKind;
|
|
24
|
-
export declare function ExtensionActivityKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionActivityKind;
|
|
25
|
-
export declare function ExtensionActivityKindToJSON(value?: ExtensionActivityKind | null): any;
|
|
26
|
-
export declare function ExtensionActivityKindToJSONTyped(value: any, ignoreDiscriminator: boolean): ExtensionActivityKind;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Picteus
|
|
5
|
-
* The Picteus API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.21.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 kind of activity of the extension
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const ExtensionActivityKind = {
|
|
19
|
-
Connecting: 'connecting',
|
|
20
|
-
Connected: 'connected',
|
|
21
|
-
Error: 'error'
|
|
22
|
-
};
|
|
23
|
-
export function instanceOfExtensionActivityKind(value) {
|
|
24
|
-
for (const key in ExtensionActivityKind) {
|
|
25
|
-
if (Object.prototype.hasOwnProperty.call(ExtensionActivityKind, key)) {
|
|
26
|
-
if (ExtensionActivityKind[key] === value) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return false;
|
|
32
|
-
}
|
|
33
|
-
export function ExtensionActivityKindFromJSON(json) {
|
|
34
|
-
return ExtensionActivityKindFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function ExtensionActivityKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
export function ExtensionActivityKindToJSON(value) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
export function ExtensionActivityKindToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Picteus
|
|
3
|
-
* The Picteus API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.19.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 status of the extension
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const ExtensionStatus: {
|
|
17
|
-
readonly Enabled: "enabled";
|
|
18
|
-
readonly Paused: "paused";
|
|
19
|
-
};
|
|
20
|
-
export type ExtensionStatus = typeof ExtensionStatus[keyof typeof ExtensionStatus];
|
|
21
|
-
export declare function instanceOfExtensionStatus(value: any): boolean;
|
|
22
|
-
export declare function ExtensionStatusFromJSON(json: any): ExtensionStatus;
|
|
23
|
-
export declare function ExtensionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionStatus;
|
|
24
|
-
export declare function ExtensionStatusToJSON(value?: ExtensionStatus | null): any;
|
|
25
|
-
export declare function ExtensionStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ExtensionStatus;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Picteus
|
|
5
|
-
* The Picteus API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.19.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 status of the extension
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const ExtensionStatus = {
|
|
19
|
-
Enabled: 'enabled',
|
|
20
|
-
Paused: 'paused'
|
|
21
|
-
};
|
|
22
|
-
export function instanceOfExtensionStatus(value) {
|
|
23
|
-
for (const key in ExtensionStatus) {
|
|
24
|
-
if (Object.prototype.hasOwnProperty.call(ExtensionStatus, key)) {
|
|
25
|
-
if (ExtensionStatus[key] === value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
return false;
|
|
31
|
-
}
|
|
32
|
-
export function ExtensionStatusFromJSON(json) {
|
|
33
|
-
return ExtensionStatusFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
export function ExtensionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
export function ExtensionStatusToJSON(value) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
export function ExtensionStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Picteus
|
|
3
|
-
* The Picteus API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.18.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
|
-
* A vectorial representation of an image, i.e. an image embeddings vector
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ImageEmbeddings
|
|
16
|
-
*/
|
|
17
|
-
export interface ImageEmbeddings {
|
|
18
|
-
/**
|
|
19
|
-
* The image embeddings vector
|
|
20
|
-
* @type {Array<number>}
|
|
21
|
-
* @memberof ImageEmbeddings
|
|
22
|
-
*/
|
|
23
|
-
values: Array<number>;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the ImageEmbeddings interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfImageEmbeddings(value: object): value is ImageEmbeddings;
|
|
29
|
-
export declare function ImageEmbeddingsFromJSON(json: any): ImageEmbeddings;
|
|
30
|
-
export declare function ImageEmbeddingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageEmbeddings;
|
|
31
|
-
export declare function ImageEmbeddingsToJSON(json: any): ImageEmbeddings;
|
|
32
|
-
export declare function ImageEmbeddingsToJSONTyped(value?: ImageEmbeddings | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Picteus
|
|
5
|
-
* The Picteus API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.18.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 ImageEmbeddings interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfImageEmbeddings(value) {
|
|
18
|
-
if (!('values' in value) || value['values'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
export function ImageEmbeddingsFromJSON(json) {
|
|
23
|
-
return ImageEmbeddingsFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function ImageEmbeddingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json == null) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'values': json['values'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function ImageEmbeddingsToJSON(json) {
|
|
34
|
-
return ImageEmbeddingsToJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function ImageEmbeddingsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'values': value['values'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Picteus
|
|
3
|
-
* The Picteus API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.19.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 status of the repository
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const RepositoryStatus: {
|
|
17
|
-
readonly Unavailable: "UNAVAILABLE";
|
|
18
|
-
readonly Ready: "READY";
|
|
19
|
-
readonly Indexing: "INDEXING";
|
|
20
|
-
readonly UnavailableIndexing: "UNAVAILABLE_INDEXING";
|
|
21
|
-
};
|
|
22
|
-
export type RepositoryStatus = typeof RepositoryStatus[keyof typeof RepositoryStatus];
|
|
23
|
-
export declare function instanceOfRepositoryStatus(value: any): boolean;
|
|
24
|
-
export declare function RepositoryStatusFromJSON(json: any): RepositoryStatus;
|
|
25
|
-
export declare function RepositoryStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepositoryStatus;
|
|
26
|
-
export declare function RepositoryStatusToJSON(value?: RepositoryStatus | null): any;
|
|
27
|
-
export declare function RepositoryStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): RepositoryStatus;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Picteus
|
|
5
|
-
* The Picteus API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.19.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 status of the repository
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const RepositoryStatus = {
|
|
19
|
-
Unavailable: 'UNAVAILABLE',
|
|
20
|
-
Ready: 'READY',
|
|
21
|
-
Indexing: 'INDEXING',
|
|
22
|
-
UnavailableIndexing: 'UNAVAILABLE_INDEXING'
|
|
23
|
-
};
|
|
24
|
-
export function instanceOfRepositoryStatus(value) {
|
|
25
|
-
for (const key in RepositoryStatus) {
|
|
26
|
-
if (Object.prototype.hasOwnProperty.call(RepositoryStatus, key)) {
|
|
27
|
-
if (RepositoryStatus[key] === value) {
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
export function RepositoryStatusFromJSON(json) {
|
|
35
|
-
return RepositoryStatusFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
export function RepositoryStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
export function RepositoryStatusToJSON(value) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
export function RepositoryStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Picteus
|
|
3
|
-
* The Picteus API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.17.1
|
|
6
|
-
* Contact: edouard@koppasoft.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* The application overall settings
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Settings
|
|
16
|
-
*/
|
|
17
|
-
export interface Settings {
|
|
18
|
-
/**
|
|
19
|
-
* The ComfyUI base URL
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Settings
|
|
22
|
-
*/
|
|
23
|
-
comfyUiBaseUrl?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the Settings interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfSettings(value: object): value is Settings;
|
|
29
|
-
export declare function SettingsFromJSON(json: any): Settings;
|
|
30
|
-
export declare function SettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Settings;
|
|
31
|
-
export declare function SettingsToJSON(json: any): Settings;
|
|
32
|
-
export declare function SettingsToJSONTyped(value?: Settings | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Picteus
|
|
5
|
-
* The Picteus API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.17.1
|
|
8
|
-
* Contact: edouard@koppasoft.com
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the Settings interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfSettings(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function SettingsFromJSON(json) {
|
|
21
|
-
return SettingsFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function SettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'comfyUiBaseUrl': json['comfyUiBaseUrl'] == null ? undefined : json['comfyUiBaseUrl'],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export function SettingsToJSON(json) {
|
|
32
|
-
return SettingsToJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
export function SettingsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
-
if (value == null) {
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'comfyUiBaseUrl': value['comfyUiBaseUrl'],
|
|
40
|
-
};
|
|
41
|
-
}
|