@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.
Files changed (140) hide show
  1. package/README.md +3 -0
  2. package/dist/index.d.ts +2 -0
  3. package/dist/index.js +2 -0
  4. package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +48 -0
  5. package/dist/picteus-ws-client/apis/AdministrationApi.js +45 -0
  6. package/dist/picteus-ws-client/apis/ExperimentApi.d.ts +48 -0
  7. package/dist/picteus-ws-client/apis/ExperimentApi.js +51 -0
  8. package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +410 -0
  9. package/dist/picteus-ws-client/apis/ExtensionApi.js +482 -0
  10. package/dist/picteus-ws-client/apis/ImageApi.d.ts +593 -0
  11. package/dist/picteus-ws-client/apis/ImageApi.js +729 -0
  12. package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +85 -0
  13. package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +105 -0
  14. package/dist/picteus-ws-client/apis/PingApi.d.ts +48 -0
  15. package/dist/picteus-ws-client/apis/PingApi.js +51 -0
  16. package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +385 -0
  17. package/dist/picteus-ws-client/apis/RepositoryApi.js +462 -0
  18. package/dist/picteus-ws-client/apis/SettingsApi.d.ts +76 -0
  19. package/dist/picteus-ws-client/apis/SettingsApi.js +80 -0
  20. package/dist/picteus-ws-client/apis/index.d.ts +8 -0
  21. package/dist/picteus-ws-client/apis/index.js +10 -0
  22. package/dist/picteus-ws-client/index.d.ts +3 -0
  23. package/dist/picteus-ws-client/index.js +5 -0
  24. package/dist/picteus-ws-client/models/Automatic1111Instruction.d.ts +38 -0
  25. package/dist/picteus-ws-client/models/Automatic1111Instruction.js +47 -0
  26. package/dist/picteus-ws-client/models/Automatic1111UserComment.d.ts +45 -0
  27. package/dist/picteus-ws-client/models/Automatic1111UserComment.js +50 -0
  28. package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.d.ts +38 -0
  29. package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.js +47 -0
  30. package/dist/picteus-ws-client/models/CommandEntity.d.ts +26 -0
  31. package/dist/picteus-ws-client/models/CommandEntity.js +44 -0
  32. package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +39 -0
  33. package/dist/picteus-ws-client/models/ConfigurationCapability.js +48 -0
  34. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +39 -0
  35. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +48 -0
  36. package/dist/picteus-ws-client/models/Dates.d.ts +38 -0
  37. package/dist/picteus-ws-client/models/Dates.js +47 -0
  38. package/dist/picteus-ws-client/models/Extension.d.ts +40 -0
  39. package/dist/picteus-ws-client/models/Extension.js +49 -0
  40. package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +39 -0
  41. package/dist/picteus-ws-client/models/ExtensionActivity.js +48 -0
  42. package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +26 -0
  43. package/dist/picteus-ws-client/models/ExtensionActivityKind.js +44 -0
  44. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +63 -0
  45. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +64 -0
  46. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +38 -0
  47. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +47 -0
  48. package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +58 -0
  49. package/dist/picteus-ws-client/models/ExtensionImageFeature.js +59 -0
  50. package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +38 -0
  51. package/dist/picteus-ws-client/models/ExtensionImageTag.js +47 -0
  52. package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +32 -0
  53. package/dist/picteus-ws-client/models/ExtensionSettings.js +43 -0
  54. package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +25 -0
  55. package/dist/picteus-ws-client/models/ExtensionStatus.js +43 -0
  56. package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +40 -0
  57. package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +49 -0
  58. package/dist/picteus-ws-client/models/Image.d.ts +135 -0
  59. package/dist/picteus-ws-client/models/Image.js +110 -0
  60. package/dist/picteus-ws-client/models/ImageDimensions.d.ts +38 -0
  61. package/dist/picteus-ws-client/models/ImageDimensions.js +47 -0
  62. package/dist/picteus-ws-client/models/ImageDistance.d.ts +39 -0
  63. package/dist/picteus-ws-client/models/ImageDistance.js +48 -0
  64. package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +32 -0
  65. package/dist/picteus-ws-client/models/ImageEmbeddings.js +43 -0
  66. package/dist/picteus-ws-client/models/ImageFeature.d.ts +52 -0
  67. package/dist/picteus-ws-client/models/ImageFeature.js +55 -0
  68. package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +29 -0
  69. package/dist/picteus-ws-client/models/ImageFeatureFormat.js +47 -0
  70. package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +27 -0
  71. package/dist/picteus-ws-client/models/ImageFeatureType.js +45 -0
  72. package/dist/picteus-ws-client/models/ImageFormat.d.ts +29 -0
  73. package/dist/picteus-ws-client/models/ImageFormat.js +47 -0
  74. package/dist/picteus-ws-client/models/ImageGenerator.d.ts +26 -0
  75. package/dist/picteus-ws-client/models/ImageGenerator.js +44 -0
  76. package/dist/picteus-ws-client/models/ImageMetadata.d.ts +68 -0
  77. package/dist/picteus-ws-client/models/ImageMetadata.js +53 -0
  78. package/dist/picteus-ws-client/models/ImageSummary.d.ts +114 -0
  79. package/dist/picteus-ws-client/models/ImageSummary.js +95 -0
  80. package/dist/picteus-ws-client/models/ImageSummaryList.d.ts +39 -0
  81. package/dist/picteus-ws-client/models/ImageSummaryList.js +48 -0
  82. package/dist/picteus-ws-client/models/Manifest.d.ts +77 -0
  83. package/dist/picteus-ws-client/models/Manifest.js +72 -0
  84. package/dist/picteus-ws-client/models/ManifestCapability.d.ts +33 -0
  85. package/dist/picteus-ws-client/models/ManifestCapability.js +44 -0
  86. package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +27 -0
  87. package/dist/picteus-ws-client/models/ManifestCapabilityId.js +45 -0
  88. package/dist/picteus-ws-client/models/ManifestEvent.d.ts +33 -0
  89. package/dist/picteus-ws-client/models/ManifestEvent.js +51 -0
  90. package/dist/picteus-ws-client/models/ManifestExecution.d.ts +38 -0
  91. package/dist/picteus-ws-client/models/ManifestExecution.js +47 -0
  92. package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +52 -0
  93. package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +57 -0
  94. package/dist/picteus-ws-client/models/ManifestExtensionCommandLabel.d.ts +38 -0
  95. package/dist/picteus-ws-client/models/ManifestExtensionCommandLabel.js +47 -0
  96. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +39 -0
  97. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +46 -0
  98. package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +54 -0
  99. package/dist/picteus-ws-client/models/ManifestInstructions.js +55 -0
  100. package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +39 -0
  101. package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +48 -0
  102. package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +33 -0
  103. package/dist/picteus-ws-client/models/ManifestRuntime.js +44 -0
  104. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +25 -0
  105. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +43 -0
  106. package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +33 -0
  107. package/dist/picteus-ws-client/models/ManifestUserInterface.js +44 -0
  108. package/dist/picteus-ws-client/models/MidjourneyInstructions.d.ts +74 -0
  109. package/dist/picteus-ws-client/models/MidjourneyInstructions.js +71 -0
  110. package/dist/picteus-ws-client/models/Repository.d.ts +82 -0
  111. package/dist/picteus-ws-client/models/Repository.js +73 -0
  112. package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +39 -0
  113. package/dist/picteus-ws-client/models/RepositoryActivity.js +48 -0
  114. package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +26 -0
  115. package/dist/picteus-ws-client/models/RepositoryActivityKind.js +44 -0
  116. package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +24 -0
  117. package/dist/picteus-ws-client/models/RepositoryLocationType.js +42 -0
  118. package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +27 -0
  119. package/dist/picteus-ws-client/models/RepositoryStatus.js +45 -0
  120. package/dist/picteus-ws-client/models/SearchCriteria.d.ts +47 -0
  121. package/dist/picteus-ws-client/models/SearchCriteria.js +48 -0
  122. package/dist/picteus-ws-client/models/SearchKeyword.d.ts +50 -0
  123. package/dist/picteus-ws-client/models/SearchKeyword.js +55 -0
  124. package/dist/picteus-ws-client/models/SearchRange.d.ts +38 -0
  125. package/dist/picteus-ws-client/models/SearchRange.js +43 -0
  126. package/dist/picteus-ws-client/models/SearchSorting.d.ts +39 -0
  127. package/dist/picteus-ws-client/models/SearchSorting.js +46 -0
  128. package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +29 -0
  129. package/dist/picteus-ws-client/models/SearchSortingProperty.js +47 -0
  130. package/dist/picteus-ws-client/models/Settings.d.ts +32 -0
  131. package/dist/picteus-ws-client/models/Settings.js +41 -0
  132. package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +26 -0
  133. package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +44 -0
  134. package/dist/picteus-ws-client/models/index.d.ts +55 -0
  135. package/dist/picteus-ws-client/models/index.js +57 -0
  136. package/dist/picteus-ws-client/runtime.d.ts +184 -0
  137. package/dist/picteus-ws-client/runtime.js +333 -0
  138. package/dist/picteusExtension.d.ts +145 -0
  139. package/dist/picteusExtension.js +302 -0
  140. package/package.json +53 -0
