@picteus/extension-sdk 0.21.0 → 0.22.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 (265) 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/CollectionApi.d.ts +1 -1
  6. package/dist/picteus-ws-client/apis/CollectionApi.js +1 -1
  7. package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +59 -3
  8. package/dist/picteus-ws-client/apis/ExtensionApi.js +69 -2
  9. package/dist/picteus-ws-client/apis/ImageApi.d.ts +38 -5
  10. package/dist/picteus-ws-client/apis/ImageApi.js +53 -9
  11. package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +1 -1
  12. package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +1 -1
  13. package/dist/picteus-ws-client/apis/MarketplaceApi.d.ts +2 -2
  14. package/dist/picteus-ws-client/apis/MarketplaceApi.js +1 -1
  15. package/dist/picteus-ws-client/apis/MiscellaneousApi.d.ts +1 -1
  16. package/dist/picteus-ws-client/apis/MiscellaneousApi.js +1 -1
  17. package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +43 -47
  18. package/dist/picteus-ws-client/apis/RepositoryApi.js +52 -54
  19. package/dist/picteus-ws-client/apis/SettingsApi.d.ts +1 -1
  20. package/dist/picteus-ws-client/apis/SettingsApi.js +1 -1
  21. package/dist/picteus-ws-client/models/AiModel.d.ts +8 -1
  22. package/dist/picteus-ws-client/models/AiModel.js +6 -1
  23. package/dist/picteus-ws-client/models/AiModelModality.d.ts +27 -0
  24. package/dist/picteus-ws-client/models/AiModelModality.js +45 -0
  25. package/dist/picteus-ws-client/models/ApiSecret.d.ts +1 -1
  26. package/dist/picteus-ws-client/models/ApiSecret.js +1 -1
  27. package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +1 -1
  28. package/dist/picteus-ws-client/models/ApiSecretSummary.js +1 -1
  29. package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
  30. package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
  31. package/dist/picteus-ws-client/models/ApplicationConfiguration.d.ts +1 -1
  32. package/dist/picteus-ws-client/models/ApplicationConfiguration.js +1 -1
  33. package/dist/picteus-ws-client/models/ApplicationMetadata.d.ts +1 -1
  34. package/dist/picteus-ws-client/models/ApplicationMetadata.js +1 -1
  35. package/dist/picteus-ws-client/models/ApplicationMetadataItem.d.ts +1 -1
  36. package/dist/picteus-ws-client/models/ApplicationMetadataItem.js +1 -1
  37. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.d.ts +1 -1
  38. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.js +1 -1
  39. package/dist/picteus-ws-client/models/ApplicationSettings.d.ts +1 -1
  40. package/dist/picteus-ws-client/models/ApplicationSettings.js +1 -1
  41. package/dist/picteus-ws-client/models/CaptionInstruction.d.ts +7 -7
  42. package/dist/picteus-ws-client/models/CaptionInstruction.js +5 -5
  43. package/dist/picteus-ws-client/models/Collection.d.ts +1 -1
  44. package/dist/picteus-ws-client/models/Collection.js +1 -1
  45. package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
  46. package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
  47. package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +1 -1
  48. package/dist/picteus-ws-client/models/ComputedImageFormat.js +1 -1
  49. package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +1 -1
  50. package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
  51. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +1 -1
  52. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
  53. package/dist/picteus-ws-client/models/ConstantsRegistry.d.ts +1 -1
  54. package/dist/picteus-ws-client/models/ConstantsRegistry.js +1 -1
  55. package/dist/picteus-ws-client/models/Dates.d.ts +1 -1
  56. package/dist/picteus-ws-client/models/Dates.js +1 -1
  57. package/dist/picteus-ws-client/models/EligibleTagsInstruction.d.ts +7 -7
  58. package/dist/picteus-ws-client/models/EligibleTagsInstruction.js +5 -5
  59. package/dist/picteus-ws-client/models/EmbeddingInstruction.d.ts +44 -0
  60. package/dist/picteus-ws-client/models/EmbeddingInstruction.js +51 -0
  61. package/dist/picteus-ws-client/models/Extension.d.ts +1 -1
  62. package/dist/picteus-ws-client/models/Extension.js +1 -1
  63. package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +1 -1
  64. package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
  65. package/dist/picteus-ws-client/models/ExtensionActivityState.d.ts +1 -1
  66. package/dist/picteus-ws-client/models/ExtensionActivityState.js +1 -1
  67. package/dist/picteus-ws-client/models/ExtensionAiModel.d.ts +8 -1
  68. package/dist/picteus-ws-client/models/ExtensionAiModel.js +6 -1
  69. package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +1 -1
  70. package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
  71. package/dist/picteus-ws-client/models/ExtensionCategory.d.ts +1 -1
  72. package/dist/picteus-ws-client/models/ExtensionCategory.js +1 -1
  73. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +1 -1
  74. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
  75. package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.d.ts +1 -1
  76. package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.js +1 -1
  77. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +1 -1
  78. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
  79. package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +1 -1
  80. package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
  81. package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +1 -1
  82. package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +1 -1
  83. package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.d.ts +1 -1
  84. package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +1 -1
  85. package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +1 -1
  86. package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
  87. package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.d.ts +1 -1
  88. package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.js +1 -1
  89. package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
  90. package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
  91. package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
  92. package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
  93. package/dist/picteus-ws-client/models/ExtensionState.d.ts +1 -1
  94. package/dist/picteus-ws-client/models/ExtensionState.js +1 -1
  95. package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
  96. package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
  97. package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +1 -1
  98. package/dist/picteus-ws-client/models/GenerationRecipe.js +1 -1
  99. package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +1 -1
  100. package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +1 -1
  101. package/dist/picteus-ws-client/models/GenerationRecipeVersion.d.ts +1 -1
  102. package/dist/picteus-ws-client/models/GenerationRecipeVersion.js +1 -1
  103. package/dist/picteus-ws-client/models/Image.d.ts +1 -1
  104. package/dist/picteus-ws-client/models/Image.js +1 -1
  105. package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
  106. package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
  107. package/dist/picteus-ws-client/models/ImageDistance.d.ts +1 -1
  108. package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
  109. package/dist/picteus-ws-client/models/ImageEmbedding.d.ts +4 -4
  110. package/dist/picteus-ws-client/models/ImageEmbedding.js +4 -4
  111. package/dist/picteus-ws-client/models/ImageFeature.d.ts +1 -1
  112. package/dist/picteus-ws-client/models/ImageFeature.js +1 -1
  113. package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +1 -1
  114. package/dist/picteus-ws-client/models/ImageFeatureFormat.js +1 -1
  115. package/dist/picteus-ws-client/models/ImageFeatureNullValue.d.ts +1 -1
  116. package/dist/picteus-ws-client/models/ImageFeatureNullValue.js +1 -1
  117. package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +1 -1
  118. package/dist/picteus-ws-client/models/ImageFeatureType.js +1 -1
  119. package/dist/picteus-ws-client/models/ImageFeatureValue.d.ts +1 -1
  120. package/dist/picteus-ws-client/models/ImageFeatureValue.js +1 -1
  121. package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
  122. package/dist/picteus-ws-client/models/ImageFormat.js +1 -1
  123. package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
  124. package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
  125. package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
  126. package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
  127. package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
  128. package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
  129. package/dist/picteus-ws-client/models/ImageSummary.d.ts +1 -1
  130. package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
  131. package/dist/picteus-ws-client/models/InstructionsPrompt.d.ts +1 -1
  132. package/dist/picteus-ws-client/models/InstructionsPrompt.js +1 -1
  133. package/dist/picteus-ws-client/models/Manifest.d.ts +7 -1
  134. package/dist/picteus-ws-client/models/Manifest.js +5 -1
  135. package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
  136. package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
  137. package/dist/picteus-ws-client/models/ManifestCapabilityCaptionsDetails.d.ts +1 -1
  138. package/dist/picteus-ws-client/models/ManifestCapabilityCaptionsDetails.js +1 -1
  139. package/dist/picteus-ws-client/models/ManifestCapabilityEligibleTagsDetails.d.ts +1 -1
  140. package/dist/picteus-ws-client/models/ManifestCapabilityEligibleTagsDetails.js +1 -1
  141. package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
  142. package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
  143. package/dist/picteus-ws-client/models/ManifestEmbeddingsCapability.d.ts +33 -0
  144. package/dist/picteus-ws-client/models/ManifestEmbeddingsCapability.js +44 -0
  145. package/dist/picteus-ws-client/models/ManifestEvent.d.ts +1 -1
  146. package/dist/picteus-ws-client/models/ManifestEvent.js +1 -1
  147. package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
  148. package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
  149. package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +1 -1
  150. package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
  151. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
  152. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
  153. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +1 -1
  154. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
  155. package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.d.ts +1 -1
  156. package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.js +1 -1
  157. package/dist/picteus-ws-client/models/ManifestImageFeaturesCapability.d.ts +1 -1
  158. package/dist/picteus-ws-client/models/ManifestImageFeaturesCapability.js +1 -1
  159. package/dist/picteus-ws-client/models/ManifestImageTagsCapability.d.ts +1 -1
  160. package/dist/picteus-ws-client/models/ManifestImageTagsCapability.js +1 -1
  161. package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
  162. package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
  163. package/dist/picteus-ws-client/models/ManifestInstructionsCapabilitiesInner.d.ts +4 -4
  164. package/dist/picteus-ws-client/models/ManifestInstructionsCapabilitiesInner.js +6 -6
  165. package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +1 -1
  166. package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
  167. package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.d.ts +1 -1
  168. package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.js +1 -1
  169. package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
  170. package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
  171. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
  172. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
  173. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.d.ts +1 -1
  174. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.js +1 -1
  175. package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +1 -1
  176. package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
  177. package/dist/picteus-ws-client/models/MarketplaceExtension.d.ts +1 -1
  178. package/dist/picteus-ws-client/models/MarketplaceExtension.js +1 -1
  179. package/dist/picteus-ws-client/models/MarketplaceExtensionDetails.d.ts +1 -1
  180. package/dist/picteus-ws-client/models/MarketplaceExtensionDetails.js +1 -1
  181. package/dist/picteus-ws-client/models/PromptKind.d.ts +1 -1
  182. package/dist/picteus-ws-client/models/PromptKind.js +1 -1
  183. package/dist/picteus-ws-client/models/Repository.d.ts +20 -7
  184. package/dist/picteus-ws-client/models/Repository.js +12 -3
  185. package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
  186. package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
  187. package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
  188. package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
  189. package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
  190. package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
  191. package/dist/picteus-ws-client/models/RepositoryMode.d.ts +26 -0
  192. package/dist/picteus-ws-client/models/RepositoryMode.js +44 -0
  193. package/dist/picteus-ws-client/models/RepositoryState.d.ts +4 -5
  194. package/dist/picteus-ws-client/models/RepositoryState.js +4 -5
  195. package/dist/picteus-ws-client/models/RunCommandParameters.d.ts +1 -1
  196. package/dist/picteus-ws-client/models/RunCommandParameters.js +1 -1
  197. package/dist/picteus-ws-client/models/SearchCriteria.d.ts +1 -1
  198. package/dist/picteus-ws-client/models/SearchCriteria.js +1 -1
  199. package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.d.ts +1 -1
  200. package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.js +1 -1
  201. package/dist/picteus-ws-client/models/SearchFeatureCondition.d.ts +1 -1
  202. package/dist/picteus-ws-client/models/SearchFeatureCondition.js +1 -1
  203. package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +1 -1
  204. package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +1 -1
  205. package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.d.ts +1 -1
  206. package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.js +1 -1
  207. package/dist/picteus-ws-client/models/SearchFeatures.d.ts +1 -1
  208. package/dist/picteus-ws-client/models/SearchFeatures.js +1 -1
  209. package/dist/picteus-ws-client/models/SearchFeaturesResult.d.ts +1 -1
  210. package/dist/picteus-ws-client/models/SearchFeaturesResult.js +1 -1
  211. package/dist/picteus-ws-client/models/SearchFilter.d.ts +1 -1
  212. package/dist/picteus-ws-client/models/SearchFilter.js +1 -1
  213. package/dist/picteus-ws-client/models/SearchFilterOrigin.d.ts +1 -1
  214. package/dist/picteus-ws-client/models/SearchFilterOrigin.js +1 -1
  215. package/dist/picteus-ws-client/models/SearchImageIdResult.d.ts +1 -1
  216. package/dist/picteus-ws-client/models/SearchImageIdResult.js +1 -1
  217. package/dist/picteus-ws-client/models/SearchImageResult.d.ts +1 -1
  218. package/dist/picteus-ws-client/models/SearchImageResult.js +1 -1
  219. package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +1 -1
  220. package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +1 -1
  221. package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +1 -1
  222. package/dist/picteus-ws-client/models/SearchImagesOrigin.js +1 -1
  223. package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
  224. package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
  225. package/dist/picteus-ws-client/models/SearchMediaUrlResult.d.ts +1 -1
  226. package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +1 -1
  227. package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +1 -1
  228. package/dist/picteus-ws-client/models/SearchOriginNature.js +1 -1
  229. package/dist/picteus-ws-client/models/SearchParameters.d.ts +1 -1
  230. package/dist/picteus-ws-client/models/SearchParameters.js +1 -1
  231. package/dist/picteus-ws-client/models/SearchProperties.d.ts +1 -1
  232. package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
  233. package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
  234. package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
  235. package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
  236. package/dist/picteus-ws-client/models/SearchRange.js +1 -1
  237. package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +1 -1
  238. package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +1 -1
  239. package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
  240. package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
  241. package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
  242. package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
  243. package/dist/picteus-ws-client/models/SearchTags.d.ts +1 -1
  244. package/dist/picteus-ws-client/models/SearchTags.js +1 -1
  245. package/dist/picteus-ws-client/models/SearchTagsResult.d.ts +1 -1
  246. package/dist/picteus-ws-client/models/SearchTagsResult.js +1 -1
  247. package/dist/picteus-ws-client/models/Software.d.ts +1 -1
  248. package/dist/picteus-ws-client/models/Software.js +1 -1
  249. package/dist/picteus-ws-client/models/TagsPlaceholder.d.ts +1 -1
  250. package/dist/picteus-ws-client/models/TagsPlaceholder.js +1 -1
  251. package/dist/picteus-ws-client/models/TextualPrompt.d.ts +1 -1
  252. package/dist/picteus-ws-client/models/TextualPrompt.js +1 -1
  253. package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +1 -1
  254. package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
  255. package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.d.ts +1 -1
  256. package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +1 -1
  257. package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +1 -1
  258. package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +1 -1
  259. package/dist/picteus-ws-client/models/index.d.ts +4 -0
  260. package/dist/picteus-ws-client/models/index.js +4 -0
  261. package/dist/picteus-ws-client/runtime.d.ts +1 -1
  262. package/dist/picteus-ws-client/runtime.js +1 -1
  263. package/dist/picteusExtension.d.ts +5 -2
  264. package/dist/picteusExtension.js +6 -4
  265. 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.25.0
