@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,49 @@
|
|
|
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 { ExtensionStatusFromJSON, ExtensionStatusToJSON, } from './ExtensionStatus.js';
|
|
15
|
+
import { ManifestFromJSON, ManifestToJSON, } from './Manifest.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the Extension interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfExtension(value) {
|
|
20
|
+
if (!('manifest' in value) || value['manifest'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ExtensionFromJSON(json) {
|
|
27
|
+
return ExtensionFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ExtensionFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'manifest': ManifestFromJSON(json['manifest']),
|
|
35
|
+
'status': ExtensionStatusFromJSON(json['status']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function ExtensionToJSON(json) {
|
|
39
|
+
return ExtensionToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ExtensionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'manifest': ManifestToJSON(value['manifest']),
|
|
47
|
+
'status': ExtensionStatusToJSON(value['status']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -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 { ExtensionActivityKind } from './ExtensionActivityKind.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ExtensionActivity
|
|
17
|
+
*/
|
|
18
|
+
export interface ExtensionActivity {
|
|
19
|
+
/**
|
|
20
|
+
* The identifier of the extension
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ExtensionActivity
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* The kind of activity of the extension
|
|
27
|
+
* @type {ExtensionActivityKind}
|
|
28
|
+
* @memberof ExtensionActivity
|
|
29
|
+
*/
|
|
30
|
+
kind: ExtensionActivityKind;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ExtensionActivity interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfExtensionActivity(value: object): value is ExtensionActivity;
|
|
36
|
+
export declare function ExtensionActivityFromJSON(json: any): ExtensionActivity;
|
|
37
|
+
export declare function ExtensionActivityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionActivity;
|
|
38
|
+
export declare function ExtensionActivityToJSON(json: any): ExtensionActivity;
|
|
39
|
+
export declare function ExtensionActivityToJSONTyped(value?: ExtensionActivity | 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 { ExtensionActivityKindFromJSON, ExtensionActivityKindToJSON, } from './ExtensionActivityKind.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ExtensionActivity interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfExtensionActivity(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ExtensionActivityFromJSON(json) {
|
|
26
|
+
return ExtensionActivityFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ExtensionActivityFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'id': json['id'],
|
|
34
|
+
'kind': ExtensionActivityKindFromJSON(json['kind']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ExtensionActivityToJSON(json) {
|
|
38
|
+
return ExtensionActivityToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ExtensionActivityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': value['id'],
|
|
46
|
+
'kind': ExtensionActivityKindToJSON(value['kind']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -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 kind of activity of the extension
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const ExtensionActivityKind: {
|
|
17
|
+
readonly Connecting: "connecting";
|
|
18
|
+
readonly Connected: "connected";
|
|
19
|
+
readonly Error: "error";
|
|
20
|
+
};
|
|
21
|
+
export type ExtensionActivityKind = typeof ExtensionActivityKind[keyof typeof ExtensionActivityKind];
|
|
22
|
+
export declare function instanceOfExtensionActivityKind(value: any): boolean;
|
|
23
|
+
export declare function ExtensionActivityKindFromJSON(json: any): ExtensionActivityKind;
|
|
24
|
+
export declare function ExtensionActivityKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionActivityKind;
|
|
25
|
+
export declare function ExtensionActivityKindToJSON(value?: ExtensionActivityKind | null): any;
|
|
26
|
+
export declare function ExtensionActivityKindToJSONTyped(value: any, ignoreDiscriminator: boolean): ExtensionActivityKind;
|
|
@@ -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 kind of activity of the extension
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ExtensionActivityKind = {
|
|
19
|
+
Connecting: 'connecting',
|
|
20
|
+
Connected: 'connected',
|
|
21
|
+
Error: 'error'
|
|
22
|
+
};
|
|
23
|
+
export function instanceOfExtensionActivityKind(value) {
|
|
24
|
+
for (const key in ExtensionActivityKind) {
|
|
25
|
+
if (Object.prototype.hasOwnProperty.call(ExtensionActivityKind, key)) {
|
|
26
|
+
if (ExtensionActivityKind[key] === value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
export function ExtensionActivityKindFromJSON(json) {
|
|
34
|
+
return ExtensionActivityKindFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ExtensionActivityKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
export function ExtensionActivityKindToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
export function ExtensionActivityKindToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { ManifestRuntimeEnvironment } from './ManifestRuntimeEnvironment.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ExtensionGenerationOptions
|
|
17
|
+
*/
|
|
18
|
+
export interface ExtensionGenerationOptions {
|
|
19
|
+
/**
|
|
20
|
+
* The identifier of the extension
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ExtensionGenerationOptions
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* The version of the extension, which should follow the semver convention
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ExtensionGenerationOptions
|
|
29
|
+
*/
|
|
30
|
+
version: string;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the extension
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ExtensionGenerationOptions
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
* The description of the extension's purpose
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ExtensionGenerationOptions
|
|
41
|
+
*/
|
|
42
|
+
description: string;
|
|
43
|
+
/**
|
|
44
|
+
* The author of the extension
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ExtensionGenerationOptions
|
|
47
|
+
*/
|
|
48
|
+
author: string;
|
|
49
|
+
/**
|
|
50
|
+
* The runtime the extension relies on
|
|
51
|
+
* @type {ManifestRuntimeEnvironment}
|
|
52
|
+
* @memberof ExtensionGenerationOptions
|
|
53
|
+
*/
|
|
54
|
+
environment: ManifestRuntimeEnvironment;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ExtensionGenerationOptions interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfExtensionGenerationOptions(value: object): value is ExtensionGenerationOptions;
|
|
60
|
+
export declare function ExtensionGenerationOptionsFromJSON(json: any): ExtensionGenerationOptions;
|
|
61
|
+
export declare function ExtensionGenerationOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionGenerationOptions;
|
|
62
|
+
export declare function ExtensionGenerationOptionsToJSON(json: any): ExtensionGenerationOptions;
|
|
63
|
+
export declare function ExtensionGenerationOptionsToJSONTyped(value?: ExtensionGenerationOptions | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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 { ManifestRuntimeEnvironmentFromJSON, ManifestRuntimeEnvironmentToJSON, } from './ManifestRuntimeEnvironment.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ExtensionGenerationOptions interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfExtensionGenerationOptions(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('author' in value) || value['author'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('environment' in value) || value['environment'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function ExtensionGenerationOptionsFromJSON(json) {
|
|
34
|
+
return ExtensionGenerationOptionsFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ExtensionGenerationOptionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'version': json['version'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'description': json['description'],
|
|
45
|
+
'author': json['author'],
|
|
46
|
+
'environment': ManifestRuntimeEnvironmentFromJSON(json['environment']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function ExtensionGenerationOptionsToJSON(json) {
|
|
50
|
+
return ExtensionGenerationOptionsToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function ExtensionGenerationOptionsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': value['id'],
|
|
58
|
+
'version': value['version'],
|
|
59
|
+
'name': value['name'],
|
|
60
|
+
'description': value['description'],
|
|
61
|
+
'author': value['author'],
|
|
62
|
+
'environment': ManifestRuntimeEnvironmentToJSON(value['environment']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -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 ExtensionImageEmbeddings
|
|
16
|
+
*/
|
|
17
|
+
export interface ExtensionImageEmbeddings {
|
|
18
|
+
/**
|
|
19
|
+
* The image embeddings vector
|
|
20
|
+
* @type {Array<number>}
|
|
21
|
+
* @memberof ExtensionImageEmbeddings
|
|
22
|
+
*/
|
|
23
|
+
values: Array<number>;
|
|
24
|
+
/**
|
|
25
|
+
* The extension identifier
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExtensionImageEmbeddings
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ExtensionImageEmbeddings interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfExtensionImageEmbeddings(value: object): value is ExtensionImageEmbeddings;
|
|
35
|
+
export declare function ExtensionImageEmbeddingsFromJSON(json: any): ExtensionImageEmbeddings;
|
|
36
|
+
export declare function ExtensionImageEmbeddingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionImageEmbeddings;
|
|
37
|
+
export declare function ExtensionImageEmbeddingsToJSON(json: any): ExtensionImageEmbeddings;
|
|
38
|
+
export declare function ExtensionImageEmbeddingsToJSONTyped(value?: ExtensionImageEmbeddings | 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 ExtensionImageEmbeddings interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfExtensionImageEmbeddings(value) {
|
|
18
|
+
if (!('values' in value) || value['values'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ExtensionImageEmbeddingsFromJSON(json) {
|
|
25
|
+
return ExtensionImageEmbeddingsFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ExtensionImageEmbeddingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'values': json['values'],
|
|
33
|
+
'id': json['id'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ExtensionImageEmbeddingsToJSON(json) {
|
|
37
|
+
return ExtensionImageEmbeddingsToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ExtensionImageEmbeddingsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'values': value['values'],
|
|
45
|
+
'id': value['id'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { ImageFeatureFormat } from './ImageFeatureFormat.js';
|
|
13
|
+
import type { ImageFeatureType } from './ImageFeatureType.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ExtensionImageFeature
|
|
18
|
+
*/
|
|
19
|
+
export interface ExtensionImageFeature {
|
|
20
|
+
/**
|
|
21
|
+
* The image feature type
|
|
22
|
+
* @type {ImageFeatureType}
|
|
23
|
+
* @memberof ExtensionImageFeature
|
|
24
|
+
*/
|
|
25
|
+
type: ImageFeatureType;
|
|
26
|
+
/**
|
|
27
|
+
* The image feature format
|
|
28
|
+
* @type {ImageFeatureFormat}
|
|
29
|
+
* @memberof ExtensionImageFeature
|
|
30
|
+
*/
|
|
31
|
+
format: ImageFeatureFormat;
|
|
32
|
+
/**
|
|
33
|
+
* The image feature name
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ExtensionImageFeature
|
|
36
|
+
*/
|
|
37
|
+
name?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The image feature value
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ExtensionImageFeature
|
|
42
|
+
*/
|
|
43
|
+
value: string;
|
|
44
|
+
/**
|
|
45
|
+
* The extension identifier
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ExtensionImageFeature
|
|
48
|
+
*/
|
|
49
|
+
id: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the ExtensionImageFeature interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfExtensionImageFeature(value: object): value is ExtensionImageFeature;
|
|
55
|
+
export declare function ExtensionImageFeatureFromJSON(json: any): ExtensionImageFeature;
|
|
56
|
+
export declare function ExtensionImageFeatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionImageFeature;
|
|
57
|
+
export declare function ExtensionImageFeatureToJSON(json: any): ExtensionImageFeature;
|
|
58
|
+
export declare function ExtensionImageFeatureToJSONTyped(value?: ExtensionImageFeature | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { ImageFeatureFormatFromJSON, ImageFeatureFormatToJSON, } from './ImageFeatureFormat.js';
|
|
15
|
+
import { ImageFeatureTypeFromJSON, ImageFeatureTypeToJSON, } from './ImageFeatureType.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ExtensionImageFeature interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfExtensionImageFeature(value) {
|
|
20
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('format' in value) || value['format'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function ExtensionImageFeatureFromJSON(json) {
|
|
31
|
+
return ExtensionImageFeatureFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function ExtensionImageFeatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'type': ImageFeatureTypeFromJSON(json['type']),
|
|
39
|
+
'format': ImageFeatureFormatFromJSON(json['format']),
|
|
40
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
41
|
+
'value': json['value'],
|
|
42
|
+
'id': json['id'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function ExtensionImageFeatureToJSON(json) {
|
|
46
|
+
return ExtensionImageFeatureToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function ExtensionImageFeatureToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'type': ImageFeatureTypeToJSON(value['type']),
|
|
54
|
+
'format': ImageFeatureFormatToJSON(value['format']),
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'value': value['value'],
|
|
57
|
+
'id': value['id'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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 ExtensionImageTag
|
|
16
|
+
*/
|
|
17
|
+
export interface ExtensionImageTag {
|
|
18
|
+
/**
|
|
19
|
+
* The extension identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExtensionImageTag
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The image tag value
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExtensionImageTag
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ExtensionImageTag interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfExtensionImageTag(value: object): value is ExtensionImageTag;
|
|
35
|
+
export declare function ExtensionImageTagFromJSON(json: any): ExtensionImageTag;
|
|
36
|
+
export declare function ExtensionImageTagFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionImageTag;
|
|
37
|
+
export declare function ExtensionImageTagToJSON(json: any): ExtensionImageTag;
|
|
38
|
+
export declare function ExtensionImageTagToJSONTyped(value?: ExtensionImageTag | 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 ExtensionImageTag interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfExtensionImageTag(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ExtensionImageTagFromJSON(json) {
|
|
25
|
+
return ExtensionImageTagFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ExtensionImageTagFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'id': json['id'],
|
|
33
|
+
'value': json['value'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ExtensionImageTagToJSON(json) {
|
|
37
|
+
return ExtensionImageTagToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ExtensionImageTagToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': value['id'],
|
|
45
|
+
'value': value['value'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ExtensionSettings
|
|
16
|
+
*/
|
|
17
|
+
export interface ExtensionSettings {
|
|
18
|
+
/**
|
|
19
|
+
* The extension settings
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof ExtensionSettings
|
|
22
|
+
*/
|
|
23
|
+
value: object;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ExtensionSettings interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfExtensionSettings(value: object): value is ExtensionSettings;
|
|
29
|
+
export declare function ExtensionSettingsFromJSON(json: any): ExtensionSettings;
|
|
30
|
+
export declare function ExtensionSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtensionSettings;
|
|
31
|
+
export declare function ExtensionSettingsToJSON(json: any): ExtensionSettings;
|
|
32
|
+
export declare function ExtensionSettingsToJSONTyped(value?: ExtensionSettings | null, ignoreDiscriminator?: boolean): any;
|