@picteus/extension-sdk 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/intents.d.ts +64 -1
- package/dist/intents.js +6 -0
- package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/AdministrationApi.js +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.js +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 +35 -10
- package/dist/picteus-ws-client/apis/ExtensionApi.js +38 -10
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +87 -33
- package/dist/picteus-ws-client/apis/ImageApi.js +99 -32
- 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/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/Collection.d.ts +1 -1
- package/dist/picteus-ws-client/models/Collection.js +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
- package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ComputedImageFormat.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/ConstantsRegistry.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConstantsRegistry.js +1 -1
- package/dist/picteus-ws-client/models/Dates.d.ts +1 -1
- package/dist/picteus-ws-client/models/Dates.js +1 -1
- package/dist/picteus-ws-client/models/Extension.d.ts +1 -1
- package/dist/picteus-ws-client/models/Extension.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityKind.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionCategory.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionCategory.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionStatus.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipe.js +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +1 -1
- package/dist/picteus-ws-client/models/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 +2 -2
- package/dist/picteus-ws-client/models/ImageFormat.js +2 -2
- package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.d.ts +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/ManifestCapabilityId.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
- package/dist/picteus-ws-client/models/ManifestEvent.d.ts +3 -1
- package/dist/picteus-ws-client/models/ManifestEvent.js +3 -1
- package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +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/RepositoryStatus.d.ts +1 -1
- package/dist/picteus-ws-client/models/RepositoryStatus.js +1 -1
- package/dist/picteus-ws-client/models/RunCommandParameters.d.ts +39 -0
- package/dist/picteus-ws-client/models/RunCommandParameters.js +46 -0
- 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/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 +1 -0
- package/dist/picteus-ws-client/models/index.js +1 -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 +46 -23
- package/dist/picteusExtension.js +156 -50
- package/package.json +1 -1
package/dist/intents.d.ts
CHANGED
|
@@ -69,6 +69,12 @@ export interface IntentUi {
|
|
|
69
69
|
export interface UiIntent extends WithContextIntent {
|
|
70
70
|
readonly ui: IntentUi;
|
|
71
71
|
}
|
|
72
|
+
export interface IntentOpenBrowser {
|
|
73
|
+
readonly url: string;
|
|
74
|
+
}
|
|
75
|
+
export interface OpenBrowserIntent extends BasisIntent {
|
|
76
|
+
readonly openBrowser: IntentOpenBrowser;
|
|
77
|
+
}
|
|
72
78
|
export declare enum IntentDialogType {
|
|
73
79
|
Error = "error",
|
|
74
80
|
Info = "info",
|
|
@@ -114,6 +120,46 @@ export interface IntentShow {
|
|
|
114
120
|
export interface ShowIntent extends BasisIntent {
|
|
115
121
|
readonly show: IntentShow;
|
|
116
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;
|
|
117
163
|
export interface IntentServeBundle {
|
|
118
164
|
readonly content: Buffer;
|
|
119
165
|
readonly settings?: Json;
|
|
@@ -121,5 +167,22 @@ export interface IntentServeBundle {
|
|
|
121
167
|
export interface BundleIntent extends BasisIntent {
|
|
122
168
|
readonly serveBundle: IntentServeBundle;
|
|
123
169
|
}
|
|
124
|
-
export
|
|
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;
|
|
125
188
|
export {};
|
package/dist/intents.js
CHANGED
|
@@ -18,3 +18,9 @@ export var IntentShowType;
|
|
|
18
18
|
IntentShowType["Image"] = "image";
|
|
19
19
|
IntentShowType["Repository"] = "repository";
|
|
20
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 = {}));
|
|
@@ -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.19.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, ExtensionsConfiguration } from '../models/index.js';
|
|
13
|
+
import type { Extension, ExtensionActivity, ExtensionAndManual, ExtensionGenerationOptions, ExtensionSettings, ExtensionsConfiguration, RunCommandParameters } from '../models/index.js';
|
|
14
14
|
export interface ExtensionApiExtensionBuildRequest {
|
|
15
15
|
body: Blob;
|
|
16
16
|
}
|
|
@@ -36,11 +36,13 @@ export interface ExtensionApiExtensionPauseOrResumeRequest {
|
|
|
36
36
|
id: string;
|
|
37
37
|
isPause: boolean;
|
|
38
38
|
}
|
|
39
|
+
export interface ExtensionApiExtensionResetSettingsRequest {
|
|
40
|
+
id: string;
|
|
41
|
+
}
|
|
39
42
|
export interface ExtensionApiExtensionRunImageCommandRequest {
|
|
40
43
|
id: string;
|
|
41
44
|
commandId: string;
|
|
42
|
-
|
|
43
|
-
body?: object;
|
|
45
|
+
runCommandParameters: RunCommandParameters;
|
|
44
46
|
}
|
|
45
47
|
export interface ExtensionApiExtensionRunProcessCommandRequest {
|
|
46
48
|
id: string;
|
|
@@ -210,19 +212,32 @@ export interface ExtensionApiInterface {
|
|
|
210
212
|
*/
|
|
211
213
|
extensionPauseOrResume(requestParameters: ExtensionApiExtensionPauseOrResumeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
212
214
|
/**
|
|
213
|
-
*
|
|
215
|
+
* Reverts the settings of an extension to its default value.
|
|
216
|
+
* @summary Resets the settings of an extension
|
|
217
|
+
* @param {string} id The extension identifier
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
* @memberof ExtensionApiInterface
|
|
221
|
+
*/
|
|
222
|
+
extensionResetSettingsRaw(requestParameters: ExtensionApiExtensionResetSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExtensionSettings>>;
|
|
223
|
+
/**
|
|
224
|
+
* Reverts the settings of an extension to its default value.
|
|
225
|
+
* Resets the settings of an extension
|
|
226
|
+
*/
|
|
227
|
+
extensionResetSettings(requestParameters: ExtensionApiExtensionResetSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExtensionSettings>;
|
|
228
|
+
/**
|
|
229
|
+
* Runs the command specified for images, by triggering the relevant event to the extension to images matching search parameters.
|
|
214
230
|
* @summary Runs a command exposed by an extension, on images
|
|
215
231
|
* @param {string} id The extension identifier
|
|
216
232
|
* @param {string} commandId The identifier of the command
|
|
217
|
-
* @param {
|
|
218
|
-
* @param {object} [body] The command parameters
|
|
233
|
+
* @param {RunCommandParameters} runCommandParameters The parameters containing the instructions for running the command
|
|
219
234
|
* @param {*} [options] Override http request option.
|
|
220
235
|
* @throws {RequiredError}
|
|
221
236
|
* @memberof ExtensionApiInterface
|
|
222
237
|
*/
|
|
223
238
|
extensionRunImageCommandRaw(requestParameters: ExtensionApiExtensionRunImageCommandRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
224
239
|
/**
|
|
225
|
-
* Runs the command
|
|
240
|
+
* Runs the command specified for images, by triggering the relevant event to the extension to images matching search parameters.
|
|
226
241
|
* Runs a command exposed by an extension, on images
|
|
227
242
|
*/
|
|
228
243
|
extensionRunImageCommand(requestParameters: ExtensionApiExtensionRunImageCommandRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -406,12 +421,22 @@ export declare class ExtensionApi extends runtime.BaseAPI implements ExtensionAp
|
|
|
406
421
|
*/
|
|
407
422
|
extensionPauseOrResume(requestParameters: ExtensionApiExtensionPauseOrResumeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
408
423
|
/**
|
|
409
|
-
*
|
|
424
|
+
* Reverts the settings of an extension to its default value.
|
|
425
|
+
* Resets the settings of an extension
|
|
426
|
+
*/
|
|
427
|
+
extensionResetSettingsRaw(requestParameters: ExtensionApiExtensionResetSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExtensionSettings>>;
|
|
428
|
+
/**
|
|
429
|
+
* Reverts the settings of an extension to its default value.
|
|
430
|
+
* Resets the settings of an extension
|
|
431
|
+
*/
|
|
432
|
+
extensionResetSettings(requestParameters: ExtensionApiExtensionResetSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExtensionSettings>;
|
|
433
|
+
/**
|
|
434
|
+
* Runs the command specified for images, by triggering the relevant event to the extension to images matching search parameters.
|
|
410
435
|
* Runs a command exposed by an extension, on images
|
|
411
436
|
*/
|
|
412
437
|
extensionRunImageCommandRaw(requestParameters: ExtensionApiExtensionRunImageCommandRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
413
438
|
/**
|
|
414
|
-
* Runs the command
|
|
439
|
+
* Runs the command specified for images, by triggering the relevant event to the extension to images matching search parameters.
|
|
415
440
|
* Runs a command exposed by an extension, on images
|
|
416
441
|
*/
|
|
417
442
|
extensionRunImageCommand(requestParameters: ExtensionApiExtensionRunImageCommandRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -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.19.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, } from '../models/index.js';
|
|
15
|
+
import { ExtensionFromJSON, ExtensionActivityFromJSON, ExtensionAndManualFromJSON, ExtensionGenerationOptionsToJSON, ExtensionSettingsFromJSON, ExtensionSettingsToJSON, ExtensionsConfigurationFromJSON, RunCommandParametersToJSON, } from '../models/index.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -340,7 +340,38 @@ export class ExtensionApi extends runtime.BaseAPI {
|
|
|
340
340
|
await this.extensionPauseOrResumeRaw(requestParameters, initOverrides);
|
|
341
341
|
}
|
|
342
342
|
/**
|
|
343
|
-
*
|
|
343
|
+
* Reverts the settings of an extension to its default value.
|
|
344
|
+
* Resets the settings of an extension
|
|
345
|
+
*/
|
|
346
|
+
async extensionResetSettingsRaw(requestParameters, initOverrides) {
|
|
347
|
+
if (requestParameters['id'] == null) {
|
|
348
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling extensionResetSettings().');
|
|
349
|
+
}
|
|
350
|
+
const queryParameters = {};
|
|
351
|
+
const headerParameters = {};
|
|
352
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
353
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
354
|
+
}
|
|
355
|
+
let urlPath = `/extension/{id}/resetSettings`;
|
|
356
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
357
|
+
const response = await this.request({
|
|
358
|
+
path: urlPath,
|
|
359
|
+
method: 'PUT',
|
|
360
|
+
headers: headerParameters,
|
|
361
|
+
query: queryParameters,
|
|
362
|
+
}, initOverrides);
|
|
363
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ExtensionSettingsFromJSON(jsonValue));
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* Reverts the settings of an extension to its default value.
|
|
367
|
+
* Resets the settings of an extension
|
|
368
|
+
*/
|
|
369
|
+
async extensionResetSettings(requestParameters, initOverrides) {
|
|
370
|
+
const response = await this.extensionResetSettingsRaw(requestParameters, initOverrides);
|
|
371
|
+
return await response.value();
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Runs the command specified for images, by triggering the relevant event to the extension to images matching search parameters.
|
|
344
375
|
* Runs a command exposed by an extension, on images
|
|
345
376
|
*/
|
|
346
377
|
async extensionRunImageCommandRaw(requestParameters, initOverrides) {
|
|
@@ -350,16 +381,13 @@ export class ExtensionApi extends runtime.BaseAPI {
|
|
|
350
381
|
if (requestParameters['commandId'] == null) {
|
|
351
382
|
throw new runtime.RequiredError('commandId', 'Required parameter "commandId" was null or undefined when calling extensionRunImageCommand().');
|
|
352
383
|
}
|
|
353
|
-
if (requestParameters['
|
|
354
|
-
throw new runtime.RequiredError('
|
|
384
|
+
if (requestParameters['runCommandParameters'] == null) {
|
|
385
|
+
throw new runtime.RequiredError('runCommandParameters', 'Required parameter "runCommandParameters" was null or undefined when calling extensionRunImageCommand().');
|
|
355
386
|
}
|
|
356
387
|
const queryParameters = {};
|
|
357
388
|
if (requestParameters['commandId'] != null) {
|
|
358
389
|
queryParameters['commandId'] = requestParameters['commandId'];
|
|
359
390
|
}
|
|
360
|
-
if (requestParameters['imageIds'] != null) {
|
|
361
|
-
queryParameters['imageIds'] = requestParameters['imageIds'];
|
|
362
|
-
}
|
|
363
391
|
const headerParameters = {};
|
|
364
392
|
headerParameters['Content-Type'] = 'application/json';
|
|
365
393
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -372,12 +400,12 @@ export class ExtensionApi extends runtime.BaseAPI {
|
|
|
372
400
|
method: 'PUT',
|
|
373
401
|
headers: headerParameters,
|
|
374
402
|
query: queryParameters,
|
|
375
|
-
body: requestParameters['
|
|
403
|
+
body: RunCommandParametersToJSON(requestParameters['runCommandParameters']),
|
|
376
404
|
}, initOverrides);
|
|
377
405
|
return new runtime.VoidApiResponse(response);
|
|
378
406
|
}
|
|
379
407
|
/**
|
|
380
|
-
* Runs the command
|
|
408
|
+
* Runs the command specified for images, by triggering the relevant event to the extension to images matching search parameters.
|
|
381
409
|
* Runs a command exposed by an extension, on images
|
|
382
410
|
*/
|
|
383
411
|
async extensionRunImageCommand(requestParameters, initOverrides) {
|
|
@@ -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.19.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -61,6 +61,9 @@ export interface ImageApiImageGetAllRecipesRequest {
|
|
|
61
61
|
export interface ImageApiImageGetAllTagsRequest {
|
|
62
62
|
id: string;
|
|
63
63
|
}
|
|
64
|
+
export interface ImageApiImageGetCollectionIdsRequest {
|
|
65
|
+
id: string;
|
|
66
|
+
}
|
|
64
67
|
export interface ImageApiImageGetEmbeddingsRequest {
|
|
65
68
|
id: string;
|
|
66
69
|
extensionId: string;
|
|
@@ -87,6 +90,9 @@ export interface ImageApiImageModifyRequest {
|
|
|
87
90
|
id: string;
|
|
88
91
|
body: Blob;
|
|
89
92
|
}
|
|
93
|
+
export interface ImageApiImageRunCapabilitiesRequest {
|
|
94
|
+
id: string;
|
|
95
|
+
}
|
|
90
96
|
export interface ImageApiImageSearchFeaturesRequest {
|
|
91
97
|
searchParameters: SearchParameters;
|
|
92
98
|
extensionIds?: Array<string>;
|
|
@@ -104,6 +110,9 @@ export interface ImageApiImageSearchMediaUrlRequest {
|
|
|
104
110
|
height?: number;
|
|
105
111
|
resizeRender?: ImageResizeRender;
|
|
106
112
|
}
|
|
113
|
+
export interface ImageApiImageSearchRunCapabilitiesRequest {
|
|
114
|
+
searchParameters: SearchParameters;
|
|
115
|
+
}
|
|
107
116
|
export interface ImageApiImageSearchSummariesRequest {
|
|
108
117
|
searchParameters: SearchParameters;
|
|
109
118
|
}
|
|
@@ -126,9 +135,6 @@ export interface ImageApiImageSetTagsRequest {
|
|
|
126
135
|
extensionId: string;
|
|
127
136
|
requestBody: Array<string>;
|
|
128
137
|
}
|
|
129
|
-
export interface ImageApiImageSynchronizeRequest {
|
|
130
|
-
id: string;
|
|
131
|
-
}
|
|
132
138
|
export interface ImageApiImageTextToImagesRequest {
|
|
133
139
|
text: string;
|
|
134
140
|
extensionId: string;
|
|
@@ -324,6 +330,20 @@ export interface ImageApiInterface {
|
|
|
324
330
|
* Gets all the tags of an image
|
|
325
331
|
*/
|
|
326
332
|
imageGetAllTags(requestParameters: ImageApiImageGetAllTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionImageTag>>;
|
|
333
|
+
/**
|
|
334
|
+
* Returns the identifiers of the collections the image belongs to.
|
|
335
|
+
* @summary Gets the identifiers of the image collections
|
|
336
|
+
* @param {string} id The image identifier
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
* @memberof ImageApiInterface
|
|
340
|
+
*/
|
|
341
|
+
imageGetCollectionIdsRaw(requestParameters: ImageApiImageGetCollectionIdsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
|
|
342
|
+
/**
|
|
343
|
+
* Returns the identifiers of the collections the image belongs to.
|
|
344
|
+
* Gets the identifiers of the image collections
|
|
345
|
+
*/
|
|
346
|
+
imageGetCollectionIds(requestParameters: ImageApiImageGetCollectionIdsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
327
347
|
/**
|
|
328
348
|
* Returns the computed embeddings of an image for a given extension.
|
|
329
349
|
* @summary Gets the embeddings of an image
|
|
@@ -416,10 +436,24 @@ export interface ImageApiInterface {
|
|
|
416
436
|
* Modifies an image
|
|
417
437
|
*/
|
|
418
438
|
imageModify(requestParameters: ImageApiImageModifyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
439
|
+
/**
|
|
440
|
+
* Runs all extensions capabilities against the image.
|
|
441
|
+
* @summary Runs capabilities on an image
|
|
442
|
+
* @param {string} id The image identifier
|
|
443
|
+
* @param {*} [options] Override http request option.
|
|
444
|
+
* @throws {RequiredError}
|
|
445
|
+
* @memberof ImageApiInterface
|
|
446
|
+
*/
|
|
447
|
+
imageRunCapabilitiesRaw(requestParameters: ImageApiImageRunCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
|
|
448
|
+
/**
|
|
449
|
+
* Runs all extensions capabilities against the image.
|
|
450
|
+
* Runs capabilities on an image
|
|
451
|
+
*/
|
|
452
|
+
imageRunCapabilities(requestParameters: ImageApiImageRunCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
419
453
|
/**
|
|
420
454
|
* Retrieves image features following search parameters.
|
|
421
455
|
* @summary Retrieves image features
|
|
422
|
-
* @param {SearchParameters} searchParameters
|
|
456
|
+
* @param {SearchParameters} searchParameters The search parameters
|
|
423
457
|
* @param {Array<string>} [extensionIds] The extension identifiers the features must belong to
|
|
424
458
|
* @param {*} [options] Override http request option.
|
|
425
459
|
* @throws {RequiredError}
|
|
@@ -448,7 +482,7 @@ export interface ImageApiInterface {
|
|
|
448
482
|
/**
|
|
449
483
|
* Retrieves image details following search parameters.
|
|
450
484
|
* @summary Retrieves image details
|
|
451
|
-
* @param {SearchParameters} searchParameters
|
|
485
|
+
* @param {SearchParameters} searchParameters The search parameters
|
|
452
486
|
* @param {*} [options] Override http request option.
|
|
453
487
|
* @throws {RequiredError}
|
|
454
488
|
* @memberof ImageApiInterface
|
|
@@ -462,7 +496,7 @@ export interface ImageApiInterface {
|
|
|
462
496
|
/**
|
|
463
497
|
* Retrieves image media URLs following search parameters.
|
|
464
498
|
* @summary Retrieves image media URLs
|
|
465
|
-
* @param {SearchParameters} searchParameters
|
|
499
|
+
* @param {SearchParameters} searchParameters The search parameters
|
|
466
500
|
* @param {ImageFormat} [format] The image format
|
|
467
501
|
* @param {number} [width] The image maximum width ; if not defined, the original width is used
|
|
468
502
|
* @param {number} [height] The image maximum height ; if not defined, the original height is used
|
|
@@ -477,10 +511,24 @@ export interface ImageApiInterface {
|
|
|
477
511
|
* Retrieves image media URLs
|
|
478
512
|
*/
|
|
479
513
|
imageSearchMediaUrl(requestParameters: ImageApiImageSearchMediaUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SearchMediaUrlResult>;
|
|
514
|
+
/**
|
|
515
|
+
* Runs all extensions capabilities against the images following search parameters.
|
|
516
|
+
* @summary Run capabilities on images
|
|
517
|
+
* @param {SearchParameters} searchParameters The search parameters
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
* @memberof ImageApiInterface
|
|
521
|
+
*/
|
|
522
|
+
imageSearchRunCapabilitiesRaw(requestParameters: ImageApiImageSearchRunCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
523
|
+
/**
|
|
524
|
+
* Runs all extensions capabilities against the images following search parameters.
|
|
525
|
+
* Run capabilities on images
|
|
526
|
+
*/
|
|
527
|
+
imageSearchRunCapabilities(requestParameters: ImageApiImageSearchRunCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
480
528
|
/**
|
|
481
529
|
* Retrieves image summaries following search parameters.
|
|
482
530
|
* @summary Retrieves image summaries
|
|
483
|
-
* @param {SearchParameters} searchParameters
|
|
531
|
+
* @param {SearchParameters} searchParameters The search parameters
|
|
484
532
|
* @param {*} [options] Override http request option.
|
|
485
533
|
* @throws {RequiredError}
|
|
486
534
|
* @memberof ImageApiInterface
|
|
@@ -494,7 +542,7 @@ export interface ImageApiInterface {
|
|
|
494
542
|
/**
|
|
495
543
|
* Retrieves image tags following search parameters.
|
|
496
544
|
* @summary Retrieves image tags
|
|
497
|
-
* @param {SearchParameters} searchParameters
|
|
545
|
+
* @param {SearchParameters} searchParameters The search parameters
|
|
498
546
|
* @param {Array<string>} [extensionIds] The extension identifiers the tags must belong to
|
|
499
547
|
* @param {*} [options] Override http request option.
|
|
500
548
|
* @throws {RequiredError}
|
|
@@ -554,20 +602,6 @@ export interface ImageApiInterface {
|
|
|
554
602
|
* Sets the tags of an image
|
|
555
603
|
*/
|
|
556
604
|
imageSetTags(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
557
|
-
/**
|
|
558
|
-
* Runs all extensions capabilities against the image.
|
|
559
|
-
* @summary Synchronizes an image
|
|
560
|
-
* @param {string} id The image identifier
|
|
561
|
-
* @param {*} [options] Override http request option.
|
|
562
|
-
* @throws {RequiredError}
|
|
563
|
-
* @memberof ImageApiInterface
|
|
564
|
-
*/
|
|
565
|
-
imageSynchronizeRaw(requestParameters: ImageApiImageSynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
|
|
566
|
-
/**
|
|
567
|
-
* Runs all extensions capabilities against the image.
|
|
568
|
-
* Synchronizes an image
|
|
569
|
-
*/
|
|
570
|
-
imageSynchronize(requestParameters: ImageApiImageSynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
571
605
|
/**
|
|
572
606
|
* Returns the closest images for a given text which will be turned into embeddings, following the embeddings of a given extension.
|
|
573
607
|
* @summary Gets the closest images to a text following the embeddings of an extension
|
|
@@ -710,6 +744,16 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
710
744
|
* Gets all the tags of an image
|
|
711
745
|
*/
|
|
712
746
|
imageGetAllTags(requestParameters: ImageApiImageGetAllTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionImageTag>>;
|
|
747
|
+
/**
|
|
748
|
+
* Returns the identifiers of the collections the image belongs to.
|
|
749
|
+
* Gets the identifiers of the image collections
|
|
750
|
+
*/
|
|
751
|
+
imageGetCollectionIdsRaw(requestParameters: ImageApiImageGetCollectionIdsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
|
|
752
|
+
/**
|
|
753
|
+
* Returns the identifiers of the collections the image belongs to.
|
|
754
|
+
* Gets the identifiers of the image collections
|
|
755
|
+
*/
|
|
756
|
+
imageGetCollectionIds(requestParameters: ImageApiImageGetCollectionIdsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
713
757
|
/**
|
|
714
758
|
* Returns the computed embeddings of an image for a given extension.
|
|
715
759
|
* Gets the embeddings of an image
|
|
@@ -770,6 +814,16 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
770
814
|
* Modifies an image
|
|
771
815
|
*/
|
|
772
816
|
imageModify(requestParameters: ImageApiImageModifyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
817
|
+
/**
|
|
818
|
+
* Runs all extensions capabilities against the image.
|
|
819
|
+
* Runs capabilities on an image
|
|
820
|
+
*/
|
|
821
|
+
imageRunCapabilitiesRaw(requestParameters: ImageApiImageRunCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
|
|
822
|
+
/**
|
|
823
|
+
* Runs all extensions capabilities against the image.
|
|
824
|
+
* Runs capabilities on an image
|
|
825
|
+
*/
|
|
826
|
+
imageRunCapabilities(requestParameters: ImageApiImageRunCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
773
827
|
/**
|
|
774
828
|
* Retrieves image features following search parameters.
|
|
775
829
|
* Retrieves image features
|
|
@@ -810,6 +864,16 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
810
864
|
* Retrieves image media URLs
|
|
811
865
|
*/
|
|
812
866
|
imageSearchMediaUrl(requestParameters: ImageApiImageSearchMediaUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SearchMediaUrlResult>;
|
|
867
|
+
/**
|
|
868
|
+
* Runs all extensions capabilities against the images following search parameters.
|
|
869
|
+
* Run capabilities on images
|
|
870
|
+
*/
|
|
871
|
+
imageSearchRunCapabilitiesRaw(requestParameters: ImageApiImageSearchRunCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
872
|
+
/**
|
|
873
|
+
* Runs all extensions capabilities against the images following search parameters.
|
|
874
|
+
* Run capabilities on images
|
|
875
|
+
*/
|
|
876
|
+
imageSearchRunCapabilities(requestParameters: ImageApiImageSearchRunCapabilitiesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
813
877
|
/**
|
|
814
878
|
* Retrieves image summaries following search parameters.
|
|
815
879
|
* Retrieves image summaries
|
|
@@ -860,16 +924,6 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
860
924
|
* Sets the tags of an image
|
|
861
925
|
*/
|
|
862
926
|
imageSetTags(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
863
|
-
/**
|
|
864
|
-
* Runs all extensions capabilities against the image.
|
|
865
|
-
* Synchronizes an image
|
|
866
|
-
*/
|
|
867
|
-
imageSynchronizeRaw(requestParameters: ImageApiImageSynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
|
|
868
|
-
/**
|
|
869
|
-
* Runs all extensions capabilities against the image.
|
|
870
|
-
* Synchronizes an image
|
|
871
|
-
*/
|
|
872
|
-
imageSynchronize(requestParameters: ImageApiImageSynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
873
927
|
/**
|
|
874
928
|
* Returns the closest images for a given text which will be turned into embeddings, following the embeddings of a given extension.
|
|
875
929
|
* Gets the closest images to a text following the embeddings of an extension
|