@picteus/extension-sdk 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Intents.d.ts +125 -0
- package/dist/Intents.js +20 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/AdministrationApi.js +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ApiSecretApi.js +1 -1
- package/dist/picteus-ws-client/apis/CollectionApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/CollectionApi.js +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ExtensionApi.js +1 -1
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +141 -25
- package/dist/picteus-ws-client/apis/ImageApi.js +162 -20
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +1 -1
- package/dist/picteus-ws-client/apis/MiscellaneousApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/MiscellaneousApi.js +1 -1
- package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/RepositoryApi.js +1 -1
- package/dist/picteus-ws-client/apis/SettingsApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/SettingsApi.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecret.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecret.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecretSummary.js +1 -1
- package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
- package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
- package/dist/picteus-ws-client/models/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 +2 -2
- 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 +39 -0
- package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +48 -0
- 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 +39 -0
- package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.js +48 -0
- 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 +2 -2
- 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 +2 -2
- package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
- package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +2 -2
- 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 +9 -4
- package/dist/picteus-ws-client/models/ImageFeatureValue.js +9 -33
- 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 +2 -2
- package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
- package/dist/picteus-ws-client/models/InstructionsPrompt.d.ts +1 -1
- package/dist/picteus-ws-client/models/InstructionsPrompt.js +1 -1
- package/dist/picteus-ws-client/models/Manifest.d.ts +1 -1
- package/dist/picteus-ws-client/models/Manifest.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
- package/dist/picteus-ws-client/models/ManifestEvent.d.ts +3 -1
- package/dist/picteus-ws-client/models/ManifestEvent.js +3 -1
- package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +13 -7
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +9 -5
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.d.ts +27 -0
- package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.js +47 -0
- 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 +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureCondition.js +1 -1
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +9 -4
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +9 -33
- 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 +39 -0
- package/dist/picteus-ws-client/models/SearchFeaturesResult.js +48 -0
- 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/SearchImageResult.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchImageResult.js +48 -0
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +48 -0
- 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 +39 -0
- package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +48 -0
- 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 +46 -0
- package/dist/picteus-ws-client/models/SearchParameters.js +47 -0
- 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 +39 -0
- package/dist/picteus-ws-client/models/SearchTagsResult.js +48 -0
- 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 +2 -3
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +2 -3
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.d.ts +39 -0
- package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +48 -0
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +33 -0
- package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +44 -0
- package/dist/picteus-ws-client/models/index.d.ts +11 -1
- package/dist/picteus-ws-client/models/index.js +11 -1
- package/dist/picteus-ws-client/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +1 -1
- package/dist/picteusExtension.d.ts +5 -66
- package/dist/picteusExtension.js +18 -20
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.14.1
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ImageMediaUrl } from './ImageMediaUrl.js';
|
|
13
|
+
/**
|
|
14
|
+
* The result of an image media URLs search
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SearchMediaUrlResult
|
|
17
|
+
*/
|
|
18
|
+
export interface SearchMediaUrlResult {
|
|
19
|
+
/**
|
|
20
|
+
* The items corresponding to the search filter and to the range
|
|
21
|
+
* @type {Array<ImageMediaUrl>}
|
|
22
|
+
* @memberof SearchMediaUrlResult
|
|
23
|
+
*/
|
|
24
|
+
items: Array<ImageMediaUrl>;
|
|
25
|
+
/**
|
|
26
|
+
* The total number of items
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof SearchMediaUrlResult
|
|
29
|
+
*/
|
|
30
|
+
totalCount: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SearchMediaUrlResult interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSearchMediaUrlResult(value: object): value is SearchMediaUrlResult;
|
|
36
|
+
export declare function SearchMediaUrlResultFromJSON(json: any): SearchMediaUrlResult;
|
|
37
|
+
export declare function SearchMediaUrlResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchMediaUrlResult;
|
|
38
|
+
export declare function SearchMediaUrlResultToJSON(json: any): SearchMediaUrlResult;
|
|
39
|
+
export declare function SearchMediaUrlResultToJSONTyped(value?: SearchMediaUrlResult | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.14.1
|
|
8
|
+
* Contact: edouard@koppasoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ImageMediaUrlFromJSON, ImageMediaUrlToJSON, } from './ImageMediaUrl.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SearchMediaUrlResult interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSearchMediaUrlResult(value) {
|
|
19
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('totalCount' in value) || value['totalCount'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function SearchMediaUrlResultFromJSON(json) {
|
|
26
|
+
return SearchMediaUrlResultFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function SearchMediaUrlResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'items': (json['items'].map(ImageMediaUrlFromJSON)),
|
|
34
|
+
'totalCount': json['totalCount'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function SearchMediaUrlResultToJSON(json) {
|
|
38
|
+
return SearchMediaUrlResultToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SearchMediaUrlResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'items': (value['items'].map(ImageMediaUrlToJSON)),
|
|
46
|
+
'totalCount': value['totalCount'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.14.1
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SearchRange } from './SearchRange.js';
|
|
13
|
+
import type { SearchFilter } from './SearchFilter.js';
|
|
14
|
+
/**
|
|
15
|
+
* Filtering and range parameters when searching for images
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SearchParameters
|
|
18
|
+
*/
|
|
19
|
+
export interface SearchParameters {
|
|
20
|
+
/**
|
|
21
|
+
* The filter which will be used to narrow down the returned items
|
|
22
|
+
* @type {SearchFilter}
|
|
23
|
+
* @memberof SearchParameters
|
|
24
|
+
*/
|
|
25
|
+
filter?: SearchFilter;
|
|
26
|
+
/**
|
|
27
|
+
* The collection identifier to filter with to narrow down the returned items
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof SearchParameters
|
|
30
|
+
*/
|
|
31
|
+
collectionId?: number;
|
|
32
|
+
/**
|
|
33
|
+
* The range of items to consider following the search
|
|
34
|
+
* @type {SearchRange}
|
|
35
|
+
* @memberof SearchParameters
|
|
36
|
+
*/
|
|
37
|
+
range?: SearchRange;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the SearchParameters interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfSearchParameters(value: object): value is SearchParameters;
|
|
43
|
+
export declare function SearchParametersFromJSON(json: any): SearchParameters;
|
|
44
|
+
export declare function SearchParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchParameters;
|
|
45
|
+
export declare function SearchParametersToJSON(json: any): SearchParameters;
|
|
46
|
+
export declare function SearchParametersToJSONTyped(value?: SearchParameters | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.14.1
|
|
8
|
+
* Contact: edouard@koppasoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SearchRangeFromJSON, SearchRangeToJSON, } from './SearchRange.js';
|
|
15
|
+
import { SearchFilterFromJSON, SearchFilterToJSON, } from './SearchFilter.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the SearchParameters interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfSearchParameters(value) {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function SearchParametersFromJSON(json) {
|
|
23
|
+
return SearchParametersFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function SearchParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'filter': json['filter'] == null ? undefined : SearchFilterFromJSON(json['filter']),
|
|
31
|
+
'collectionId': json['collectionId'] == null ? undefined : json['collectionId'],
|
|
32
|
+
'range': json['range'] == null ? undefined : SearchRangeFromJSON(json['range']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SearchParametersToJSON(json) {
|
|
36
|
+
return SearchParametersToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SearchParametersToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'filter': SearchFilterToJSON(value['filter']),
|
|
44
|
+
'collectionId': value['collectionId'],
|
|
45
|
+
'range': SearchRangeToJSON(value['range']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.14.1
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ExtensionImageTagsAttribute } from './ExtensionImageTagsAttribute.js';
|
|
13
|
+
/**
|
|
14
|
+
* The result of an image tags search
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SearchTagsResult
|
|
17
|
+
*/
|
|
18
|
+
export interface SearchTagsResult {
|
|
19
|
+
/**
|
|
20
|
+
* The items corresponding to the search filter and to the range
|
|
21
|
+
* @type {Array<ExtensionImageTagsAttribute>}
|
|
22
|
+
* @memberof SearchTagsResult
|
|
23
|
+
*/
|
|
24
|
+
items: Array<ExtensionImageTagsAttribute>;
|
|
25
|
+
/**
|
|
26
|
+
* The total number of items
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof SearchTagsResult
|
|
29
|
+
*/
|
|
30
|
+
totalCount: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SearchTagsResult interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSearchTagsResult(value: object): value is SearchTagsResult;
|
|
36
|
+
export declare function SearchTagsResultFromJSON(json: any): SearchTagsResult;
|
|
37
|
+
export declare function SearchTagsResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchTagsResult;
|
|
38
|
+
export declare function SearchTagsResultToJSON(json: any): SearchTagsResult;
|
|
39
|
+
export declare function SearchTagsResultToJSONTyped(value?: SearchTagsResult | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.14.1
|
|
8
|
+
* Contact: edouard@koppasoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ExtensionImageTagsAttributeFromJSON, ExtensionImageTagsAttributeToJSON, } from './ExtensionImageTagsAttribute.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SearchTagsResult interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSearchTagsResult(value) {
|
|
19
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('totalCount' in value) || value['totalCount'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function SearchTagsResultFromJSON(json) {
|
|
26
|
+
return SearchTagsResultFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function SearchTagsResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'items': (json['items'].map(ExtensionImageTagsAttributeFromJSON)),
|
|
34
|
+
'totalCount': json['totalCount'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function SearchTagsResultToJSON(json) {
|
|
38
|
+
return SearchTagsResultToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SearchTagsResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'items': (value['items'].map(ExtensionImageTagsAttributeToJSON)),
|
|
46
|
+
'totalCount': value['totalCount'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -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.14.1
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,11 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The location where
|
|
13
|
+
* The location where an UI fragment is anchored
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const UserInterfaceAnchor: {
|
|
17
|
-
readonly Modal: "modal";
|
|
18
17
|
readonly Sidebar: "sidebar";
|
|
19
18
|
readonly Window: "window";
|
|
20
19
|
readonly ImageDetail: "imageDetail";
|
|
@@ -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.14.1
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,11 +12,10 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* The location where
|
|
15
|
+
* The location where an UI fragment is anchored
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
18
18
|
export const UserInterfaceAnchor = {
|
|
19
|
-
Modal: 'modal',
|
|
20
19
|
Sidebar: 'sidebar',
|
|
21
20
|
Window: 'window',
|
|
22
21
|
ImageDetail: 'imageDetail'
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.14.1
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { UserInterfaceAnchor } from './UserInterfaceAnchor.js';
|
|
13
|
+
/**
|
|
14
|
+
* Specifies how a sidebar UI element integrates
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserInterfaceSidebarIntegration
|
|
17
|
+
*/
|
|
18
|
+
export interface UserInterfaceSidebarIntegration {
|
|
19
|
+
/**
|
|
20
|
+
* The location where an UI fragment is anchored
|
|
21
|
+
* @type {UserInterfaceAnchor}
|
|
22
|
+
* @memberof UserInterfaceSidebarIntegration
|
|
23
|
+
*/
|
|
24
|
+
anchor: UserInterfaceAnchor;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the element should be displayed via an external window or through an internal frame
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof UserInterfaceSidebarIntegration
|
|
29
|
+
*/
|
|
30
|
+
isExternal: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the UserInterfaceSidebarIntegration interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfUserInterfaceSidebarIntegration(value: object): value is UserInterfaceSidebarIntegration;
|
|
36
|
+
export declare function UserInterfaceSidebarIntegrationFromJSON(json: any): UserInterfaceSidebarIntegration;
|
|
37
|
+
export declare function UserInterfaceSidebarIntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInterfaceSidebarIntegration;
|
|
38
|
+
export declare function UserInterfaceSidebarIntegrationToJSON(json: any): UserInterfaceSidebarIntegration;
|
|
39
|
+
export declare function UserInterfaceSidebarIntegrationToJSONTyped(value?: UserInterfaceSidebarIntegration | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.14.1
|
|
8
|
+
* Contact: edouard@koppasoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { UserInterfaceAnchorFromJSON, UserInterfaceAnchorToJSON, } from './UserInterfaceAnchor.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the UserInterfaceSidebarIntegration interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUserInterfaceSidebarIntegration(value) {
|
|
19
|
+
if (!('anchor' in value) || value['anchor'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('isExternal' in value) || value['isExternal'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function UserInterfaceSidebarIntegrationFromJSON(json) {
|
|
26
|
+
return UserInterfaceSidebarIntegrationFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function UserInterfaceSidebarIntegrationFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'anchor': UserInterfaceAnchorFromJSON(json['anchor']),
|
|
34
|
+
'isExternal': json['isExternal'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function UserInterfaceSidebarIntegrationToJSON(json) {
|
|
38
|
+
return UserInterfaceSidebarIntegrationToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function UserInterfaceSidebarIntegrationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'anchor': UserInterfaceAnchorToJSON(value['anchor']),
|
|
46
|
+
'isExternal': value['isExternal'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.14.1
|
|
6
|
+
* Contact: edouard@koppasoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { UserInterfaceAnchor } from './UserInterfaceAnchor.js';
|
|
13
|
+
/**
|
|
14
|
+
* Specifies how a window UI element integrates
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserInterfaceWindowIntegration
|
|
17
|
+
*/
|
|
18
|
+
export interface UserInterfaceWindowIntegration {
|
|
19
|
+
/**
|
|
20
|
+
* The location where an UI fragment is anchored
|
|
21
|
+
* @type {UserInterfaceAnchor}
|
|
22
|
+
* @memberof UserInterfaceWindowIntegration
|
|
23
|
+
*/
|
|
24
|
+
anchor: UserInterfaceAnchor;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the UserInterfaceWindowIntegration interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfUserInterfaceWindowIntegration(value: object): value is UserInterfaceWindowIntegration;
|
|
30
|
+
export declare function UserInterfaceWindowIntegrationFromJSON(json: any): UserInterfaceWindowIntegration;
|
|
31
|
+
export declare function UserInterfaceWindowIntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInterfaceWindowIntegration;
|
|
32
|
+
export declare function UserInterfaceWindowIntegrationToJSON(json: any): UserInterfaceWindowIntegration;
|
|
33
|
+
export declare function UserInterfaceWindowIntegrationToJSONTyped(value?: UserInterfaceWindowIntegration | null, ignoreDiscriminator?: boolean): any;
|