@picteus/extension-sdk 0.11.0 → 0.13.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 +5 -5
- package/dist/picteus-ws-client/apis/AdministrationApi.js +9 -3
- package/dist/picteus-ws-client/apis/ApiSecretApi.d.ts +5 -5
- package/dist/picteus-ws-client/apis/ApiSecretApi.js +9 -3
- package/dist/picteus-ws-client/apis/CollectionApi.d.ts +5 -5
- package/dist/picteus-ws-client/apis/CollectionApi.js +9 -3
- package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +29 -29
- package/dist/picteus-ws-client/apis/ExtensionApi.js +57 -15
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +21 -21
- package/dist/picteus-ws-client/apis/ImageApi.js +41 -11
- 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 +19 -17
- package/dist/picteus-ws-client/apis/RepositoryApi.js +36 -9
- 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/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/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/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/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 +1 -1
- package/dist/picteus-ws-client/models/ImageFeatureValue.js +1 -1
- package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFormat.js +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
- package/dist/picteus-ws-client/models/InstructionsPrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/InstructionsPrompt.js +1 -1
- package/dist/picteus-ws-client/models/Manifest.d.ts +1 -1
- package/dist/picteus-ws-client/models/Manifest.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
- package/dist/picteus-ws-client/models/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/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/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 +7 -1
- package/dist/picteus-ws-client/models/SearchFeatureCondition.js +3 -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/Settings.d.ts +1 -1
- package/dist/picteus-ws-client/models/Settings.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/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +1 -1
- package/package.json +4 -4
|
@@ -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.17.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -210,12 +210,12 @@ export interface ImageApiInterface {
|
|
|
210
210
|
* @throws {RequiredError}
|
|
211
211
|
* @memberof ImageApiInterface
|
|
212
212
|
*/
|
|
213
|
-
imageDeleteRaw(requestParameters: ImageApiImageDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
213
|
+
imageDeleteRaw(requestParameters: ImageApiImageDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
214
214
|
/**
|
|
215
215
|
* Deletes the image from the back-end and from the databases.
|
|
216
216
|
* Deletes an image
|
|
217
217
|
*/
|
|
218
|
-
imageDelete(requestParameters: ImageApiImageDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
218
|
+
imageDelete(requestParameters: ImageApiImageDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
219
219
|
/**
|
|
220
220
|
* Returns the binary form of an image.
|
|
221
221
|
* @summary Downloads an image
|
|
@@ -245,12 +245,12 @@ export interface ImageApiInterface {
|
|
|
245
245
|
* @throws {RequiredError}
|
|
246
246
|
* @memberof ImageApiInterface
|
|
247
247
|
*/
|
|
248
|
-
imageEnsureTagsRaw(requestParameters: ImageApiImageEnsureTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
248
|
+
imageEnsureTagsRaw(requestParameters: ImageApiImageEnsureTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
249
249
|
/**
|
|
250
250
|
* Ensures that some tags are set on an image for a given extension.
|
|
251
251
|
* Ensures that the tags are set on an image
|
|
252
252
|
*/
|
|
253
|
-
imageEnsureTags(requestParameters: ImageApiImageEnsureTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
253
|
+
imageEnsureTags(requestParameters: ImageApiImageEnsureTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
254
254
|
/**
|
|
255
255
|
* Returns the details about an image.
|
|
256
256
|
* @summary Gets an image
|
|
@@ -513,12 +513,12 @@ export interface ImageApiInterface {
|
|
|
513
513
|
* @throws {RequiredError}
|
|
514
514
|
* @memberof ImageApiInterface
|
|
515
515
|
*/
|
|
516
|
-
imageSetEmbeddingsRaw(requestParameters: ImageApiImageSetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
516
|
+
imageSetEmbeddingsRaw(requestParameters: ImageApiImageSetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
517
517
|
/**
|
|
518
518
|
* Sets the computed embeddings of an image for a given extension.
|
|
519
519
|
* Sets the embeddings of an image
|
|
520
520
|
*/
|
|
521
|
-
imageSetEmbeddings(requestParameters: ImageApiImageSetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
521
|
+
imageSetEmbeddings(requestParameters: ImageApiImageSetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
522
522
|
/**
|
|
523
523
|
* Stores the provided features of an image for a given extension.
|
|
524
524
|
* @summary Sets the features of an image
|
|
@@ -529,12 +529,12 @@ export interface ImageApiInterface {
|
|
|
529
529
|
* @throws {RequiredError}
|
|
530
530
|
* @memberof ImageApiInterface
|
|
531
531
|
*/
|
|
532
|
-
imageSetFeaturesRaw(requestParameters: ImageApiImageSetFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
532
|
+
imageSetFeaturesRaw(requestParameters: ImageApiImageSetFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
533
533
|
/**
|
|
534
534
|
* Stores the provided features of an image for a given extension.
|
|
535
535
|
* Sets the features of an image
|
|
536
536
|
*/
|
|
537
|
-
imageSetFeatures(requestParameters: ImageApiImageSetFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
537
|
+
imageSetFeatures(requestParameters: ImageApiImageSetFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
538
538
|
/**
|
|
539
539
|
* Sets the tags of an image for a given extension.
|
|
540
540
|
* @summary Sets the tags of an image
|
|
@@ -545,12 +545,12 @@ export interface ImageApiInterface {
|
|
|
545
545
|
* @throws {RequiredError}
|
|
546
546
|
* @memberof ImageApiInterface
|
|
547
547
|
*/
|
|
548
|
-
imageSetTagsRaw(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
548
|
+
imageSetTagsRaw(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
549
549
|
/**
|
|
550
550
|
* Sets the tags of an image for a given extension.
|
|
551
551
|
* Sets the tags of an image
|
|
552
552
|
*/
|
|
553
|
-
imageSetTags(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
553
|
+
imageSetTags(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
554
554
|
/**
|
|
555
555
|
* Runs all extensions capabilities against the image.
|
|
556
556
|
* @summary Synchronizes an image
|
|
@@ -630,12 +630,12 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
630
630
|
* Deletes the image from the back-end and from the databases.
|
|
631
631
|
* Deletes an image
|
|
632
632
|
*/
|
|
633
|
-
imageDeleteRaw(requestParameters: ImageApiImageDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
633
|
+
imageDeleteRaw(requestParameters: ImageApiImageDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
634
634
|
/**
|
|
635
635
|
* Deletes the image from the back-end and from the databases.
|
|
636
636
|
* Deletes an image
|
|
637
637
|
*/
|
|
638
|
-
imageDelete(requestParameters: ImageApiImageDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
638
|
+
imageDelete(requestParameters: ImageApiImageDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
639
639
|
/**
|
|
640
640
|
* Returns the binary form of an image.
|
|
641
641
|
* Downloads an image
|
|
@@ -650,12 +650,12 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
650
650
|
* Ensures that some tags are set on an image for a given extension.
|
|
651
651
|
* Ensures that the tags are set on an image
|
|
652
652
|
*/
|
|
653
|
-
imageEnsureTagsRaw(requestParameters: ImageApiImageEnsureTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
653
|
+
imageEnsureTagsRaw(requestParameters: ImageApiImageEnsureTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
654
654
|
/**
|
|
655
655
|
* Ensures that some tags are set on an image for a given extension.
|
|
656
656
|
* Ensures that the tags are set on an image
|
|
657
657
|
*/
|
|
658
|
-
imageEnsureTags(requestParameters: ImageApiImageEnsureTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
658
|
+
imageEnsureTags(requestParameters: ImageApiImageEnsureTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
659
659
|
/**
|
|
660
660
|
* Returns the details about an image.
|
|
661
661
|
* Gets an image
|
|
@@ -830,32 +830,32 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
|
|
|
830
830
|
* Sets the computed embeddings of an image for a given extension.
|
|
831
831
|
* Sets the embeddings of an image
|
|
832
832
|
*/
|
|
833
|
-
imageSetEmbeddingsRaw(requestParameters: ImageApiImageSetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
833
|
+
imageSetEmbeddingsRaw(requestParameters: ImageApiImageSetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
834
834
|
/**
|
|
835
835
|
* Sets the computed embeddings of an image for a given extension.
|
|
836
836
|
* Sets the embeddings of an image
|
|
837
837
|
*/
|
|
838
|
-
imageSetEmbeddings(requestParameters: ImageApiImageSetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
838
|
+
imageSetEmbeddings(requestParameters: ImageApiImageSetEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
839
839
|
/**
|
|
840
840
|
* Stores the provided features of an image for a given extension.
|
|
841
841
|
* Sets the features of an image
|
|
842
842
|
*/
|
|
843
|
-
imageSetFeaturesRaw(requestParameters: ImageApiImageSetFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
843
|
+
imageSetFeaturesRaw(requestParameters: ImageApiImageSetFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
844
844
|
/**
|
|
845
845
|
* Stores the provided features of an image for a given extension.
|
|
846
846
|
* Sets the features of an image
|
|
847
847
|
*/
|
|
848
|
-
imageSetFeatures(requestParameters: ImageApiImageSetFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
848
|
+
imageSetFeatures(requestParameters: ImageApiImageSetFeaturesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
849
849
|
/**
|
|
850
850
|
* Sets the tags of an image for a given extension.
|
|
851
851
|
* Sets the tags of an image
|
|
852
852
|
*/
|
|
853
|
-
imageSetTagsRaw(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
853
|
+
imageSetTagsRaw(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
854
854
|
/**
|
|
855
855
|
* Sets the tags of an image for a given extension.
|
|
856
856
|
* Sets the tags of an image
|
|
857
857
|
*/
|
|
858
|
-
imageSetTags(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
858
|
+
imageSetTags(requestParameters: ImageApiImageSetTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
859
859
|
/**
|
|
860
860
|
* Runs all extensions capabilities against the image.
|
|
861
861
|
* Synchronizes an image
|
|
@@ -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.17.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -198,14 +198,20 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
198
198
|
headers: headerParameters,
|
|
199
199
|
query: queryParameters,
|
|
200
200
|
}, initOverrides);
|
|
201
|
-
|
|
201
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
202
|
+
return new runtime.JSONApiResponse(response);
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
return new runtime.TextApiResponse(response);
|
|
206
|
+
}
|
|
202
207
|
}
|
|
203
208
|
/**
|
|
204
209
|
* Deletes the image from the back-end and from the databases.
|
|
205
210
|
* Deletes an image
|
|
206
211
|
*/
|
|
207
212
|
async imageDelete(requestParameters, initOverrides) {
|
|
208
|
-
await this.imageDeleteRaw(requestParameters, initOverrides);
|
|
213
|
+
const response = await this.imageDeleteRaw(requestParameters, initOverrides);
|
|
214
|
+
return await response.value();
|
|
209
215
|
}
|
|
210
216
|
/**
|
|
211
217
|
* Returns the binary form of an image.
|
|
@@ -285,14 +291,20 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
285
291
|
query: queryParameters,
|
|
286
292
|
body: requestParameters['requestBody'],
|
|
287
293
|
}, initOverrides);
|
|
288
|
-
|
|
294
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
295
|
+
return new runtime.JSONApiResponse(response);
|
|
296
|
+
}
|
|
297
|
+
else {
|
|
298
|
+
return new runtime.TextApiResponse(response);
|
|
299
|
+
}
|
|
289
300
|
}
|
|
290
301
|
/**
|
|
291
302
|
* Ensures that some tags are set on an image for a given extension.
|
|
292
303
|
* Ensures that the tags are set on an image
|
|
293
304
|
*/
|
|
294
305
|
async imageEnsureTags(requestParameters, initOverrides) {
|
|
295
|
-
await this.imageEnsureTagsRaw(requestParameters, initOverrides);
|
|
306
|
+
const response = await this.imageEnsureTagsRaw(requestParameters, initOverrides);
|
|
307
|
+
return await response.value();
|
|
296
308
|
}
|
|
297
309
|
/**
|
|
298
310
|
* Returns the details about an image.
|
|
@@ -912,14 +924,20 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
912
924
|
query: queryParameters,
|
|
913
925
|
body: ImageEmbeddingsToJSON(requestParameters['imageEmbeddings']),
|
|
914
926
|
}, initOverrides);
|
|
915
|
-
|
|
927
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
928
|
+
return new runtime.JSONApiResponse(response);
|
|
929
|
+
}
|
|
930
|
+
else {
|
|
931
|
+
return new runtime.TextApiResponse(response);
|
|
932
|
+
}
|
|
916
933
|
}
|
|
917
934
|
/**
|
|
918
935
|
* Sets the computed embeddings of an image for a given extension.
|
|
919
936
|
* Sets the embeddings of an image
|
|
920
937
|
*/
|
|
921
938
|
async imageSetEmbeddings(requestParameters, initOverrides) {
|
|
922
|
-
await this.imageSetEmbeddingsRaw(requestParameters, initOverrides);
|
|
939
|
+
const response = await this.imageSetEmbeddingsRaw(requestParameters, initOverrides);
|
|
940
|
+
return await response.value();
|
|
923
941
|
}
|
|
924
942
|
/**
|
|
925
943
|
* Stores the provided features of an image for a given extension.
|
|
@@ -953,14 +971,20 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
953
971
|
query: queryParameters,
|
|
954
972
|
body: requestParameters['imageFeature'].map(ImageFeatureToJSON),
|
|
955
973
|
}, initOverrides);
|
|
956
|
-
|
|
974
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
975
|
+
return new runtime.JSONApiResponse(response);
|
|
976
|
+
}
|
|
977
|
+
else {
|
|
978
|
+
return new runtime.TextApiResponse(response);
|
|
979
|
+
}
|
|
957
980
|
}
|
|
958
981
|
/**
|
|
959
982
|
* Stores the provided features of an image for a given extension.
|
|
960
983
|
* Sets the features of an image
|
|
961
984
|
*/
|
|
962
985
|
async imageSetFeatures(requestParameters, initOverrides) {
|
|
963
|
-
await this.imageSetFeaturesRaw(requestParameters, initOverrides);
|
|
986
|
+
const response = await this.imageSetFeaturesRaw(requestParameters, initOverrides);
|
|
987
|
+
return await response.value();
|
|
964
988
|
}
|
|
965
989
|
/**
|
|
966
990
|
* Sets the tags of an image for a given extension.
|
|
@@ -994,14 +1018,20 @@ export class ImageApi extends runtime.BaseAPI {
|
|
|
994
1018
|
query: queryParameters,
|
|
995
1019
|
body: requestParameters['requestBody'],
|
|
996
1020
|
}, initOverrides);
|
|
997
|
-
|
|
1021
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
1022
|
+
return new runtime.JSONApiResponse(response);
|
|
1023
|
+
}
|
|
1024
|
+
else {
|
|
1025
|
+
return new runtime.TextApiResponse(response);
|
|
1026
|
+
}
|
|
998
1027
|
}
|
|
999
1028
|
/**
|
|
1000
1029
|
* Sets the tags of an image for a given extension.
|
|
1001
1030
|
* Sets the tags of an image
|
|
1002
1031
|
*/
|
|
1003
1032
|
async imageSetTags(requestParameters, initOverrides) {
|
|
1004
|
-
await this.imageSetTagsRaw(requestParameters, initOverrides);
|
|
1033
|
+
const response = await this.imageSetTagsRaw(requestParameters, initOverrides);
|
|
1034
|
+
return await response.value();
|
|
1005
1035
|
}
|
|
1006
1036
|
/**
|
|
1007
1037
|
* Runs all extensions capabilities against the image.
|
|
@@ -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.17.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -46,6 +46,7 @@ export interface RepositoryApiRepositoryStartOrStopRequest {
|
|
|
46
46
|
export interface RepositoryApiRepositoryStoreImageRequest {
|
|
47
47
|
id: string;
|
|
48
48
|
body: Blob;
|
|
49
|
+
inceptionDate?: number;
|
|
49
50
|
sourceUrl?: string;
|
|
50
51
|
parentId?: string;
|
|
51
52
|
applicationMetadata?: string;
|
|
@@ -111,12 +112,12 @@ export interface RepositoryApiInterface {
|
|
|
111
112
|
* @throws {RequiredError}
|
|
112
113
|
* @memberof RepositoryApiInterface
|
|
113
114
|
*/
|
|
114
|
-
repositoryDeleteRaw(requestParameters: RepositoryApiRepositoryDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
115
|
+
repositoryDeleteRaw(requestParameters: RepositoryApiRepositoryDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
115
116
|
/**
|
|
116
117
|
* Deletes a repository along with all the images attached to it.
|
|
117
118
|
* Deletes a repository
|
|
118
119
|
*/
|
|
119
|
-
repositoryDelete(requestParameters: RepositoryApiRepositoryDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
120
|
+
repositoryDelete(requestParameters: RepositoryApiRepositoryDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
120
121
|
/**
|
|
121
122
|
* Ensures that a repository with type \'file\' and with the provided identifier exists, and if not, creates it.
|
|
122
123
|
* @summary Ensures a repository exists
|
|
@@ -226,17 +227,18 @@ export interface RepositoryApiInterface {
|
|
|
226
227
|
* @throws {RequiredError}
|
|
227
228
|
* @memberof RepositoryApiInterface
|
|
228
229
|
*/
|
|
229
|
-
repositoryStartOrStopRaw(requestParameters: RepositoryApiRepositoryStartOrStopRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
230
|
+
repositoryStartOrStopRaw(requestParameters: RepositoryApiRepositoryStartOrStopRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
230
231
|
/**
|
|
231
232
|
* Starts all the repositories, resume synchronization if necessary and starts watching them, or stops them.
|
|
232
233
|
* Starts or stop the repositories
|
|
233
234
|
*/
|
|
234
|
-
repositoryStartOrStop(requestParameters: RepositoryApiRepositoryStartOrStopRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
235
|
+
repositoryStartOrStop(requestParameters: RepositoryApiRepositoryStartOrStopRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
235
236
|
/**
|
|
236
237
|
* Declares an image in the repository and returns it.
|
|
237
238
|
* @summary Creates an image in the repository
|
|
238
239
|
* @param {string} id The repository identifier
|
|
239
240
|
* @param {Blob} body The image file
|
|
241
|
+
* @param {number} [inceptionDate] The moment when the image was incepted
|
|
240
242
|
* @param {string} [sourceUrl] The URL of the image source
|
|
241
243
|
* @param {string} [parentId] The identifier of the image parent image
|
|
242
244
|
* @param {string} [applicationMetadata] The JSON string representing the application metadata
|
|
@@ -260,12 +262,12 @@ export interface RepositoryApiInterface {
|
|
|
260
262
|
* @throws {RequiredError}
|
|
261
263
|
* @memberof RepositoryApiInterface
|
|
262
264
|
*/
|
|
263
|
-
repositorySynchronizeRaw(requestParameters: RepositoryApiRepositorySynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
265
|
+
repositorySynchronizeRaw(requestParameters: RepositoryApiRepositorySynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
264
266
|
/**
|
|
265
267
|
* Synchronizes a repository against its back-end.
|
|
266
268
|
* Synchronizes a repository
|
|
267
269
|
*/
|
|
268
|
-
repositorySynchronize(requestParameters: RepositoryApiRepositorySynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
270
|
+
repositorySynchronize(requestParameters: RepositoryApiRepositorySynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
269
271
|
/**
|
|
270
272
|
* Updates the name and comment of a repository.
|
|
271
273
|
* @summary Updates a repository
|
|
@@ -291,12 +293,12 @@ export interface RepositoryApiInterface {
|
|
|
291
293
|
* @throws {RequiredError}
|
|
292
294
|
* @memberof RepositoryApiInterface
|
|
293
295
|
*/
|
|
294
|
-
repositoryWatchRaw(requestParameters: RepositoryApiRepositoryWatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
296
|
+
repositoryWatchRaw(requestParameters: RepositoryApiRepositoryWatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
295
297
|
/**
|
|
296
298
|
* Starts or stops listening to the repository back-end images changes.
|
|
297
299
|
* Starts or stops watching a repository
|
|
298
300
|
*/
|
|
299
|
-
repositoryWatch(requestParameters: RepositoryApiRepositoryWatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
301
|
+
repositoryWatch(requestParameters: RepositoryApiRepositoryWatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
300
302
|
}
|
|
301
303
|
/**
|
|
302
304
|
*
|
|
@@ -326,12 +328,12 @@ export declare class RepositoryApi extends runtime.BaseAPI implements Repository
|
|
|
326
328
|
* Deletes a repository along with all the images attached to it.
|
|
327
329
|
* Deletes a repository
|
|
328
330
|
*/
|
|
329
|
-
repositoryDeleteRaw(requestParameters: RepositoryApiRepositoryDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
331
|
+
repositoryDeleteRaw(requestParameters: RepositoryApiRepositoryDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
330
332
|
/**
|
|
331
333
|
* Deletes a repository along with all the images attached to it.
|
|
332
334
|
* Deletes a repository
|
|
333
335
|
*/
|
|
334
|
-
repositoryDelete(requestParameters: RepositoryApiRepositoryDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
336
|
+
repositoryDelete(requestParameters: RepositoryApiRepositoryDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
335
337
|
/**
|
|
336
338
|
* Ensures that a repository with type \'file\' and with the provided identifier exists, and if not, creates it.
|
|
337
339
|
* Ensures a repository exists
|
|
@@ -406,12 +408,12 @@ export declare class RepositoryApi extends runtime.BaseAPI implements Repository
|
|
|
406
408
|
* Starts all the repositories, resume synchronization if necessary and starts watching them, or stops them.
|
|
407
409
|
* Starts or stop the repositories
|
|
408
410
|
*/
|
|
409
|
-
repositoryStartOrStopRaw(requestParameters: RepositoryApiRepositoryStartOrStopRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
411
|
+
repositoryStartOrStopRaw(requestParameters: RepositoryApiRepositoryStartOrStopRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
410
412
|
/**
|
|
411
413
|
* Starts all the repositories, resume synchronization if necessary and starts watching them, or stops them.
|
|
412
414
|
* Starts or stop the repositories
|
|
413
415
|
*/
|
|
414
|
-
repositoryStartOrStop(requestParameters: RepositoryApiRepositoryStartOrStopRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
416
|
+
repositoryStartOrStop(requestParameters: RepositoryApiRepositoryStartOrStopRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
415
417
|
/**
|
|
416
418
|
* Declares an image in the repository and returns it.
|
|
417
419
|
* Creates an image in the repository
|
|
@@ -426,12 +428,12 @@ export declare class RepositoryApi extends runtime.BaseAPI implements Repository
|
|
|
426
428
|
* Synchronizes a repository against its back-end.
|
|
427
429
|
* Synchronizes a repository
|
|
428
430
|
*/
|
|
429
|
-
repositorySynchronizeRaw(requestParameters: RepositoryApiRepositorySynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
431
|
+
repositorySynchronizeRaw(requestParameters: RepositoryApiRepositorySynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
430
432
|
/**
|
|
431
433
|
* Synchronizes a repository against its back-end.
|
|
432
434
|
* Synchronizes a repository
|
|
433
435
|
*/
|
|
434
|
-
repositorySynchronize(requestParameters: RepositoryApiRepositorySynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
436
|
+
repositorySynchronize(requestParameters: RepositoryApiRepositorySynchronizeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
435
437
|
/**
|
|
436
438
|
* Updates the name and comment of a repository.
|
|
437
439
|
* Updates a repository
|
|
@@ -446,12 +448,12 @@ export declare class RepositoryApi extends runtime.BaseAPI implements Repository
|
|
|
446
448
|
* Starts or stops listening to the repository back-end images changes.
|
|
447
449
|
* Starts or stops watching a repository
|
|
448
450
|
*/
|
|
449
|
-
repositoryWatchRaw(requestParameters: RepositoryApiRepositoryWatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
451
|
+
repositoryWatchRaw(requestParameters: RepositoryApiRepositoryWatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
450
452
|
/**
|
|
451
453
|
* Starts or stops listening to the repository back-end images changes.
|
|
452
454
|
* Starts or stops watching a repository
|
|
453
455
|
*/
|
|
454
|
-
repositoryWatch(requestParameters: RepositoryApiRepositoryWatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
456
|
+
repositoryWatch(requestParameters: RepositoryApiRepositoryWatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
455
457
|
}
|
|
456
458
|
/**
|
|
457
459
|
* @export
|
|
@@ -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.17.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -119,14 +119,20 @@ export class RepositoryApi extends runtime.BaseAPI {
|
|
|
119
119
|
headers: headerParameters,
|
|
120
120
|
query: queryParameters,
|
|
121
121
|
}, initOverrides);
|
|
122
|
-
|
|
122
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
123
|
+
return new runtime.JSONApiResponse(response);
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
return new runtime.TextApiResponse(response);
|
|
127
|
+
}
|
|
123
128
|
}
|
|
124
129
|
/**
|
|
125
130
|
* Deletes a repository along with all the images attached to it.
|
|
126
131
|
* Deletes a repository
|
|
127
132
|
*/
|
|
128
133
|
async repositoryDelete(requestParameters, initOverrides) {
|
|
129
|
-
await this.repositoryDeleteRaw(requestParameters, initOverrides);
|
|
134
|
+
const response = await this.repositoryDeleteRaw(requestParameters, initOverrides);
|
|
135
|
+
return await response.value();
|
|
130
136
|
}
|
|
131
137
|
/**
|
|
132
138
|
* Ensures that a repository with type \'file\' and with the provided identifier exists, and if not, creates it.
|
|
@@ -387,14 +393,20 @@ export class RepositoryApi extends runtime.BaseAPI {
|
|
|
387
393
|
headers: headerParameters,
|
|
388
394
|
query: queryParameters,
|
|
389
395
|
}, initOverrides);
|
|
390
|
-
|
|
396
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
397
|
+
return new runtime.JSONApiResponse(response);
|
|
398
|
+
}
|
|
399
|
+
else {
|
|
400
|
+
return new runtime.TextApiResponse(response);
|
|
401
|
+
}
|
|
391
402
|
}
|
|
392
403
|
/**
|
|
393
404
|
* Starts all the repositories, resume synchronization if necessary and starts watching them, or stops them.
|
|
394
405
|
* Starts or stop the repositories
|
|
395
406
|
*/
|
|
396
407
|
async repositoryStartOrStop(requestParameters, initOverrides) {
|
|
397
|
-
await this.repositoryStartOrStopRaw(requestParameters, initOverrides);
|
|
408
|
+
const response = await this.repositoryStartOrStopRaw(requestParameters, initOverrides);
|
|
409
|
+
return await response.value();
|
|
398
410
|
}
|
|
399
411
|
/**
|
|
400
412
|
* Declares an image in the repository and returns it.
|
|
@@ -408,6 +420,9 @@ export class RepositoryApi extends runtime.BaseAPI {
|
|
|
408
420
|
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling repositoryStoreImage().');
|
|
409
421
|
}
|
|
410
422
|
const queryParameters = {};
|
|
423
|
+
if (requestParameters['inceptionDate'] != null) {
|
|
424
|
+
queryParameters['inceptionDate'] = requestParameters['inceptionDate'];
|
|
425
|
+
}
|
|
411
426
|
if (requestParameters['sourceUrl'] != null) {
|
|
412
427
|
queryParameters['sourceUrl'] = requestParameters['sourceUrl'];
|
|
413
428
|
}
|
|
@@ -468,14 +483,20 @@ export class RepositoryApi extends runtime.BaseAPI {
|
|
|
468
483
|
headers: headerParameters,
|
|
469
484
|
query: queryParameters,
|
|
470
485
|
}, initOverrides);
|
|
471
|
-
|
|
486
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
487
|
+
return new runtime.JSONApiResponse(response);
|
|
488
|
+
}
|
|
489
|
+
else {
|
|
490
|
+
return new runtime.TextApiResponse(response);
|
|
491
|
+
}
|
|
472
492
|
}
|
|
473
493
|
/**
|
|
474
494
|
* Synchronizes a repository against its back-end.
|
|
475
495
|
* Synchronizes a repository
|
|
476
496
|
*/
|
|
477
497
|
async repositorySynchronize(requestParameters, initOverrides) {
|
|
478
|
-
await this.repositorySynchronizeRaw(requestParameters, initOverrides);
|
|
498
|
+
const response = await this.repositorySynchronizeRaw(requestParameters, initOverrides);
|
|
499
|
+
return await response.value();
|
|
479
500
|
}
|
|
480
501
|
/**
|
|
481
502
|
* Updates the name and comment of a repository.
|
|
@@ -541,14 +562,20 @@ export class RepositoryApi extends runtime.BaseAPI {
|
|
|
541
562
|
headers: headerParameters,
|
|
542
563
|
query: queryParameters,
|
|
543
564
|
}, initOverrides);
|
|
544
|
-
|
|
565
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
566
|
+
return new runtime.JSONApiResponse(response);
|
|
567
|
+
}
|
|
568
|
+
else {
|
|
569
|
+
return new runtime.TextApiResponse(response);
|
|
570
|
+
}
|
|
545
571
|
}
|
|
546
572
|
/**
|
|
547
573
|
* Starts or stops listening to the repository back-end images changes.
|
|
548
574
|
* Starts or stops watching a repository
|
|
549
575
|
*/
|
|
550
576
|
async repositoryWatch(requestParameters, initOverrides) {
|
|
551
|
-
await this.repositoryWatchRaw(requestParameters, initOverrides);
|
|
577
|
+
const response = await this.repositoryWatchRaw(requestParameters, initOverrides);
|
|
578
|
+
return await response.value();
|
|
552
579
|
}
|
|
553
580
|
}
|
|
554
581
|
/**
|