@picteus/extension-sdk 0.20.2 → 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 (278) hide show
  1. package/dist/generated/frontEndIntents.d.ts +147 -106
  2. package/dist/generated/frontEndIntents.js +22 -0
  3. package/dist/generated/viewKit.d.ts +103 -79
  4. package/dist/generated/viewKit.js +87 -54
  5. package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +1 -1
  6. package/dist/picteus-ws-client/apis/AdministrationApi.js +1 -1
  7. package/dist/picteus-ws-client/apis/ApiSecretApi.d.ts +1 -1
  8. package/dist/picteus-ws-client/apis/ApiSecretApi.js +1 -1
  9. package/dist/picteus-ws-client/apis/CollectionApi.d.ts +1 -1
  10. package/dist/picteus-ws-client/apis/CollectionApi.js +1 -1
  11. package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +78 -16
  12. package/dist/picteus-ws-client/apis/ExtensionApi.js +82 -9
  13. package/dist/picteus-ws-client/apis/ImageApi.d.ts +38 -5
  14. package/dist/picteus-ws-client/apis/ImageApi.js +53 -9
  15. package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +1 -1
  16. package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +1 -1
  17. package/dist/picteus-ws-client/apis/MarketplaceApi.d.ts +140 -0
  18. package/dist/picteus-ws-client/apis/MarketplaceApi.js +155 -0
  19. package/dist/picteus-ws-client/apis/MiscellaneousApi.d.ts +1 -1
  20. package/dist/picteus-ws-client/apis/MiscellaneousApi.js +1 -1
  21. package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +43 -47
  22. package/dist/picteus-ws-client/apis/RepositoryApi.js +52 -54
  23. package/dist/picteus-ws-client/apis/SettingsApi.d.ts +1 -1
  24. package/dist/picteus-ws-client/apis/SettingsApi.js +1 -1
  25. package/dist/picteus-ws-client/apis/index.d.ts +1 -0
  26. package/dist/picteus-ws-client/apis/index.js +1 -0
  27. package/dist/picteus-ws-client/models/AiModel.d.ts +8 -1
  28. package/dist/picteus-ws-client/models/AiModel.js +6 -1
  29. package/dist/picteus-ws-client/models/AiModelModality.d.ts +27 -0
  30. package/dist/picteus-ws-client/models/AiModelModality.js +45 -0
  31. package/dist/picteus-ws-client/models/ApiSecret.d.ts +1 -1
  32. package/dist/picteus-ws-client/models/ApiSecret.js +1 -1
  33. package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +1 -1
  34. package/dist/picteus-ws-client/models/ApiSecretSummary.js +1 -1
  35. package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
  36. package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
  37. package/dist/picteus-ws-client/models/ApplicationConfiguration.d.ts +1 -1
  38. package/dist/picteus-ws-client/models/ApplicationConfiguration.js +1 -1
  39. package/dist/picteus-ws-client/models/ApplicationMetadata.d.ts +1 -1
  40. package/dist/picteus-ws-client/models/ApplicationMetadata.js +1 -1
  41. package/dist/picteus-ws-client/models/ApplicationMetadataItem.d.ts +1 -1
  42. package/dist/picteus-ws-client/models/ApplicationMetadataItem.js +1 -1
  43. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.d.ts +1 -1
  44. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.js +1 -1
  45. package/dist/picteus-ws-client/models/ApplicationSettings.d.ts +1 -1
  46. package/dist/picteus-ws-client/models/ApplicationSettings.js +1 -1
  47. package/dist/picteus-ws-client/models/CaptionInstruction.d.ts +7 -7
  48. package/dist/picteus-ws-client/models/CaptionInstruction.js +5 -5
  49. package/dist/picteus-ws-client/models/Collection.d.ts +1 -1
  50. package/dist/picteus-ws-client/models/Collection.js +1 -1
  51. package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
  52. package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
  53. package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +1 -1
  54. package/dist/picteus-ws-client/models/ComputedImageFormat.js +1 -1
  55. package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +1 -1
  56. package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
  57. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +1 -1
  58. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
  59. package/dist/picteus-ws-client/models/ConstantsRegistry.d.ts +1 -1
  60. package/dist/picteus-ws-client/models/ConstantsRegistry.js +1 -1
  61. package/dist/picteus-ws-client/models/Dates.d.ts +1 -1
  62. package/dist/picteus-ws-client/models/Dates.js +1 -1
  63. package/dist/picteus-ws-client/models/EligibleTagsInstruction.d.ts +7 -7
  64. package/dist/picteus-ws-client/models/EligibleTagsInstruction.js +5 -5
  65. package/dist/picteus-ws-client/models/EmbeddingInstruction.d.ts +44 -0
  66. package/dist/picteus-ws-client/models/{ExtensionEligibleTags.js → EmbeddingInstruction.js} +12 -12
  67. package/dist/picteus-ws-client/models/Extension.d.ts +1 -1
  68. package/dist/picteus-ws-client/models/Extension.js +1 -1
  69. package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +1 -1
  70. package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
  71. package/dist/picteus-ws-client/models/ExtensionActivityState.d.ts +1 -1
  72. package/dist/picteus-ws-client/models/ExtensionActivityState.js +1 -1
  73. package/dist/picteus-ws-client/models/ExtensionAiModel.d.ts +8 -1
  74. package/dist/picteus-ws-client/models/ExtensionAiModel.js +6 -1
  75. package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +1 -1
  76. package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
  77. package/dist/picteus-ws-client/models/ExtensionCategory.d.ts +1 -1
  78. package/dist/picteus-ws-client/models/ExtensionCategory.js +1 -1
  79. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +1 -1
  80. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
  81. package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.d.ts +1 -1
  82. package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.js +1 -1
  83. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +1 -1
  84. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
  85. package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +1 -1
  86. package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
  87. package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +1 -1
  88. package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +1 -1
  89. package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.d.ts +1 -1
  90. package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +1 -1
  91. package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +1 -1
  92. package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
  93. package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.d.ts +1 -1
  94. package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.js +1 -1
  95. package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
  96. package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
  97. package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
  98. package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
  99. package/dist/picteus-ws-client/models/ExtensionState.d.ts +1 -1
  100. package/dist/picteus-ws-client/models/ExtensionState.js +1 -1
  101. package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
  102. package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
  103. package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +1 -1
  104. package/dist/picteus-ws-client/models/GenerationRecipe.js +1 -1
  105. package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +1 -1
  106. package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +1 -1
  107. package/dist/picteus-ws-client/models/GenerationRecipeVersion.d.ts +1 -1
  108. package/dist/picteus-ws-client/models/GenerationRecipeVersion.js +1 -1
  109. package/dist/picteus-ws-client/models/Image.d.ts +1 -1
  110. package/dist/picteus-ws-client/models/Image.js +1 -1
  111. package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
  112. package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
  113. package/dist/picteus-ws-client/models/ImageDistance.d.ts +1 -1
  114. package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
  115. package/dist/picteus-ws-client/models/ImageEmbedding.d.ts +4 -4
  116. package/dist/picteus-ws-client/models/ImageEmbedding.js +4 -4
  117. package/dist/picteus-ws-client/models/ImageFeature.d.ts +1 -1
  118. package/dist/picteus-ws-client/models/ImageFeature.js +1 -1
  119. package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +1 -1
  120. package/dist/picteus-ws-client/models/ImageFeatureFormat.js +1 -1
  121. package/dist/picteus-ws-client/models/ImageFeatureNullValue.d.ts +1 -1
  122. package/dist/picteus-ws-client/models/ImageFeatureNullValue.js +1 -1
  123. package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +1 -1
  124. package/dist/picteus-ws-client/models/ImageFeatureType.js +1 -1
  125. package/dist/picteus-ws-client/models/ImageFeatureValue.d.ts +1 -1
  126. package/dist/picteus-ws-client/models/ImageFeatureValue.js +1 -1
  127. package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
  128. package/dist/picteus-ws-client/models/ImageFormat.js +1 -1
  129. package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
  130. package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
  131. package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
  132. package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
  133. package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
  134. package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
  135. package/dist/picteus-ws-client/models/ImageSummary.d.ts +1 -1
  136. package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
  137. package/dist/picteus-ws-client/models/InstructionsPrompt.d.ts +1 -1
  138. package/dist/picteus-ws-client/models/InstructionsPrompt.js +1 -1
  139. package/dist/picteus-ws-client/models/Manifest.d.ts +7 -1
  140. package/dist/picteus-ws-client/models/Manifest.js +5 -1
  141. package/dist/picteus-ws-client/models/ManifestAndManual.d.ts +40 -0
  142. package/dist/picteus-ws-client/models/ManifestAndManual.js +47 -0
  143. package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
  144. package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
  145. package/dist/picteus-ws-client/models/ManifestCapabilityCaptionsDetails.d.ts +1 -1
  146. package/dist/picteus-ws-client/models/ManifestCapabilityCaptionsDetails.js +1 -1
  147. package/dist/picteus-ws-client/models/ManifestCapabilityEligibleTagsDetails.d.ts +1 -1
  148. package/dist/picteus-ws-client/models/ManifestCapabilityEligibleTagsDetails.js +1 -1
  149. package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
  150. package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
  151. package/dist/picteus-ws-client/models/ManifestEmbeddingsCapability.d.ts +33 -0
  152. package/dist/picteus-ws-client/models/ManifestEmbeddingsCapability.js +44 -0
  153. package/dist/picteus-ws-client/models/ManifestEvent.d.ts +2 -1
  154. package/dist/picteus-ws-client/models/ManifestEvent.js +2 -1
  155. package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
  156. package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
  157. package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +1 -1
  158. package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
  159. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
  160. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
  161. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +1 -1
  162. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
  163. package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.d.ts +1 -1
  164. package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.js +1 -1
  165. package/dist/picteus-ws-client/models/ManifestImageFeaturesCapability.d.ts +1 -1
  166. package/dist/picteus-ws-client/models/ManifestImageFeaturesCapability.js +1 -1
  167. package/dist/picteus-ws-client/models/ManifestImageTagsCapability.d.ts +1 -1
  168. package/dist/picteus-ws-client/models/ManifestImageTagsCapability.js +1 -1
  169. package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
  170. package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
  171. package/dist/picteus-ws-client/models/ManifestInstructionsCapabilitiesInner.d.ts +4 -4
  172. package/dist/picteus-ws-client/models/ManifestInstructionsCapabilitiesInner.js +6 -6
  173. package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +1 -1
  174. package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
  175. package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.d.ts +1 -1
  176. package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.js +1 -1
  177. package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
  178. package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
  179. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
  180. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
  181. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.d.ts +1 -1
  182. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.js +1 -1
  183. package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +1 -1
  184. package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
  185. package/dist/picteus-ws-client/models/MarketplaceExtension.d.ts +39 -0
  186. package/dist/picteus-ws-client/models/MarketplaceExtension.js +46 -0
  187. package/dist/picteus-ws-client/models/MarketplaceExtensionDetails.d.ts +46 -0
  188. package/dist/picteus-ws-client/models/MarketplaceExtensionDetails.js +49 -0
  189. package/dist/picteus-ws-client/models/PromptKind.d.ts +1 -1
  190. package/dist/picteus-ws-client/models/PromptKind.js +1 -1
  191. package/dist/picteus-ws-client/models/Repository.d.ts +20 -7
  192. package/dist/picteus-ws-client/models/Repository.js +12 -3
  193. package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
  194. package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
  195. package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
  196. package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
  197. package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
  198. package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
  199. package/dist/picteus-ws-client/models/RepositoryMode.d.ts +26 -0
  200. package/dist/picteus-ws-client/models/RepositoryMode.js +44 -0
  201. package/dist/picteus-ws-client/models/RepositoryState.d.ts +4 -5
  202. package/dist/picteus-ws-client/models/RepositoryState.js +4 -5
  203. package/dist/picteus-ws-client/models/RunCommandParameters.d.ts +1 -1
  204. package/dist/picteus-ws-client/models/RunCommandParameters.js +1 -1
  205. package/dist/picteus-ws-client/models/SearchCriteria.d.ts +1 -1
  206. package/dist/picteus-ws-client/models/SearchCriteria.js +1 -1
  207. package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.d.ts +1 -1
  208. package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.js +1 -1
  209. package/dist/picteus-ws-client/models/SearchFeatureCondition.d.ts +1 -1
  210. package/dist/picteus-ws-client/models/SearchFeatureCondition.js +1 -1
  211. package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +1 -1
  212. package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +1 -1
  213. package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.d.ts +1 -1
  214. package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.js +1 -1
  215. package/dist/picteus-ws-client/models/SearchFeatures.d.ts +1 -1
  216. package/dist/picteus-ws-client/models/SearchFeatures.js +1 -1
  217. package/dist/picteus-ws-client/models/SearchFeaturesResult.d.ts +1 -1
  218. package/dist/picteus-ws-client/models/SearchFeaturesResult.js +1 -1
  219. package/dist/picteus-ws-client/models/SearchFilter.d.ts +1 -1
  220. package/dist/picteus-ws-client/models/SearchFilter.js +1 -1
  221. package/dist/picteus-ws-client/models/SearchFilterOrigin.d.ts +1 -1
  222. package/dist/picteus-ws-client/models/SearchFilterOrigin.js +1 -1
  223. package/dist/picteus-ws-client/models/SearchImageIdResult.d.ts +1 -1
  224. package/dist/picteus-ws-client/models/SearchImageIdResult.js +1 -1
  225. package/dist/picteus-ws-client/models/SearchImageResult.d.ts +1 -1
  226. package/dist/picteus-ws-client/models/SearchImageResult.js +1 -1
  227. package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +1 -1
  228. package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +1 -1
  229. package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +1 -1
  230. package/dist/picteus-ws-client/models/SearchImagesOrigin.js +1 -1
  231. package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
  232. package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
  233. package/dist/picteus-ws-client/models/SearchMediaUrlResult.d.ts +1 -1
  234. package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +1 -1
  235. package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +1 -1
  236. package/dist/picteus-ws-client/models/SearchOriginNature.js +1 -1
  237. package/dist/picteus-ws-client/models/SearchParameters.d.ts +1 -1
  238. package/dist/picteus-ws-client/models/SearchParameters.js +1 -1
  239. package/dist/picteus-ws-client/models/SearchProperties.d.ts +1 -1
  240. package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
  241. package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
  242. package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
  243. package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
  244. package/dist/picteus-ws-client/models/SearchRange.js +1 -1
  245. package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +1 -1
  246. package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +1 -1
  247. package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
  248. package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
  249. package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
  250. package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
  251. package/dist/picteus-ws-client/models/SearchTags.d.ts +1 -1
  252. package/dist/picteus-ws-client/models/SearchTags.js +1 -1
  253. package/dist/picteus-ws-client/models/SearchTagsResult.d.ts +1 -1
  254. package/dist/picteus-ws-client/models/SearchTagsResult.js +1 -1
  255. package/dist/picteus-ws-client/models/Software.d.ts +1 -1
  256. package/dist/picteus-ws-client/models/Software.js +1 -1
  257. package/dist/picteus-ws-client/models/TagsPlaceholder.d.ts +1 -1
  258. package/dist/picteus-ws-client/models/TagsPlaceholder.js +1 -1
  259. package/dist/picteus-ws-client/models/TextualPrompt.d.ts +1 -1
  260. package/dist/picteus-ws-client/models/TextualPrompt.js +1 -1
  261. package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +1 -1
  262. package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
  263. package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.d.ts +1 -1
  264. package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +1 -1
  265. package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +1 -1
  266. package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +1 -1
  267. package/dist/picteus-ws-client/models/index.d.ts +6 -0
  268. package/dist/picteus-ws-client/models/index.js +6 -0
  269. package/dist/picteus-ws-client/runtime.d.ts +1 -1
  270. package/dist/picteus-ws-client/runtime.js +2 -2
  271. package/dist/picteusExtension.d.ts +7 -2
  272. package/dist/picteusExtension.js +13 -4
  273. package/package.json +1 -1
  274. package/dist/generated/intentValidator.d.ts +0 -49
  275. package/dist/generated/intentValidator.js +0 -363
  276. package/dist/picteus-ws-client/models/ExtensionCaption.d.ts +0 -44
  277. package/dist/picteus-ws-client/models/ExtensionCaption.js +0 -51
  278. package/dist/picteus-ws-client/models/ExtensionEligibleTags.d.ts +0 -44
