@picteus/extension-sdk 0.7.1 → 0.8.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/ExtensionApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.js +1 -1
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +56 -83
- package/dist/picteus-ws-client/apis/ImageApi.js +63 -95
- 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 +25 -2
- package/dist/picteus-ws-client/apis/RepositoryApi.js +29 -2
- 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/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/Automatic1111Instruction.d.ts +1 -1
- package/dist/picteus-ws-client/models/Automatic1111Instruction.js +1 -1
- package/dist/picteus-ws-client/models/Automatic1111UserComment.d.ts +1 -1
- package/dist/picteus-ws-client/models/Automatic1111UserComment.js +1 -1
- package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.d.ts +1 -1
- package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.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/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/ExtensionGenerationOptions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.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/ExtensionImageTag.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.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 -8
- package/dist/picteus-ws-client/models/Image.js +1 -6
- 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/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/ImageFeatureType.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.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/ImageGenerator.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageGenerator.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 -8
- package/dist/picteus-ws-client/models/ImageSummary.js +1 -6
- package/dist/picteus-ws-client/models/ImageSummaryList.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageSummaryList.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 +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/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/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/MidjourneyInstructions.d.ts +1 -1
- package/dist/picteus-ws-client/models/MidjourneyInstructions.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 -8
- package/dist/picteus-ws-client/models/SearchCriteria.js +1 -4
- 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/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/SearchSorting.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +3 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.js +3 -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/Settings.d.ts +1 -1
- package/dist/picteus-ws-client/models/Settings.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 +2 -1
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +2 -1
- package/dist/picteus-ws-client/models/index.d.ts +0 -5
- package/dist/picteus-ws-client/models/index.js +0 -5
- package/dist/picteus-ws-client/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +1 -1
- 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.9.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 {
|
|
13
|
+
import type { ComputedImageFormat, ExtensionImageEmbeddings, ExtensionImageFeature, ExtensionImageTag, Image, ImageDistance, ImageEmbeddings, ImageFeature, ImageFormat, ImageMediaUrl, ImageMetadata, ImageResizeRender, ImageSummaryList, SearchCriteria, SearchRange, SearchSorting } from '../models/index.js';
|
|
14
14
|
export interface ImageApiImageClosestEmbeddingsImagesRequest {
|
|
15
15
|
extensionId: string;
|
|
16
16
|
count: number;
|
|
@@ -29,6 +29,9 @@ export interface ImageApiImageConvertRequest {
|
|
|
29
29
|
body: Blob;
|
|
30
30
|
quality?: number;
|
|
31
31
|
}
|
|
32
|
+
export interface ImageApiImageDeleteRequest {
|
|
33
|
+
id: string;
|
|
34
|
+
}
|
|
32
35
|
export interface ImageApiImageDownloadRequest {
|
|
33
36
|
id: string;
|
|
34
37
|
format?: ImageFormat;
|
|
@@ -54,12 +57,6 @@ export interface ImageApiImageGetAllFeaturesRequest {
|
|
|
54
57
|
export interface ImageApiImageGetAllTagsRequest {
|
|
55
58
|
id: string;
|
|
56
59
|
}
|
|
57
|
-
export interface ImageApiImageGetAutomatic1111Request {
|
|
58
|
-
id: string;
|
|
59
|
-
}
|
|
60
|
-
export interface ImageApiImageGetComfyUiRequest {
|
|
61
|
-
id: string;
|
|
62
|
-
}
|
|
63
60
|
export interface ImageApiImageGetEmbeddingsRequest {
|
|
64
61
|
id: string;
|
|
65
62
|
extensionId: string;
|
|
@@ -67,9 +64,6 @@ export interface ImageApiImageGetEmbeddingsRequest {
|
|
|
67
64
|
export interface ImageApiImageGetMetadataRequest {
|
|
68
65
|
id: string;
|
|
69
66
|
}
|
|
70
|
-
export interface ImageApiImageGetMidjourneyRequest {
|
|
71
|
-
id: string;
|
|
72
|
-
}
|
|
73
67
|
export interface ImageApiImageMediaUrlRequest {
|
|
74
68
|
id: string;
|
|
75
69
|
format?: ImageFormat;
|
|
@@ -102,6 +96,9 @@ export interface ImageApiImageSetTagsRequest {
|
|
|
102
96
|
extensionId: string;
|
|
103
97
|
requestBody: Array<string>;
|
|
104
98
|
}
|
|
99
|
+
export interface ImageApiImageSynchronizeRequest {
|
|
100
|
+
id: string;
|
|
101
|
+
}
|
|
105
102
|
export interface ImageApiImageTextToImagesRequest {
|
|
106
103
|
text: string;
|
|
107
104
|
extensionId: string;
|
|
@@ -176,6 +173,20 @@ export interface ImageApiInterface {
|
|
|
176
173
|
* Converts an image into a format
|
|
177
174
|
*/
|
|
178
175
|
imageConvert(requestParameters: ImageApiImageConvertRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
176
|
+
/**
|
|
177
|
+
* Deletes the image from the back-end and from the databases.
|
|
178
|
+
* @summary Deletes an image
|
|
179
|
+
* @param {string} id The image identifier
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
* @memberof ImageApiInterface
|
|
183
|
+
*/
|
|
184
|
+
imageDeleteRaw(requestParameters: ImageApiImageDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
185
|
+
/**
|
|
186
|
+
* Deletes the image from the back-end and from the databases.
|
|
187
|
+
* Deletes an image
|
|
188
|
+
*/
|
|
189
|
+
imageDelete(requestParameters: ImageApiImageDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
179
190
|
/**
|
|
180
191
|
* Returns the binary form of an image.
|
|
181
192
|
* @summary Downloads an image
|
|
@@ -267,34 +278,6 @@ export interface ImageApiInterface {
|
|
|
267
278
|
* Gets all the tags of an image
|
|
268
279
|
*/
|
|
269
280
|
imageGetAllTags(requestParameters: ImageApiImageGetAllTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionImageTag>>;
|
|
270
|
-
/**
|
|
271
|
-
* Returns the Automatic1111 generation instructions available in the image metadata.
|
|
272
|
-
* @summary Gets the Automatic1111 instructions
|
|
273
|
-
* @param {string} id The image identifier
|
|
274
|
-
* @param {*} [options] Override http request option.
|
|
275
|
-
* @throws {RequiredError}
|
|
276
|
-
* @memberof ImageApiInterface
|
|
277
|
-
*/
|
|
278
|
-
imageGetAutomatic1111Raw(requestParameters: ImageApiImageGetAutomatic1111Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Automatic1111UserComment>>;
|
|
279
|
-
/**
|
|
280
|
-
* Returns the Automatic1111 generation instructions available in the image metadata.
|
|
281
|
-
* Gets the Automatic1111 instructions
|
|
282
|
-
*/
|
|
283
|
-
imageGetAutomatic1111(requestParameters: ImageApiImageGetAutomatic1111Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Automatic1111UserComment>;
|
|
284
|
-
/**
|
|
285
|
-
* Returns the ComfyUI prompt and workflow entities available in the image metadata.
|
|
286
|
-
* @summary Gets the ComfyUI prompt and workflow
|
|
287
|
-
* @param {string} id The image identifier
|
|
288
|
-
* @param {*} [options] Override http request option.
|
|
289
|
-
* @throws {RequiredError}
|
|
290
|
-
* @memberof ImageApiInterface
|
|
291
|
-
*/
|
|
292
|
-
imageGetComfyUiRaw(requestParameters: ImageApiImageGetComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ComfyUiPromptAndWorkflow>>;
|
|
293
|
-
/**
|
|
294
|
-
* Returns the ComfyUI prompt and workflow entities available in the image metadata.
|
|
295
|
-
* Gets the ComfyUI prompt and workflow
|
|
296
|
-
*/
|
|
297
|
-
imageGetComfyUi(requestParameters: ImageApiImageGetComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ComfyUiPromptAndWorkflow>;
|
|
298
281
|
/**
|
|
299
282
|
* Returns the computed embeddings of an image for a given extension.
|
|
300
283
|
* @summary Gets the embeddings of an image
|
|
@@ -324,20 +307,6 @@ export interface ImageApiInterface {
|
|
|
324
307
|
* Gets the metadata of an image
|
|
325
308
|
*/
|
|
326
309
|
imageGetMetadata(requestParameters: ImageApiImageGetMetadataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ImageMetadata>;
|
|
327
|
-
/**
|
|
328
|
-
* Returns the Midjourney generation instructions available in the image metadata.
|
|
329
|
-
* @summary Gets the Midjourney instructions
|
|
330
|
-
* @param {string} id The image identifier
|
|
331
|
-
* @param {*} [options] Override http request option.
|
|
332
|
-
* @throws {RequiredError}
|
|
333
|
-
* @memberof ImageApiInterface
|
|
334
|
-
*/
|
|
335
|
-
imageGetMidjourneyRaw(requestParameters: ImageApiImageGetMidjourneyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MidjourneyInstructions>>;
|
|
336
|
-
/**
|
|
337
|
-
* Returns the Midjourney generation instructions available in the image metadata.
|
|
338
|
-
* Gets the Midjourney instructions
|
|
339
|
-
*/
|
|
340
|
-
imageGetMidjourney(requestParameters: ImageApiImageGetMidjourneyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MidjourneyInstructions>;
|
|
341
310
|
/**
|
|
342
311
|
* Returns the URL of the image, given for some given dimensions and format, which may used to display it.
|
|
343
312
|
* @summary Gets an URL of the image
|
|
@@ -436,6 +405,20 @@ export interface ImageApiInterface {
|
|
|
436
405
|
* Sets the tags of an image if necessary
|
|
437
406
|
*/
|
|
438
407
|
imageSetTags(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
408
|
+
/**
|
|
409
|
+
* Runs all extensions capabilities against the image.
|
|
410
|
+
* @summary Synchronizes an image
|
|
411
|
+
* @param {string} id The image identifier
|
|
412
|
+
* @param {*} [options] Override http request option.
|
|
413
|
+
* @throws {RequiredError}
|
|
414
|
+
* @memberof ImageApiInterface
|
|
415
|
+
*/
|
|
416
|
+
imageSynchronizeRaw(requestParameters: ImageApiImageSynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
|
|
417
|
+
/**
|
|
418
|
+
* Runs all extensions capabilities against the image.
|
|
419
|
+
* Synchronizes an image
|
|
420
|
+
*/
|
|
421
|
+
imageSynchronize(requestParameters: ImageApiImageSynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
439
422
|
/**
|
|
440
423
|
* Returns the closest images for a given text which will be turned into embeddings, following the embeddings of a given extension.
|
|
441
424
|
* @summary Gets the closest images to a text following the embeddings of an extension
|
|
@@ -497,6 +480,16 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
497
480
|
* Converts an image into a format
|
|
498
481
|
*/
|
|
499
482
|
imageConvert(requestParameters: ImageApiImageConvertRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
483
|
+
/**
|
|
484
|
+
* Deletes the image from the back-end and from the databases.
|
|
485
|
+
* Deletes an image
|
|
486
|
+
*/
|
|
487
|
+
imageDeleteRaw(requestParameters: ImageApiImageDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
488
|
+
/**
|
|
489
|
+
* Deletes the image from the back-end and from the databases.
|
|
490
|
+
* Deletes an image
|
|
491
|
+
*/
|
|
492
|
+
imageDelete(requestParameters: ImageApiImageDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
500
493
|
/**
|
|
501
494
|
* Returns the binary form of an image.
|
|
502
495
|
* Downloads an image
|
|
@@ -557,26 +550,6 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
557
550
|
* Gets all the tags of an image
|
|
558
551
|
*/
|
|
559
552
|
imageGetAllTags(requestParameters: ImageApiImageGetAllTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionImageTag>>;
|
|
560
|
-
/**
|
|
561
|
-
* Returns the Automatic1111 generation instructions available in the image metadata.
|
|
562
|
-
* Gets the Automatic1111 instructions
|
|
563
|
-
*/
|
|
564
|
-
imageGetAutomatic1111Raw(requestParameters: ImageApiImageGetAutomatic1111Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Automatic1111UserComment>>;
|
|
565
|
-
/**
|
|
566
|
-
* Returns the Automatic1111 generation instructions available in the image metadata.
|
|
567
|
-
* Gets the Automatic1111 instructions
|
|
568
|
-
*/
|
|
569
|
-
imageGetAutomatic1111(requestParameters: ImageApiImageGetAutomatic1111Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Automatic1111UserComment>;
|
|
570
|
-
/**
|
|
571
|
-
* Returns the ComfyUI prompt and workflow entities available in the image metadata.
|
|
572
|
-
* Gets the ComfyUI prompt and workflow
|
|
573
|
-
*/
|
|
574
|
-
imageGetComfyUiRaw(requestParameters: ImageApiImageGetComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ComfyUiPromptAndWorkflow>>;
|
|
575
|
-
/**
|
|
576
|
-
* Returns the ComfyUI prompt and workflow entities available in the image metadata.
|
|
577
|
-
* Gets the ComfyUI prompt and workflow
|
|
578
|
-
*/
|
|
579
|
-
imageGetComfyUi(requestParameters: ImageApiImageGetComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ComfyUiPromptAndWorkflow>;
|
|
580
553
|
/**
|
|
581
554
|
* Returns the computed embeddings of an image for a given extension.
|
|
582
555
|
* Gets the embeddings of an image
|
|
@@ -597,16 +570,6 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
597
570
|
* Gets the metadata of an image
|
|
598
571
|
*/
|
|
599
572
|
imageGetMetadata(requestParameters: ImageApiImageGetMetadataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ImageMetadata>;
|
|
600
|
-
/**
|
|
601
|
-
* Returns the Midjourney generation instructions available in the image metadata.
|
|
602
|
-
* Gets the Midjourney instructions
|
|
603
|
-
*/
|
|
604
|
-
imageGetMidjourneyRaw(requestParameters: ImageApiImageGetMidjourneyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MidjourneyInstructions>>;
|
|
605
|
-
/**
|
|
606
|
-
* Returns the Midjourney generation instructions available in the image metadata.
|
|
607
|
-
* Gets the Midjourney instructions
|
|
608
|
-
*/
|
|
609
|
-
imageGetMidjourney(requestParameters: ImageApiImageGetMidjourneyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MidjourneyInstructions>;
|
|
610
573
|
/**
|
|
611
574
|
* Returns the URL of the image, given for some given dimensions and format, which may used to display it.
|
|
612
575
|
* Gets an URL of the image
|
|
@@ -667,6 +630,16 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
667
630
|
* Sets the tags of an image if necessary
|
|
668
631
|
*/
|
|
669
632
|
imageSetTags(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
633
|
+
/**
|
|
634
|
+
* Runs all extensions capabilities against the image.
|
|
635
|
+
* Synchronizes an image
|
|
636
|
+
*/
|
|
637
|
+
imageSynchronizeRaw(requestParameters: ImageApiImageSynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
|
|
638
|
+
/**
|
|
639
|
+
* Runs all extensions capabilities against the image.
|
|
640
|
+
* Synchronizes an image
|
|
641
|
+
*/
|
|
642
|
+
imageSynchronize(requestParameters: ImageApiImageSynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
670
643
|
/**
|
|
671
644
|
* Returns the closest images for a given text which will be turned into embeddings, following the embeddings of a given extension.
|
|
672
645
|
* Gets the closest images to a text following the embeddings of 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.9.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 {
|
|
15
|
+
import { ComputedImageFormatFromJSON, ExtensionImageEmbeddingsFromJSON, ExtensionImageFeatureFromJSON, ExtensionImageTagFromJSON, ImageFromJSON, ImageDistanceFromJSON, ImageEmbeddingsFromJSON, ImageEmbeddingsToJSON, ImageFeatureToJSON, ImageMediaUrlFromJSON, ImageMetadataFromJSON, ImageSummaryListFromJSON, } from '../models/index.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -177,6 +177,36 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
177
177
|
const response = await this.imageConvertRaw(requestParameters, initOverrides);
|
|
178
178
|
return await response.value();
|
|
179
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* Deletes the image from the back-end and from the databases.
|
|
182
|
+
* Deletes an image
|
|
183
|
+
*/
|
|
184
|
+
async imageDeleteRaw(requestParameters, initOverrides) {
|
|
185
|
+
if (requestParameters['id'] == null) {
|
|
186
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling imageDelete().');
|
|
187
|
+
}
|
|
188
|
+
const queryParameters = {};
|
|
189
|
+
const headerParameters = {};
|
|
190
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
191
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
192
|
+
}
|
|
193
|
+
let urlPath = `/image/{id}/delete`;
|
|
194
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
195
|
+
const response = await this.request({
|
|
196
|
+
path: urlPath,
|
|
197
|
+
method: 'DELETE',
|
|
198
|
+
headers: headerParameters,
|
|
199
|
+
query: queryParameters,
|
|
200
|
+
}, initOverrides);
|
|
201
|
+
return new runtime.VoidApiResponse(response);
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Deletes the image from the back-end and from the databases.
|
|
205
|
+
* Deletes an image
|
|
206
|
+
*/
|
|
207
|
+
async imageDelete(requestParameters, initOverrides) {
|
|
208
|
+
await this.imageDeleteRaw(requestParameters, initOverrides);
|
|
209
|
+
}
|
|
180
210
|
/**
|
|
181
211
|
* Returns the binary form of an image.
|
|
182
212
|
* Downloads an image
|
|
@@ -388,68 +418,6 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
388
418
|
const response = await this.imageGetAllTagsRaw(requestParameters, initOverrides);
|
|
389
419
|
return await response.value();
|
|
390
420
|
}
|
|
391
|
-
/**
|
|
392
|
-
* Returns the Automatic1111 generation instructions available in the image metadata.
|
|
393
|
-
* Gets the Automatic1111 instructions
|
|
394
|
-
*/
|
|
395
|
-
async imageGetAutomatic1111Raw(requestParameters, initOverrides) {
|
|
396
|
-
if (requestParameters['id'] == null) {
|
|
397
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling imageGetAutomatic1111().');
|
|
398
|
-
}
|
|
399
|
-
const queryParameters = {};
|
|
400
|
-
const headerParameters = {};
|
|
401
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
402
|
-
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
403
|
-
}
|
|
404
|
-
let urlPath = `/image/{id}/getAutomatic1111`;
|
|
405
|
-
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
406
|
-
const response = await this.request({
|
|
407
|
-
path: urlPath,
|
|
408
|
-
method: 'GET',
|
|
409
|
-
headers: headerParameters,
|
|
410
|
-
query: queryParameters,
|
|
411
|
-
}, initOverrides);
|
|
412
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => Automatic1111UserCommentFromJSON(jsonValue));
|
|
413
|
-
}
|
|
414
|
-
/**
|
|
415
|
-
* Returns the Automatic1111 generation instructions available in the image metadata.
|
|
416
|
-
* Gets the Automatic1111 instructions
|
|
417
|
-
*/
|
|
418
|
-
async imageGetAutomatic1111(requestParameters, initOverrides) {
|
|
419
|
-
const response = await this.imageGetAutomatic1111Raw(requestParameters, initOverrides);
|
|
420
|
-
return await response.value();
|
|
421
|
-
}
|
|
422
|
-
/**
|
|
423
|
-
* Returns the ComfyUI prompt and workflow entities available in the image metadata.
|
|
424
|
-
* Gets the ComfyUI prompt and workflow
|
|
425
|
-
*/
|
|
426
|
-
async imageGetComfyUiRaw(requestParameters, initOverrides) {
|
|
427
|
-
if (requestParameters['id'] == null) {
|
|
428
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling imageGetComfyUi().');
|
|
429
|
-
}
|
|
430
|
-
const queryParameters = {};
|
|
431
|
-
const headerParameters = {};
|
|
432
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
433
|
-
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
434
|
-
}
|
|
435
|
-
let urlPath = `/image/{id}/getComfyUi`;
|
|
436
|
-
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
437
|
-
const response = await this.request({
|
|
438
|
-
path: urlPath,
|
|
439
|
-
method: 'GET',
|
|
440
|
-
headers: headerParameters,
|
|
441
|
-
query: queryParameters,
|
|
442
|
-
}, initOverrides);
|
|
443
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ComfyUiPromptAndWorkflowFromJSON(jsonValue));
|
|
444
|
-
}
|
|
445
|
-
/**
|
|
446
|
-
* Returns the ComfyUI prompt and workflow entities available in the image metadata.
|
|
447
|
-
* Gets the ComfyUI prompt and workflow
|
|
448
|
-
*/
|
|
449
|
-
async imageGetComfyUi(requestParameters, initOverrides) {
|
|
450
|
-
const response = await this.imageGetComfyUiRaw(requestParameters, initOverrides);
|
|
451
|
-
return await response.value();
|
|
452
|
-
}
|
|
453
421
|
/**
|
|
454
422
|
* Returns the computed embeddings of an image for a given extension.
|
|
455
423
|
* Gets the embeddings of an image
|
|
@@ -518,37 +486,6 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
518
486
|
const response = await this.imageGetMetadataRaw(requestParameters, initOverrides);
|
|
519
487
|
return await response.value();
|
|
520
488
|
}
|
|
521
|
-
/**
|
|
522
|
-
* Returns the Midjourney generation instructions available in the image metadata.
|
|
523
|
-
* Gets the Midjourney instructions
|
|
524
|
-
*/
|
|
525
|
-
async imageGetMidjourneyRaw(requestParameters, initOverrides) {
|
|
526
|
-
if (requestParameters['id'] == null) {
|
|
527
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling imageGetMidjourney().');
|
|
528
|
-
}
|
|
529
|
-
const queryParameters = {};
|
|
530
|
-
const headerParameters = {};
|
|
531
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
532
|
-
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
533
|
-
}
|
|
534
|
-
let urlPath = `/image/{id}/getMidjourney`;
|
|
535
|
-
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
536
|
-
const response = await this.request({
|
|
537
|
-
path: urlPath,
|
|
538
|
-
method: 'GET',
|
|
539
|
-
headers: headerParameters,
|
|
540
|
-
query: queryParameters,
|
|
541
|
-
}, initOverrides);
|
|
542
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => MidjourneyInstructionsFromJSON(jsonValue));
|
|
543
|
-
}
|
|
544
|
-
/**
|
|
545
|
-
* Returns the Midjourney generation instructions available in the image metadata.
|
|
546
|
-
* Gets the Midjourney instructions
|
|
547
|
-
*/
|
|
548
|
-
async imageGetMidjourney(requestParameters, initOverrides) {
|
|
549
|
-
const response = await this.imageGetMidjourneyRaw(requestParameters, initOverrides);
|
|
550
|
-
return await response.value();
|
|
551
|
-
}
|
|
552
489
|
/**
|
|
553
490
|
* Returns the URL of the image, given for some given dimensions and format, which may used to display it.
|
|
554
491
|
* Gets an URL of the image
|
|
@@ -790,6 +727,37 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
790
727
|
async imageSetTags(requestParameters, initOverrides) {
|
|
791
728
|
await this.imageSetTagsRaw(requestParameters, initOverrides);
|
|
792
729
|
}
|
|
730
|
+
/**
|
|
731
|
+
* Runs all extensions capabilities against the image.
|
|
732
|
+
* Synchronizes an image
|
|
733
|
+
*/
|
|
734
|
+
async imageSynchronizeRaw(requestParameters, initOverrides) {
|
|
735
|
+
if (requestParameters['id'] == null) {
|
|
736
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling imageSynchronize().');
|
|
737
|
+
}
|
|
738
|
+
const queryParameters = {};
|
|
739
|
+
const headerParameters = {};
|
|
740
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
741
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
742
|
+
}
|
|
743
|
+
let urlPath = `/image/{id}/synchronize`;
|
|
744
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
745
|
+
const response = await this.request({
|
|
746
|
+
path: urlPath,
|
|
747
|
+
method: 'PUT',
|
|
748
|
+
headers: headerParameters,
|
|
749
|
+
query: queryParameters,
|
|
750
|
+
}, initOverrides);
|
|
751
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ImageFromJSON(jsonValue));
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* Runs all extensions capabilities against the image.
|
|
755
|
+
* Synchronizes an image
|
|
756
|
+
*/
|
|
757
|
+
async imageSynchronize(requestParameters, initOverrides) {
|
|
758
|
+
const response = await this.imageSynchronizeRaw(requestParameters, initOverrides);
|
|
759
|
+
return await response.value();
|
|
760
|
+
}
|
|
793
761
|
/**
|
|
794
762
|
* Returns the closest images for a given text which will be turned into embeddings, following the embeddings of a given extension.
|
|
795
763
|
* Gets the closest images to a text following the embeddings of an extension
|
|
@@ -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.9.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 { Image, ImageSummaryList, Repository, RepositoryActivity, SearchCriteria, SearchRange, SearchSorting } from '../models/index.js';
|
|
13
|
+
import type { ExtensionImageTag, Image, ImageSummaryList, Repository, RepositoryActivity, SearchCriteria, SearchRange, SearchSorting } from '../models/index.js';
|
|
14
14
|
export interface RepositoryApiRepositoryCreateRequest {
|
|
15
15
|
type: RepositoryCreateTypeEnum;
|
|
16
16
|
url: string;
|
|
@@ -163,6 +163,19 @@ export interface RepositoryApiInterface {
|
|
|
163
163
|
* Gets an image from its URL
|
|
164
164
|
*/
|
|
165
165
|
repositoryGetImageByUrl(requestParameters: RepositoryApiRepositoryGetImageByUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
166
|
+
/**
|
|
167
|
+
* Returns the tags of all images extensions.
|
|
168
|
+
* @summary Gets all the tags
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
* @memberof RepositoryApiInterface
|
|
172
|
+
*/
|
|
173
|
+
repositoryGetTagsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionImageTag>>>;
|
|
174
|
+
/**
|
|
175
|
+
* Returns the tags of all images extensions.
|
|
176
|
+
* Gets all the tags
|
|
177
|
+
*/
|
|
178
|
+
repositoryGetTags(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionImageTag>>;
|
|
166
179
|
/**
|
|
167
180
|
* Lists all the declared repositories.
|
|
168
181
|
* @summary Lists repositories
|
|
@@ -338,6 +351,16 @@ export declare class RepositoryApi extends runtime.BaseAPI implements Repository
|
|
|
338
351
|
* Gets an image from its URL
|
|
339
352
|
*/
|
|
340
353
|
repositoryGetImageByUrl(requestParameters: RepositoryApiRepositoryGetImageByUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
|
|
354
|
+
/**
|
|
355
|
+
* Returns the tags of all images extensions.
|
|
356
|
+
* Gets all the tags
|
|
357
|
+
*/
|
|
358
|
+
repositoryGetTagsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ExtensionImageTag>>>;
|
|
359
|
+
/**
|
|
360
|
+
* Returns the tags of all images extensions.
|
|
361
|
+
* Gets all the tags
|
|
362
|
+
*/
|
|
363
|
+
repositoryGetTags(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ExtensionImageTag>>;
|
|
341
364
|
/**
|
|
342
365
|
* Lists all the declared repositories.
|
|
343
366
|
* Lists repositories
|
|
@@ -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.9.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 { ImageFromJSON, ImageSummaryListFromJSON, RepositoryFromJSON, RepositoryActivityFromJSON, } from '../models/index.js';
|
|
15
|
+
import { ExtensionImageTagFromJSON, ImageFromJSON, ImageSummaryListFromJSON, RepositoryFromJSON, RepositoryActivityFromJSON, } from '../models/index.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -237,6 +237,33 @@ export class RepositoryApi extends runtime.BaseAPI {
|
|
|
237
237
|
const response = await this.repositoryGetImageByUrlRaw(requestParameters, initOverrides);
|
|
238
238
|
return await response.value();
|
|
239
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* Returns the tags of all images extensions.
|
|
242
|
+
* Gets all the tags
|
|
243
|
+
*/
|
|
244
|
+
async repositoryGetTagsRaw(initOverrides) {
|
|
245
|
+
const queryParameters = {};
|
|
246
|
+
const headerParameters = {};
|
|
247
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
248
|
+
headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
|
|
249
|
+
}
|
|
250
|
+
let urlPath = `/repository/tags`;
|
|
251
|
+
const response = await this.request({
|
|
252
|
+
path: urlPath,
|
|
253
|
+
method: 'GET',
|
|
254
|
+
headers: headerParameters,
|
|
255
|
+
query: queryParameters,
|
|
256
|
+
}, initOverrides);
|
|
257
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ExtensionImageTagFromJSON));
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Returns the tags of all images extensions.
|
|
261
|
+
* Gets all the tags
|
|
262
|
+
*/
|
|
263
|
+
async repositoryGetTags(initOverrides) {
|
|
264
|
+
const response = await this.repositoryGetTagsRaw(initOverrides);
|
|
265
|
+
return await response.value();
|
|
266
|
+
}
|
|
240
267
|
/**
|
|
241
268
|
* Lists all the declared repositories.
|
|
242
269
|
* Lists repositories
|