@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
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -1,4 +1,5 @@
1
1
  export * from './AiModel.js';
2
+ export * from './AiModelModality.js';
2
3
  export * from './ApiSecret.js';
3
4
  export * from './ApiSecretSummary.js';
4
5
  export * from './ApiSecretType.js';
@@ -16,6 +17,7 @@ export * from './ConfigurationExtensionCommand.js';
16
17
  export * from './ConstantsRegistry.js';
17
18
  export * from './Dates.js';
18
19
  export * from './EligibleTagsInstruction.js';
20
+ export * from './EmbeddingInstruction.js';
19
21
  export * from './Extension.js';
20
22
  export * from './ExtensionActivity.js';
21
23
  export * from './ExtensionActivityState.js';
@@ -57,6 +59,7 @@ export * from './ManifestCapability.js';
57
59
  export * from './ManifestCapabilityCaptionsDetails.js';
58
60
  export * from './ManifestCapabilityEligibleTagsDetails.js';
59
61
  export * from './ManifestCapabilityId.js';
62
+ export * from './ManifestEmbeddingsCapability.js';
60
63
  export * from './ManifestEvent.js';
61
64
  export * from './ManifestExecution.js';
62
65
  export * from './ManifestExtensionCommand.js';
@@ -80,6 +83,7 @@ export * from './Repository.js';
80
83
  export * from './RepositoryActivity.js';
81
84
  export * from './RepositoryActivityKind.js';
82
85
  export * from './RepositoryLocationType.js';
86
+ export * from './RepositoryMode.js';
83
87
  export * from './RepositoryState.js';
84
88
  export * from './RunCommandParameters.js';
85
89
  export * from './SearchCriteria.js';
@@ -1,6 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export * from './AiModel.js';
4
+ export * from './AiModelModality.js';
4
5
  export * from './ApiSecret.js';
5
6
  export * from './ApiSecretSummary.js';
6
7
  export * from './ApiSecretType.js';
@@ -18,6 +19,7 @@ export * from './ConfigurationExtensionCommand.js';
18
19
  export * from './ConstantsRegistry.js';
19
20
  export * from './Dates.js';
20
21
  export * from './EligibleTagsInstruction.js';
22
+ export * from './EmbeddingInstruction.js';
21
23
  export * from './Extension.js';
22
24
  export * from './ExtensionActivity.js';
23
25
  export * from './ExtensionActivityState.js';
@@ -59,6 +61,7 @@ export * from './ManifestCapability.js';
59
61
  export * from './ManifestCapabilityCaptionsDetails.js';
60
62
  export * from './ManifestCapabilityEligibleTagsDetails.js';
61
63
  export * from './ManifestCapabilityId.js';
64
+ export * from './ManifestEmbeddingsCapability.js';
62
65
  export * from './ManifestEvent.js';
63
66
  export * from './ManifestExecution.js';
64
67
  export * from './ManifestExtensionCommand.js';
@@ -82,6 +85,7 @@ export * from './Repository.js';
82
85
  export * from './RepositoryActivity.js';
83
86
  export * from './RepositoryActivityKind.js';
84
87
  export * from './RepositoryLocationType.js';
88
+ export * from './RepositoryMode.js';
85
89
  export * from './RepositoryState.js';
86
90
  export * from './RunCommandParameters.js';
87
91
  export * from './SearchCriteria.js';
@@ -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).
@@ -21,6 +21,9 @@ export type ComputeImageEligibleTags = {
21
21
  question: string;
22
22
  tags: string[];
23
23
  };
24
+ export type ComputeImageEmbedding = {
25
+ aiModel: AiModel;
26
+ };
24
27
  export declare class CommandError extends Error {
25
28
  static fromError(error: CommandParameters): CommandError;
26
29
  constructor(message: string);
@@ -134,10 +137,10 @@ export declare class PicteusExtension {
134
137
  protected onComputeImageEligibleTags(_communicator: Communicator, _imageId: string, _eligibleTags: ComputeImageEligibleTags[]): Promise<void>;
135
138
  protected onComputeImageFeatures(_communicator: Communicator, _imageId: string): Promise<void>;
136
139
  protected onComputeImageCaptions(_communicator: Communicator, _imageId: string, _captions: ComputeImageCaption[]): Promise<void>;
137
- protected onComputeImageEmbeddings(_communicator: Communicator, _imageId: string): Promise<void>;
140
+ protected onComputeImageEmbeddings(_communicator: Communicator, _imageId: string, _embeddings: ComputeImageEmbedding[]): Promise<void>;
138
141
  protected onImagesCommand(_communicator: Communicator, _commandId: string, _imageIds: string[], _parameters: CommandParameters): Promise<void>;
139
142
  protected onProcessCommand(_communicator: Communicator, _commandId: string, _parameters: CommandParameters): Promise<void>;
140
- protected onComputeTextEmbeddings(_communicator: Communicator, _text: string): Promise<number[]>;
143
+ protected onComputeTextEmbeddings(_communicator: Communicator, _text: string, _aiModel?: AiModel): Promise<number[]>;
141
144
  protected getMiscellaneousApi(): MiscellaneousApi;
142
145
  protected getApiSecretApi(): ApiSecretApi;
143
146
  protected getExtensionApi(): ExtensionApi;
@@ -289,7 +289,8 @@ export class PicteusExtension {
289
289
  return await this.onComputeImageFeatures(communicator, this.extractEventValueId(value));
290
290
  }
291
291
  else if (event === EventName.ImageComputeEmbeddings) {
292
- return await this.onComputeImageEmbeddings(communicator, this.extractEventValueId(value));
292
+ const embeddings = value["embeddings"] ?? [];
293
+ return await this.onComputeImageEmbeddings(communicator, this.extractEventValueId(value), embeddings);
293
294
  }
294
295
  else if (event === EventName.ImageRunCommand) {
295
296
  const imageIds = value["imageIds"];
@@ -302,7 +303,8 @@ export class PicteusExtension {
302
303
  }
303
304
  else if (event === EventName.TextComputeEmbeddings) {
304
305
  const text = value["text"];
305
- return await this.onComputeTextEmbeddings(communicator, text);
306
+ const aiModel = value["aiModel"];
307
+ return await this.onComputeTextEmbeddings(communicator, text, aiModel);
306
308
  }
307
309
  }
308
310
  async onImageCreated(_communicator, _imageId) {
@@ -325,13 +327,13 @@ export class PicteusExtension {
325
327
  }
326
328
  async onComputeImageCaptions(_communicator, _imageId, _captions) {
327
329
  }
328
- async onComputeImageEmbeddings(_communicator, _imageId) {
330
+ async onComputeImageEmbeddings(_communicator, _imageId, _embeddings) {
329
331
  }
330
332
  async onImagesCommand(_communicator, _commandId, _imageIds, _parameters) {
331
333
  }
332
334
  async onProcessCommand(_communicator, _commandId, _parameters) {
333
335
  }
334
- async onComputeTextEmbeddings(_communicator, _text) {
336
+ async onComputeTextEmbeddings(_communicator, _text, _aiModel) {
335
337
  return [];
336
338
  }
337
339
  // noinspection JSUnusedGlobalSymbols
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picteus/extension-sdk",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "productName": "Picteus TypeScript SDK",
5
5
  "description": "The Picteus extension TypeScript SDK.",
6
6
  "keywords": [