@picteus/extension-sdk 0.13.1 → 0.14.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/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 +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.js +1 -1
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +22 -18
- package/dist/picteus-ws-client/apis/ImageApi.js +25 -13
- 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 +24 -23
- package/dist/picteus-ws-client/apis/MiscellaneousApi.js +19 -23
- package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +25 -2
- package/dist/picteus-ws-client/apis/RepositoryApi.js +29 -2
- package/dist/picteus-ws-client/apis/SettingsApi.d.ts +12 -12
- package/dist/picteus-ws-client/apis/SettingsApi.js +7 -7
- 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 +32 -0
- package/dist/picteus-ws-client/models/ApplicationConfiguration.js +41 -0
- 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 +32 -0
- package/dist/picteus-ws-client/models/ApplicationSettings.js +41 -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 +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 +29 -0
- package/dist/picteus-ws-client/models/ExtensionCategory.js +47 -0
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +14 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +8 -1
- package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.d.ts +38 -0
- package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.js +47 -0
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +8 -7
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +6 -5
- 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 +38 -0
- package/dist/picteus-ws-client/models/ImageEmbedding.js +47 -0
- package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageEmbeddings.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 +4 -9
- package/dist/picteus-ws-client/models/ImageFeatureValue.js +33 -9
- 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 +9 -2
- package/dist/picteus-ws-client/models/Manifest.js +6 -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 +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 +8 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +4 -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 +10 -4
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +4 -4
- package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.d.ts +32 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.js +43 -0
- 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 +3 -3
- 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/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 +6 -2
- package/dist/picteus-ws-client/models/index.js +6 -2
- package/dist/picteus-ws-client/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +1 -1
- package/dist/picteusExtension.d.ts +7 -4
- package/dist/picteusExtension.js +33 -12
- package/package.json +1 -1
|
@@ -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.18.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,15 +10,16 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { ComputedImageFormat, ExtensionImageEmbeddings, ExtensionImageFeature, ExtensionImageTag, GenerationRecipe, Image, ImageDistance,
|
|
13
|
+
import type { ComputedImageFormat, ExtensionImageEmbeddings, ExtensionImageFeature, ExtensionImageTag, GenerationRecipe, Image, ImageDistance, ImageEmbedding, ImageFeature, ImageFormat, ImageMediaUrl, ImageMetadata, ImageResizeRender, SearchFeaturesResult, SearchImageIdResult, SearchImageResult, SearchImageSummaryResult, SearchMediaUrlResult, SearchParameters, SearchTagsResult } from '../models/index.js';
|
|
14
14
|
export interface ImageApiImageClosestEmbeddingsImagesRequest {
|
|
15
15
|
extensionId: string;
|
|
16
16
|
count: number;
|
|
17
|
-
|
|
17
|
+
imageEmbedding: ImageEmbedding;
|
|
18
18
|
}
|
|
19
19
|
export interface ImageApiImageClosestImagesRequest {
|
|
20
20
|
id: string;
|
|
21
21
|
extensionId: string;
|
|
22
|
+
name: string;
|
|
22
23
|
count: number;
|
|
23
24
|
}
|
|
24
25
|
export interface ImageApiImageComputeFormatRequest {
|
|
@@ -113,7 +114,7 @@ export interface ImageApiImageSearchTagsRequest {
|
|
|
113
114
|
export interface ImageApiImageSetEmbeddingsRequest {
|
|
114
115
|
id: string;
|
|
115
116
|
extensionId: string;
|
|
116
|
-
|
|
117
|
+
imageEmbedding: Array<ImageEmbedding>;
|
|
117
118
|
}
|
|
118
119
|
export interface ImageApiImageSetFeaturesRequest {
|
|
119
120
|
id: string;
|
|
@@ -131,6 +132,7 @@ export interface ImageApiImageSynchronizeRequest {
|
|
|
131
132
|
export interface ImageApiImageTextToImagesRequest {
|
|
132
133
|
text: string;
|
|
133
134
|
extensionId: string;
|
|
135
|
+
name: string;
|
|
134
136
|
count: number;
|
|
135
137
|
}
|
|
136
138
|
/**
|
|
@@ -145,7 +147,7 @@ export interface ImageApiInterface {
|
|
|
145
147
|
* @summary Gets the closest images to some embeddings attached to an extension
|
|
146
148
|
* @param {string} extensionId The extension identifier
|
|
147
149
|
* @param {number} count The number of images to return
|
|
148
|
-
* @param {
|
|
150
|
+
* @param {ImageEmbedding} imageEmbedding The image embeddings
|
|
149
151
|
* @param {*} [options] Override http request option.
|
|
150
152
|
* @throws {RequiredError}
|
|
151
153
|
* @memberof ImageApiInterface
|
|
@@ -157,10 +159,11 @@ export interface ImageApiInterface {
|
|
|
157
159
|
*/
|
|
158
160
|
imageClosestEmbeddingsImages(requestParameters: ImageApiImageClosestEmbeddingsImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ImageDistance>>;
|
|
159
161
|
/**
|
|
160
|
-
* Returns the closest images
|
|
161
|
-
* @summary Gets the closest images
|
|
162
|
+
* Returns the image closest images following its specific embedding computed by an extension.
|
|
163
|
+
* @summary Gets the image closest images
|
|
162
164
|
* @param {string} id The image identifier
|
|
163
165
|
* @param {string} extensionId The extension identifier
|
|
166
|
+
* @param {string} name The name of the embeddings
|
|
164
167
|
* @param {number} count The number of images to return
|
|
165
168
|
* @param {*} [options] Override http request option.
|
|
166
169
|
* @throws {RequiredError}
|
|
@@ -168,8 +171,8 @@ export interface ImageApiInterface {
|
|
|
168
171
|
*/
|
|
169
172
|
imageClosestImagesRaw(requestParameters: ImageApiImageClosestImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ImageDistance>>>;
|
|
170
173
|
/**
|
|
171
|
-
* Returns the closest images
|
|
172
|
-
* Gets the closest images
|
|
174
|
+
* Returns the image closest images following its specific embedding computed by an extension.
|
|
175
|
+
* Gets the image closest images
|
|
173
176
|
*/
|
|
174
177
|
imageClosestImages(requestParameters: ImageApiImageClosestImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ImageDistance>>;
|
|
175
178
|
/**
|
|
@@ -330,12 +333,12 @@ export interface ImageApiInterface {
|
|
|
330
333
|
* @throws {RequiredError}
|
|
331
334
|
* @memberof ImageApiInterface
|
|
332
335
|
*/
|
|
333
|
-
imageGetEmbeddingsRaw(requestParameters: ImageApiImageGetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
336
|
+
imageGetEmbeddingsRaw(requestParameters: ImageApiImageGetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExtensionImageEmbeddings>>;
|
|
334
337
|
/**
|
|
335
338
|
* Returns the computed embeddings of an image for a given extension.
|
|
336
339
|
* Gets the embeddings of an image
|
|
337
340
|
*/
|
|
338
|
-
imageGetEmbeddings(requestParameters: ImageApiImageGetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
341
|
+
imageGetEmbeddings(requestParameters: ImageApiImageGetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExtensionImageEmbeddings>;
|
|
339
342
|
/**
|
|
340
343
|
* Returns the features of an image given an extension.
|
|
341
344
|
* @summary Gets all the features of an image for an extension
|
|
@@ -508,7 +511,7 @@ export interface ImageApiInterface {
|
|
|
508
511
|
* @summary Sets the embeddings of an image
|
|
509
512
|
* @param {string} id The image identifier
|
|
510
513
|
* @param {string} extensionId The extension identifier
|
|
511
|
-
* @param {
|
|
514
|
+
* @param {Array<ImageEmbedding>} imageEmbedding The image embeddings
|
|
512
515
|
* @param {*} [options] Override http request option.
|
|
513
516
|
* @throws {RequiredError}
|
|
514
517
|
* @memberof ImageApiInterface
|
|
@@ -570,6 +573,7 @@ export interface ImageApiInterface {
|
|
|
570
573
|
* @summary Gets the closest images to a text following the embeddings of an extension
|
|
571
574
|
* @param {string} text The text
|
|
572
575
|
* @param {string} extensionId The extension identifier
|
|
576
|
+
* @param {string} name The name of the embeddings
|
|
573
577
|
* @param {number} count The number of images to return
|
|
574
578
|
* @param {*} [options] Override http request option.
|
|
575
579
|
* @throws {RequiredError}
|
|
@@ -597,13 +601,13 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
597
601
|
*/
|
|
598
602
|
imageClosestEmbeddingsImages(requestParameters: ImageApiImageClosestEmbeddingsImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ImageDistance>>;
|
|
599
603
|
/**
|
|
600
|
-
* Returns the closest images
|
|
601
|
-
* Gets the closest images
|
|
604
|
+
* Returns the image closest images following its specific embedding computed by an extension.
|
|
605
|
+
* Gets the image closest images
|
|
602
606
|
*/
|
|
603
607
|
imageClosestImagesRaw(requestParameters: ImageApiImageClosestImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ImageDistance>>>;
|
|
604
608
|
/**
|
|
605
|
-
* Returns the closest images
|
|
606
|
-
* Gets the closest images
|
|
609
|
+
* Returns the image closest images following its specific embedding computed by an extension.
|
|
610
|
+
* Gets the image closest images
|
|
607
611
|
*/
|
|
608
612
|
imageClosestImages(requestParameters: ImageApiImageClosestImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ImageDistance>>;
|
|
609
613
|
/**
|
|
@@ -710,12 +714,12 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
710
714
|
* Returns the computed embeddings of an image for a given extension.
|
|
711
715
|
* Gets the embeddings of an image
|
|
712
716
|
*/
|
|
713
|
-
imageGetEmbeddingsRaw(requestParameters: ImageApiImageGetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
717
|
+
imageGetEmbeddingsRaw(requestParameters: ImageApiImageGetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExtensionImageEmbeddings>>;
|
|
714
718
|
/**
|
|
715
719
|
* Returns the computed embeddings of an image for a given extension.
|
|
716
720
|
* Gets the embeddings of an image
|
|
717
721
|
*/
|
|
718
|
-
imageGetEmbeddings(requestParameters: ImageApiImageGetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
722
|
+
imageGetEmbeddings(requestParameters: ImageApiImageGetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExtensionImageEmbeddings>;
|
|
719
723
|
/**
|
|
720
724
|
* Returns the features of an image given an extension.
|
|
721
725
|
* Gets all the features of an image for an extension
|
|
@@ -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.18.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 { ComputedImageFormatFromJSON, ExtensionImageEmbeddingsFromJSON, ExtensionImageFeatureFromJSON, ExtensionImageTagFromJSON, GenerationRecipeFromJSON, ImageFromJSON, ImageDistanceFromJSON,
|
|
15
|
+
import { ComputedImageFormatFromJSON, ExtensionImageEmbeddingsFromJSON, ExtensionImageFeatureFromJSON, ExtensionImageTagFromJSON, GenerationRecipeFromJSON, ImageFromJSON, ImageDistanceFromJSON, ImageEmbeddingToJSON, ImageFeatureFromJSON, ImageFeatureToJSON, ImageMediaUrlFromJSON, ImageMetadataFromJSON, SearchFeaturesResultFromJSON, SearchImageIdResultFromJSON, SearchImageResultFromJSON, SearchImageSummaryResultFromJSON, SearchMediaUrlResultFromJSON, SearchParametersToJSON, SearchTagsResultFromJSON, } from '../models/index.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -28,8 +28,8 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
28
28
|
if (requestParameters['count'] == null) {
|
|
29
29
|
throw new runtime.RequiredError('count', 'Required parameter "count" was null or undefined when calling imageClosestEmbeddingsImages().');
|
|
30
30
|
}
|
|
31
|
-
if (requestParameters['
|
|
32
|
-
throw new runtime.RequiredError('
|
|
31
|
+
if (requestParameters['imageEmbedding'] == null) {
|
|
32
|
+
throw new runtime.RequiredError('imageEmbedding', 'Required parameter "imageEmbedding" was null or undefined when calling imageClosestEmbeddingsImages().');
|
|
33
33
|
}
|
|
34
34
|
const queryParameters = {};
|
|
35
35
|
if (requestParameters['extensionId'] != null) {
|
|
@@ -49,7 +49,7 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
49
49
|
method: 'PUT',
|
|
50
50
|
headers: headerParameters,
|
|
51
51
|
query: queryParameters,
|
|
52
|
-
body:
|
|
52
|
+
body: ImageEmbeddingToJSON(requestParameters['imageEmbedding']),
|
|
53
53
|
}, initOverrides);
|
|
54
54
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ImageDistanceFromJSON));
|
|
55
55
|
}
|
|
@@ -62,8 +62,8 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
62
62
|
return await response.value();
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
* Returns the closest images
|
|
66
|
-
* Gets the closest images
|
|
65
|
+
* Returns the image closest images following its specific embedding computed by an extension.
|
|
66
|
+
* Gets the image closest images
|
|
67
67
|
*/
|
|
68
68
|
async imageClosestImagesRaw(requestParameters, initOverrides) {
|
|
69
69
|
if (requestParameters['id'] == null) {
|
|
@@ -72,6 +72,9 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
72
72
|
if (requestParameters['extensionId'] == null) {
|
|
73
73
|
throw new runtime.RequiredError('extensionId', 'Required parameter "extensionId" was null or undefined when calling imageClosestImages().');
|
|
74
74
|
}
|
|
75
|
+
if (requestParameters['name'] == null) {
|
|
76
|
+
throw new runtime.RequiredError('name', 'Required parameter "name" was null or undefined when calling imageClosestImages().');
|
|
77
|
+
}
|
|
75
78
|
if (requestParameters['count'] == null) {
|
|
76
79
|
throw new runtime.RequiredError('count', 'Required parameter "count" was null or undefined when calling imageClosestImages().');
|
|
77
80
|
}
|
|
@@ -79,6 +82,9 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
79
82
|
if (requestParameters['extensionId'] != null) {
|
|
80
83
|
queryParameters['extensionId'] = requestParameters['extensionId'];
|
|
81
84
|
}
|
|
85
|
+
if (requestParameters['name'] != null) {
|
|
86
|
+
queryParameters['name'] = requestParameters['name'];
|
|
87
|
+
}
|
|
82
88
|
if (requestParameters['count'] != null) {
|
|
83
89
|
queryParameters['count'] = requestParameters['count'];
|
|
84
90
|
}
|
|
@@ -97,8 +103,8 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
97
103
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ImageDistanceFromJSON));
|
|
98
104
|
}
|
|
99
105
|
/**
|
|
100
|
-
* Returns the closest images
|
|
101
|
-
* Gets the closest images
|
|
106
|
+
* Returns the image closest images following its specific embedding computed by an extension.
|
|
107
|
+
* Gets the image closest images
|
|
102
108
|
*/
|
|
103
109
|
async imageClosestImages(requestParameters, initOverrides) {
|
|
104
110
|
const response = await this.imageClosestImagesRaw(requestParameters, initOverrides);
|
|
@@ -476,7 +482,7 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
476
482
|
headers: headerParameters,
|
|
477
483
|
query: queryParameters,
|
|
478
484
|
}, initOverrides);
|
|
479
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
485
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ExtensionImageEmbeddingsFromJSON(jsonValue));
|
|
480
486
|
}
|
|
481
487
|
/**
|
|
482
488
|
* Returns the computed embeddings of an image for a given extension.
|
|
@@ -891,8 +897,8 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
891
897
|
if (requestParameters['extensionId'] == null) {
|
|
892
898
|
throw new runtime.RequiredError('extensionId', 'Required parameter "extensionId" was null or undefined when calling imageSetEmbeddings().');
|
|
893
899
|
}
|
|
894
|
-
if (requestParameters['
|
|
895
|
-
throw new runtime.RequiredError('
|
|
900
|
+
if (requestParameters['imageEmbedding'] == null) {
|
|
901
|
+
throw new runtime.RequiredError('imageEmbedding', 'Required parameter "imageEmbedding" was null or undefined when calling imageSetEmbeddings().');
|
|
896
902
|
}
|
|
897
903
|
const queryParameters = {};
|
|
898
904
|
if (requestParameters['extensionId'] != null) {
|
|
@@ -910,7 +916,7 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
910
916
|
method: 'PUT',
|
|
911
917
|
headers: headerParameters,
|
|
912
918
|
query: queryParameters,
|
|
913
|
-
body:
|
|
919
|
+
body: requestParameters['imageEmbedding'].map(ImageEmbeddingToJSON),
|
|
914
920
|
}, initOverrides);
|
|
915
921
|
return new runtime.VoidApiResponse(response);
|
|
916
922
|
}
|
|
@@ -1045,6 +1051,9 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
1045
1051
|
if (requestParameters['extensionId'] == null) {
|
|
1046
1052
|
throw new runtime.RequiredError('extensionId', 'Required parameter "extensionId" was null or undefined when calling imageTextToImages().');
|
|
1047
1053
|
}
|
|
1054
|
+
if (requestParameters['name'] == null) {
|
|
1055
|
+
throw new runtime.RequiredError('name', 'Required parameter "name" was null or undefined when calling imageTextToImages().');
|
|
1056
|
+
}
|
|
1048
1057
|
if (requestParameters['count'] == null) {
|
|
1049
1058
|
throw new runtime.RequiredError('count', 'Required parameter "count" was null or undefined when calling imageTextToImages().');
|
|
1050
1059
|
}
|
|
@@ -1055,6 +1064,9 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
1055
1064
|
if (requestParameters['extensionId'] != null) {
|
|
1056
1065
|
queryParameters['extensionId'] = requestParameters['extensionId'];
|
|
1057
1066
|
}
|
|
1067
|
+
if (requestParameters['name'] != null) {
|
|
1068
|
+
queryParameters['name'] = requestParameters['name'];
|
|
1069
|
+
}
|
|
1058
1070
|
if (requestParameters['count'] != null) {
|
|
1059
1071
|
queryParameters['count'] = requestParameters['count'];
|
|
1060
1072
|
}
|
|
@@ -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.18.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,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { ApplicationConfiguration } from '../models/index.js';
|
|
13
14
|
/**
|
|
14
15
|
* MiscellaneousApi - interface
|
|
15
16
|
*
|
|
@@ -18,36 +19,46 @@ import * as runtime from '../runtime.js';
|
|
|
18
19
|
*/
|
|
19
20
|
export interface MiscellaneousApiInterface {
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @summary
|
|
22
|
+
* Returns all the application configuration details.
|
|
23
|
+
* @summary Gets the application configuration
|
|
23
24
|
* @param {*} [options] Override http request option.
|
|
24
25
|
* @throws {RequiredError}
|
|
25
26
|
* @memberof MiscellaneousApiInterface
|
|
26
27
|
*/
|
|
27
|
-
|
|
28
|
+
miscellaneousGetConfigurationRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationConfiguration>>;
|
|
28
29
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
30
|
+
* Returns all the application configuration details.
|
|
31
|
+
* Gets the application configuration
|
|
31
32
|
*/
|
|
32
|
-
|
|
33
|
+
miscellaneousGetConfiguration(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationConfiguration>;
|
|
33
34
|
/**
|
|
34
|
-
*
|
|
35
|
-
* @summary
|
|
35
|
+
* Enables to check that the service is accessible.
|
|
36
|
+
* @summary Pings the service
|
|
36
37
|
* @param {*} [options] Override http request option.
|
|
37
38
|
* @throws {RequiredError}
|
|
38
39
|
* @memberof MiscellaneousApiInterface
|
|
39
40
|
*/
|
|
40
|
-
|
|
41
|
+
miscellaneousPingRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
-
*
|
|
43
|
+
* Enables to check that the service is accessible.
|
|
44
|
+
* Pings the service
|
|
44
45
|
*/
|
|
45
|
-
|
|
46
|
+
miscellaneousPing(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
46
47
|
}
|
|
47
48
|
/**
|
|
48
49
|
*
|
|
49
50
|
*/
|
|
50
51
|
export declare class MiscellaneousApi extends runtime.BaseAPI implements MiscellaneousApiInterface {
|
|
52
|
+
/**
|
|
53
|
+
* Returns all the application configuration details.
|
|
54
|
+
* Gets the application configuration
|
|
55
|
+
*/
|
|
56
|
+
miscellaneousGetConfigurationRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationConfiguration>>;
|
|
57
|
+
/**
|
|
58
|
+
* Returns all the application configuration details.
|
|
59
|
+
* Gets the application configuration
|
|
60
|
+
*/
|
|
61
|
+
miscellaneousGetConfiguration(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationConfiguration>;
|
|
51
62
|
/**
|
|
52
63
|
* Enables to check that the service is accessible.
|
|
53
64
|
* Pings the service
|
|
@@ -58,14 +69,4 @@ export declare class MiscellaneousApi extends runtime.BaseAPI implements Miscell
|
|
|
58
69
|
* Pings the service
|
|
59
70
|
*/
|
|
60
71
|
miscellaneousPing(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
61
|
-
/**
|
|
62
|
-
* This endpoint is for experimentation only.
|
|
63
|
-
* Runs a test
|
|
64
|
-
*/
|
|
65
|
-
miscellaneousTestRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
66
|
-
/**
|
|
67
|
-
* This endpoint is for experimentation only.
|
|
68
|
-
* Runs a test
|
|
69
|
-
*/
|
|
70
|
-
miscellaneousTest(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
71
72
|
}
|
|
@@ -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.18.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,53 +12,49 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime.js';
|
|
15
|
+
import { ApplicationConfigurationFromJSON, } from '../models/index.js';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
*/
|
|
18
19
|
export class MiscellaneousApi extends runtime.BaseAPI {
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
21
|
+
* Returns all the application configuration details.
|
|
22
|
+
* Gets the application configuration
|
|
22
23
|
*/
|
|
23
|
-
async
|
|
24
|
+
async miscellaneousGetConfigurationRaw(initOverrides) {
|
|
24
25
|
const queryParameters = {};
|
|
25
26
|
const headerParameters = {};
|
|
26
27
|
if (this.configuration && this.configuration.apiKey) {
|
|
27
28
|
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
28
29
|
}
|
|
29
|
-
let urlPath = `/miscellaneous/
|
|
30
|
+
let urlPath = `/miscellaneous/configuration`;
|
|
30
31
|
const response = await this.request({
|
|
31
32
|
path: urlPath,
|
|
32
33
|
method: 'GET',
|
|
33
34
|
headers: headerParameters,
|
|
34
35
|
query: queryParameters,
|
|
35
36
|
}, initOverrides);
|
|
36
|
-
|
|
37
|
-
return new runtime.JSONApiResponse(response);
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
return new runtime.TextApiResponse(response);
|
|
41
|
-
}
|
|
37
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApplicationConfigurationFromJSON(jsonValue));
|
|
42
38
|
}
|
|
43
39
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
40
|
+
* Returns all the application configuration details.
|
|
41
|
+
* Gets the application configuration
|
|
46
42
|
*/
|
|
47
|
-
async
|
|
48
|
-
const response = await this.
|
|
43
|
+
async miscellaneousGetConfiguration(initOverrides) {
|
|
44
|
+
const response = await this.miscellaneousGetConfigurationRaw(initOverrides);
|
|
49
45
|
return await response.value();
|
|
50
46
|
}
|
|
51
47
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
48
|
+
* Enables to check that the service is accessible.
|
|
49
|
+
* Pings the service
|
|
54
50
|
*/
|
|
55
|
-
async
|
|
51
|
+
async miscellaneousPingRaw(initOverrides) {
|
|
56
52
|
const queryParameters = {};
|
|
57
53
|
const headerParameters = {};
|
|
58
54
|
if (this.configuration && this.configuration.apiKey) {
|
|
59
55
|
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
60
56
|
}
|
|
61
|
-
let urlPath = `/miscellaneous/
|
|
57
|
+
let urlPath = `/miscellaneous/ping`;
|
|
62
58
|
const response = await this.request({
|
|
63
59
|
path: urlPath,
|
|
64
60
|
method: 'GET',
|
|
@@ -73,11 +69,11 @@ export class MiscellaneousApi extends runtime.BaseAPI {
|
|
|
73
69
|
}
|
|
74
70
|
}
|
|
75
71
|
/**
|
|
76
|
-
*
|
|
77
|
-
*
|
|
72
|
+
* Enables to check that the service is accessible.
|
|
73
|
+
* Pings the service
|
|
78
74
|
*/
|
|
79
|
-
async
|
|
80
|
-
const response = await this.
|
|
75
|
+
async miscellaneousPing(initOverrides) {
|
|
76
|
+
const response = await this.miscellaneousPingRaw(initOverrides);
|
|
81
77
|
return await response.value();
|
|
82
78
|
}
|
|
83
79
|
}
|
|
@@ -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.18.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 { ExtensionImageFeatureName, ExtensionImageTag, Image, Repository, RepositoryActivity } from '../models/index.js';
|
|
13
|
+
import type { ExtensionIdImageEmbeddingName, ExtensionImageFeatureName, ExtensionImageTag, Image, Repository, RepositoryActivity } from '../models/index.js';
|
|
14
14
|
export interface RepositoryApiRepositoryCreateRequest {
|
|
15
15
|
type: RepositoryCreateTypeEnum;
|
|
16
16
|
url: string;
|
|
@@ -149,6 +149,19 @@ export interface RepositoryApiInterface {
|
|
|
149
149
|
* Gets a repository
|
|
150
150
|
*/
|
|
151
151
|
repositoryGet(requestParameters: RepositoryApiRepositoryGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Repository>;
|
|
152
|
+
/**
|
|
153
|
+
* Returns all the existing pairs of extension identifier and embedding name, restricted to the extensions with the \'image.embeddings\' capability.
|
|
154
|
+
* @summary Gets all the embeddings identifiers and names
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
* @memberof RepositoryApiInterface
|
|
158
|
+
*/
|
|
159
|
+
repositoryGetEmbeddingsNamesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionIdImageEmbeddingName>>>;
|
|
160
|
+
/**
|
|
161
|
+
* Returns all the existing pairs of extension identifier and embedding name, restricted to the extensions with the \'image.embeddings\' capability.
|
|
162
|
+
* Gets all the embeddings identifiers and names
|
|
163
|
+
*/
|
|
164
|
+
repositoryGetEmbeddingsNames(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionIdImageEmbeddingName>>;
|
|
152
165
|
/**
|
|
153
166
|
* Returns the feature names of all images extensions.
|
|
154
167
|
* @summary Gets all the feature names
|
|
@@ -354,6 +367,16 @@ export declare class RepositoryApi extends runtime.BaseAPI implements Repository
|
|
|
354
367
|
* Gets a repository
|
|
355
368
|
*/
|
|
356
369
|
repositoryGet(requestParameters: RepositoryApiRepositoryGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Repository>;
|
|
370
|
+
/**
|
|
371
|
+
* Returns all the existing pairs of extension identifier and embedding name, restricted to the extensions with the \'image.embeddings\' capability.
|
|
372
|
+
* Gets all the embeddings identifiers and names
|
|
373
|
+
*/
|
|
374
|
+
repositoryGetEmbeddingsNamesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionIdImageEmbeddingName>>>;
|
|
375
|
+
/**
|
|
376
|
+
* Returns all the existing pairs of extension identifier and embedding name, restricted to the extensions with the \'image.embeddings\' capability.
|
|
377
|
+
* Gets all the embeddings identifiers and names
|
|
378
|
+
*/
|
|
379
|
+
repositoryGetEmbeddingsNames(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionIdImageEmbeddingName>>;
|
|
357
380
|
/**
|
|
358
381
|
* Returns the feature names of all images extensions.
|
|
359
382
|
* Gets all the feature names
|