@picteus/extension-sdk 0.3.3 → 0.3.4
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/ExperimentApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/ExperimentApi.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 +68 -30
- package/dist/picteus-ws-client/apis/ImageApi.js +81 -24
- 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/PingApi.d.ts +1 -1
- package/dist/picteus-ws-client/apis/PingApi.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/Automatic1111Instruction.d.ts +1 -1
- package/dist/picteus-ws-client/models/Automatic1111Instruction.js +1 -1
- package/dist/picteus-ws-client/models/Automatic1111UserComment.d.ts +1 -1
- package/dist/picteus-ws-client/models/Automatic1111UserComment.js +1 -1
- package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.d.ts +1 -1
- package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.js +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
- package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
- package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +33 -0
- package/dist/picteus-ws-client/models/ComputedImageFormat.js +44 -0
- package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +1 -1
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
- package/dist/picteus-ws-client/models/Dates.d.ts +1 -1
- package/dist/picteus-ws-client/models/Dates.js +1 -1
- package/dist/picteus-ws-client/models/Extension.d.ts +1 -1
- package/dist/picteus-ws-client/models/Extension.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionActivityKind.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionStatus.js +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
- package/dist/picteus-ws-client/models/Image.d.ts +7 -1
- package/dist/picteus-ws-client/models/Image.js +5 -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/ImageFeatureType.d.ts +2 -1
- package/dist/picteus-ws-client/models/ImageFeatureType.js +2 -1
- package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageFormat.js +1 -1
- package/dist/picteus-ws-client/models/ImageGenerator.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageGenerator.js +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
- package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
- package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +25 -0
- package/dist/picteus-ws-client/models/ImageResizeRender.js +43 -0
- package/dist/picteus-ws-client/models/ImageSummary.d.ts +7 -1
- package/dist/picteus-ws-client/models/ImageSummary.js +5 -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/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 +2 -1
- package/dist/picteus-ws-client/models/ManifestEvent.js +2 -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 +6 -6
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +6 -8
- 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 +44 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +51 -0
- package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
- package/dist/picteus-ws-client/models/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/ManifestUserInterface.d.ts +1 -1
- package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
- package/dist/picteus-ws-client/models/MidjourneyInstructions.d.ts +1 -1
- package/dist/picteus-ws-client/models/MidjourneyInstructions.js +1 -1
- package/dist/picteus-ws-client/models/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 +16 -2
- package/dist/picteus-ws-client/models/SearchCriteria.js +7 -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/SearchProperties.d.ts +57 -0
- package/dist/picteus-ws-client/models/SearchProperties.js +50 -0
- package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +38 -0
- package/dist/picteus-ws-client/models/SearchPropertyRange.js +43 -0
- package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchRange.js +1 -1
- package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
- package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
- package/dist/picteus-ws-client/models/SearchTags.d.ts +32 -0
- package/dist/picteus-ws-client/models/SearchTags.js +43 -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/UserInterfaceAnchor.d.ts +1 -1
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
- package/dist/picteus-ws-client/models/index.d.ts +6 -1
- package/dist/picteus-ws-client/models/index.js +6 -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 +4 -2
- package/dist/picteusExtension.js +24 -8
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.
|
|
7
|
+
* The version of the OpenAPI document: 0.3.5
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,6 +33,8 @@ export function instanceOfImageSummary(value) {
|
|
|
33
33
|
return false;
|
|
34
34
|
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
35
35
|
return false;
|
|
36
|
+
if (!('uri' in value) || value['uri'] === undefined)
|
|
37
|
+
return false;
|
|
36
38
|
if (!('url' in value) || value['url'] === undefined)
|
|
37
39
|
return false;
|
|
38
40
|
if (!('sizeInBytes' in value) || value['sizeInBytes'] === undefined)
|
|
@@ -61,6 +63,7 @@ export function ImageSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
63
|
'name': json['name'],
|
|
62
64
|
'format': ImageFormatFromJSON(json['format']),
|
|
63
65
|
'mimeType': json['mimeType'],
|
|
66
|
+
'uri': json['uri'],
|
|
64
67
|
'url': json['url'],
|
|
65
68
|
'sourceUrl': json['sourceUrl'] == null ? undefined : json['sourceUrl'],
|
|
66
69
|
'sizeInBytes': json['sizeInBytes'],
|
|
@@ -85,6 +88,7 @@ export function ImageSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
85
88
|
'name': value['name'],
|
|
86
89
|
'format': ImageFormatToJSON(value['format']),
|
|
87
90
|
'mimeType': value['mimeType'],
|
|
91
|
+
'uri': value['uri'],
|
|
88
92
|
'url': value['url'],
|
|
89
93
|
'sourceUrl': value['sourceUrl'],
|
|
90
94
|
'sizeInBytes': value['sizeInBytes'],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.3.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.5
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
export declare const ManifestEvent: {
|
|
17
17
|
readonly ProcessStarted: "process.started";
|
|
18
18
|
readonly ProcessRunCommand: "process.runCommand";
|
|
19
|
+
readonly ExtensionSettings: "extension.settings";
|
|
19
20
|
readonly ImageCreated: "image.created";
|
|
20
21
|
readonly ImageUpdated: "image.updated";
|
|
21
22
|
readonly ImageDeleted: "image.deleted";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.
|
|
7
|
+
* The version of the OpenAPI document: 0.3.5
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
export const ManifestEvent = {
|
|
19
19
|
ProcessStarted: 'process.started',
|
|
20
20
|
ProcessRunCommand: 'process.runCommand',
|
|
21
|
+
ExtensionSettings: 'extension.settings',
|
|
21
22
|
ImageCreated: 'image.created',
|
|
22
23
|
ImageUpdated: 'image.updated',
|
|
23
24
|
ImageDeleted: 'image.deleted',
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.3.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.5
|
|
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 { ManifestExtensionCommandSpecification } from './ManifestExtensionCommandSpecification.js';
|
|
12
13
|
import type { ManifestExtensionCommandOn } from './ManifestExtensionCommandOn.js';
|
|
13
|
-
import type { ManifestExtensionCommandLabel } from './ManifestExtensionCommandLabel.js';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -34,13 +34,13 @@ export interface ManifestExtensionCommand {
|
|
|
34
34
|
* @type {object}
|
|
35
35
|
* @memberof ManifestExtensionCommand
|
|
36
36
|
*/
|
|
37
|
-
parameters
|
|
37
|
+
parameters?: object;
|
|
38
38
|
/**
|
|
39
|
-
* The
|
|
40
|
-
* @type {Array<
|
|
39
|
+
* The specifications for the command
|
|
40
|
+
* @type {Array<ManifestExtensionCommandSpecification>}
|
|
41
41
|
* @memberof ManifestExtensionCommand
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
specifications: Array<ManifestExtensionCommandSpecification>;
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* Check if a given object implements the ManifestExtensionCommand interface.
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
* Picteus
|
|
5
5
|
* The Picteus API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.
|
|
7
|
+
* The version of the OpenAPI document: 0.3.5
|
|
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 { ManifestExtensionCommandSpecificationFromJSON, ManifestExtensionCommandSpecificationToJSON, } from './ManifestExtensionCommandSpecification.js';
|
|
14
15
|
import { ManifestExtensionCommandOnFromJSON, ManifestExtensionCommandOnToJSON, } from './ManifestExtensionCommandOn.js';
|
|
15
|
-
import { ManifestExtensionCommandLabelFromJSON, ManifestExtensionCommandLabelToJSON, } from './ManifestExtensionCommandLabel.js';
|
|
16
16
|
/**
|
|
17
17
|
* Check if a given object implements the ManifestExtensionCommand interface.
|
|
18
18
|
*/
|
|
@@ -21,9 +21,7 @@ export function instanceOfManifestExtensionCommand(value) {
|
|
|
21
21
|
return false;
|
|
22
22
|
if (!('on' in value) || value['on'] === undefined)
|
|
23
23
|
return false;
|
|
24
|
-
if (!('
|
|
25
|
-
return false;
|
|
26
|
-
if (!('labels' in value) || value['labels'] === undefined)
|
|
24
|
+
if (!('specifications' in value) || value['specifications'] === undefined)
|
|
27
25
|
return false;
|
|
28
26
|
return true;
|
|
29
27
|
}
|
|
@@ -37,8 +35,8 @@ export function ManifestExtensionCommandFromJSONTyped(json, ignoreDiscriminator)
|
|
|
37
35
|
return {
|
|
38
36
|
'id': json['id'],
|
|
39
37
|
'on': ManifestExtensionCommandOnFromJSON(json['on']),
|
|
40
|
-
'parameters': json['parameters'],
|
|
41
|
-
'
|
|
38
|
+
'parameters': json['parameters'] == null ? undefined : json['parameters'],
|
|
39
|
+
'specifications': (json['specifications'].map(ManifestExtensionCommandSpecificationFromJSON)),
|
|
42
40
|
};
|
|
43
41
|
}
|
|
44
42
|
export function ManifestExtensionCommandToJSON(json) {
|
|
@@ -52,6 +50,6 @@ export function ManifestExtensionCommandToJSONTyped(value, ignoreDiscriminator =
|
|
|
52
50
|
'id': value['id'],
|
|
53
51
|
'on': ManifestExtensionCommandOnToJSON(value['on']),
|
|
54
52
|
'parameters': value['parameters'],
|
|
55
|
-
'
|
|
53
|
+
'specifications': (value['specifications'].map(ManifestExtensionCommandSpecificationToJSON)),
|
|
56
54
|
};
|
|
57
55
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.3.5
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ManifestExtensionCommandSpecification
|
|
16
|
+
*/
|
|
17
|
+
export interface ManifestExtensionCommandSpecification {
|
|
18
|
+
/**
|
|
19
|
+
* The locale the specification applies on
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ManifestExtensionCommandSpecification
|
|
22
|
+
*/
|
|
23
|
+
locale: string;
|
|
24
|
+
/**
|
|
25
|
+
* The command label for the corresponding locale
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ManifestExtensionCommandSpecification
|
|
28
|
+
*/
|
|
29
|
+
label: string;
|
|
30
|
+
/**
|
|
31
|
+
* The command description for the corresponding locale
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ManifestExtensionCommandSpecification
|
|
34
|
+
*/
|
|
35
|
+
description: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ManifestExtensionCommandSpecification interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfManifestExtensionCommandSpecification(value: object): value is ManifestExtensionCommandSpecification;
|
|
41
|
+
export declare function ManifestExtensionCommandSpecificationFromJSON(json: any): ManifestExtensionCommandSpecification;
|
|
42
|
+
export declare function ManifestExtensionCommandSpecificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManifestExtensionCommandSpecification;
|
|
43
|
+
export declare function ManifestExtensionCommandSpecificationToJSON(json: any): ManifestExtensionCommandSpecification;
|
|
44
|
+
export declare function ManifestExtensionCommandSpecificationToJSONTyped(value?: ManifestExtensionCommandSpecification | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.3.5
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the ManifestExtensionCommandSpecification interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfManifestExtensionCommandSpecification(value) {
|
|
18
|
+
if (!('locale' in value) || value['locale'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ManifestExtensionCommandSpecificationFromJSON(json) {
|
|
27
|
+
return ManifestExtensionCommandSpecificationFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ManifestExtensionCommandSpecificationFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'locale': json['locale'],
|
|
35
|
+
'label': json['label'],
|
|
36
|
+
'description': json['description'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ManifestExtensionCommandSpecificationToJSON(json) {
|
|
40
|
+
return ManifestExtensionCommandSpecificationToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ManifestExtensionCommandSpecificationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'locale': value['locale'],
|
|
48
|
+
'label': value['label'],
|
|
49
|
+
'description': value['description'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
* Picteus
|
|
3
3
|
* The Picteus API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.3.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.5
|
|
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 { SearchProperties } from './SearchProperties.js';
|
|
13
|
+
import type { SearchTags } from './SearchTags.js';
|
|
12
14
|
import type { ImageGenerator } from './ImageGenerator.js';
|
|
13
15
|
import type { SearchKeyword } from './SearchKeyword.js';
|
|
14
16
|
import type { ImageFormat } from './ImageFormat.js';
|
|
@@ -25,11 +27,23 @@ export interface SearchCriteria {
|
|
|
25
27
|
*/
|
|
26
28
|
formats?: Array<ImageFormat>;
|
|
27
29
|
/**
|
|
28
|
-
* A filter
|
|
30
|
+
* A filter which limits the result entities with the provided text specifications
|
|
29
31
|
* @type {SearchKeyword}
|
|
30
32
|
* @memberof SearchCriteria
|
|
31
33
|
*/
|
|
32
34
|
keyword?: SearchKeyword;
|
|
35
|
+
/**
|
|
36
|
+
* A filter which limits the result entities with the provided tags specifications
|
|
37
|
+
* @type {SearchTags}
|
|
38
|
+
* @memberof SearchCriteria
|
|
39
|
+
*/
|
|
40
|
+
tags?: SearchTags;
|
|
41
|
+
/**
|
|
42
|
+
* A filter which limits the result entities with the provided technical properties
|
|
43
|
+
* @type {SearchProperties}
|
|
44
|
+
* @memberof SearchCriteria
|
|
45
|
+
*/
|
|
46
|
+
properties?: SearchProperties;
|
|
33
47
|
/**
|
|
34
48
|
* A filter used by the search which will limit the result entities to the provided generator used to produce the image
|
|
35
49
|
* @type {ImageGenerator}
|