@picteus/extension-sdk 0.2.5
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/README.md +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +48 -0
- package/dist/picteus-ws-client/apis/AdministrationApi.js +45 -0
- package/dist/picteus-ws-client/apis/ExperimentApi.d.ts +48 -0
- package/dist/picteus-ws-client/apis/ExperimentApi.js +51 -0
- package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +410 -0
- package/dist/picteus-ws-client/apis/ExtensionApi.js +482 -0
- package/dist/picteus-ws-client/apis/ImageApi.d.ts +593 -0
- package/dist/picteus-ws-client/apis/ImageApi.js +729 -0
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +85 -0
- package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +105 -0
- package/dist/picteus-ws-client/apis/PingApi.d.ts +48 -0
- package/dist/picteus-ws-client/apis/PingApi.js +51 -0
- package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +385 -0
- package/dist/picteus-ws-client/apis/RepositoryApi.js +462 -0
- package/dist/picteus-ws-client/apis/SettingsApi.d.ts +76 -0
- package/dist/picteus-ws-client/apis/SettingsApi.js +80 -0
- package/dist/picteus-ws-client/apis/index.d.ts +8 -0
- package/dist/picteus-ws-client/apis/index.js +10 -0
- package/dist/picteus-ws-client/index.d.ts +3 -0
- package/dist/picteus-ws-client/index.js +5 -0
- package/dist/picteus-ws-client/models/Automatic1111Instruction.d.ts +38 -0
- package/dist/picteus-ws-client/models/Automatic1111Instruction.js +47 -0
- package/dist/picteus-ws-client/models/Automatic1111UserComment.d.ts +45 -0
- package/dist/picteus-ws-client/models/Automatic1111UserComment.js +50 -0
- package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.d.ts +38 -0
- package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.js +47 -0
- package/dist/picteus-ws-client/models/CommandEntity.d.ts +26 -0
- package/dist/picteus-ws-client/models/CommandEntity.js +44 -0
- package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +39 -0
- package/dist/picteus-ws-client/models/ConfigurationCapability.js +48 -0
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +39 -0
- package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +48 -0
- package/dist/picteus-ws-client/models/Dates.d.ts +38 -0
- package/dist/picteus-ws-client/models/Dates.js +47 -0
- package/dist/picteus-ws-client/models/Extension.d.ts +40 -0
- package/dist/picteus-ws-client/models/Extension.js +49 -0
- package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +39 -0
- package/dist/picteus-ws-client/models/ExtensionActivity.js +48 -0
- package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +26 -0
- package/dist/picteus-ws-client/models/ExtensionActivityKind.js +44 -0
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +63 -0
- package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +64 -0
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +38 -0
- package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +47 -0
- package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +58 -0
- package/dist/picteus-ws-client/models/ExtensionImageFeature.js +59 -0
- package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +38 -0
- package/dist/picteus-ws-client/models/ExtensionImageTag.js +47 -0
- package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +32 -0
- package/dist/picteus-ws-client/models/ExtensionSettings.js +43 -0
- package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +25 -0
- package/dist/picteus-ws-client/models/ExtensionStatus.js +43 -0
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +40 -0
- package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +49 -0
- package/dist/picteus-ws-client/models/Image.d.ts +135 -0
- package/dist/picteus-ws-client/models/Image.js +110 -0
- package/dist/picteus-ws-client/models/ImageDimensions.d.ts +38 -0
- package/dist/picteus-ws-client/models/ImageDimensions.js +47 -0
- package/dist/picteus-ws-client/models/ImageDistance.d.ts +39 -0
- package/dist/picteus-ws-client/models/ImageDistance.js +48 -0
- package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +32 -0
- package/dist/picteus-ws-client/models/ImageEmbeddings.js +43 -0
- package/dist/picteus-ws-client/models/ImageFeature.d.ts +52 -0
- package/dist/picteus-ws-client/models/ImageFeature.js +55 -0
- package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +29 -0
- package/dist/picteus-ws-client/models/ImageFeatureFormat.js +47 -0
- package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +27 -0
- package/dist/picteus-ws-client/models/ImageFeatureType.js +45 -0
- package/dist/picteus-ws-client/models/ImageFormat.d.ts +29 -0
- package/dist/picteus-ws-client/models/ImageFormat.js +47 -0
- package/dist/picteus-ws-client/models/ImageGenerator.d.ts +26 -0
- package/dist/picteus-ws-client/models/ImageGenerator.js +44 -0
- package/dist/picteus-ws-client/models/ImageMetadata.d.ts +68 -0
- package/dist/picteus-ws-client/models/ImageMetadata.js +53 -0
- package/dist/picteus-ws-client/models/ImageSummary.d.ts +114 -0
- package/dist/picteus-ws-client/models/ImageSummary.js +95 -0
- package/dist/picteus-ws-client/models/ImageSummaryList.d.ts +39 -0
- package/dist/picteus-ws-client/models/ImageSummaryList.js +48 -0
- package/dist/picteus-ws-client/models/Manifest.d.ts +77 -0
- package/dist/picteus-ws-client/models/Manifest.js +72 -0
- package/dist/picteus-ws-client/models/ManifestCapability.d.ts +33 -0
- package/dist/picteus-ws-client/models/ManifestCapability.js +44 -0
- package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +27 -0
- package/dist/picteus-ws-client/models/ManifestCapabilityId.js +45 -0
- package/dist/picteus-ws-client/models/ManifestEvent.d.ts +33 -0
- package/dist/picteus-ws-client/models/ManifestEvent.js +51 -0
- package/dist/picteus-ws-client/models/ManifestExecution.d.ts +38 -0
- package/dist/picteus-ws-client/models/ManifestExecution.js +47 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +52 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +57 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommandLabel.d.ts +38 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommandLabel.js +47 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +39 -0
- package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +46 -0
- package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +54 -0
- package/dist/picteus-ws-client/models/ManifestInstructions.js +55 -0
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +39 -0
- package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +48 -0
- package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +33 -0
- package/dist/picteus-ws-client/models/ManifestRuntime.js +44 -0
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +25 -0
- package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +43 -0
- package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +33 -0
- package/dist/picteus-ws-client/models/ManifestUserInterface.js +44 -0
- package/dist/picteus-ws-client/models/MidjourneyInstructions.d.ts +74 -0
- package/dist/picteus-ws-client/models/MidjourneyInstructions.js +71 -0
- package/dist/picteus-ws-client/models/Repository.d.ts +82 -0
- package/dist/picteus-ws-client/models/Repository.js +73 -0
- package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +39 -0
- package/dist/picteus-ws-client/models/RepositoryActivity.js +48 -0
- package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +26 -0
- package/dist/picteus-ws-client/models/RepositoryActivityKind.js +44 -0
- package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +24 -0
- package/dist/picteus-ws-client/models/RepositoryLocationType.js +42 -0
- package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +27 -0
- package/dist/picteus-ws-client/models/RepositoryStatus.js +45 -0
- package/dist/picteus-ws-client/models/SearchCriteria.d.ts +47 -0
- package/dist/picteus-ws-client/models/SearchCriteria.js +48 -0
- package/dist/picteus-ws-client/models/SearchKeyword.d.ts +50 -0
- package/dist/picteus-ws-client/models/SearchKeyword.js +55 -0
- package/dist/picteus-ws-client/models/SearchRange.d.ts +38 -0
- package/dist/picteus-ws-client/models/SearchRange.js +43 -0
- package/dist/picteus-ws-client/models/SearchSorting.d.ts +39 -0
- package/dist/picteus-ws-client/models/SearchSorting.js +46 -0
- package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +29 -0
- package/dist/picteus-ws-client/models/SearchSortingProperty.js +47 -0
- package/dist/picteus-ws-client/models/Settings.d.ts +32 -0
- package/dist/picteus-ws-client/models/Settings.js +41 -0
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +26 -0
- package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +44 -0
- package/dist/picteus-ws-client/models/index.d.ts +55 -0
- package/dist/picteus-ws-client/models/index.js +57 -0
- package/dist/picteus-ws-client/runtime.d.ts +184 -0
- package/dist/picteus-ws-client/runtime.js +333 -0
- package/dist/picteusExtension.d.ts +145 -0
- package/dist/picteusExtension.js +302 -0
- package/package.json +53 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.2.6
|
|
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 Automatic1111Instruction
|
|
16
|
+
*/
|
|
17
|
+
export interface Automatic1111Instruction {
|
|
18
|
+
/**
|
|
19
|
+
* The instruction key
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Automatic1111Instruction
|
|
22
|
+
*/
|
|
23
|
+
key: string;
|
|
24
|
+
/**
|
|
25
|
+
* The instruction value
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Automatic1111Instruction
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the Automatic1111Instruction interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAutomatic1111Instruction(value: object): value is Automatic1111Instruction;
|
|
35
|
+
export declare function Automatic1111InstructionFromJSON(json: any): Automatic1111Instruction;
|
|
36
|
+
export declare function Automatic1111InstructionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Automatic1111Instruction;
|
|
37
|
+
export declare function Automatic1111InstructionToJSON(json: any): Automatic1111Instruction;
|
|
38
|
+
export declare function Automatic1111InstructionToJSONTyped(value?: Automatic1111Instruction | 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.2.6
|
|
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 Automatic1111Instruction interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAutomatic1111Instruction(value) {
|
|
18
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function Automatic1111InstructionFromJSON(json) {
|
|
25
|
+
return Automatic1111InstructionFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function Automatic1111InstructionFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'key': json['key'],
|
|
33
|
+
'value': json['value'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function Automatic1111InstructionToJSON(json) {
|
|
37
|
+
return Automatic1111InstructionToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function Automatic1111InstructionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'key': value['key'],
|
|
45
|
+
'value': value['value'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.2.6
|
|
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 { Automatic1111Instruction } from './Automatic1111Instruction.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Automatic1111UserComment
|
|
17
|
+
*/
|
|
18
|
+
export interface Automatic1111UserComment {
|
|
19
|
+
/**
|
|
20
|
+
* The positive prompt
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Automatic1111UserComment
|
|
23
|
+
*/
|
|
24
|
+
positive: string;
|
|
25
|
+
/**
|
|
26
|
+
* The negative prompt
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Automatic1111UserComment
|
|
29
|
+
*/
|
|
30
|
+
negative?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The generation instructions
|
|
33
|
+
* @type {Array<Automatic1111Instruction>}
|
|
34
|
+
* @memberof Automatic1111UserComment
|
|
35
|
+
*/
|
|
36
|
+
instructions: Array<Automatic1111Instruction>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the Automatic1111UserComment interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfAutomatic1111UserComment(value: object): value is Automatic1111UserComment;
|
|
42
|
+
export declare function Automatic1111UserCommentFromJSON(json: any): Automatic1111UserComment;
|
|
43
|
+
export declare function Automatic1111UserCommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Automatic1111UserComment;
|
|
44
|
+
export declare function Automatic1111UserCommentToJSON(json: any): Automatic1111UserComment;
|
|
45
|
+
export declare function Automatic1111UserCommentToJSONTyped(value?: Automatic1111UserComment | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Picteus
|
|
5
|
+
* The Picteus API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.2.6
|
|
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 { Automatic1111InstructionFromJSON, Automatic1111InstructionToJSON, } from './Automatic1111Instruction.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the Automatic1111UserComment interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfAutomatic1111UserComment(value) {
|
|
19
|
+
if (!('positive' in value) || value['positive'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('instructions' in value) || value['instructions'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function Automatic1111UserCommentFromJSON(json) {
|
|
26
|
+
return Automatic1111UserCommentFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function Automatic1111UserCommentFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'positive': json['positive'],
|
|
34
|
+
'negative': json['negative'] == null ? undefined : json['negative'],
|
|
35
|
+
'instructions': (json['instructions'].map(Automatic1111InstructionFromJSON)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function Automatic1111UserCommentToJSON(json) {
|
|
39
|
+
return Automatic1111UserCommentToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function Automatic1111UserCommentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'positive': value['positive'],
|
|
47
|
+
'negative': value['negative'],
|
|
48
|
+
'instructions': (value['instructions'].map(Automatic1111InstructionToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.2.6
|
|
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 ComfyUiPromptAndWorkflow
|
|
16
|
+
*/
|
|
17
|
+
export interface ComfyUiPromptAndWorkflow {
|
|
18
|
+
/**
|
|
19
|
+
* The ComfyUI prompt, which is a JSON stringified string
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ComfyUiPromptAndWorkflow
|
|
22
|
+
*/
|
|
23
|
+
prompt: string;
|
|
24
|
+
/**
|
|
25
|
+
* The ComfyUI workflow, which is a JSON stringified string
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ComfyUiPromptAndWorkflow
|
|
28
|
+
*/
|
|
29
|
+
workflow: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ComfyUiPromptAndWorkflow interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfComfyUiPromptAndWorkflow(value: object): value is ComfyUiPromptAndWorkflow;
|
|
35
|
+
export declare function ComfyUiPromptAndWorkflowFromJSON(json: any): ComfyUiPromptAndWorkflow;
|
|
36
|
+
export declare function ComfyUiPromptAndWorkflowFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComfyUiPromptAndWorkflow;
|
|
37
|
+
export declare function ComfyUiPromptAndWorkflowToJSON(json: any): ComfyUiPromptAndWorkflow;
|
|
38
|
+
export declare function ComfyUiPromptAndWorkflowToJSONTyped(value?: ComfyUiPromptAndWorkflow | 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.2.6
|
|
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 ComfyUiPromptAndWorkflow interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfComfyUiPromptAndWorkflow(value) {
|
|
18
|
+
if (!('prompt' in value) || value['prompt'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('workflow' in value) || value['workflow'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ComfyUiPromptAndWorkflowFromJSON(json) {
|
|
25
|
+
return ComfyUiPromptAndWorkflowFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ComfyUiPromptAndWorkflowFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'prompt': json['prompt'],
|
|
33
|
+
'workflow': json['workflow'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ComfyUiPromptAndWorkflowToJSON(json) {
|
|
37
|
+
return ComfyUiPromptAndWorkflowToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ComfyUiPromptAndWorkflowToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'prompt': value['prompt'],
|
|
45
|
+
'workflow': value['workflow'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.2.6
|
|
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
|
+
* The entity the command applies to
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const CommandEntity: {
|
|
17
|
+
readonly Process: "Process";
|
|
18
|
+
readonly Images: "Images";
|
|
19
|
+
readonly Image: "Image";
|
|
20
|
+
};
|
|
21
|
+
export type CommandEntity = typeof CommandEntity[keyof typeof CommandEntity];
|
|
22
|
+
export declare function instanceOfCommandEntity(value: any): boolean;
|
|
23
|
+
export declare function CommandEntityFromJSON(json: any): CommandEntity;
|
|
24
|
+
export declare function CommandEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommandEntity;
|
|
25
|
+
export declare function CommandEntityToJSON(value?: CommandEntity | null): any;
|
|
26
|
+
export declare function CommandEntityToJSONTyped(value: any, ignoreDiscriminator: boolean): CommandEntity;
|
|
@@ -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.2.6
|
|
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
|
+
* The entity the command applies to
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const CommandEntity = {
|
|
19
|
+
Process: 'Process',
|
|
20
|
+
Images: 'Images',
|
|
21
|
+
Image: 'Image'
|
|
22
|
+
};
|
|
23
|
+
export function instanceOfCommandEntity(value) {
|
|
24
|
+
for (const key in CommandEntity) {
|
|
25
|
+
if (Object.prototype.hasOwnProperty.call(CommandEntity, key)) {
|
|
26
|
+
if (CommandEntity[key] === value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
export function CommandEntityFromJSON(json) {
|
|
34
|
+
return CommandEntityFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function CommandEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
export function CommandEntityToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
export function CommandEntityToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.2.6
|
|
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 { ManifestCapability } from './ManifestCapability.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ConfigurationCapability
|
|
17
|
+
*/
|
|
18
|
+
export interface ConfigurationCapability {
|
|
19
|
+
/**
|
|
20
|
+
* The capability
|
|
21
|
+
* @type {ManifestCapability}
|
|
22
|
+
* @memberof ConfigurationCapability
|
|
23
|
+
*/
|
|
24
|
+
capability: ManifestCapability;
|
|
25
|
+
/**
|
|
26
|
+
* The extensions which support the capability
|
|
27
|
+
* @type {Array<string>}
|
|
28
|
+
* @memberof ConfigurationCapability
|
|
29
|
+
*/
|
|
30
|
+
extensionIds: Array<string>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ConfigurationCapability interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfConfigurationCapability(value: object): value is ConfigurationCapability;
|
|
36
|
+
export declare function ConfigurationCapabilityFromJSON(json: any): ConfigurationCapability;
|
|
37
|
+
export declare function ConfigurationCapabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConfigurationCapability;
|
|
38
|
+
export declare function ConfigurationCapabilityToJSON(json: any): ConfigurationCapability;
|
|
39
|
+
export declare function ConfigurationCapabilityToJSONTyped(value?: ConfigurationCapability | 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.2.6
|
|
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 { ManifestCapabilityFromJSON, ManifestCapabilityToJSON, } from './ManifestCapability.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ConfigurationCapability interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfConfigurationCapability(value) {
|
|
19
|
+
if (!('capability' in value) || value['capability'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('extensionIds' in value) || value['extensionIds'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ConfigurationCapabilityFromJSON(json) {
|
|
26
|
+
return ConfigurationCapabilityFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ConfigurationCapabilityFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'capability': ManifestCapabilityFromJSON(json['capability']),
|
|
34
|
+
'extensionIds': json['extensionIds'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ConfigurationCapabilityToJSON(json) {
|
|
38
|
+
return ConfigurationCapabilityToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ConfigurationCapabilityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'capability': ManifestCapabilityToJSON(value['capability']),
|
|
46
|
+
'extensionIds': value['extensionIds'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.2.6
|
|
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 { ManifestExtensionCommand } from './ManifestExtensionCommand.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ConfigurationExtensionCommand
|
|
17
|
+
*/
|
|
18
|
+
export interface ConfigurationExtensionCommand {
|
|
19
|
+
/**
|
|
20
|
+
* The identifier of the extension
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ConfigurationExtensionCommand
|
|
23
|
+
*/
|
|
24
|
+
extensionId: string;
|
|
25
|
+
/**
|
|
26
|
+
* A command of the extension
|
|
27
|
+
* @type {ManifestExtensionCommand}
|
|
28
|
+
* @memberof ConfigurationExtensionCommand
|
|
29
|
+
*/
|
|
30
|
+
command: ManifestExtensionCommand;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ConfigurationExtensionCommand interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfConfigurationExtensionCommand(value: object): value is ConfigurationExtensionCommand;
|
|
36
|
+
export declare function ConfigurationExtensionCommandFromJSON(json: any): ConfigurationExtensionCommand;
|
|
37
|
+
export declare function ConfigurationExtensionCommandFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConfigurationExtensionCommand;
|
|
38
|
+
export declare function ConfigurationExtensionCommandToJSON(json: any): ConfigurationExtensionCommand;
|
|
39
|
+
export declare function ConfigurationExtensionCommandToJSONTyped(value?: ConfigurationExtensionCommand | 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.2.6
|
|
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 { ManifestExtensionCommandFromJSON, ManifestExtensionCommandToJSON, } from './ManifestExtensionCommand.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ConfigurationExtensionCommand interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfConfigurationExtensionCommand(value) {
|
|
19
|
+
if (!('extensionId' in value) || value['extensionId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('command' in value) || value['command'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ConfigurationExtensionCommandFromJSON(json) {
|
|
26
|
+
return ConfigurationExtensionCommandFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ConfigurationExtensionCommandFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'extensionId': json['extensionId'],
|
|
34
|
+
'command': ManifestExtensionCommandFromJSON(json['command']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ConfigurationExtensionCommandToJSON(json) {
|
|
38
|
+
return ConfigurationExtensionCommandToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ConfigurationExtensionCommandToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'extensionId': value['extensionId'],
|
|
46
|
+
'command': ManifestExtensionCommandToJSON(value['command']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.2.6
|
|
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 Dates
|
|
16
|
+
*/
|
|
17
|
+
export interface Dates {
|
|
18
|
+
/**
|
|
19
|
+
* The entity creation date
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof Dates
|
|
22
|
+
*/
|
|
23
|
+
creationDate: number;
|
|
24
|
+
/**
|
|
25
|
+
* The entity last modification date
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof Dates
|
|
28
|
+
*/
|
|
29
|
+
modificationDate: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the Dates interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDates(value: object): value is Dates;
|
|
35
|
+
export declare function DatesFromJSON(json: any): Dates;
|
|
36
|
+
export declare function DatesFromJSONTyped(json: any, ignoreDiscriminator: boolean): Dates;
|
|
37
|
+
export declare function DatesToJSON(json: any): Dates;
|
|
38
|
+
export declare function DatesToJSONTyped(value?: Dates | 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.2.6
|
|
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 Dates interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDates(value) {
|
|
18
|
+
if (!('creationDate' in value) || value['creationDate'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('modificationDate' in value) || value['modificationDate'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function DatesFromJSON(json) {
|
|
25
|
+
return DatesFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function DatesFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'creationDate': json['creationDate'],
|
|
33
|
+
'modificationDate': json['modificationDate'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function DatesToJSON(json) {
|
|
37
|
+
return DatesToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function DatesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'creationDate': value['creationDate'],
|
|
45
|
+
'modificationDate': value['modificationDate'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Picteus
|
|
3
|
+
* The Picteus API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.2.6
|
|
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 { ExtensionStatus } from './ExtensionStatus.js';
|
|
13
|
+
import type { Manifest } from './Manifest.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface Extension
|
|
18
|
+
*/
|
|
19
|
+
export interface Extension {
|
|
20
|
+
/**
|
|
21
|
+
* The extension manifest
|
|
22
|
+
* @type {Manifest}
|
|
23
|
+
* @memberof Extension
|
|
24
|
+
*/
|
|
25
|
+
manifest: Manifest;
|
|
26
|
+
/**
|
|
27
|
+
* The status of the extension
|
|
28
|
+
* @type {ExtensionStatus}
|
|
29
|
+
* @memberof Extension
|
|
30
|
+
*/
|
|
31
|
+
status: ExtensionStatus;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the Extension interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfExtension(value: object): value is Extension;
|
|
37
|
+
export declare function ExtensionFromJSON(json: any): Extension;
|
|
38
|
+
export declare function ExtensionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Extension;
|
|
39
|
+
export declare function ExtensionToJSON(json: any): Extension;
|
|
40
|
+
export declare function ExtensionToJSONTyped(value?: Extension | null, ignoreDiscriminator?: boolean): any;
|