5
+ * The version of the OpenAPI document: 0.26.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.25.0
7
+ * The version of the OpenAPI document: 0.26.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.25.0
5
+ * The version of the OpenAPI document: 0.26.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.25.0
7
+ * The version of the OpenAPI document: 0.26.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.25.0
5
+ * The version of the OpenAPI document: 0.26.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.25.0
7
+ * The version of the OpenAPI document: 0.26.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.25.0
5
+ * The version of the OpenAPI document: 0.26.0
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime.js';
13
- import type { AiModel, CaptionInstruction, EligibleTagsInstruction, Extension, ExtensionActivity, ExtensionAiModel, ExtensionAndManual, ExtensionCategory, ExtensionGenerationOptions, ExtensionSettings, ExtensionState, ExtensionsConfiguration, RunCommandParameters } from '../models/index.js';
13
+ import type { AiModel, CaptionInstruction, EligibleTagsInstruction, EmbeddingInstruction, Extension, ExtensionActivity, ExtensionAiModel, ExtensionAndManual, ExtensionCategory, ExtensionGenerationOptions, ExtensionSettings, ExtensionState, ExtensionsConfiguration, RunCommandParameters } from '../models/index.js';
14
14
  export interface ExtensionApiExtensionBuildRequest {
15
15
  body: Blob;
16
16
  }