@@ -116,6 +116,15 @@ export declare enum TimestampFormat {
116
116
  /** Relative time expression (e.g. "5 minutes ago") */
117
117
  relative = "relative"
118
118
  }
119
+ /** Image rendering fit mode */
120
+ export declare enum ImageFit {
121
+ /** Scale the image to fit entirely within the container */
122
+ contain = "contain",
123
+ /** Scale the image to cover the container, cropping as needed */
124
+ cover = "cover",
125
+ /** Stretch the image to fill the container */
126
+ fill = "fill"
127
+ }
119
128
  /** Visual style variants for interactive button actions. */
120
129
  export declare enum ButtonVariant {
121
130
  /** Primary emphasis button style for default/recommended actions */
@@ -801,10 +810,10 @@ export interface TimestampElement extends UiElementBase {
801
810
  readonly modifiers?: PrimitiveModifiers;
802
811
  }
803
812
  /**
804
- * Thumbnail image reference with placeholder fallback handling.
813
+ * Image reference with configurable fit, dimensions, and URL actions.
805
814
  *
806
815
  * @remarks
807
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
816
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
808
817
  */
809
818
  export interface ImageReferenceElement extends UiElementBase {
810
819
  /**
@@ -821,28 +830,25 @@ export interface ImageReferenceElement extends UiElementBase {
821
830
  */
822
831
  readonly src: string;
823
832
  /**
824
- * Accessible alternative description
833
+ * How the image fits within its container
825
834
  *
826
- * @remarks
827
- * Alternative text describing the image for assistive technology. Provide meaningful text when the image conveys information; omit it only when it is decorative.
835
+ * @defaultValue ImageFit.cover
828
836
  */
829
- readonly alt?: string;
830
- /**
831
- * Aspect ratio of the thumbnail container
832
- *
833
- * @remarks
834
- * Preferred ratio of the rendered thumbnail container, expressed as a ratio string such as 1:1. It controls presentation rather than modifying the source image.
835
- *
836
- * @defaultValue "1:1"
837
- */
838
- readonly aspectRatio?: string;
837
+ readonly fit?: ImageFit;
838
+ /** Image width in pixels */
839
+ readonly width: number;
840
+ /** Image height in pixels */
841
+ readonly height: number;
842
+ /** Image corner radius in pixels */
843
+ readonly radius?: number;
839
844
  /**
840
- * Fallback placeholder image URI
845
+ * Whether clicking the image invokes the provider image click handler
841
846
  *
842
- * @remarks
843
- * Optional source to display when the primary image cannot be loaded. It follows the same URI conventions as src.
847
+ * @defaultValue false
844
848
  */
845
- readonly placeholder?: string;
849
+ readonly openable?: boolean;
850
+ /** Optional visual modifiers (copyable) */
851
+ readonly modifiers?: BaseModifiers;
846
852
  }
847
853
  /**
848
854
  * Interactive button action triggering an extension command.
@@ -2223,7 +2229,7 @@ export declare class TimestampElementClass extends BaseUiElement<TimestampElemen
2223
2229
  * Class implementation of the `ImageReferenceElement` interface.
2224
2230
  *
2225
2231
  * @remarks
2226
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
2232
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
2227
2233
  */
2228
2234
  export declare class ImageReferenceElementClass extends BaseUiElement<ImageReferenceElement> implements ImageReferenceElement {
2229
2235
  /**
@@ -2239,41 +2245,41 @@ export declare class ImageReferenceElementClass extends BaseUiElement<ImageRefer
2239
2245
  * Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
2240
2246
  */
2241
2247
  readonly src: string;
2248
+ /** Image width in pixels */
2249
+ readonly width: number;
2250
+ /** Image height in pixels */
2251
+ readonly height: number;
2242
2252
  /**
2243
- * Accessible alternative description
2244
- *
2245
- * @remarks
2246
- * Alternative text describing the image for assistive technology. Provide meaningful text when the image conveys information; omit it only when it is decorative.
2247
- */
2248
- readonly alt?: string;
2249
- /**
2250
- * Aspect ratio of the thumbnail container
2251
- *
2252
- * @remarks
2253
- * Preferred ratio of the rendered thumbnail container, expressed as a ratio string such as 1:1. It controls presentation rather than modifying the source image.
2253
+ * How the image fits within its container
2254
2254
  *
2255
- * @defaultValue "1:1"
2255
+ * @defaultValue ImageFit.cover
2256
2256
  */
2257
- readonly aspectRatio?: string;
2257
+ readonly fit?: ImageFit;
2258
+ /** Image corner radius in pixels */
2259
+ readonly radius?: number;
2258
2260
  /**
2259
- * Fallback placeholder image URI
2261
+ * Whether clicking the image invokes the provider image click handler
2260
2262
  *
2261
- * @remarks
2262
- * Optional source to display when the primary image cannot be loaded. It follows the same URI conventions as src.
2263
+ * @defaultValue false
2263
2264
  */
2264
- readonly placeholder?: string;
2265
+ readonly openable?: boolean;
2266
+ /** Optional visual modifiers (copyable) */
2267
+ readonly modifiers?: BaseModifiers;
2265
2268
  /**
2266
2269
  * Constructs a new `ImageReferenceElementClass` instance.
2267
2270
  *
2268
2271
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
2269
2272
 
2270
2273
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
2271
- * @param options - Optional component settings. (alt, aspectRatio (defaults to `1:1`), placeholder).
2272
- */
2273
- constructor(src: string, options?: {
2274
- alt?: string;
2275
- aspectRatio?: string;
2276
- placeholder?: string;
2274
+ * @param width - Image width in pixels
2275
+ * @param height - Image height in pixels
2276
+ * @param options - Optional component settings. (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
2277
+ */
2278
+ constructor(src: string, width: number, height: number, options?: {
2279
+ fit?: ImageFit;
2280
+ radius?: number;
2281
+ openable?: boolean;
2282
+ modifiers?: BaseModifiers;
2277
2283
  });
2278
2284
  }
2279
2285
  /**
@@ -3392,35 +3398,41 @@ export declare class UiContainerBuilder {
3392
3398
  * Appends a `ImageReferenceElement` component.
3393
3399
  *
3394
3400
  * @remarks
3395
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
3401
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
3396
3402
  *
3397
3403
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
3398
3404
 
3399
3405
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
3400
- * @param options - Optional component settings (alt, aspectRatio (defaults to `1:1`), placeholder).
3406
+ * @param width - Image width in pixels
3407
+ * @param height - Image height in pixels
3408
+ * @param options - Optional component settings (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
3401
3409
  * @returns This builder instance for method chaining.
3402
3410
  */
3403
- addImageReference(src: string, options?: {
3404
- alt?: string;
3405
- aspectRatio?: string;
3406
- placeholder?: string;
3411
+ addImageReference(src: string, width: number, height: number, options?: {
3412
+ fit?: ImageFit;
3413
+ radius?: number;
3414
+ openable?: boolean;
3415
+ modifiers?: BaseModifiers;
3407
3416
  }): this;
3408
3417
  /**
3409
3418
  * Appends a `ImageReferenceElement` component.
3410
3419
  *
3411
3420
  * @remarks
3412
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
3421
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
3413
3422
  *
3414
3423
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
3415
3424
 
3416
3425
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
3417
- * @param options - Optional component settings (alt, aspectRatio (defaults to `1:1`), placeholder).
3426
+ * @param width - Image width in pixels
3427
+ * @param height - Image height in pixels
3428
+ * @param options - Optional component settings (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
3418
3429
  * @returns This builder instance for method chaining.
3419
3430
  */
3420
- addImageRef(src: string, options?: {
3421
- alt?: string;
3422
- aspectRatio?: string;
3423
- placeholder?: string;
3431
+ addImageRef(src: string, width: number, height: number, options?: {
3432
+ fit?: ImageFit;
3433
+ radius?: number;
3434
+ openable?: boolean;
3435
+ modifiers?: BaseModifiers;
3424
3436
  }): this;
3425
3437
  /**
3426
3438
  * Appends a `MarkdownBlockElement` component.
@@ -4024,35 +4036,41 @@ export declare class UiCardBuilder {
4024
4036
  * Appends a `ImageReferenceElement` component.
4025
4037
  *
4026
4038
  * @remarks
4027
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
4039
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
4028
4040
  *
4029
4041
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
4030
4042
 
4031
4043
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
4032
- * @param options - Optional component settings (alt, aspectRatio (defaults to `1:1`), placeholder).
4044
+ * @param width - Image width in pixels
4045
+ * @param height - Image height in pixels
4046
+ * @param options - Optional component settings (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
4033
4047
  * @returns This builder instance for method chaining.
4034
4048
  */
4035
- addImageReference(src: string, options?: {
4036
- alt?: string;
4037
- aspectRatio?: string;
4038
- placeholder?: string;
4049
+ addImageReference(src: string, width: number, height: number, options?: {
4050
+ fit?: ImageFit;
4051
+ radius?: number;
4052
+ openable?: boolean;
4053
+ modifiers?: BaseModifiers;
4039
4054
  }): this;
4040
4055
  /**
4041
4056
  * Appends a `ImageReferenceElement` component.
4042
4057
  *
4043
4058
  * @remarks
4044
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
4059
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
4045
4060
  *
4046
4061
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
4047
4062
 
4048
4063
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
4049
- * @param options - Optional component settings (alt, aspectRatio (defaults to `1:1`), placeholder).
4064
+ * @param width - Image width in pixels
4065
+ * @param height - Image height in pixels
4066
+ * @param options - Optional component settings (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
4050
4067
  * @returns This builder instance for method chaining.
4051
4068
  */
4052
- addImageRef(src: string, options?: {
4053
- alt?: string;
4054
- aspectRatio?: string;
4055
- placeholder?: string;
4069
+ addImageRef(src: string, width: number, height: number, options?: {
4070
+ fit?: ImageFit;
4071
+ radius?: number;
4072
+ openable?: boolean;
4073
+ modifiers?: BaseModifiers;
4056
4074
  }): this;
4057
4075
  /**
4058
4076
  * Appends a `MarkdownBlockElement` component.
@@ -4655,35 +4673,41 @@ export declare function timestamp(value: number, options?: {
4655
4673
  * Creates a `ImageReferenceElement` component instance.
4656
4674
  *
4657
4675
  * @remarks
4658
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
4676
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
4659
4677
  *
4660
4678
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
4661
4679
 
4662
4680
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
4663
- * @param options - Optional settings (alt, aspectRatio (defaults to `1:1`), placeholder).
4681
+ * @param width - Image width in pixels
4682
+ * @param height - Image height in pixels
4683
+ * @param options - Optional settings (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
4664
4684
  * @returns A strongly-typed `ImageReferenceElement` object.
4665
4685
  */
4666
- export declare function imageReference(src: string, options?: {
4667
- alt?: string;
4668
- aspectRatio?: string;
4669
- placeholder?: string;
4686
+ export declare function imageReference(src: string, width: number, height: number, options?: {
4687
+ fit?: ImageFit;
4688
+ radius?: number;
4689
+ openable?: boolean;
4690
+ modifiers?: BaseModifiers;
4670
4691
  }): ImageReferenceElement;
4671
4692
  /**
4672
4693
  * Creates a `ImageReferenceElement` component instance.
4673
4694
  *
4674
4695
  * @remarks
4675
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
4696
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
4676
4697
  *
4677
4698
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
4678
4699
 
4679
4700
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
4680
- * @param options - Optional settings (alt, aspectRatio (defaults to `1:1`), placeholder).
4701
+ * @param width - Image width in pixels
4702
+ * @param height - Image height in pixels
4703
+ * @param options - Optional settings (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
4681
4704
  * @returns A strongly-typed `ImageReferenceElement` object.
4682
4705
  */
4683
- export declare function imageRef(src: string, options?: {
4684
- alt?: string;
4685
- aspectRatio?: string;
4686
- placeholder?: string;
4706
+ export declare function imageRef(src: string, width: number, height: number, options?: {
4707
+ fit?: ImageFit;
4708
+ radius?: number;
4709
+ openable?: boolean;
4710
+ modifiers?: BaseModifiers;
4687
4711
  }): ImageReferenceElement;
4688
4712
  /**
4689
4713
  * Creates a `ButtonActionElement` component instance.
@@ -152,6 +152,16 @@ export var TimestampFormat;
152
152
  /** Relative time expression (e.g. "5 minutes ago") */
153
153
  TimestampFormat["relative"] = "relative";
154
154
  })(TimestampFormat || (TimestampFormat = {}));
155
+ /** Image rendering fit mode */
156
+ export var ImageFit;
157
+ (function (ImageFit) {
158
+ /** Scale the image to fit entirely within the container */
159
+ ImageFit["contain"] = "contain";
160
+ /** Scale the image to cover the container, cropping as needed */
161
+ ImageFit["cover"] = "cover";
162
+ /** Stretch the image to fill the container */
163
+ ImageFit["fill"] = "fill";
164
+ })(ImageFit || (ImageFit = {}));
155
165
  /** Visual style variants for interactive button actions. */
156
166
  export var ButtonVariant;
157
167
  (function (ButtonVariant) {
@@ -1077,7 +1087,7 @@ export class TimestampElementClass extends BaseUiElement {
1077
1087
  * Class implementation of the `ImageReferenceElement` interface.
1078
1088
  *
1079
1089
  * @remarks
1080
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
1090
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
1081
1091
  */
1082
1092
  export class ImageReferenceElementClass extends BaseUiElement {
1083
1093
  /**
@@ -1093,43 +1103,45 @@ export class ImageReferenceElementClass extends BaseUiElement {
1093
1103
  * Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
1094
1104
  */
1095
1105
  src;
1106
+ /** Image width in pixels */
1107
+ width;
1108
+ /** Image height in pixels */
1109
+ height;
1096
1110
  /**
1097
- * Accessible alternative description
1098
- *
1099
- * @remarks
1100
- * Alternative text describing the image for assistive technology. Provide meaningful text when the image conveys information; omit it only when it is decorative.
1101
- */
1102
- alt;
1103
- /**
1104
- * Aspect ratio of the thumbnail container
1111
+ * How the image fits within its container
1105
1112
  *
1106
- * @remarks
1107
- * Preferred ratio of the rendered thumbnail container, expressed as a ratio string such as 1:1. It controls presentation rather than modifying the source image.
1108
- *
1109
- * @defaultValue "1:1"
1113
+ * @defaultValue ImageFit.cover
1110
1114
  */
1111
- aspectRatio;
1115
+ fit;
1116
+ /** Image corner radius in pixels */
1117
+ radius;
1112
1118
  /**
1113
- * Fallback placeholder image URI
1119
+ * Whether clicking the image invokes the provider image click handler
1114
1120
  *
1115
- * @remarks
1116
- * Optional source to display when the primary image cannot be loaded. It follows the same URI conventions as src.
1121
+ * @defaultValue false
1117
1122
  */
1118
- placeholder;
1123
+ openable;
1124
+ /** Optional visual modifiers (copyable) */
1125
+ modifiers;
1119
1126
  /**
1120
1127
  * Constructs a new `ImageReferenceElementClass` instance.
1121
1128
  *
1122
1129
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
1123
1130
 
1124
1131
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
1125
- * @param options - Optional component settings. (alt, aspectRatio (defaults to `1:1`), placeholder).
1132
+ * @param width - Image width in pixels
1133
+ * @param height - Image height in pixels
1134
+ * @param options - Optional component settings. (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
1126
1135
  */
1127
- constructor(src, options) {
1136
+ constructor(src, width, height, options) {
1128
1137
  super();
1129
1138
  this.src = src;
1130
- this.alt = options?.alt;
1131
- this.aspectRatio = options?.aspectRatio ?? "1:1";
1132
- this.placeholder = options?.placeholder;
1139
+ this.width = width;
1140
+ this.height = height;
1141
+ this.fit = options?.fit ?? ImageFit.cover;
1142
+ this.radius = options?.radius;
1143
+ this.openable = options?.openable ?? false;
1144
+ this.modifiers = options?.modifiers;
1133
1145
  }
1134
1146
  }
1135
1147
  /**
@@ -2267,31 +2279,35 @@ export class UiContainerBuilder {
2267
2279
  * Appends a `ImageReferenceElement` component.
2268
2280
  *
2269
2281
  * @remarks
2270
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
2282
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
2271
2283
  *
2272
2284
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
2273
2285
 
2274
2286
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
2275
- * @param options - Optional component settings (alt, aspectRatio (defaults to `1:1`), placeholder).
2287
+ * @param width - Image width in pixels
2288
+ * @param height - Image height in pixels
2289
+ * @param options - Optional component settings (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
2276
2290
  * @returns This builder instance for method chaining.
2277
2291
  */
2278
- addImageReference(src, options) {
2279
- return this.add(imageReference(src, options));
2292
+ addImageReference(src, width, height, options) {
2293
+ return this.add(imageReference(src, width, height, options));
2280
2294
  }
2281
2295
  /**
2282
2296
  * Appends a `ImageReferenceElement` component.
2283
2297
  *
2284
2298
  * @remarks
2285
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
2299
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
2286
2300
  *
2287
2301
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
2288
2302
 
2289
2303
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
2290
- * @param options - Optional component settings (alt, aspectRatio (defaults to `1:1`), placeholder).
2304
+ * @param width - Image width in pixels
2305
+ * @param height - Image height in pixels
2306
+ * @param options - Optional component settings (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
2291
2307
  * @returns This builder instance for method chaining.
2292
2308
  */
2293
- addImageRef(src, options) {
2294
- return this.add(imageRef(src, options));
2309
+ addImageRef(src, width, height, options) {
2310
+ return this.add(imageRef(src, width, height, options));
2295
2311
  }
2296
2312
  /**
2297
2313
  * Appends a `MarkdownBlockElement` component.
@@ -2897,31 +2913,35 @@ export class UiCardBuilder {
2897
2913
  * Appends a `ImageReferenceElement` component.
2898
2914
  *
2899
2915
  * @remarks
2900
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
2916
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
2901
2917
  *
2902
2918
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
2903
2919
 
2904
2920
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
2905
- * @param options - Optional component settings (alt, aspectRatio (defaults to `1:1`), placeholder).
2921
+ * @param width - Image width in pixels
2922
+ * @param height - Image height in pixels
2923
+ * @param options - Optional component settings (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
2906
2924
  * @returns This builder instance for method chaining.
2907
2925
  */
2908
- addImageReference(src, options) {
2909
- return this.add(imageReference(src, options));
2926
+ addImageReference(src, width, height, options) {
2927
+ return this.add(imageReference(src, width, height, options));
2910
2928
  }
2911
2929
  /**
2912
2930
  * Appends a `ImageReferenceElement` component.
2913
2931
  *
2914
2932
  * @remarks
2915
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
2933
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
2916
2934
  *
2917
2935
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
2918
2936
 
2919
2937
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
2920
- * @param options - Optional component settings (alt, aspectRatio (defaults to `1:1`), placeholder).
2938
+ * @param width - Image width in pixels
2939
+ * @param height - Image height in pixels
2940
+ * @param options - Optional component settings (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
2921
2941
  * @returns This builder instance for method chaining.
2922
2942
  */
2923
- addImageRef(src, options) {
2924
- return this.add(imageRef(src, options));
2943
+ addImageRef(src, width, height, options) {
2944
+ return this.add(imageRef(src, width, height, options));
2925
2945
  }
2926
2946
  /**
2927
2947
  * Appends a `MarkdownBlockElement` component.
@@ -3623,42 +3643,52 @@ export function timestamp(value, options) {
3623
3643
  * Creates a `ImageReferenceElement` component instance.
3624
3644
  *
3625
3645
  * @remarks
3626
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
3646
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
3627
3647
  *
3628
3648
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
3629
3649
 
3630
3650
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
3631
- * @param options - Optional settings (alt, aspectRatio (defaults to `1:1`), placeholder).
3651
+ * @param width - Image width in pixels
3652
+ * @param height - Image height in pixels
3653
+ * @param options - Optional settings (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
3632
3654
  * @returns A strongly-typed `ImageReferenceElement` object.
3633
3655
  */
3634
- export function imageReference(src, options) {
3656
+ export function imageReference(src, width, height, options) {
3635
3657
  return {
3636
3658
  type: "image-ref",
3637
3659
  src,
3638
- alt: options?.alt,
3639
- aspectRatio: options?.aspectRatio ?? "1:1",
3640
- placeholder: options?.placeholder
3660
+ width,
3661
+ height,
3662
+ fit: options?.fit ?? ImageFit.cover,
3663
+ radius: options?.radius,
3664
+ openable: options?.openable ?? false,
3665
+ modifiers: options?.modifiers
3641
3666
  };
3642
3667
  }
3643
3668
  /**
3644
3669
  * Creates a `ImageReferenceElement` component instance.
3645
3670
  *
3646
3671
  * @remarks
3647
- * References an image source for thumbnail rendering and provides accessible text and a fallback source. The client determines loading, sizing, and placeholder behavior.
3672
+ * References an image source for rendering at the supplied pixel dimensions. The client displays a loading state while the image loads and can optionally expose URL copy and click actions.
3648
3673
  *
3649
3674
  * @param src - Image source URI (HTTPS URL, base64 data URI, or asset path)
3650
3675
 
3651
3676
  Source URI understood by the client renderer. Supported forms include HTTPS locations, base64 data URIs, and client asset paths; this field is not raw image bytes.
3652
- * @param options - Optional settings (alt, aspectRatio (defaults to `1:1`), placeholder).
3677
+ * @param width - Image width in pixels
3678
+ * @param height - Image height in pixels
3679
+ * @param options - Optional settings (fit (defaults to `cover`), radius, openable (defaults to `false`), modifiers).
3653
3680
  * @returns A strongly-typed `ImageReferenceElement` object.
3654
3681
  */
3655
- export function imageRef(src, options) {
3682
+ export function imageRef(src, width, height, options) {
3656
3683
  return {
3657
3684
  type: "image-ref",
3658
3685
  src,
3659
- alt: options?.alt,
3660
- aspectRatio: options?.aspectRatio ?? "1:1",
3661
- placeholder: options?.placeholder
3686
+ width,
3687
+ height,
3688
+ fit: options?.fit ?? ImageFit.cover,
3689
+ radius: options?.radius,
3690
+ openable: options?.openable ?? false,
3691
+ modifiers: options?.modifiers
3662
3692
  };
3663
3693
  }
3664
3694
  /**
@@ -4536,9 +4566,12 @@ export function isImageReferenceElement(value, withDeepValidation = false) {
4536
4566
  }
4537
4567
  const element = value;
4538
4568
  return ("src" in value && typeof element.src === "string") &&
4539
- (element.alt === undefined || typeof element.alt === "string") &&
4540
- (element.aspectRatio === undefined || typeof element.aspectRatio === "string") &&
4541
- (element.placeholder === undefined || typeof element.placeholder === "string");
4569
+ (element.fit === undefined || Object.values(ImageFit).includes(element.fit)) &&
4570
+ ("width" in value && typeof element.width === "number") &&
4571
+ ("height" in value && typeof element.height === "number") &&
4572
+ (element.radius === undefined || typeof element.radius === "number") &&
4573
+ (element.openable === undefined || typeof element.openable === "boolean") &&
4574
+ (element.modifiers === undefined || isBaseModifiers(element.modifiers, true));
4542
4575
  }
4543
4576
  /**
4544
4577
  * Type guard predicate narrowing a value to `MarkdownBlockElement`.
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.24.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.24.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.24.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.24.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.24.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.24.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).