@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,47 @@
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 { ImageGenerator } from './ImageGenerator.js';
13
+ import type { SearchKeyword } from './SearchKeyword.js';
14
+ import type { ImageFormat } from './ImageFormat.js';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface SearchCriteria
19
+ */
20
+ export interface SearchCriteria {
21
+ /**
22
+ * A filter used by the search which will limit the result entities to those having one of the provided image formats
23
+ * @type {Array<ImageFormat>}
24
+ * @memberof SearchCriteria
25
+ */
26
+ formats?: Array<ImageFormat>;
27
+ /**
28
+ * A filter used by the search which will limit the result entities with the provided text features
29
+ * @type {SearchKeyword}
30
+ * @memberof SearchCriteria
31
+ */
32
+ keyword?: SearchKeyword;
33
+ /**
34
+ * A filter used by the search which will limit the result entities to the provided generator used to produce the image
35
+ * @type {ImageGenerator}
36
+ * @memberof SearchCriteria
37
+ */
38
+ generator?: ImageGenerator;
39
+ }
40
+ /**
41
+ * Check if a given object implements the SearchCriteria interface.
42
+ */
43
+ export declare function instanceOfSearchCriteria(value: object): value is SearchCriteria;
44
+ export declare function SearchCriteriaFromJSON(json: any): SearchCriteria;
45
+ export declare function SearchCriteriaFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchCriteria;
46
+ export declare function SearchCriteriaToJSON(json: any): SearchCriteria;
47
+ export declare function SearchCriteriaToJSONTyped(value?: SearchCriteria | 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 { ImageGeneratorFromJSON, ImageGeneratorToJSON, } from './ImageGenerator.js';
15
+ import { SearchKeywordFromJSON, SearchKeywordToJSON, } from './SearchKeyword.js';
16
+ import { ImageFormatFromJSON, ImageFormatToJSON, } from './ImageFormat.js';
17
+ /**
18
+ * Check if a given object implements the SearchCriteria interface.
19
+ */
20
+ export function instanceOfSearchCriteria(value) {
21
+ return true;
22
+ }
23
+ export function SearchCriteriaFromJSON(json) {
24
+ return SearchCriteriaFromJSONTyped(json, false);
25
+ }
26
+ export function SearchCriteriaFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'formats': json['formats'] == null ? undefined : (json['formats'].map(ImageFormatFromJSON)),
32
+ 'keyword': json['keyword'] == null ? undefined : SearchKeywordFromJSON(json['keyword']),
33
+ 'generator': json['generator'] == null ? undefined : ImageGeneratorFromJSON(json['generator']),
34
+ };
35
+ }
36
+ export function SearchCriteriaToJSON(json) {
37
+ return SearchCriteriaToJSONTyped(json, false);
38
+ }
39
+ export function SearchCriteriaToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'formats': value['formats'] == null ? undefined : (value['formats'].map(ImageFormatToJSON)),
45
+ 'keyword': SearchKeywordToJSON(value['keyword']),
46
+ 'generator': ImageGeneratorToJSON(value['generator']),
47
+ };
48
+ }
@@ -0,0 +1,50 @@
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 SearchKeyword
16
+ */
17
+ export interface SearchKeyword {
18
+ /**
19
+ * The text to search for
20
+ * @type {string}
21
+ * @memberof SearchKeyword
22
+ */
23
+ text: string;
24
+ /**
25
+ * Whether the text should be searched in the image name
26
+ * @type {boolean}
27
+ * @memberof SearchKeyword
28
+ */
29
+ inName: boolean;
30
+ /**
31
+ * Whether the text should be searched in the image metadata
32
+ * @type {boolean}
33
+ * @memberof SearchKeyword
34
+ */
35
+ inMetadata: boolean;
36
+ /**
37
+ * Whether the text should be searched in the image features
38
+ * @type {boolean}
39
+ * @memberof SearchKeyword
40
+ */
41
+ inFeatures: boolean;
42
+ }
43
+ /**
44
+ * Check if a given object implements the SearchKeyword interface.
45
+ */
46
+ export declare function instanceOfSearchKeyword(value: object): value is SearchKeyword;
47
+ export declare function SearchKeywordFromJSON(json: any): SearchKeyword;
48
+ export declare function SearchKeywordFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchKeyword;
49
+ export declare function SearchKeywordToJSON(json: any): SearchKeyword;
50
+ export declare function SearchKeywordToJSONTyped(value?: SearchKeyword | 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
+ /**
15
+ * Check if a given object implements the SearchKeyword interface.
16
+ */
17
+ export function instanceOfSearchKeyword(value) {
18
+ if (!('text' in value) || value['text'] === undefined)
19
+ return false;
20
+ if (!('inName' in value) || value['inName'] === undefined)
21
+ return false;
22
+ if (!('inMetadata' in value) || value['inMetadata'] === undefined)
23
+ return false;
24
+ if (!('inFeatures' in value) || value['inFeatures'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function SearchKeywordFromJSON(json) {
29
+ return SearchKeywordFromJSONTyped(json, false);
30
+ }
31
+ export function SearchKeywordFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'text': json['text'],
37
+ 'inName': json['inName'],
38
+ 'inMetadata': json['inMetadata'],
39
+ 'inFeatures': json['inFeatures'],
40
+ };
41
+ }
42
+ export function SearchKeywordToJSON(json) {
43
+ return SearchKeywordToJSONTyped(json, false);
44
+ }
45
+ export function SearchKeywordToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'text': value['text'],
51
+ 'inName': value['inName'],
52
+ 'inMetadata': value['inMetadata'],
53
+ 'inFeatures': value['inFeatures'],
54
+ };
55
+ }
@@ -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 SearchRange
16
+ */
17
+ export interface SearchRange {
18
+ /**
19
+ * The number of items to return
20
+ * @type {number}
21
+ * @memberof SearchRange
22
+ */
23
+ take?: number;
24
+ /**
25
+ * The number of items to skip
26
+ * @type {number}
27
+ * @memberof SearchRange
28
+ */
29
+ skip?: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SearchRange interface.
33
+ */
34
+ export declare function instanceOfSearchRange(value: object): value is SearchRange;
35
+ export declare function SearchRangeFromJSON(json: any): SearchRange;
36
+ export declare function SearchRangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchRange;
37
+ export declare function SearchRangeToJSON(json: any): SearchRange;
38
+ export declare function SearchRangeToJSONTyped(value?: SearchRange | null, ignoreDiscriminator?: boolean): any;
@@ -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 SearchRange interface.
16
+ */
17
+ export function instanceOfSearchRange(value) {
18
+ return true;
19
+ }
20
+ export function SearchRangeFromJSON(json) {
21
+ return SearchRangeFromJSONTyped(json, false);
22
+ }
23
+ export function SearchRangeFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'take': json['take'] == null ? undefined : json['take'],
29
+ 'skip': json['skip'] == null ? undefined : json['skip'],
30
+ };
31
+ }
32
+ export function SearchRangeToJSON(json) {
33
+ return SearchRangeToJSONTyped(json, false);
34
+ }
35
+ export function SearchRangeToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'take': value['take'],
41
+ 'skip': value['skip'],
42
+ };
43
+ }
@@ -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 { SearchSortingProperty } from './SearchSortingProperty.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SearchSorting
17
+ */
18
+ export interface SearchSorting {
19
+ /**
20
+ * Indicates how the search result entities should be sorted
21
+ * @type {SearchSortingProperty}
22
+ * @memberof SearchSorting
23
+ */
24
+ property: SearchSortingProperty;
25
+ /**
26
+ * Whether the returned entities should be sorted in ascending or descending order in respect of the property
27
+ * @type {boolean}
28
+ * @memberof SearchSorting
29
+ */
30
+ isAscending?: boolean;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SearchSorting interface.
34
+ */
35
+ export declare function instanceOfSearchSorting(value: object): value is SearchSorting;
36
+ export declare function SearchSortingFromJSON(json: any): SearchSorting;
37
+ export declare function SearchSortingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchSorting;
38
+ export declare function SearchSortingToJSON(json: any): SearchSorting;
39
+ export declare function SearchSortingToJSONTyped(value?: SearchSorting | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,46 @@
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 { SearchSortingPropertyFromJSON, SearchSortingPropertyToJSON, } from './SearchSortingProperty.js';
15
+ /**
16
+ * Check if a given object implements the SearchSorting interface.
17
+ */
18
+ export function instanceOfSearchSorting(value) {
19
+ if (!('property' in value) || value['property'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SearchSortingFromJSON(json) {
24
+ return SearchSortingFromJSONTyped(json, false);
25
+ }
26
+ export function SearchSortingFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'property': SearchSortingPropertyFromJSON(json['property']),
32
+ 'isAscending': json['isAscending'] == null ? undefined : json['isAscending'],
33
+ };
34
+ }
35
+ export function SearchSortingToJSON(json) {
36
+ return SearchSortingToJSONTyped(json, false);
37
+ }
38
+ export function SearchSortingToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'property': SearchSortingPropertyToJSON(value['property']),
44
+ 'isAscending': value['isAscending'],
45
+ };
46
+ }
@@ -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
+ * Indicates how the search result entities should be sorted
14
+ * @export
15
+ */
16
+ export declare const SearchSortingProperty: {
17
+ readonly Name: "name";
18
+ readonly CreationDate: "creationDate";
19
+ readonly ModificationDate: "modificationDate";
20
+ readonly BinarySize: "binarySize";
21
+ readonly Width: "width";
22
+ readonly Height: "height";
23
+ };
24
+ export type SearchSortingProperty = typeof SearchSortingProperty[keyof typeof SearchSortingProperty];
25
+ export declare function instanceOfSearchSortingProperty(value: any): boolean;
26
+ export declare function SearchSortingPropertyFromJSON(json: any): SearchSortingProperty;
27
+ export declare function SearchSortingPropertyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchSortingProperty;
28
+ export declare function SearchSortingPropertyToJSON(value?: SearchSortingProperty | null): any;
29
+ export declare function SearchSortingPropertyToJSONTyped(value: any, ignoreDiscriminator: boolean): SearchSortingProperty;
@@ -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
+ * Indicates how the search result entities should be sorted
16
+ * @export
17
+ */
18
+ export const SearchSortingProperty = {
19
+ Name: 'name',
20
+ CreationDate: 'creationDate',
21
+ ModificationDate: 'modificationDate',
22
+ BinarySize: 'binarySize',
23
+ Width: 'width',
24
+ Height: 'height'
25
+ };
26
+ export function instanceOfSearchSortingProperty(value) {
27
+ for (const key in SearchSortingProperty) {
28
+ if (Object.prototype.hasOwnProperty.call(SearchSortingProperty, key)) {
29
+ if (SearchSortingProperty[key] === value) {
30
+ return true;
31
+ }
32
+ }
33
+ }
34
+ return false;
35
+ }
36
+ export function SearchSortingPropertyFromJSON(json) {
37
+ return SearchSortingPropertyFromJSONTyped(json, false);
38
+ }
39
+ export function SearchSortingPropertyFromJSONTyped(json, ignoreDiscriminator) {
40
+ return json;
41
+ }
42
+ export function SearchSortingPropertyToJSON(value) {
43
+ return value;
44
+ }
45
+ export function SearchSortingPropertyToJSONTyped(value, ignoreDiscriminator) {
46
+ return value;
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 Settings
16
+ */
17
+ export interface Settings {
18
+ /**
19
+ * The ComfyUI base URL
20
+ * @type {string}
21
+ * @memberof Settings
22
+ */
23
+ comfyUiBaseUrl?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the Settings interface.
27
+ */
28
+ export declare function instanceOfSettings(value: object): value is Settings;
29
+ export declare function SettingsFromJSON(json: any): Settings;
30
+ export declare function SettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Settings;
31
+ export declare function SettingsToJSON(json: any): Settings;
32
+ export declare function SettingsToJSONTyped(value?: Settings | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,41 @@
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 Settings interface.
16
+ */
17
+ export function instanceOfSettings(value) {
18
+ return true;
19
+ }
20
+ export function SettingsFromJSON(json) {
21
+ return SettingsFromJSONTyped(json, false);
22
+ }
23
+ export function SettingsFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'comfyUiBaseUrl': json['comfyUiBaseUrl'] == null ? undefined : json['comfyUiBaseUrl'],
29
+ };
30
+ }
31
+ export function SettingsToJSON(json) {
32
+ return SettingsToJSONTyped(json, false);
33
+ }
34
+ export function SettingsToJSONTyped(value, ignoreDiscriminator = false) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'comfyUiBaseUrl': value['comfyUiBaseUrl'],
40
+ };
41
+ }
@@ -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 location where the User Interface is anchored
14
+ * @export
15
+ */
16
+ export declare const UserInterfaceAnchor: {
17
+ readonly Modal: "modal";
18
+ readonly Sidebar: "sidebar";
19
+ readonly ImageDetail: "imageDetail";
20
+ };
21
+ export type UserInterfaceAnchor = typeof UserInterfaceAnchor[keyof typeof UserInterfaceAnchor];
22
+ export declare function instanceOfUserInterfaceAnchor(value: any): boolean;
23
+ export declare function UserInterfaceAnchorFromJSON(json: any): UserInterfaceAnchor;
24
+ export declare function UserInterfaceAnchorFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInterfaceAnchor;
25
+ export declare function UserInterfaceAnchorToJSON(value?: UserInterfaceAnchor | null): any;
26
+ export declare function UserInterfaceAnchorToJSONTyped(value: any, ignoreDiscriminator: boolean): UserInterfaceAnchor;
@@ -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 location where the User Interface is anchored
16
+ * @export
17
+ */
18
+ export const UserInterfaceAnchor = {
19
+ Modal: 'modal',
20
+ Sidebar: 'sidebar',
21
+ ImageDetail: 'imageDetail'
22
+ };
23
+ export function instanceOfUserInterfaceAnchor(value) {
24
+ for (const key in UserInterfaceAnchor) {
25
+ if (Object.prototype.hasOwnProperty.call(UserInterfaceAnchor, key)) {
26
+ if (UserInterfaceAnchor[key] === value) {
27
+ return true;
28
+ }
29
+ }
30
+ }
31
+ return false;
32
+ }
33
+ export function UserInterfaceAnchorFromJSON(json) {
34
+ return UserInterfaceAnchorFromJSONTyped(json, false);
35
+ }
36
+ export function UserInterfaceAnchorFromJSONTyped(json, ignoreDiscriminator) {
37
+ return json;
38
+ }
39
+ export function UserInterfaceAnchorToJSON(value) {
40
+ return value;
41
+ }
42
+ export function UserInterfaceAnchorToJSONTyped(value, ignoreDiscriminator) {
43
+ return value;
44
+ }
@@ -0,0 +1,55 @@
1
+ export * from './Automatic1111Instruction.js';
2
+ export * from './Automatic1111UserComment.js';
3
+ export * from './ComfyUiPromptAndWorkflow.js';
4
+ export * from './CommandEntity.js';
5
+ export * from './ConfigurationCapability.js';
6
+ export * from './ConfigurationExtensionCommand.js';
7
+ export * from './Dates.js';
8
+ export * from './Extension.js';
9
+ export * from './ExtensionActivity.js';
10
+ export * from './ExtensionActivityKind.js';
11
+ export * from './ExtensionGenerationOptions.js';
12
+ export * from './ExtensionImageEmbeddings.js';
13
+ export * from './ExtensionImageFeature.js';
14
+ export * from './ExtensionImageTag.js';
15
+ export * from './ExtensionSettings.js';
16
+ export * from './ExtensionStatus.js';
17
+ export * from './ExtensionsConfiguration.js';
18
+ export * from './Image.js';
19
+ export * from './ImageDimensions.js';
20
+ export * from './ImageDistance.js';
21
+ export * from './ImageEmbeddings.js';
22
+ export * from './ImageFeature.js';
23
+ export * from './ImageFeatureFormat.js';
24
+ export * from './ImageFeatureType.js';
25
+ export * from './ImageFormat.js';
26
+ export * from './ImageGenerator.js';
27
+ export * from './ImageMetadata.js';
28
+ export * from './ImageSummary.js';
29
+ export * from './ImageSummaryList.js';
30
+ export * from './Manifest.js';
31
+ export * from './ManifestCapability.js';
32
+ export * from './ManifestCapabilityId.js';
33
+ export * from './ManifestEvent.js';
34
+ export * from './ManifestExecution.js';
35
+ export * from './ManifestExtensionCommand.js';
36
+ export * from './ManifestExtensionCommandLabel.js';
37
+ export * from './ManifestExtensionCommandOn.js';
38
+ export * from './ManifestInstructions.js';
39
+ export * from './ManifestInterfaceElement.js';
40
+ export * from './ManifestRuntime.js';
41
+ export * from './ManifestRuntimeEnvironment.js';
42
+ export * from './ManifestUserInterface.js';
43
+ export * from './MidjourneyInstructions.js';
44
+ export * from './Repository.js';
45
+ export * from './RepositoryActivity.js';
46
+ export * from './RepositoryActivityKind.js';
47
+ export * from './RepositoryLocationType.js';
48
+ export * from './RepositoryStatus.js';
49
+ export * from './SearchCriteria.js';
50
+ export * from './SearchKeyword.js';
51
+ export * from './SearchRange.js';
52
+ export * from './SearchSorting.js';
53
+ export * from './SearchSortingProperty.js';
54
+ export * from './Settings.js';
55
+ export * from './UserInterfaceAnchor.js';