@picteus/extension-sdk 0.3.3 → 0.4.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 +138 -0
- package/dist/picteus-ws-client/apis/ApiSecretApi.js +156 -0
- 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/MiscellaneousApi.d.ts +98 -0
- package/dist/picteus-ws-client/apis/MiscellaneousApi.js +114 -0
- 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/apis/index.d.ts +2 -2
- package/dist/picteus-ws-client/apis/index.js +2 -2
- package/dist/picteus-ws-client/models/ApiSecret.d.ts +75 -0
- package/dist/picteus-ws-client/models/ApiSecret.js +66 -0
- package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +63 -0
- package/dist/picteus-ws-client/models/ApiSecretSummary.js +60 -0
- package/dist/picteus-ws-client/models/ApiSecretType.d.ts +25 -0
- package/dist/picteus-ws-client/models/ApiSecretType.js +43 -0
- 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 +9 -1
- package/dist/picteus-ws-client/models/index.js +9 -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 +7 -2
- package/dist/picteusExtension.js +33 -8
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.4.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 { ImageFormat } from './ImageFormat.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ComputedImageFormat
|
|
17
|
+
*/
|
|
18
|
+
export interface ComputedImageFormat {
|
|
19
|
+
/**
|
|
20
|
+
* The value
|
|
21
|
+
* @type {ImageFormat}
|
|
22
|
+
* @memberof ComputedImageFormat
|
|
23
|
+
*/
|
|
24
|
+
value: ImageFormat;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ComputedImageFormat interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfComputedImageFormat(value: object): value is ComputedImageFormat;
|
|
30
|
+
export declare function ComputedImageFormatFromJSON(json: any): ComputedImageFormat;
|
|
31
|
+
export declare function ComputedImageFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComputedImageFormat;
|
|
32
|
+
export declare function ComputedImageFormatToJSON(json: any): ComputedImageFormat;
|
|
33
|
+
export declare function ComputedImageFormatToJSONTyped(value?: ComputedImageFormat | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.4.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 { ImageFormatFromJSON, ImageFormatToJSON, } from './ImageFormat.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ComputedImageFormat interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfComputedImageFormat(value) {
|
|
19
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function ComputedImageFormatFromJSON(json) {
|
|
24
|
+
return ComputedImageFormatFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function ComputedImageFormatFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'value': ImageFormatFromJSON(json['value']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function ComputedImageFormatToJSON(json) {
|
|
35
|
+
return ComputedImageFormatToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function ComputedImageFormatToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'value': ImageFormatToJSON(value['value']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -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.4.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -70,6 +70,12 @@ export interface Image {
|
|
|
70
70
|
* @memberof Image
|
|
71
71
|
*/
|
|
72
72
|
mimeType: string;
|
|
73
|
+
/**
|
|
74
|
+
* The image URI
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof Image
|
|
77
|
+
*/
|
|
78
|
+
uri: string;
|
|
73
79
|
/**
|
|
74
80
|
* The image URL
|
|
75
81
|
* @type {string}
|
|
@@ -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.4.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -36,6 +36,8 @@ export function instanceOfImage(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
+
if (!('uri' in value) || value['uri'] === undefined)
|
|
40
|
+
return false;
|
|
39
41
|
if (!('url' in value) || value['url'] === undefined)
|
|
40
42
|
return false;
|
|
41
43
|
if (!('sizeInBytes' in value) || value['sizeInBytes'] === undefined)
|
|
@@ -70,6 +72,7 @@ export function ImageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
70
72
|
'name': json['name'],
|
|
71
73
|
'format': ImageFormatFromJSON(json['format']),
|
|
72
74
|
'mimeType': json['mimeType'],
|
|
75
|
+
'uri': json['uri'],
|
|
73
76
|
'url': json['url'],
|
|
74
77
|
'sourceUrl': json['sourceUrl'] == null ? undefined : json['sourceUrl'],
|
|
75
78
|
'sizeInBytes': json['sizeInBytes'],
|
|
@@ -97,6 +100,7 @@ export function ImageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
97
100
|
'name': value['name'],
|
|
98
101
|
'format': ImageFormatToJSON(value['format']),
|
|
99
102
|
'mimeType': value['mimeType'],
|
|
103
|
+
'uri': value['uri'],
|
|
100
104
|
'url': value['url'],
|
|
101
105
|
'sourceUrl': value['sourceUrl'],
|
|
102
106
|
'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.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: edouard@koppasoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,6 +17,7 @@ export declare const ImageFeatureType: {
|
|
|
17
17
|
readonly Caption: "caption";
|
|
18
18
|
readonly Description: "description";
|
|
19
19
|
readonly Metadata: "metadata";
|
|
20
|
+
readonly Recipe: "recipe";
|
|
20
21
|
readonly Other: "other";
|
|
21
22
|
};
|
|
22
23
|
export type ImageFeatureType = typeof ImageFeatureType[keyof typeof ImageFeatureType];
|
|
@@ -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.4.0
|
|
8
8
|
* Contact: edouard@koppasoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,6 +19,7 @@ export const ImageFeatureType = {
|
|
|
19
19
|
Caption: 'caption',
|
|
20
20
|
Description: 'description',
|
|
21
21
|
Metadata: 'metadata',
|
|
22
|
+
Recipe: 'recipe',
|
|
22
23
|
Other: 'other'
|
|
23
24
|
};
|
|
24
25
|
export function instanceOfImageFeatureType(value) {
|