@@ -0,0 +1,43 @@
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 ImageEmbeddings interface.
16
+ */
17
+ export function instanceOfImageEmbeddings(value) {
18
+ if (!('values' in value) || value['values'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function ImageEmbeddingsFromJSON(json) {
23
+ return ImageEmbeddingsFromJSONTyped(json, false);
24
+ }
25
+ export function ImageEmbeddingsFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'values': json['values'],
31
+ };
32
+ }
33
+ export function ImageEmbeddingsToJSON(json) {
34
+ return ImageEmbeddingsToJSONTyped(json, false);
35
+ }
36
+ export function ImageEmbeddingsToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'values': value['values'],
42
+ };
43
+ }
@@ -0,0 +1,52 @@
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 ImageFeature
18
+ */
19
+ export interface ImageFeature {
20
+ /**
21
+ * The image feature type
22
+ * @type {ImageFeatureType}
23
+ * @memberof ImageFeature
24
+ */
25
+ type: ImageFeatureType;
26
+ /**
27
+ * The image feature format
28
+ * @type {ImageFeatureFormat}
29
+ * @memberof ImageFeature
30
+ */
31
+ format: ImageFeatureFormat;
32
+ /**
33
+ * The image feature name
34
+ * @type {string}
35
+ * @memberof ImageFeature
36
+ */
37
+ name?: string;
38
+ /**
39
+ * The image feature value
40
+ * @type {string}
41
+ * @memberof ImageFeature
42
+ */
43
+ value: string;
44
+ }
45
+ /**
46
+ * Check if a given object implements the ImageFeature interface.
47
+ */
48
+ export declare function instanceOfImageFeature(value: object): value is ImageFeature;
49
+ export declare function ImageFeatureFromJSON(json: any): ImageFeature;
50
+ export declare function ImageFeatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageFeature;
51
+ export declare function ImageFeatureToJSON(json: any): ImageFeature;
52
+ export declare function ImageFeatureToJSONTyped(value?: ImageFeature | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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 ImageFeature interface.
18
+ */
19
+ export function instanceOfImageFeature(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
+ return true;
27
+ }
28
+ export function ImageFeatureFromJSON(json) {
29
+ return ImageFeatureFromJSONTyped(json, false);
30
+ }
31
+ export function ImageFeatureFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'type': ImageFeatureTypeFromJSON(json['type']),
37
+ 'format': ImageFeatureFormatFromJSON(json['format']),
38
+ 'name': json['name'] == null ? undefined : json['name'],
39
+ 'value': json['value'],
40
+ };
41
+ }
42
+ export function ImageFeatureToJSON(json) {
43
+ return ImageFeatureToJSONTyped(json, false);
44
+ }
45
+ export function ImageFeatureToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'type': ImageFeatureTypeToJSON(value['type']),
51
+ 'format': ImageFeatureFormatToJSON(value['format']),
52
+ 'name': value['name'],
53
+ 'value': value['value'],
54
+ };
55
+ }
@@ -0,0 +1,29 @@
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
+ * All the possible formats for an image feature.
14
+ * @export
15
+ */
16
+ export declare const ImageFeatureFormat: {
17
+ readonly String: "string";
18
+ readonly Json: "json";
19
+ readonly Xml: "xml";
20
+ readonly Markdown: "markdown";
21
+ readonly Html: "html";
22
+ readonly Binary: "binary";
23
+ };
24
+ export type ImageFeatureFormat = typeof ImageFeatureFormat[keyof typeof ImageFeatureFormat];
25
+ export declare function instanceOfImageFeatureFormat(value: any): boolean;
26
+ export declare function ImageFeatureFormatFromJSON(json: any): ImageFeatureFormat;
27
+ export declare function ImageFeatureFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageFeatureFormat;
28
+ export declare function ImageFeatureFormatToJSON(value?: ImageFeatureFormat | null): any;
29
+ export declare function ImageFeatureFormatToJSONTyped(value: any, ignoreDiscriminator: boolean): ImageFeatureFormat;
@@ -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
+ * All the possible formats for an image feature.
16
+ * @export
17
+ */
18
+ export const ImageFeatureFormat = {
19
+ String: 'string',
20
+ Json: 'json',
21
+ Xml: 'xml',
22
+ Markdown: 'markdown',
23
+ Html: 'html',
24
+ Binary: 'binary'
25
+ };
26
+ export function instanceOfImageFeatureFormat(value) {
27
+ for (const key in ImageFeatureFormat) {
28
+ if (Object.prototype.hasOwnProperty.call(ImageFeatureFormat, key)) {
29
+ if (ImageFeatureFormat[key] === value) {
30
+ return true;
31
+ }
32
+ }
33
+ }
34
+ return false;
35
+ }
36
+ export function ImageFeatureFormatFromJSON(json) {
37
+ return ImageFeatureFormatFromJSONTyped(json, false);
38
+ }
39
+ export function ImageFeatureFormatFromJSONTyped(json, ignoreDiscriminator) {
40
+ return json;
41
+ }
42
+ export function ImageFeatureFormatToJSON(value) {
43
+ return value;
44
+ }
45
+ export function ImageFeatureFormatToJSONTyped(value, ignoreDiscriminator) {
46
+ return value;
47
+ }
@@ -0,0 +1,27 @@
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
+ * All the possible types for an image feature.
14
+ * @export
15
+ */
16
+ export declare const ImageFeatureType: {
17
+ readonly Caption: "caption";
18
+ readonly Description: "description";
19
+ readonly Metadata: "metadata";
20
+ readonly Other: "other";
21
+ };
22
+ export type ImageFeatureType = typeof ImageFeatureType[keyof typeof ImageFeatureType];
23
+ export declare function instanceOfImageFeatureType(value: any): boolean;
24
+ export declare function ImageFeatureTypeFromJSON(json: any): ImageFeatureType;
25
+ export declare function ImageFeatureTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageFeatureType;
26
+ export declare function ImageFeatureTypeToJSON(value?: ImageFeatureType | null): any;
27
+ export declare function ImageFeatureTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ImageFeatureType;
@@ -0,0 +1,45 @@
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
+ * All the possible types for an image feature.
16
+ * @export
17
+ */
18
+ export const ImageFeatureType = {
19
+ Caption: 'caption',
20
+ Description: 'description',
21
+ Metadata: 'metadata',
22
+ Other: 'other'
23
+ };
24
+ export function instanceOfImageFeatureType(value) {
25
+ for (const key in ImageFeatureType) {
26
+ if (Object.prototype.hasOwnProperty.call(ImageFeatureType, key)) {
27
+ if (ImageFeatureType[key] === value) {
28
+ return true;
29
+ }
30
+ }
31
+ }
32
+ return false;
33
+ }
34
+ export function ImageFeatureTypeFromJSON(json) {
35
+ return ImageFeatureTypeFromJSONTyped(json, false);
36
+ }
37
+ export function ImageFeatureTypeFromJSONTyped(json, ignoreDiscriminator) {
38
+ return json;
39
+ }
40
+ export function ImageFeatureTypeToJSON(value) {
41
+ return value;
42
+ }
43
+ export function ImageFeatureTypeToJSONTyped(value, ignoreDiscriminator) {
44
+ return value;
45
+ }
@@ -0,0 +1,29 @@
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
+ * A filter used by the search which will limit the result entities to those having one of the provided image formats
14
+ * @export
15
+ */
16
+ export declare const ImageFormat: {
17
+ readonly Png: "PNG";
18
+ readonly Jpeg: "JPEG";
19
+ readonly Webp: "WEBP";
20
+ readonly Gif: "GIF";
21
+ readonly Avif: "AVIF";
22
+ readonly Heif: "HEIF";
23
+ };
24
+ export type ImageFormat = typeof ImageFormat[keyof typeof ImageFormat];
25
+ export declare function instanceOfImageFormat(value: any): boolean;
26
+ export declare function ImageFormatFromJSON(json: any): ImageFormat;
27
+ export declare function ImageFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageFormat;
28
+ export declare function ImageFormatToJSON(value?: ImageFormat | null): any;
29
+ export declare function ImageFormatToJSONTyped(value: any, ignoreDiscriminator: boolean): ImageFormat;
@@ -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
+ * A filter used by the search which will limit the result entities to those having one of the provided image formats
16
+ * @export
17
+ */
18
+ export const ImageFormat = {
19
+ Png: 'PNG',
20
+ Jpeg: 'JPEG',
21
+ Webp: 'WEBP',
22
+ Gif: 'GIF',
23
+ Avif: 'AVIF',
24
+ Heif: 'HEIF'
25
+ };
26
+ export function instanceOfImageFormat(value) {
27
+ for (const key in ImageFormat) {
28
+ if (Object.prototype.hasOwnProperty.call(ImageFormat, key)) {
29
+ if (ImageFormat[key] === value) {
30
+ return true;
31
+ }
32
+ }
33
+ }
34
+ return false;
35
+ }
36
+ export function ImageFormatFromJSON(json) {
37
+ return ImageFormatFromJSONTyped(json, false);
38
+ }
39
+ export function ImageFormatFromJSONTyped(json, ignoreDiscriminator) {
40
+ return json;
41
+ }
42
+ export function ImageFormatToJSON(value) {
43
+ return value;
44
+ }
45
+ export function ImageFormatToJSONTyped(value, ignoreDiscriminator) {
46
+ return value;
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
+ * A filter used by the search which will limit the result entities to the provided generator used to produce the image
14
+ * @export
15
+ */
16
+ export declare const ImageGenerator: {
17
+ readonly Comfyui: "comfyui";
18
+ readonly Automatic1111: "automatic1111";
19
+ readonly Midjourney: "midjourney";
20
+ };
21
+ export type ImageGenerator = typeof ImageGenerator[keyof typeof ImageGenerator];
22
+ export declare function instanceOfImageGenerator(value: any): boolean;
23
+ export declare function ImageGeneratorFromJSON(json: any): ImageGenerator;
24
+ export declare function ImageGeneratorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageGenerator;
25
+ export declare function ImageGeneratorToJSON(value?: ImageGenerator | null): any;
26
+ export declare function ImageGeneratorToJSONTyped(value: any, ignoreDiscriminator: boolean): ImageGenerator;
@@ -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
+ * A filter used by the search which will limit the result entities to the provided generator used to produce the image
16
+ * @export
17
+ */
18
+ export const ImageGenerator = {
19
+ Comfyui: 'comfyui',
20
+ Automatic1111: 'automatic1111',
21
+ Midjourney: 'midjourney'
22
+ };
23
+ export function instanceOfImageGenerator(value) {
24
+ for (const key in ImageGenerator) {
25
+ if (Object.prototype.hasOwnProperty.call(ImageGenerator, key)) {
26
+ if (ImageGenerator[key] === value) {
27
+ return true;
28
+ }
29
+ }
30
+ }
31
+ return false;
32
+ }
33
+ export function ImageGeneratorFromJSON(json) {
34
+ return ImageGeneratorFromJSONTyped(json, false);
35
+ }
36
+ export function ImageGeneratorFromJSONTyped(json, ignoreDiscriminator) {
37
+ return json;
38
+ }
39
+ export function ImageGeneratorToJSON(value) {
40
+ return value;
41
+ }
42
+ export function ImageGeneratorToJSONTyped(value, ignoreDiscriminator) {
43
+ return value;
44
+ }
@@ -0,0 +1,68 @@
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 ImageMetadata
16
+ */
17
+ export interface ImageMetadata {
18
+ /**
19
+ * All the image metadata, which is a JSON stringified string
20
+ * @type {string}
21
+ * @memberof ImageMetadata
22
+ */
23
+ all?: string;
24
+ /**
25
+ * The image EXIF metadata, which is a JSON stringified string
26
+ * @type {string}
27
+ * @memberof ImageMetadata
28
+ */
29
+ exif?: string;
30
+ /**
31
+ * The image ICC metadata, which is a JSON stringified string
32
+ * @type {string}
33
+ * @memberof ImageMetadata
34
+ */
35
+ icc?: string;
36
+ /**
37
+ * The image IPTC metadata, which is a JSON stringified string
38
+ * @type {string}
39
+ * @memberof ImageMetadata
40
+ */
41
+ iptc?: string;
42
+ /**
43
+ * The image XMP metadata, which is a JSON stringified string
44
+ * @type {string}
45
+ * @memberof ImageMetadata
46
+ */
47
+ xmp?: string;
48
+ /**
49
+ * The image Adobe Photoshop (TIFFTAG_PHOTOSHOP) metadata, which is a JSON stringified string
50
+ * @type {string}
51
+ * @memberof ImageMetadata
52
+ */
53
+ tiffTagPhotoshop?: string;
54
+ /**
55
+ * All the others image metadata, which is a JSON stringified string
56
+ * @type {string}
57
+ * @memberof ImageMetadata
58
+ */
59
+ others?: string;
60
+ }
61
+ /**
62
+ * Check if a given object implements the ImageMetadata interface.
63
+ */
64
+ export declare function instanceOfImageMetadata(value: object): value is ImageMetadata;
65
+ export declare function ImageMetadataFromJSON(json: any): ImageMetadata;
66
+ export declare function ImageMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageMetadata;
67
+ export declare function ImageMetadataToJSON(json: any): ImageMetadata;
68
+ export declare function ImageMetadataToJSONTyped(value?: ImageMetadata | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
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 ImageMetadata interface.
16
+ */
17
+ export function instanceOfImageMetadata(value) {
18
+ return true;
19
+ }
20
+ export function ImageMetadataFromJSON(json) {
21
+ return ImageMetadataFromJSONTyped(json, false);
22
+ }
23
+ export function ImageMetadataFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'all': json['all'] == null ? undefined : json['all'],
29
+ 'exif': json['exif'] == null ? undefined : json['exif'],
30
+ 'icc': json['icc'] == null ? undefined : json['icc'],
31
+ 'iptc': json['iptc'] == null ? undefined : json['iptc'],
32
+ 'xmp': json['xmp'] == null ? undefined : json['xmp'],
33
+ 'tiffTagPhotoshop': json['tiffTagPhotoshop'] == null ? undefined : json['tiffTagPhotoshop'],
34
+ 'others': json['others'] == null ? undefined : json['others'],
35
+ };
36
+ }
37
+ export function ImageMetadataToJSON(json) {
38
+ return ImageMetadataToJSONTyped(json, false);
39
+ }
40
+ export function ImageMetadataToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'all': value['all'],
46
+ 'exif': value['exif'],
47
+ 'icc': value['icc'],
48
+ 'iptc': value['iptc'],
49
+ 'xmp': value['xmp'],
50
+ 'tiffTagPhotoshop': value['tiffTagPhotoshop'],
51
+ 'others': value['others'],
52
+ };
53
+ }
@@ -0,0 +1,114 @@
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 { ImageDimensions } from './ImageDimensions.js';
13
+ import type { Dates } from './Dates.js';
14
+ import type { ImageGenerator } from './ImageGenerator.js';
15
+ import type { ImageFormat } from './ImageFormat.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ImageSummary
20
+ */
21
+ export interface ImageSummary {
22
+ /**
23
+ * The entity creation date
24
+ * @type {number}
25
+ * @memberof ImageSummary
26
+ */
27
+ creationDate: number;
28
+ /**
29
+ * The entity last modification date
30
+ * @type {number}
31
+ * @memberof ImageSummary
32
+ */
33
+ modificationDate: number;
34
+ /**
35
+ * The unique identifier of the image
36
+ * @type {string}
37
+ * @memberof ImageSummary
38
+ */
39
+ id: string;
40
+ /**
41
+ * The unique identifier of the repository it belongs to
42
+ * @type {string}
43
+ * @memberof ImageSummary
44
+ */
45
+ repositoryId: string;
46
+ /**
47
+ * The unique identifier of the image parent
48
+ * @type {string}
49
+ * @memberof ImageSummary
50
+ */
51
+ parentId?: string;
52
+ /**
53
+ * The image name
54
+ * @type {string}
55
+ * @memberof ImageSummary
56
+ */
57
+ name: string;
58
+ /**
59
+ * The image format
60
+ * @type {ImageFormat}
61
+ * @memberof ImageSummary
62
+ */
63
+ format: ImageFormat;
64
+ /**
65
+ * The image MIME type
66
+ * @type {string}
67
+ * @memberof ImageSummary
68
+ */
69
+ mimeType: string;
70
+ /**
71
+ * The image URL
72
+ * @type {string}
73
+ * @memberof ImageSummary
74
+ */
75
+ url: string;
76
+ /**
77
+ * The image source URL
78
+ * @type {string}
79
+ * @memberof ImageSummary
80
+ */
81
+ sourceUrl?: string;
82
+ /**
83
+ * The image size in bytes
84
+ * @type {number}
85
+ * @memberof ImageSummary
86
+ */
87
+ sizeInBytes: number;
88
+ /**
89
+ * The image dimensions
90
+ * @type {ImageDimensions}
91
+ * @memberof ImageSummary
92
+ */
93
+ dimensions: ImageDimensions;
94
+ /**
95
+ * The image file dates
96
+ * @type {Dates}
97
+ * @memberof ImageSummary
98
+ */
99
+ fileDates: Dates;
100
+ /**
101
+ * The pieces of software used to generate the image
102
+ * @type {Array<ImageGenerator>}
103
+ * @memberof ImageSummary
104
+ */
105
+ generators: Array<ImageGenerator>;
106
+ }
107
+ /**
108
+ * Check if a given object implements the ImageSummary interface.
109
+ */
110
+ export declare function instanceOfImageSummary(value: object): value is ImageSummary;
111
+ export declare function ImageSummaryFromJSON(json: any): ImageSummary;
112
+ export declare function ImageSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageSummary;
113
+ export declare function ImageSummaryToJSON(json: any): ImageSummary;
114
+ export declare function ImageSummaryToJSONTyped(value?: ImageSummary | null, ignoreDiscriminator?: boolean): any;