@picteus/extension-sdk 0.5.3 → 0.6.0

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 (173) 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 -1
  8. package/dist/picteus-ws-client/apis/ImageApi.js +1 -1
  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 +36 -3
  14. package/dist/picteus-ws-client/apis/RepositoryApi.js +49 -3
  15. package/dist/picteus-ws-client/apis/SettingsApi.d.ts +1 -1
  16. package/dist/picteus-ws-client/apis/SettingsApi.js +1 -1
  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 +1 -1
  24. package/dist/picteus-ws-client/models/ApplicationMetadata.js +1 -1
  25. package/dist/picteus-ws-client/models/ApplicationMetadataItem.d.ts +1 -1
  26. package/dist/picteus-ws-client/models/ApplicationMetadataItem.js +1 -1
  27. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.d.ts +1 -1
  28. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.js +1 -1
  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 +7 -2
  72. package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +17 -14
  73. package/dist/picteus-ws-client/models/Image.d.ts +4 -4
  74. package/dist/picteus-ws-client/models/Image.js +4 -4
  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/InstructionsPrompt.d.ts +39 -0
  102. package/dist/picteus-ws-client/models/InstructionsPrompt.js +48 -0
  103. package/dist/picteus-ws-client/models/Manifest.d.ts +1 -1
  104. package/dist/picteus-ws-client/models/Manifest.js +1 -1
  105. package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
  106. package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
  107. package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
  108. package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
  109. package/dist/picteus-ws-client/models/ManifestEvent.d.ts +1 -1
  110. package/dist/picteus-ws-client/models/ManifestEvent.js +1 -1
  111. package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
  112. package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
  113. package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +1 -1
  114. package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
  115. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
  116. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
  117. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +1 -1
  118. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
  119. package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
  120. package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
  121. package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +1 -1
  122. package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
  123. package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
  124. package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
  125. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
  126. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
  127. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.d.ts +1 -1
  128. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.js +1 -1
  129. package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +1 -1
  130. package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
  131. package/dist/picteus-ws-client/models/MidjourneyInstructions.d.ts +1 -1
  132. package/dist/picteus-ws-client/models/MidjourneyInstructions.js +1 -1
  133. package/dist/picteus-ws-client/models/PromptKind.d.ts +25 -0
  134. package/dist/picteus-ws-client/models/PromptKind.js +43 -0
  135. package/dist/picteus-ws-client/models/Repository.d.ts +1 -1
  136. package/dist/picteus-ws-client/models/Repository.js +1 -1
  137. package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
  138. package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
  139. package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
  140. package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
  141. package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
  142. package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
  143. package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +1 -1
  144. package/dist/picteus-ws-client/models/RepositoryStatus.js +1 -1
  145. package/dist/picteus-ws-client/models/SearchCriteria.d.ts +1 -1
  146. package/dist/picteus-ws-client/models/SearchCriteria.js +1 -1
  147. package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
  148. package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
  149. package/dist/picteus-ws-client/models/SearchProperties.d.ts +1 -1
  150. package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
  151. package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
  152. package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
  153. package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
  154. package/dist/picteus-ws-client/models/SearchRange.js +1 -1
  155. package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
  156. package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
  157. package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
  158. package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
  159. package/dist/picteus-ws-client/models/SearchTags.d.ts +1 -1
  160. package/dist/picteus-ws-client/models/SearchTags.js +1 -1
  161. package/dist/picteus-ws-client/models/Settings.d.ts +1 -1
  162. package/dist/picteus-ws-client/models/Settings.js +1 -1
  163. package/dist/picteus-ws-client/models/TextualPrompt.d.ts +9 -2
  164. package/dist/picteus-ws-client/models/TextualPrompt.js +6 -1
  165. package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +1 -1
  166. package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
  167. package/dist/picteus-ws-client/models/index.d.ts +2 -0
  168. package/dist/picteus-ws-client/models/index.js +2 -0
  169. package/dist/picteus-ws-client/runtime.d.ts +1 -1
  170. package/dist/picteus-ws-client/runtime.js +1 -1
  171. package/dist/picteusExtension.d.ts +9 -0
  172. package/dist/picteusExtension.js +20 -10
  173. 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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,20 +2,25 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.3
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { InstructionsPrompt } from './InstructionsPrompt.js';
12
13
  import type { TextualPrompt } from './TextualPrompt.js';
13
14
  /**
14
15
  * @type GenerationRecipePrompt
15
16
  * The prompt which enabled to generate the image
16
17
  * @export
17
18
  */
18
- export type GenerationRecipePrompt = TextualPrompt | object;
19
+ export type GenerationRecipePrompt = {
20
+ kind: 'instructions';
21
+ } & InstructionsPrompt | {
22
+ kind: 'textual';
23
+ } & TextualPrompt;
19
24
  export declare function GenerationRecipePromptFromJSON(json: any): GenerationRecipePrompt;
20
25
  export declare function GenerationRecipePromptFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerationRecipePrompt;
21
26
  export declare function GenerationRecipePromptToJSON(json: any): any;
@@ -4,14 +4,15 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.3
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { instanceOfTextualPrompt, TextualPromptFromJSONTyped, TextualPromptToJSON, } from './TextualPrompt.js';
14
+ import { InstructionsPromptFromJSONTyped, InstructionsPromptToJSON, } from './InstructionsPrompt.js';
15
+ import { TextualPromptFromJSONTyped, TextualPromptToJSON, } from './TextualPrompt.js';
15
16
  export function GenerationRecipePromptFromJSON(json) {
16
17
  return GenerationRecipePromptFromJSONTyped(json, false);
17
18
  }
