@picteus/extension-sdk 0.5.1 → 0.5.3

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 (167) hide show
  1. package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +1 -1
  2. package/dist/picteus-ws-client/apis/AdministrationApi.js +1 -1
  3. package/dist/picteus-ws-client/apis/ApiSecretApi.d.ts +1 -1
  4. package/dist/picteus-ws-client/apis/ApiSecretApi.js +1 -1
  5. package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +1 -1
  6. package/dist/picteus-ws-client/apis/ExtensionApi.js +1 -1
  7. package/dist/picteus-ws-client/apis/ImageApi.d.ts +1 -28
  8. package/dist/picteus-ws-client/apis/ImageApi.js +1 -37
  9. package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +1 -1
  10. package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +1 -1
  11. package/dist/picteus-ws-client/apis/MiscellaneousApi.d.ts +1 -1
  12. package/dist/picteus-ws-client/apis/MiscellaneousApi.js +1 -1
  13. package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +2 -2
  14. package/dist/picteus-ws-client/apis/RepositoryApi.js +1 -1
  15. package/dist/picteus-ws-client/apis/SettingsApi.d.ts +26 -26
  16. package/dist/picteus-ws-client/apis/SettingsApi.js +25 -26
  17. package/dist/picteus-ws-client/models/ApiSecret.d.ts +1 -1
  18. package/dist/picteus-ws-client/models/ApiSecret.js +1 -1
  19. package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +1 -1
  20. package/dist/picteus-ws-client/models/ApiSecretSummary.js +1 -1
  21. package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
  22. package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
  23. package/dist/picteus-ws-client/models/ApplicationMetadata.d.ts +33 -0
  24. package/dist/picteus-ws-client/models/ApplicationMetadata.js +44 -0
  25. package/dist/picteus-ws-client/models/ApplicationMetadataItem.d.ts +39 -0
  26. package/dist/picteus-ws-client/models/ApplicationMetadataItem.js +48 -0
  27. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.d.ts +22 -0
  28. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.js +44 -0
  29. package/dist/picteus-ws-client/models/Automatic1111Instruction.d.ts +1 -1
  30. package/dist/picteus-ws-client/models/Automatic1111Instruction.js +1 -1
  31. package/dist/picteus-ws-client/models/Automatic1111UserComment.d.ts +1 -1
  32. package/dist/picteus-ws-client/models/Automatic1111UserComment.js +1 -1
  33. package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.d.ts +1 -1
  34. package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.js +1 -1
  35. package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
  36. package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
  37. package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +1 -1
  38. package/dist/picteus-ws-client/models/ComputedImageFormat.js +1 -1
  39. package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +1 -1
  40. package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
  41. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +1 -1
  42. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
  43. package/dist/picteus-ws-client/models/Dates.d.ts +1 -1
  44. package/dist/picteus-ws-client/models/Dates.js +1 -1
  45. package/dist/picteus-ws-client/models/Extension.d.ts +1 -1
  46. package/dist/picteus-ws-client/models/Extension.js +1 -1
  47. package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +1 -1
  48. package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
  49. package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +1 -1
  50. package/dist/picteus-ws-client/models/ExtensionActivityKind.js +1 -1
  51. package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +1 -1
  52. package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
  53. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +1 -1
  54. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
  55. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +1 -1
  56. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
  57. package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +1 -1
  58. package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
  59. package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +1 -1
  60. package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
  61. package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
  62. package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
  63. package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
  64. package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
  65. package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +1 -1
  66. package/dist/picteus-ws-client/models/ExtensionStatus.js +1 -1
  67. package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
  68. package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
  69. package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +1 -1
  70. package/dist/picteus-ws-client/models/GenerationRecipe.js +1 -1
  71. package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +1 -1
  72. package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +1 -1
  73. package/dist/picteus-ws-client/models/Image.d.ts +1 -1
  74. package/dist/picteus-ws-client/models/Image.js +1 -1
  75. package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
  76. package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
  77. package/dist/picteus-ws-client/models/ImageDistance.d.ts +1 -1
  78. package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
  79. package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +1 -1
  80. package/dist/picteus-ws-client/models/ImageEmbeddings.js +1 -1
  81. package/dist/picteus-ws-client/models/ImageFeature.d.ts +1 -1
  82. package/dist/picteus-ws-client/models/ImageFeature.js +1 -1
  83. package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +1 -1
  84. package/dist/picteus-ws-client/models/ImageFeatureFormat.js +1 -1
  85. package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +1 -1
  86. package/dist/picteus-ws-client/models/ImageFeatureType.js +1 -1
  87. package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
  88. package/dist/picteus-ws-client/models/ImageFormat.js +1 -1
  89. package/dist/picteus-ws-client/models/ImageGenerator.d.ts +1 -1
  90. package/dist/picteus-ws-client/models/ImageGenerator.js +1 -1
  91. package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
  92. package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
  93. package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
  94. package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
  95. package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
  96. package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
  97. package/dist/picteus-ws-client/models/ImageSummary.d.ts +1 -1
  98. package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
  99. package/dist/picteus-ws-client/models/ImageSummaryList.d.ts +1 -1
  100. package/dist/picteus-ws-client/models/ImageSummaryList.js +1 -1
  101. package/dist/picteus-ws-client/models/Manifest.d.ts +1 -1
  102. package/dist/picteus-ws-client/models/Manifest.js +1 -1
  103. package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
  104. package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
  105. package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
  106. package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
  107. package/dist/picteus-ws-client/models/ManifestEvent.d.ts +1 -1
  108. package/dist/picteus-ws-client/models/ManifestEvent.js +1 -1
  109. package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
  110. package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
  111. package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +1 -1
  112. package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
  113. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
  114. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
  115. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +1 -1
  116. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
  117. package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +8 -1
  118. package/dist/picteus-ws-client/models/ManifestInstructions.js +4 -1
  119. package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +1 -1
  120. package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
  121. package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
  122. package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
  123. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
  124. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
  125. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.d.ts +45 -0
  126. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.js +48 -0
  127. package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +1 -1
  128. package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
  129. package/dist/picteus-ws-client/models/MidjourneyInstructions.d.ts +1 -1
  130. package/dist/picteus-ws-client/models/MidjourneyInstructions.js +1 -1
  131. package/dist/picteus-ws-client/models/Repository.d.ts +1 -1
  132. package/dist/picteus-ws-client/models/Repository.js +1 -1
  133. package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
  134. package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
  135. package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
  136. package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
  137. package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
  138. package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
  139. package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +1 -1
  140. package/dist/picteus-ws-client/models/RepositoryStatus.js +1 -1
  141. package/dist/picteus-ws-client/models/SearchCriteria.d.ts +1 -1
  142. package/dist/picteus-ws-client/models/SearchCriteria.js +1 -1
  143. package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
  144. package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
  145. package/dist/picteus-ws-client/models/SearchProperties.d.ts +1 -1
  146. package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
  147. package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
  148. package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
  149. package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
  150. package/dist/picteus-ws-client/models/SearchRange.js +1 -1
  151. package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
  152. package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
  153. package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
  154. package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
  155. package/dist/picteus-ws-client/models/SearchTags.d.ts +1 -1
  156. package/dist/picteus-ws-client/models/SearchTags.js +1 -1
  157. package/dist/picteus-ws-client/models/Settings.d.ts +1 -1
  158. package/dist/picteus-ws-client/models/Settings.js +1 -1
  159. package/dist/picteus-ws-client/models/TextualPrompt.d.ts +1 -1
  160. package/dist/picteus-ws-client/models/TextualPrompt.js +1 -1
  161. package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +1 -1
  162. package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
  163. package/dist/picteus-ws-client/models/index.d.ts +4 -0
  164. package/dist/picteus-ws-client/models/index.js +4 -0
  165. package/dist/picteus-ws-client/runtime.d.ts +1 -1
  166. package/dist/picteus-ws-client/runtime.js +1 -1
  167. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.1
