@picteus/extension-sdk 0.8.0 → 0.9.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 +2 -2
- package/dist/picteus-ws-client/apis/CollectionApi.d.ts +167 -0
- package/dist/picteus-ws-client/apis/CollectionApi.js +188 -0
- 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 +99 -16
- package/dist/picteus-ws-client/apis/ImageApi.js +115 -13
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +1 -1
- package/dist/picteus-ws-client/apis/MiscellaneousApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/MiscellaneousApi.js +1 -1
- package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +25 -35
- package/dist/picteus-ws-client/apis/RepositoryApi.js +29 -42
- 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/apis/index.d.ts +1 -0
- package/dist/picteus-ws-client/apis/index.js +1 -0
- package/dist/picteus-ws-client/models/ApiSecret.d.ts +17 -17
- package/dist/picteus-ws-client/models/ApiSecret.js +7 -7
- package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +17 -17
- package/dist/picteus-ws-client/models/ApiSecretSummary.js +7 -7
- 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 +63 -0
- package/dist/picteus-ws-client/models/Collection.js +62 -0
- 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 +40 -0
- package/dist/picteus-ws-client/models/ConstantsRegistry.js +49 -0
- 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 +6 -5
- package/dist/picteus-ws-client/models/ExtensionImageFeature.js +4 -3
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +52 -0
- package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +57 -0
- package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +2 -2
- 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 +2 -2
- package/dist/picteus-ws-client/models/GenerationRecipe.js +4 -2
- 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 +6 -5
- package/dist/picteus-ws-client/models/ImageFeature.js +4 -3
- package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +4 -1
- package/dist/picteus-ws-client/models/ImageFeatureFormat.js +4 -1
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.d.ts +24 -0
- package/dist/picteus-ws-client/models/ImageFeatureNullValue.js +42 -0
- package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +3 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.js +3 -1
- package/dist/picteus-ws-client/models/ImageFeatureValue.d.ts +21 -0
- package/dist/picteus-ws-client/models/ImageFeatureValue.js +55 -0
- package/dist/picteus-ws-client/models/ImageFormat.d.ts +2 -2
- package/dist/picteus-ws-client/models/ImageFormat.js +2 -2
- package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
- package/dist/picteus-ws-client/models/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/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 +8 -1
- package/dist/picteus-ws-client/models/SearchCriteria.js +4 -1
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.d.ts +30 -0
- package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.js +48 -0
- package/dist/picteus-ws-client/models/SearchFeatureCondition.d.ts +60 -0
- package/dist/picteus-ws-client/models/SearchFeatureCondition.js +59 -0
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +21 -0
- package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +55 -0
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.d.ts +26 -0
- package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.js +44 -0
- package/dist/picteus-ws-client/models/SearchFeatures.d.ts +46 -0
- package/dist/picteus-ws-client/models/SearchFeatures.js +51 -0
- package/dist/picteus-ws-client/models/SearchFilter.d.ts +47 -0
- package/dist/picteus-ws-client/models/SearchFilter.js +48 -0
- package/dist/picteus-ws-client/models/SearchFilterOrigin.d.ts +27 -0
- package/dist/picteus-ws-client/models/SearchFilterOrigin.js +47 -0
- package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchImagesOrigin.js +48 -0
- package/dist/picteus-ws-client/models/SearchKeyword.d.ts +2 -2
- package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
- package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +25 -0
- package/dist/picteus-ws-client/models/SearchOriginNature.js +43 -0
- package/dist/picteus-ws-client/models/SearchProperties.d.ts +2 -2
- 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 +2 -2
- package/dist/picteus-ws-client/models/SearchRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +48 -0
- 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 +3 -3
- 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/Software.d.ts +24 -0
- package/dist/picteus-ws-client/models/Software.js +42 -0
- 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/index.d.ts +16 -0
- package/dist/picteus-ws-client/models/index.js +16 -0
- package/dist/picteus-ws-client/runtime.d.ts +1 -1
- package/dist/picteus-ws-client/runtime.js +1 -1
- package/dist/picteusExtension.d.ts +8 -4
- package/dist/picteusExtension.js +1 -1
- package/package.json +4 -4
|
@@ -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.10.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,12 +18,12 @@ import { ApiSecretTypeFromJSON, ApiSecretTypeToJSON, } from './ApiSecretType.js'
|
|
|
18
18
|
export function instanceOfApiSecretSummary(value) {
|
|
19
19
|
if (!('id' in value) || value['id'] === undefined)
|
|
20
20
|
return false;
|
|
21
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
22
|
-
return false;
|
|
23
21
|
if (!('creationDate' in value) || value['creationDate'] === undefined)
|
|
24
22
|
return false;
|
|
25
23
|
if (!('name' in value) || value['name'] === undefined)
|
|
26
24
|
return false;
|
|
25
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
26
|
+
return false;
|
|
27
27
|
return true;
|
|
28
28
|
}
|
|
29
29
|
export function ApiSecretSummaryFromJSON(json) {
|
|
@@ -35,11 +35,11 @@ export function ApiSecretSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'id': json['id'],
|
|
38
|
-
'type': ApiSecretTypeFromJSON(json['type']),
|
|
39
38
|
'creationDate': json['creationDate'],
|
|
40
|
-
'expirationDate': json['expirationDate'] == null ? undefined : json['expirationDate'],
|
|
41
39
|
'name': json['name'],
|
|
42
40
|
'comment': json['comment'] == null ? undefined : json['comment'],
|
|
41
|
+
'type': ApiSecretTypeFromJSON(json['type']),
|
|
42
|
+
'expirationDate': json['expirationDate'] == null ? undefined : json['expirationDate'],
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
export function ApiSecretSummaryToJSON(json) {
|
|
@@ -51,10 +51,10 @@ export function ApiSecretSummaryToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
51
51
|
}
|
|
52
52
|
return {
|
|
53
53
|
'id': value['id'],
|
|
54
|
-
'type': ApiSecretTypeToJSON(value['type']),
|
|
55
54
|
'creationDate': value['creationDate'],
|
|
56
|
-
'expirationDate': value['expirationDate'],
|
|
57
55
|
'name': value['name'],
|
|
58
56
|
'comment': value['comment'],
|
|
57
|
+
'type': ApiSecretTypeToJSON(value['type']),
|
|
58
|
+
'expirationDate': value['expirationDate'],
|
|
59
59
|
};
|
|
60
60
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
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 { SearchFilter } from './SearchFilter.js';
|
|
13
|
+
/**
|
|
14
|
+
* The specifications for defining a collection of images
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Collection
|
|
17
|
+
*/
|
|
18
|
+
export interface Collection {
|
|
19
|
+
/**
|
|
20
|
+
* The entity identifier
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof Collection
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
* The entity creation date
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof Collection
|
|
29
|
+
*/
|
|
30
|
+
creationDate: number;
|
|
31
|
+
/**
|
|
32
|
+
* The entity name
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Collection
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
* The entity comment
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Collection
|
|
41
|
+
*/
|
|
42
|
+
comment?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The entity creation date
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof Collection
|
|
47
|
+
*/
|
|
48
|
+
modificationDate: number;
|
|
49
|
+
/**
|
|
50
|
+
* The filter which applies for the collection
|
|
51
|
+
* @type {SearchFilter}
|
|
52
|
+
* @memberof Collection
|
|
53
|
+
*/
|
|
54
|
+
filter: SearchFilter;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the Collection interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfCollection(value: object): value is Collection;
|
|
60
|
+
export declare function CollectionFromJSON(json: any): Collection;
|
|
61
|
+
export declare function CollectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Collection;
|
|
62
|
+
export declare function CollectionToJSON(json: any): Collection;
|
|
63
|
+
export declare function CollectionToJSONTyped(value?: Collection | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
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 { SearchFilterFromJSON, SearchFilterToJSON, } from './SearchFilter.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the Collection interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfCollection(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('creationDate' in value) || value['creationDate'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('modificationDate' in value) || value['modificationDate'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('filter' in value) || value['filter'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function CollectionFromJSON(json) {
|
|
32
|
+
return CollectionFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function CollectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'creationDate': json['creationDate'],
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'comment': json['comment'] == null ? undefined : json['comment'],
|
|
43
|
+
'modificationDate': json['modificationDate'],
|
|
44
|
+
'filter': SearchFilterFromJSON(json['filter']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function CollectionToJSON(json) {
|
|
48
|
+
return CollectionToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function CollectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'creationDate': value['creationDate'],
|
|
57
|
+
'name': value['name'],
|
|
58
|
+
'comment': value['comment'],
|
|
59
|
+
'modificationDate': value['modificationDate'],
|
|
60
|
+
'filter': SearchFilterToJSON(value['filter']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.10.0
|
|
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 { Software } from './Software.js';
|
|
13
|
+
import type { ImageFeatureNullValue } from './ImageFeatureNullValue.js';
|
|
14
|
+
/**
|
|
15
|
+
* Contains the definition of all the application constants
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ConstantsRegistry
|
|
18
|
+
*/
|
|
19
|
+
export interface ConstantsRegistry {
|
|
20
|
+
/**
|
|
21
|
+
* The application name
|
|
22
|
+
* @type {Software}
|
|
23
|
+
* @memberof ConstantsRegistry
|
|
24
|
+
*/
|
|
25
|
+
applicationName: Software;
|
|
26
|
+
/**
|
|
27
|
+
* The value to pass to the image search web services to designate a 'non-null' feature value
|
|
28
|
+
* @type {ImageFeatureNullValue}
|
|
29
|
+
* @memberof ConstantsRegistry
|
|
30
|
+
*/
|
|
31
|
+
imageFeatureNullValue: ImageFeatureNullValue;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ConstantsRegistry interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfConstantsRegistry(value: object): value is ConstantsRegistry;
|
|
37
|
+
export declare function ConstantsRegistryFromJSON(json: any): ConstantsRegistry;
|
|
38
|
+
export declare function ConstantsRegistryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConstantsRegistry;
|
|
39
|
+
export declare function ConstantsRegistryToJSON(json: any): ConstantsRegistry;
|
|
40
|
+
export declare function ConstantsRegistryToJSONTyped(value?: ConstantsRegistry | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.10.0
|
|
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 { SoftwareFromJSON, SoftwareToJSON, } from './Software.js';
|
|
15
|
+
import { ImageFeatureNullValueFromJSON, ImageFeatureNullValueToJSON, } from './ImageFeatureNullValue.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ConstantsRegistry interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfConstantsRegistry(value) {
|
|
20
|
+
if (!('applicationName' in value) || value['applicationName'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('imageFeatureNullValue' in value) || value['imageFeatureNullValue'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ConstantsRegistryFromJSON(json) {
|
|
27
|
+
return ConstantsRegistryFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ConstantsRegistryFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'applicationName': SoftwareFromJSON(json['applicationName']),
|
|
35
|
+
'imageFeatureNullValue': ImageFeatureNullValueFromJSON(json['imageFeatureNullValue']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function ConstantsRegistryToJSON(json) {
|
|
39
|
+
return ConstantsRegistryToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ConstantsRegistryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'applicationName': SoftwareToJSON(value['applicationName']),
|
|
47
|
+
'imageFeatureNullValue': ImageFeatureNullValueToJSON(value['imageFeatureNullValue']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -2,17 +2,18 @@
|
|
|
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.10.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ImageFeatureValue } from './ImageFeatureValue.js';
|
|
12
13
|
import type { ImageFeatureFormat } from './ImageFeatureFormat.js';
|
|
13
14
|
import type { ImageFeatureType } from './ImageFeatureType.js';
|
|
14
15
|
/**
|
|
15
|
-
*
|
|
16
|
+
* An image feature, along with its extension identifier
|
|
16
17
|
* @export
|
|
17
18
|
* @interface ExtensionImageFeature
|
|
18
19
|
*/
|
|
@@ -36,11 +37,11 @@ export interface ExtensionImageFeature {
|
|
|
36
37
|
*/
|
|
37
38
|
name?: string;
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {
|
|
40
|
+
*
|
|
41
|
+
* @type {ImageFeatureValue}
|
|
41
42
|
* @memberof ExtensionImageFeature
|
|
42
43
|
*/
|
|
43
|
-
value:
|
|
44
|
+
value: ImageFeatureValue;
|
|
44
45
|
/**
|
|
45
46
|
* The extension identifier
|
|
46
47
|
* @type {string}
|
|
@@ -4,13 +4,14 @@
|
|
|
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.10.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { ImageFeatureValueFromJSON, ImageFeatureValueToJSON, } from './ImageFeatureValue.js';
|
|
14
15
|
import { ImageFeatureFormatFromJSON, ImageFeatureFormatToJSON, } from './ImageFeatureFormat.js';
|
|
15
16
|
import { ImageFeatureTypeFromJSON, ImageFeatureTypeToJSON, } from './ImageFeatureType.js';
|
|
16
17
|
/**
|
|
@@ -38,7 +39,7 @@ export function ExtensionImageFeatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
'type': ImageFeatureTypeFromJSON(json['type']),
|
|
39
40
|
'format': ImageFeatureFormatFromJSON(json['format']),
|
|
40
41
|
'name': json['name'] == null ? undefined : json['name'],
|
|
41
|
-
'value': json['value'],
|
|
42
|
+
'value': ImageFeatureValueFromJSON(json['value']),
|
|
42
43
|
'id': json['id'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
@@ -53,7 +54,7 @@ export function ExtensionImageFeatureToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
53
54
|
'type': ImageFeatureTypeToJSON(value['type']),
|
|
54
55
|
'format': ImageFeatureFormatToJSON(value['format']),
|
|
55
56
|
'name': value['name'],
|
|
56
|
-
'value': value['value'],
|
|
57
|
+
'value': ImageFeatureValueToJSON(value['value']),
|
|
57
58
|
'id': value['id'],
|
|
58
59
|
};
|
|
59
60
|
}
|