@@ -19,13 +20,14 @@ export function GenerationRecipePromptFromJSONTyped(json, ignoreDiscriminator) {
19
20
  if (json == null) {
20
21
  return json;
21
22
  }
22
- if (typeof json !== 'object') {
23
- return json;
24
- }
25
- if (instanceOfTextualPrompt(json)) {
26
- return TextualPromptFromJSONTyped(json, true);
23
+ switch (json['kind']) {
24
+ case 'instructions':
25
+ return Object.assign({}, InstructionsPromptFromJSONTyped(json, true), { kind: 'instructions' });
26
+ case 'textual':
27
+ return Object.assign({}, TextualPromptFromJSONTyped(json, true), { kind: 'textual' });
28
+ default:
29
+ return json;
27
30
  }
28
- return {};
29
31
  }
30
32
  export function GenerationRecipePromptToJSON(json) {
31
33
  return GenerationRecipePromptToJSONTyped(json, false);
@@ -34,11 +36,12 @@ export function GenerationRecipePromptToJSONTyped(value, ignoreDiscriminator = f
34
36
  if (value == null) {
35
37
  return value;
36
38
  }
37
- if (typeof value !== 'object') {
38
- return value;
39
- }
40
- if (instanceOfTextualPrompt(value)) {
41
- return TextualPromptToJSON(value);
39
+ switch (value['kind']) {
40
+ case 'instructions':
41
+ return Object.assign({}, InstructionsPromptToJSON(value), { kind: 'instructions' });
42
+ case 'textual':
43
+ return Object.assign({}, TextualPromptToJSON(value), { kind: 'textual' });
44
+ default:
45
+ return value;
42
46
  }
43
- return {};
44
47
  }
@@ -2,19 +2,19 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.3
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ExtensionImageFeature } from './ExtensionImageFeature.js';
12
13
  import type { ExtensionImageTag } from './ExtensionImageTag.js';
13
14
  import type { ImageDimensions } from './ImageDimensions.js';
14
15
  import type { ImageMetadata } from './ImageMetadata.js';
15
16
  import type { Dates } from './Dates.js';
16
17
  import type { ImageGenerator } from './ImageGenerator.js';
17
- import type { ImageFeature } from './ImageFeature.js';
18
18
  import type { ImageFormat } from './ImageFormat.js';
19
19
  /**
20
20
  * Comprehensive information about an image
@@ -120,10 +120,10 @@ export interface Image {
120
120
  metadata: ImageMetadata;
121
121
  /**
122
122
  * The image features
123
- * @type {Array<ImageFeature>}
123
+ * @type {Array<ExtensionImageFeature>}
124
124
  * @memberof Image
125
125
  */
126
- features: Array<ImageFeature>;
126
+ features: Array<ExtensionImageFeature>;
127
127
  /**
128
128
  * The image tags
129
129
  * @type {Array<ExtensionImageTag>}
@@ -4,19 +4,19 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.3
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { ExtensionImageFeatureFromJSON, ExtensionImageFeatureToJSON, } from './ExtensionImageFeature.js';
14
15
  import { ExtensionImageTagFromJSON, ExtensionImageTagToJSON, } from './ExtensionImageTag.js';
15
16
  import { ImageDimensionsFromJSON, ImageDimensionsToJSON, } from './ImageDimensions.js';
16
17
  import { ImageMetadataFromJSON, ImageMetadataToJSON, } from './ImageMetadata.js';
17
18
  import { DatesFromJSON, DatesToJSON, } from './Dates.js';
18
19
  import { ImageGeneratorFromJSON, ImageGeneratorToJSON, } from './ImageGenerator.js';
19
- import { ImageFeatureFromJSON, ImageFeatureToJSON, } from './ImageFeature.js';
20
20
  import { ImageFormatFromJSON, ImageFormatToJSON, } from './ImageFormat.js';
21
21
  /**
22
22
  * Check if a given object implements the Image interface.
@@ -80,7 +80,7 @@ export function ImageFromJSONTyped(json, ignoreDiscriminator) {
80
80
  'fileDates': DatesFromJSON(json['fileDates']),
81
81
  'generators': (json['generators'].map(ImageGeneratorFromJSON)),
82
82
  'metadata': ImageMetadataFromJSON(json['metadata']),
83
- 'features': (json['features'].map(ImageFeatureFromJSON)),
83
+ 'features': (json['features'].map(ExtensionImageFeatureFromJSON)),
84
84
  'tags': (json['tags'].map(ExtensionImageTagFromJSON)),
85
85
  };
86
86
  }
@@ -108,7 +108,7 @@ export function ImageToJSONTyped(value, ignoreDiscriminator = false) {
108
108
  'fileDates': DatesToJSON(value['fileDates']),
109
109
  'generators': (value['generators'].map(ImageGeneratorToJSON)),
110
110
  'metadata': ImageMetadataToJSON(value['metadata']),
111
- 'features': (value['features'].map(ImageFeatureToJSON)),
111
+ 'features': (value['features'].map(ExtensionImageFeatureToJSON)),
112
112
  'tags': (value['tags'].map(ExtensionImageTagToJSON)),
113
113
  };
114
114
  }
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
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.3
5
+ * The version of the OpenAPI document: 0.6.0
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.3
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).