5
+ * The version of the OpenAPI document: 0.5.3
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.1
7
+ * The version of the OpenAPI document: 0.5.3
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.1
5
+ * The version of the OpenAPI document: 0.5.3
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.1
7
+ * The version of the OpenAPI document: 0.5.3
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.1
5
+ * The version of the OpenAPI document: 0.5.3
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.1
7
+ * The version of the OpenAPI document: 0.5.3
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.1
5
+ * The version of the OpenAPI document: 0.5.3
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -81,9 +81,6 @@ export interface ImageApiImageModifyRequest {
81
81
  id: string;
82
82
  body: Blob;
83
83
  }
84
- export interface ImageApiImageRunComfyUiRequest {
85
- id: string;
86
- }
87
84
  export interface ImageApiImageSearchRequest {
88
85
  criteria?: SearchCriteria;
89
86
  sorting?: SearchSorting;
@@ -374,20 +371,6 @@ export interface ImageApiInterface {
374
371
  * Modifies an image
375
372
  */
376
373
  imageModify(requestParameters: ImageApiImageModifyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
377
- /**
378
- * Runs the workflow attached to the image in background.
379
- * @summary Starts the image ComfyUI workflow
380
- * @param {string} id The image identifier
381
- * @param {*} [options] Override http request option.
382
- * @throws {RequiredError}
383
- * @memberof ImageApiInterface
384
- */
385
- imageRunComfyUiRaw(requestParameters: ImageApiImageRunComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
386
- /**
387
- * Runs the workflow attached to the image in background.
388
- * Starts the image ComfyUI workflow
389
- */
390
- imageRunComfyUi(requestParameters: ImageApiImageRunComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
391
374
  /**
392
375
  * Searches images, given criteria.
393
376
  * @summary Searches images
@@ -644,16 +627,6 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
644
627
  * Modifies an image
645
628
  */
646
629
  imageModify(requestParameters: ImageApiImageModifyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
647
- /**
648
- * Runs the workflow attached to the image in background.
649
- * Starts the image ComfyUI workflow
650
- */
651
- imageRunComfyUiRaw(requestParameters: ImageApiImageRunComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
652
- /**
653
- * Runs the workflow attached to the image in background.
654
- * Starts the image ComfyUI workflow
655
- */
656
- imageRunComfyUi(requestParameters: ImageApiImageRunComfyUiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
657
630
  /**
658
631
  * Searches images, given criteria.
659
632
  * Searches images
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.1
7
+ * The version of the OpenAPI document: 0.5.3
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -628,42 +628,6 @@ export class ImageApi extends runtime.BaseAPI {
628
628
  const response = await this.imageModifyRaw(requestParameters, initOverrides);
629
629
  return await response.value();
630
630
  }
631
- /**
632
- * Runs the workflow attached to the image in background.
633
- * Starts the image ComfyUI workflow
634
- */
635
- async imageRunComfyUiRaw(requestParameters, initOverrides) {
636
- if (requestParameters['id'] == null) {
637
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling imageRunComfyUi().');
638
- }
639
- const queryParameters = {};
640
- const headerParameters = {};
641
- if (this.configuration && this.configuration.apiKey) {
642
- headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
643
- }
644
- let urlPath = `/image/{id}/runComfyUi`;
645
- urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
646
- const response = await this.request({
647
- path: urlPath,
648
- method: 'PUT',
649
- headers: headerParameters,
650
- query: queryParameters,
651
- }, initOverrides);
652
- if (this.isJsonMime(response.headers.get('content-type'))) {
653
- return new runtime.JSONApiResponse(response);
654
- }
655
- else {
656
- return new runtime.TextApiResponse(response);
657
- }
658
- }
659
- /**
660
- * Runs the workflow attached to the image in background.
661
- * Starts the image ComfyUI workflow
662
- */
663
- async imageRunComfyUi(requestParameters, initOverrides) {
664
- const response = await this.imageRunComfyUiRaw(requestParameters, initOverrides);
665
- return await response.value();
666
- }
667
631
  /**
668
632
  * Searches images, given criteria.
669
633
  * Searches images
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.1
5
+ * The version of the OpenAPI document: 0.5.3
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.1
7
+ * The version of the OpenAPI document: 0.5.3
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.1
5
+ * The version of the OpenAPI document: 0.5.3
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.1
7
+ * The version of the OpenAPI document: 0.5.3
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.1
5
+ * The version of the OpenAPI document: 0.5.3
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -208,7 +208,7 @@ export interface RepositoryApiInterface {
208
208
  * @param {Blob} body The image file
209
209
  * @param {string} [sourceUrl] The URL of the image source
210
210
  * @param {string} [parentId] The identifier of the image parent image
211
- * @param {string} [applicationMetadata] The JSON string containing the application metadata
211
+ * @param {string} [applicationMetadata] The JSON string representing the application metadata
212
212
  * @param {string} [directoryPath] The relative directory path within the repository that will host the image
213
213
  * @param {string} [nameWithoutExtension] The image file name, without its extension
214
214
  * @param {*} [options] Override http request option.
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.1
7
+ * The version of the OpenAPI document: 0.5.3
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.1
5
+ * The version of the OpenAPI document: 0.5.3
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11,8 +11,8 @@
11
11
  */
12
12
  import * as runtime from '../runtime.js';
13
13
  import type { Settings } from '../models/index.js';
14
- export interface SettingsApiSettingsComfyuiRequest {
15
- baseUrl: string;
14
+ export interface SettingsApiSettingsSetRequest {
15
+ settings: Settings;
16
16
  }
17
17
  /**
18
18
  * SettingsApi - interface
@@ -22,47 +22,37 @@ export interface SettingsApiSettingsComfyuiRequest {
22
22
  */
23
23
  export interface SettingsApiInterface {
24
24
  /**
25
- * Once invoked, ComfyUI related operations can be performed.
26
- * @summary Sets the ComfyUI settings
27
- * @param {string} baseUrl The base URL of the ComfyUI server
25
+ * Returns all the application settings.
26
+ * @summary Gets all the settings
28
27
  * @param {*} [options] Override http request option.
29
28
  * @throws {RequiredError}
30
29
  * @memberof SettingsApiInterface
31
30
  */
32
- settingsComfyuiRaw(requestParameters: SettingsApiSettingsComfyuiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Settings>>;
31
+ settingsGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Settings>>;
33
32
  /**
34
- * Once invoked, ComfyUI related operations can be performed.
35
- * Sets the ComfyUI settings
33
+ * Returns all the application settings.
34
+ * Gets all the settings
36
35
  */
37
- settingsComfyui(requestParameters: SettingsApiSettingsComfyuiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Settings>;
36
+ settingsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Settings>;
38
37
  /**
39
- * Returns all the application settings.
40
- * @summary Gets all the settings
38
+ * This enables to tune the application settings.
39
+ * @summary Sets all the settings
40
+ * @param {Settings} settings The extension archive
41
41
  * @param {*} [options] Override http request option.
42
42
  * @throws {RequiredError}
43
43
  * @memberof SettingsApiInterface
44
44
  */
45
- settingsGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Settings>>;
45
+ settingsSetRaw(requestParameters: SettingsApiSettingsSetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Settings>>;
46
46
  /**
47
- * Returns all the application settings.
48
- * Gets all the settings
47
+ * This enables to tune the application settings.
48
+ * Sets all the settings
49
49
  */
50
- settingsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Settings>;
50
+ settingsSet(requestParameters: SettingsApiSettingsSetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Settings>;
51
51
  }
52
52
  /**
53
53
  *
54
54
  */
55
55
  export declare class SettingsApi extends runtime.BaseAPI implements SettingsApiInterface {
56
- /**
57
- * Once invoked, ComfyUI related operations can be performed.
58
- * Sets the ComfyUI settings
59
- */
60
- settingsComfyuiRaw(requestParameters: SettingsApiSettingsComfyuiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Settings>>;
61
- /**
62
- * Once invoked, ComfyUI related operations can be performed.
63
- * Sets the ComfyUI settings
64
- */
65
- settingsComfyui(requestParameters: SettingsApiSettingsComfyuiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Settings>;
66
56
  /**
67
57
  * Returns all the application settings.
68
58
  * Gets all the settings
@@ -73,4 +63,14 @@ export declare class SettingsApi extends runtime.BaseAPI implements SettingsApiI
73
63
  * Gets all the settings
74
64
  */
75
65
  settingsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Settings>;
66
+ /**
67
+ * This enables to tune the application settings.
68
+ * Sets all the settings
69
+ */
70
+ settingsSetRaw(requestParameters: SettingsApiSettingsSetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Settings>>;
71
+ /**
72
+ * This enables to tune the application settings.
73
+ * Sets all the settings
74
+ */
75
+ settingsSet(requestParameters: SettingsApiSettingsSetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Settings>;
76
76
  }
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.1
7
+ * The version of the OpenAPI document: 0.5.3
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,69 +12,68 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import * as runtime from '../runtime.js';
15
- import { SettingsFromJSON, } from '../models/index.js';
15
+ import { SettingsFromJSON, SettingsToJSON, } from '../models/index.js';
16
16
  /**
17
17
  *
18
18
  */
19
19
  export class SettingsApi extends runtime.BaseAPI {
20
20
  /**
21
- * Once invoked, ComfyUI related operations can be performed.
22
- * Sets the ComfyUI settings
21
+ * Returns all the application settings.
22
+ * Gets all the settings
23
23
  */
24
- async settingsComfyuiRaw(requestParameters, initOverrides) {
25
- if (requestParameters['baseUrl'] == null) {
26
- throw new runtime.RequiredError('baseUrl', 'Required parameter "baseUrl" was null or undefined when calling settingsComfyui().');
27
- }
24
+ async settingsGetRaw(initOverrides) {
28
25
  const queryParameters = {};
29
- if (requestParameters['baseUrl'] != null) {
30
- queryParameters['baseUrl'] = requestParameters['baseUrl'];
31
- }
32
26
  const headerParameters = {};
33
27
  if (this.configuration && this.configuration.apiKey) {
34
28
  headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
35
29
  }
36
- let urlPath = `/settings/comfyui`;
30
+ let urlPath = `/settings/get`;
37
31
  const response = await this.request({
38
32
  path: urlPath,
39
- method: 'PUT',
33
+ method: 'GET',
40
34
  headers: headerParameters,
41
35
  query: queryParameters,
42
36
  }, initOverrides);
43
37
  return new runtime.JSONApiResponse(response, (jsonValue) => SettingsFromJSON(jsonValue));
44
38
  }
45
39
  /**
46
- * Once invoked, ComfyUI related operations can be performed.
47
- * Sets the ComfyUI settings
40
+ * Returns all the application settings.
41
+ * Gets all the settings
48
42
  */
49
- async settingsComfyui(requestParameters, initOverrides) {
50
- const response = await this.settingsComfyuiRaw(requestParameters, initOverrides);
43
+ async settingsGet(initOverrides) {
44
+ const response = await this.settingsGetRaw(initOverrides);
51
45
  return await response.value();
52
46
  }
53
47
  /**
54
- * Returns all the application settings.
55
- * Gets all the settings
48
+ * This enables to tune the application settings.
49
+ * Sets all the settings
56
50
  */
57
- async settingsGetRaw(initOverrides) {
51
+ async settingsSetRaw(requestParameters, initOverrides) {
52
+ if (requestParameters['settings'] == null) {
53
+ throw new runtime.RequiredError('settings', 'Required parameter "settings" was null or undefined when calling settingsSet().');
54
+ }
58
55
  const queryParameters = {};
59
56
  const headerParameters = {};
57
+ headerParameters['Content-Type'] = 'application/json';
60
58
  if (this.configuration && this.configuration.apiKey) {
61
59
  headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
62
60
  }
63
- let urlPath = `/settings/get`;
61
+ let urlPath = `/settings/set`;
64
62
  const response = await this.request({
65
63
  path: urlPath,
66
- method: 'GET',
64
+ method: 'PUT',
67
65
  headers: headerParameters,
68
66
  query: queryParameters,
67
+ body: SettingsToJSON(requestParameters['settings']),
69
68
  }, initOverrides);
70
69
  return new runtime.JSONApiResponse(response, (jsonValue) => SettingsFromJSON(jsonValue));
71
70
  }
72
71
  /**
73
- * Returns all the application settings.
74
- * Gets all the settings
72
+ * This enables to tune the application settings.
73
+ * Sets all the settings
75
74
  */
76
- async settingsGet(initOverrides) {
77
- const response = await this.settingsGetRaw(initOverrides);
75
+ async settingsSet(requestParameters, initOverrides) {
76
+ const response = await this.settingsSetRaw(requestParameters, initOverrides);
78
77
  return await response.value();
79
78
  }
80
79
  }
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.1
5
+ * The version of the OpenAPI document: 0.5.3
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.1
7
+ * The version of the OpenAPI document: 0.5.3
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.1
5
+ * The version of the OpenAPI document: 0.5.3
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.1
7
+ * The version of the OpenAPI document: 0.5.3
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.1
5
+ * The version of the OpenAPI document: 0.5.3
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.1
7
+ * The version of the OpenAPI document: 0.5.3
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.5.3
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 { ApplicationMetadataItem } from './ApplicationMetadataItem.js';
13
+ /**
14
+ * The application metadata
15
+ * @export
16
+ * @interface ApplicationMetadata
17
+ */
18
+ export interface ApplicationMetadata {
19
+ /**
20
+ * The application metadata items
21
+ * @type {Array<ApplicationMetadataItem>}
22
+ * @memberof ApplicationMetadata
23
+ */
24
+ items: Array<ApplicationMetadataItem>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ApplicationMetadata interface.
28
+ */
29
+ export declare function instanceOfApplicationMetadata(value: object): value is ApplicationMetadata;
30
+ export declare function ApplicationMetadataFromJSON(json: any): ApplicationMetadata;
31
+ export declare function ApplicationMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationMetadata;
32
+ export declare function ApplicationMetadataToJSON(json: any): ApplicationMetadata;
33
+ export declare function ApplicationMetadataToJSONTyped(value?: ApplicationMetadata | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Picteus
5
+ * The Picteus API
6
+ *
7
+ * The version of the OpenAPI document: 0.5.3
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 { ApplicationMetadataItemFromJSON, ApplicationMetadataItemToJSON, } from './ApplicationMetadataItem.js';
15
+ /**
16
+ * Check if a given object implements the ApplicationMetadata interface.
17
+ */
18
+ export function instanceOfApplicationMetadata(value) {
19
+ if (!('items' in value) || value['items'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function ApplicationMetadataFromJSON(json) {
24
+ return ApplicationMetadataFromJSONTyped(json, false);
25
+ }
26
+ export function ApplicationMetadataFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'items': (json['items'].map(ApplicationMetadataItemFromJSON)),
32
+ };
33
+ }
34
+ export function ApplicationMetadataToJSON(json) {
35
+ return ApplicationMetadataToJSONTyped(json, false);
36
+ }
37
+ export function ApplicationMetadataToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'items': (value['items'].map(ApplicationMetadataItemToJSON)),
43
+ };
44
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.5.3
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 { ApplicationMetadataItemValue } from './ApplicationMetadataItemValue.js';
13
+ /**
14
+ * The application metadata item specific to an extension
15
+ * @export
16
+ * @interface ApplicationMetadataItem
17
+ */
18
+ export interface ApplicationMetadataItem {
19
+ /**
20
+ * The identifier of the extension
21
+ * @type {string}
22
+ * @memberof ApplicationMetadataItem
23
+ */
24
+ extensionId: string;
25
+ /**
26
+ *
27
+ * @type {ApplicationMetadataItemValue}
28
+ * @memberof ApplicationMetadataItem
29
+ */
30
+ value: ApplicationMetadataItemValue;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ApplicationMetadataItem interface.
34
+ */
35
+ export declare function instanceOfApplicationMetadataItem(value: object): value is ApplicationMetadataItem;
36
+ export declare function ApplicationMetadataItemFromJSON(json: any): ApplicationMetadataItem;
37
+ export declare function ApplicationMetadataItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationMetadataItem;
38
+ export declare function ApplicationMetadataItemToJSON(json: any): ApplicationMetadataItem;
39
+ export declare function ApplicationMetadataItemToJSONTyped(value?: ApplicationMetadataItem | null, ignoreDiscriminator?: boolean): any;