@@ -34,6 +34,9 @@ export interface ExtensionApiExtensionGetCaptionInstructionsRequest {
34
34
  export interface ExtensionApiExtensionGetEligibleTagsInstructionsRequest {
35
35
  id: string;
36
36
  }
37
+ export interface ExtensionApiExtensionGetEmbeddingInstructionsRequest {
38
+ id: string;
39
+ }
37
40
  export interface ExtensionApiExtensionGetSettingsRequest {
38
41
  id: string;
39
42
  }
@@ -78,6 +81,10 @@ export interface ExtensionApiExtensionSetEligibleTagsInstructionsRequest {
78
81
  id: string;
79
82
  eligibleTagsInstruction: Array<EligibleTagsInstruction>;
80
83
  }
84
+ export interface ExtensionApiExtensionSetEmbeddingInstructionsRequest {
85
+ id: string;
86
+ embeddingInstruction: Array<EmbeddingInstruction>;
87
+ }
81
88
  export interface ExtensionApiExtensionSetSettingsRequest {
82
89
  id: string;
83
90
  extensionSettings: ExtensionSettings;
@@ -226,6 +233,20 @@ export interface ExtensionApiInterface {
226
233
  * Gets the eligible tags instructions for an extension
227
234
  */
228
235
  extensionGetEligibleTagsInstructions(requestParameters: ExtensionApiExtensionGetEligibleTagsInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<EligibleTagsInstruction>>;
236
+ /**
237
+ * Returns the embedding instructions declared for an extension.
238
+ * @summary Gets the embedding instructions for an extension
239
+ * @param {string} id The extension identifier
240
+ * @param {*} [options] Override http request option.
241
+ * @throws {RequiredError}
242
+ * @memberof ExtensionApiInterface
243
+ */
244
+ extensionGetEmbeddingInstructionsRaw(requestParameters: ExtensionApiExtensionGetEmbeddingInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<EmbeddingInstruction>>>;
245
+ /**
246
+ * Returns the embedding instructions declared for an extension.
247
+ * Gets the embedding instructions for an extension
248
+ */
249
+ extensionGetEmbeddingInstructions(requestParameters: ExtensionApiExtensionGetEmbeddingInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<EmbeddingInstruction>>;
229
250
  /**
230
251
  * Returns the settings of an extension.
231
252
  * @summary Gets an extension settings
@@ -275,7 +296,7 @@ export interface ExtensionApiInterface {
275
296
  /**
276
297
  * Returns all installed extensions matching the search criteria.
277
298
  * @summary Lists extensions
278
- * @param {string} [search] A case-insensitive search applied to the extension identifier, name, and description
299
+ * @param {string} [search] A case-insensitive search applied to the extension identifier, name, description, and author
279
300
  * @param {Array<ExtensionCategory>} [category] The categories the extension should belong to
280
301
  * @param {*} [options] Override http request option.
281
302
  * @throws {RequiredError}
@@ -391,6 +412,21 @@ export interface ExtensionApiInterface {
391
412
  * Sets the eligible tags instructions for an extension
392
413
  */
393
414
  extensionSetEligibleTagsInstructions(requestParameters: ExtensionApiExtensionSetEligibleTagsInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<EligibleTagsInstruction>>;
415
+ /**
416
+ * Overwrites the embedding instructions declared for an extension.
417
+ * @summary Sets the embedding instructions for an extension
418
+ * @param {string} id The extension identifier
419
+ * @param {Array<EmbeddingInstruction>} embeddingInstruction The embedding instructions for the extension
420
+ * @param {*} [options] Override http request option.
421
+ * @throws {RequiredError}
422
+ * @memberof ExtensionApiInterface
423
+ */
424
+ extensionSetEmbeddingInstructionsRaw(requestParameters: ExtensionApiExtensionSetEmbeddingInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<EmbeddingInstruction>>>;
425
+ /**
426
+ * Overwrites the embedding instructions declared for an extension.
427
+ * Sets the embedding instructions for an extension
428
+ */
429
+ extensionSetEmbeddingInstructions(requestParameters: ExtensionApiExtensionSetEmbeddingInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<EmbeddingInstruction>>;
394
430
  /**
395
431
  * Defines the settings of an extension.
396
432
  * @summary Sets an extension settings
@@ -545,6 +581,16 @@ export declare class ExtensionApi extends runtime.BaseAPI implements ExtensionAp
545
581
  * Gets the eligible tags instructions for an extension
546
582
  */
547
583
  extensionGetEligibleTagsInstructions(requestParameters: ExtensionApiExtensionGetEligibleTagsInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<EligibleTagsInstruction>>;
584
+ /**
585
+ * Returns the embedding instructions declared for an extension.
586
+ * Gets the embedding instructions for an extension
587
+ */
588
+ extensionGetEmbeddingInstructionsRaw(requestParameters: ExtensionApiExtensionGetEmbeddingInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<EmbeddingInstruction>>>;
589
+ /**
590
+ * Returns the embedding instructions declared for an extension.
591
+ * Gets the embedding instructions for an extension
592
+ */
593
+ extensionGetEmbeddingInstructions(requestParameters: ExtensionApiExtensionGetEmbeddingInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<EmbeddingInstruction>>;
548
594
  /**
549
595
  * Returns the settings of an extension.
550
596
  * Gets an extension settings
@@ -655,6 +701,16 @@ export declare class ExtensionApi extends runtime.BaseAPI implements ExtensionAp
655
701
  * Sets the eligible tags instructions for an extension
656
702
  */
657
703
  extensionSetEligibleTagsInstructions(requestParameters: ExtensionApiExtensionSetEligibleTagsInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<EligibleTagsInstruction>>;
704
+ /**
705
+ * Overwrites the embedding instructions declared for an extension.
706
+ * Sets the embedding instructions for an extension
707
+ */
708
+ extensionSetEmbeddingInstructionsRaw(requestParameters: ExtensionApiExtensionSetEmbeddingInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<EmbeddingInstruction>>>;
709
+ /**
710
+ * Overwrites the embedding instructions declared for an extension.
711
+ * Sets the embedding instructions for an extension
712
+ */
713
+ extensionSetEmbeddingInstructions(requestParameters: ExtensionApiExtensionSetEmbeddingInstructionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<EmbeddingInstruction>>;
658
714
  /**
659
715
  * Defines the settings of an extension.
660
716
  * Sets an extension settings
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.25.0
7
+ * The version of the OpenAPI document: 0.26.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import * as runtime from '../runtime.js';
15
- import { AiModelToJSON, CaptionInstructionFromJSON, CaptionInstructionToJSON, EligibleTagsInstructionFromJSON, EligibleTagsInstructionToJSON, ExtensionFromJSON, ExtensionActivityFromJSON, ExtensionAiModelFromJSON, ExtensionAndManualFromJSON, ExtensionGenerationOptionsToJSON, ExtensionSettingsFromJSON, ExtensionSettingsToJSON, ExtensionsConfigurationFromJSON, RunCommandParametersToJSON, } from '../models/index.js';
15
+ import { AiModelToJSON, CaptionInstructionFromJSON, CaptionInstructionToJSON, EligibleTagsInstructionFromJSON, EligibleTagsInstructionToJSON, EmbeddingInstructionFromJSON, EmbeddingInstructionToJSON, ExtensionFromJSON, ExtensionActivityFromJSON, ExtensionAiModelFromJSON, ExtensionAndManualFromJSON, ExtensionGenerationOptionsToJSON, ExtensionSettingsFromJSON, ExtensionSettingsToJSON, ExtensionsConfigurationFromJSON, RunCommandParametersToJSON, } from '../models/index.js';
16
16
  /**
17
17
  *
18
18
  */
@@ -300,6 +300,37 @@ export class ExtensionApi extends runtime.BaseAPI {
300
300
  const response = await this.extensionGetEligibleTagsInstructionsRaw(requestParameters, initOverrides);
301
301
  return await response.value();
302
302
  }
303
+ /**
304
+ * Returns the embedding instructions declared for an extension.
305
+ * Gets the embedding instructions for an extension
306
+ */
307
+ async extensionGetEmbeddingInstructionsRaw(requestParameters, initOverrides) {
308
+ if (requestParameters['id'] == null) {
309
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling extensionGetEmbeddingInstructions().');
310
+ }
311
+ const queryParameters = {};
312
+ const headerParameters = {};
313
+ if (this.configuration && this.configuration.apiKey) {
314
+ headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
315
+ }
316
+ let urlPath = `/extension/{id}/getEmbeddingInstructions`;
317
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
318
+ const response = await this.request({
319
+ path: urlPath,
320
+ method: 'GET',
321
+ headers: headerParameters,
322
+ query: queryParameters,
323
+ }, initOverrides);
324
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(EmbeddingInstructionFromJSON));
325
+ }
326
+ /**
327
+ * Returns the embedding instructions declared for an extension.
328
+ * Gets the embedding instructions for an extension
329
+ */
330
+ async extensionGetEmbeddingInstructions(requestParameters, initOverrides) {
331
+ const response = await this.extensionGetEmbeddingInstructionsRaw(requestParameters, initOverrides);
332
+ return await response.value();
333
+ }
303
334
  /**
304
335
  * Returns the settings of an extension.
305
336
  * Gets an extension settings
@@ -694,6 +725,42 @@ export class ExtensionApi extends runtime.BaseAPI {
694
725
  const response = await this.extensionSetEligibleTagsInstructionsRaw(requestParameters, initOverrides);
695
726
  return await response.value();
696
727
  }
728
+ /**
729
+ * Overwrites the embedding instructions declared for an extension.
730
+ * Sets the embedding instructions for an extension
731
+ */
732
+ async extensionSetEmbeddingInstructionsRaw(requestParameters, initOverrides) {
733
+ if (requestParameters['id'] == null) {
734
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling extensionSetEmbeddingInstructions().');
735
+ }
736
+ if (requestParameters['embeddingInstruction'] == null) {
737
+ throw new runtime.RequiredError('embeddingInstruction', 'Required parameter "embeddingInstruction" was null or undefined when calling extensionSetEmbeddingInstructions().');
738
+ }
739
+ const queryParameters = {};
740
+ const headerParameters = {};
741
+ headerParameters['Content-Type'] = 'application/json';
742
+ if (this.configuration && this.configuration.apiKey) {
743
+ headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
744
+ }
745
+ let urlPath = `/extension/{id}/setEmbeddingInstructions`;
746
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
747
+ const response = await this.request({
748
+ path: urlPath,
749
+ method: 'PUT',
750
+ headers: headerParameters,
751
+ query: queryParameters,
752
+ body: requestParameters['embeddingInstruction'].map(EmbeddingInstructionToJSON),
753
+ }, initOverrides);
754
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(EmbeddingInstructionFromJSON));
755
+ }
756
+ /**
757
+ * Overwrites the embedding instructions declared for an extension.
758
+ * Sets the embedding instructions for an extension
759
+ */
760
+ async extensionSetEmbeddingInstructions(requestParameters, initOverrides) {
761
+ const response = await this.extensionSetEmbeddingInstructionsRaw(requestParameters, initOverrides);
762
+ return await response.value();
763
+ }
697
764
  /**
698
765
  * Defines the settings of an extension.
699
766
  * Sets an extension settings
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.25.0
5
+ * The version of the OpenAPI document: 0.26.0
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,7 +19,7 @@ export interface ImageApiImageClosestEmbeddingsImagesRequest {
19
19
  export interface ImageApiImageClosestImagesRequest {
20
20
  id: string;
21
21
  extensionId: string;
22
- name: string;
22
+ aiModelTechnicalId: string;
23
23
  count: number;
24
24
  }
25
25
  export interface ImageApiImageComputeFormatRequest {
@@ -32,6 +32,7 @@ export interface ImageApiImageConvertRequest {
32
32
  }
33
33
  export interface ImageApiImageDeleteRequest {
34
34
  id: string;
35
+ shouldDeleteFile?: boolean;
35
36
  }
36
37
  export interface ImageApiImageDownloadRequest {
37
38
  id: string;
@@ -41,6 +42,11 @@ export interface ImageApiImageDownloadRequest {
41
42
  resizeRender?: ImageResizeRender;
42
43
  stripMetadata?: boolean;
43
44
  }
45
+ export interface ImageApiImageEnsureEmbeddingsRequest {
46
+ id: string;
47
+ extensionId: string;
48
+ imageEmbedding: Array<ImageEmbedding>;
49
+ }
44
50
  export interface ImageApiImageEnsureFeaturesRequest {
45
51
  id: string;
46
52
  extensionId: string;
@@ -147,7 +153,7 @@ export interface ImageApiImageSetTagsRequest {
147
153
  export interface ImageApiImageTextToImagesRequest {
148
154
  text: string;
149
155
  extensionId: string;
150
- name: string;
156
+ aiModelTechnicalId: string;
151
157
  count: number;
152
158
  }
153
159
  /**
@@ -178,7 +184,7 @@ export interface ImageApiInterface {
178
184
  * @summary Gets the image closest images
179
185
  * @param {string} id The image identifier
180
186
  * @param {string} extensionId The extension identifier
181
- * @param {string} name The name of the embeddings
187
+ * @param {string} aiModelTechnicalId The AI model technical identifier
182
188
  * @param {number} count The number of images to return
183
189
  * @param {*} [options] Override http request option.
184
190
  * @throws {RequiredError}
@@ -224,6 +230,7 @@ export interface ImageApiInterface {
224
230
  * Deletes the image from the back-end and from the databases.
225
231
  * @summary Deletes an image
226
232
  * @param {string} id The image identifier
233
+ * @param {boolean} [shouldDeleteFile] Indicates whether the image back-end file should be also deleted
227
234
  * @param {*} [options] Override http request option.
228
235
  * @throws {RequiredError}
229
236
  * @memberof ImageApiInterface
@@ -253,6 +260,22 @@ export interface ImageApiInterface {
253
260
  * Downloads an image
254
261
  */
255
262
  imageDownload(requestParameters: ImageApiImageDownloadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
263
+ /**
264
+ * Ensures the given embeddings for an image and an extension without removing existing embeddings of other collections.
265
+ * @summary Ensures the image embeddings
266
+ * @param {string} id The image identifier
267
+ * @param {string} extensionId The extension identifier
268
+ * @param {Array<ImageEmbedding>} imageEmbedding The image embeddings
269
+ * @param {*} [options] Override http request option.
270
+ * @throws {RequiredError}
271
+ * @memberof ImageApiInterface
272
+ */
273
+ imageEnsureEmbeddingsRaw(requestParameters: ImageApiImageEnsureEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
274
+ /**
275
+ * Ensures the given embeddings for an image and an extension without removing existing embeddings of other collections.
276
+ * Ensures the image embeddings
277
+ */
278
+ imageEnsureEmbeddings(requestParameters: ImageApiImageEnsureEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
256
279
  /**
257
280
  * Ensures that the provided features are set on an image for a given extension, potentially overwriting existing ones with the same type, format and name.
258
281
  * @summary Ensures that features are set on an image
@@ -636,7 +659,7 @@ export interface ImageApiInterface {
636
659
  * @summary Gets the closest images to a text following the embeddings of an extension
637
660
  * @param {string} text The text
638
661
  * @param {string} extensionId The extension identifier
639
- * @param {string} name The name of the embeddings
662
+ * @param {string} aiModelTechnicalId The AI model technical identifier
640
663
  * @param {number} count The number of images to return
641
664
  * @param {*} [options] Override http request option.
642
665
  * @throws {RequiredError}
@@ -713,6 +736,16 @@ export declare class ImageApi extends runtime.BaseAPI implements ImageApiInterfa
713
736
  * Downloads an image
714
737
  */
715
738
  imageDownload(requestParameters: ImageApiImageDownloadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
739
+ /**
740
+ * Ensures the given embeddings for an image and an extension without removing existing embeddings of other collections.
741
+ * Ensures the image embeddings
742
+ */
743
+ imageEnsureEmbeddingsRaw(requestParameters: ImageApiImageEnsureEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
744
+ /**
745
+ * Ensures the given embeddings for an image and an extension without removing existing embeddings of other collections.
746
+ * Ensures the image embeddings
747
+ */
748
+ imageEnsureEmbeddings(requestParameters: ImageApiImageEnsureEmbeddingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
716
749
  /**
717
750
  * Ensures that the provided features are set on an image for a given extension, potentially overwriting existing ones with the same type, format and name.
718
751
  * Ensures that features are set on an image
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.25.0
7
+ * The version of the OpenAPI document: 0.26.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -72,8 +72,8 @@ export class ImageApi extends runtime.BaseAPI {
72
72
  if (requestParameters['extensionId'] == null) {
73
73
  throw new runtime.RequiredError('extensionId', 'Required parameter "extensionId" was null or undefined when calling imageClosestImages().');
74
74
  }
75
- if (requestParameters['name'] == null) {
76
- throw new runtime.RequiredError('name', 'Required parameter "name" was null or undefined when calling imageClosestImages().');
75
+ if (requestParameters['aiModelTechnicalId'] == null) {
76
+ throw new runtime.RequiredError('aiModelTechnicalId', 'Required parameter "aiModelTechnicalId" was null or undefined when calling imageClosestImages().');
77
77
  }
78
78
  if (requestParameters['count'] == null) {
79
79
  throw new runtime.RequiredError('count', 'Required parameter "count" was null or undefined when calling imageClosestImages().');
@@ -82,8 +82,8 @@ export class ImageApi extends runtime.BaseAPI {
82
82
  if (requestParameters['extensionId'] != null) {
83
83
  queryParameters['extensionId'] = requestParameters['extensionId'];
84
84
  }
85
- if (requestParameters['name'] != null) {
86
- queryParameters['name'] = requestParameters['name'];
85
+ if (requestParameters['aiModelTechnicalId'] != null) {
86
+ queryParameters['aiModelTechnicalId'] = requestParameters['aiModelTechnicalId'];
87
87
  }
88
88
  if (requestParameters['count'] != null) {
89
89
  queryParameters['count'] = requestParameters['count'];
@@ -192,6 +192,9 @@ export class ImageApi extends runtime.BaseAPI {
192
192
  throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling imageDelete().');
193
193
  }
194
194
  const queryParameters = {};
195
+ if (requestParameters['shouldDeleteFile'] != null) {
196
+ queryParameters['shouldDeleteFile'] = requestParameters['shouldDeleteFile'];
197
+ }
195
198
  const headerParameters = {};
196
199
  if (this.configuration && this.configuration.apiKey) {
197
200
  headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
@@ -259,6 +262,47 @@ export class ImageApi extends runtime.BaseAPI {
259
262
  const response = await this.imageDownloadRaw(requestParameters, initOverrides);
260
263
  return await response.value();
261
264
  }
265
+ /**
266
+ * Ensures the given embeddings for an image and an extension without removing existing embeddings of other collections.
267
+ * Ensures the image embeddings
268
+ */
269
+ async imageEnsureEmbeddingsRaw(requestParameters, initOverrides) {
270
+ if (requestParameters['id'] == null) {
271
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling imageEnsureEmbeddings().');
272
+ }
273
+ if (requestParameters['extensionId'] == null) {
274
+ throw new runtime.RequiredError('extensionId', 'Required parameter "extensionId" was null or undefined when calling imageEnsureEmbeddings().');
275
+ }
276
+ if (requestParameters['imageEmbedding'] == null) {
277
+ throw new runtime.RequiredError('imageEmbedding', 'Required parameter "imageEmbedding" was null or undefined when calling imageEnsureEmbeddings().');
278
+ }
279
+ const queryParameters = {};
280
+ if (requestParameters['extensionId'] != null) {
281
+ queryParameters['extensionId'] = requestParameters['extensionId'];
282
+ }
283
+ const headerParameters = {};
284
+ headerParameters['Content-Type'] = 'application/json';
285
+ if (this.configuration && this.configuration.apiKey) {
286
+ headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
287
+ }
288
+ let urlPath = `/image/{id}/ensureEmbeddings`;
289
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
290
+ const response = await this.request({
291
+ path: urlPath,
292
+ method: 'PUT',
293
+ headers: headerParameters,
294
+ query: queryParameters,
295
+ body: requestParameters['imageEmbedding'].map(ImageEmbeddingToJSON),
296
+ }, initOverrides);
297
+ return new runtime.VoidApiResponse(response);
298
+ }
299
+ /**
300
+ * Ensures the given embeddings for an image and an extension without removing existing embeddings of other collections.
301
+ * Ensures the image embeddings
302
+ */
303
+ async imageEnsureEmbeddings(requestParameters, initOverrides) {
304
+ await this.imageEnsureEmbeddingsRaw(requestParameters, initOverrides);
305
+ }
262
306
  /**
263
307
  * Ensures that the provided features are set on an image for a given extension, potentially overwriting existing ones with the same type, format and name.
264
308
  * Ensures that features are set on an image
@@ -1171,8 +1215,8 @@ export class ImageApi extends runtime.BaseAPI {
1171
1215
  if (requestParameters['extensionId'] == null) {
1172
1216
  throw new runtime.RequiredError('extensionId', 'Required parameter "extensionId" was null or undefined when calling imageTextToImages().');
1173
1217
  }
1174
- if (requestParameters['name'] == null) {
1175
- throw new runtime.RequiredError('name', 'Required parameter "name" was null or undefined when calling imageTextToImages().');
1218
+ if (requestParameters['aiModelTechnicalId'] == null) {
1219
+ throw new runtime.RequiredError('aiModelTechnicalId', 'Required parameter "aiModelTechnicalId" was null or undefined when calling imageTextToImages().');
1176
1220
  }
1177
1221
  if (requestParameters['count'] == null) {
1178
1222
  throw new runtime.RequiredError('count', 'Required parameter "count" was null or undefined when calling imageTextToImages().');
@@ -1184,8 +1228,8 @@ export class ImageApi extends runtime.BaseAPI {
1184
1228
  if (requestParameters['extensionId'] != null) {
1185
1229
  queryParameters['extensionId'] = requestParameters['extensionId'];
1186
1230
  }
1187
- if (requestParameters['name'] != null) {
1188
- queryParameters['name'] = requestParameters['name'];
1231
+ if (requestParameters['aiModelTechnicalId'] != null) {
1232
+ queryParameters['aiModelTechnicalId'] = requestParameters['aiModelTechnicalId'];
1189
1233
  }
1190
1234
  if (requestParameters['count'] != null) {
1191
1235
  queryParameters['count'] = requestParameters['count'];
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.25.0
5
+ * The version of the OpenAPI document: 0.26.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.25.0
7
+ * The version of the OpenAPI document: 0.26.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.25.0
5
+ * The version of the OpenAPI document: 0.26.0
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -65,7 +65,7 @@ export interface MarketplaceApiInterface {
65
65
  /**
66
66
  * Returns the extensions matching the search criteria.
67
67
  * @summary Lists extensions
68
- * @param {string} [search] A case-insensitive search applied to the extension identifier, name, and description
68
+ * @param {string} [search] A case-insensitive search applied to the extension identifier, name, description, and author
69
69
  * @param {Array<ExtensionCategory>} [category] The categories the extension should belong to
70
70
  * @param {*} [options] Override http request option.
71
71
  * @throws {RequiredError}
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.25.0
7
+ * The version of the OpenAPI document: 0.26.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.25.0
5
+ * The version of the OpenAPI document: 0.26.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.25.0
7
+ * The version of the OpenAPI document: 0.26.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).