@picteus/extension-sdk 0.13.0 → 0.14.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 (253) hide show
  1. package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +5 -5
  2. package/dist/picteus-ws-client/apis/AdministrationApi.js +3 -9
  3. package/dist/picteus-ws-client/apis/ApiSecretApi.d.ts +5 -5
  4. package/dist/picteus-ws-client/apis/ApiSecretApi.js +3 -9
  5. package/dist/picteus-ws-client/apis/CollectionApi.d.ts +5 -5
  6. package/dist/picteus-ws-client/apis/CollectionApi.js +3 -9
  7. package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +29 -29
  8. package/dist/picteus-ws-client/apis/ExtensionApi.js +15 -57
  9. package/dist/picteus-ws-client/apis/ImageApi.d.ts +42 -38
  10. package/dist/picteus-ws-client/apis/ImageApi.js +35 -53
  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/MiscellaneousApi.d.ts +24 -23
  14. package/dist/picteus-ws-client/apis/MiscellaneousApi.js +19 -23
  15. package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +41 -18
  16. package/dist/picteus-ws-client/apis/RepositoryApi.js +37 -34
  17. package/dist/picteus-ws-client/apis/SettingsApi.d.ts +12 -12
  18. package/dist/picteus-ws-client/apis/SettingsApi.js +7 -7
  19. package/dist/picteus-ws-client/models/ApiSecret.d.ts +1 -1
  20. package/dist/picteus-ws-client/models/ApiSecret.js +1 -1
  21. package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +1 -1
  22. package/dist/picteus-ws-client/models/ApiSecretSummary.js +1 -1
  23. package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
  24. package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
  25. package/dist/picteus-ws-client/models/ApplicationConfiguration.d.ts +32 -0
  26. package/dist/picteus-ws-client/models/ApplicationConfiguration.js +41 -0
  27. package/dist/picteus-ws-client/models/ApplicationMetadata.d.ts +1 -1
  28. package/dist/picteus-ws-client/models/ApplicationMetadata.js +1 -1
  29. package/dist/picteus-ws-client/models/ApplicationMetadataItem.d.ts +1 -1
  30. package/dist/picteus-ws-client/models/ApplicationMetadataItem.js +1 -1
  31. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.d.ts +1 -1
  32. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.js +1 -1
  33. package/dist/picteus-ws-client/models/ApplicationSettings.d.ts +32 -0
  34. package/dist/picteus-ws-client/models/ApplicationSettings.js +41 -0
  35. package/dist/picteus-ws-client/models/Collection.d.ts +1 -1
  36. package/dist/picteus-ws-client/models/Collection.js +1 -1
  37. package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
  38. package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
  39. package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +1 -1
  40. package/dist/picteus-ws-client/models/ComputedImageFormat.js +1 -1
  41. package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +1 -1
  42. package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
  43. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +1 -1
  44. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
  45. package/dist/picteus-ws-client/models/ConstantsRegistry.d.ts +1 -1
  46. package/dist/picteus-ws-client/models/ConstantsRegistry.js +1 -1
  47. package/dist/picteus-ws-client/models/Dates.d.ts +1 -1
  48. package/dist/picteus-ws-client/models/Dates.js +1 -1
  49. package/dist/picteus-ws-client/models/Extension.d.ts +1 -1
  50. package/dist/picteus-ws-client/models/Extension.js +1 -1
  51. package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +1 -1
  52. package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
  53. package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +1 -1
  54. package/dist/picteus-ws-client/models/ExtensionActivityKind.js +1 -1
  55. package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +1 -1
  56. package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
  57. package/dist/picteus-ws-client/models/ExtensionCategory.d.ts +29 -0
  58. package/dist/picteus-ws-client/models/ExtensionCategory.js +47 -0
  59. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +14 -1
  60. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +8 -1
  61. package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.d.ts +38 -0
  62. package/dist/picteus-ws-client/models/ExtensionIdImageEmbeddingName.js +47 -0
  63. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +8 -7
  64. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +6 -5
  65. package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +1 -1
  66. package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
  67. package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +1 -1
  68. package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +1 -1
  69. package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.d.ts +1 -1
  70. package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +1 -1
  71. package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +1 -1
  72. package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
  73. package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.d.ts +1 -1
  74. package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.js +1 -1
  75. package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
  76. package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
  77. package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
  78. package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
  79. package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +1 -1
  80. package/dist/picteus-ws-client/models/ExtensionStatus.js +1 -1
  81. package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
  82. package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
  83. package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +1 -1
  84. package/dist/picteus-ws-client/models/GenerationRecipe.js +1 -1
  85. package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +1 -1
  86. package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +1 -1
  87. package/dist/picteus-ws-client/models/Image.d.ts +1 -1
  88. package/dist/picteus-ws-client/models/Image.js +1 -1
  89. package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
  90. package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
  91. package/dist/picteus-ws-client/models/ImageDistance.d.ts +1 -1
  92. package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
  93. package/dist/picteus-ws-client/models/ImageEmbedding.d.ts +38 -0
  94. package/dist/picteus-ws-client/models/ImageEmbedding.js +47 -0
  95. package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +1 -1
  96. package/dist/picteus-ws-client/models/ImageEmbeddings.js +1 -1
  97. package/dist/picteus-ws-client/models/ImageFeature.d.ts +1 -1
  98. package/dist/picteus-ws-client/models/ImageFeature.js +1 -1
  99. package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +1 -1
  100. package/dist/picteus-ws-client/models/ImageFeatureFormat.js +1 -1
  101. package/dist/picteus-ws-client/models/ImageFeatureNullValue.d.ts +1 -1
  102. package/dist/picteus-ws-client/models/ImageFeatureNullValue.js +1 -1
  103. package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +1 -1
  104. package/dist/picteus-ws-client/models/ImageFeatureType.js +1 -1
  105. package/dist/picteus-ws-client/models/ImageFeatureValue.d.ts +4 -9
  106. package/dist/picteus-ws-client/models/ImageFeatureValue.js +33 -9
  107. package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
  108. package/dist/picteus-ws-client/models/ImageFormat.js +1 -1
  109. package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
  110. package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
  111. package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
  112. package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
  113. package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
  114. package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
  115. package/dist/picteus-ws-client/models/ImageSummary.d.ts +1 -1
  116. package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
  117. package/dist/picteus-ws-client/models/InstructionsPrompt.d.ts +1 -1
  118. package/dist/picteus-ws-client/models/InstructionsPrompt.js +1 -1
  119. package/dist/picteus-ws-client/models/Manifest.d.ts +9 -2
  120. package/dist/picteus-ws-client/models/Manifest.js +6 -1
  121. package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
  122. package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
  123. package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
  124. package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
  125. package/dist/picteus-ws-client/models/ManifestEvent.d.ts +1 -1
  126. package/dist/picteus-ws-client/models/ManifestEvent.js +1 -1
  127. package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
  128. package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
  129. package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +8 -1
  130. package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +4 -1
  131. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
  132. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
  133. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +10 -4
  134. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +4 -4
  135. package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.d.ts +32 -0
  136. package/dist/picteus-ws-client/models/ManifestExtensionCommandUi.js +43 -0
  137. package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
  138. package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
  139. package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +1 -1
  140. package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
  141. package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.d.ts +1 -1
  142. package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.js +1 -1
  143. package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
  144. package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
  145. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
  146. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
  147. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.d.ts +1 -1
  148. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.js +1 -1
  149. package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +3 -3
  150. package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
  151. package/dist/picteus-ws-client/models/PromptKind.d.ts +1 -1
  152. package/dist/picteus-ws-client/models/PromptKind.js +1 -1
  153. package/dist/picteus-ws-client/models/Repository.d.ts +1 -1
  154. package/dist/picteus-ws-client/models/Repository.js +1 -1
  155. package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
  156. package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
  157. package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
  158. package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
  159. package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
  160. package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
  161. package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +1 -1
  162. package/dist/picteus-ws-client/models/RepositoryStatus.js +1 -1
  163. package/dist/picteus-ws-client/models/SearchCriteria.d.ts +1 -1
  164. package/dist/picteus-ws-client/models/SearchCriteria.js +1 -1
  165. package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.d.ts +1 -1
  166. package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.js +1 -1
  167. package/dist/picteus-ws-client/models/SearchFeatureCondition.d.ts +1 -1
  168. package/dist/picteus-ws-client/models/SearchFeatureCondition.js +1 -1
  169. package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +1 -1
  170. package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +1 -1
  171. package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.d.ts +1 -1
  172. package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.js +1 -1
  173. package/dist/picteus-ws-client/models/SearchFeatures.d.ts +1 -1
  174. package/dist/picteus-ws-client/models/SearchFeatures.js +1 -1
  175. package/dist/picteus-ws-client/models/SearchFeaturesResult.d.ts +1 -1
  176. package/dist/picteus-ws-client/models/SearchFeaturesResult.js +1 -1
  177. package/dist/picteus-ws-client/models/SearchFilter.d.ts +1 -1
  178. package/dist/picteus-ws-client/models/SearchFilter.js +1 -1
  179. package/dist/picteus-ws-client/models/SearchFilterOrigin.d.ts +1 -1
  180. package/dist/picteus-ws-client/models/SearchFilterOrigin.js +1 -1
  181. package/dist/picteus-ws-client/models/SearchImageIdResult.d.ts +1 -1
  182. package/dist/picteus-ws-client/models/SearchImageIdResult.js +1 -1
  183. package/dist/picteus-ws-client/models/SearchImageResult.d.ts +1 -1
  184. package/dist/picteus-ws-client/models/SearchImageResult.js +1 -1
  185. package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +1 -1
  186. package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +1 -1
  187. package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +1 -1
  188. package/dist/picteus-ws-client/models/SearchImagesOrigin.js +1 -1
  189. package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
  190. package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
  191. package/dist/picteus-ws-client/models/SearchMediaUrlResult.d.ts +1 -1
  192. package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +1 -1
  193. package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +1 -1
  194. package/dist/picteus-ws-client/models/SearchOriginNature.js +1 -1
  195. package/dist/picteus-ws-client/models/SearchParameters.d.ts +1 -1
  196. package/dist/picteus-ws-client/models/SearchParameters.js +1 -1
  197. package/dist/picteus-ws-client/models/SearchProperties.d.ts +1 -1
  198. package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
  199. package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
  200. package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
  201. package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
  202. package/dist/picteus-ws-client/models/SearchRange.js +1 -1
  203. package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +1 -1
  204. package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +1 -1
  205. package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
  206. package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
  207. package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
  208. package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
  209. package/dist/picteus-ws-client/models/SearchTags.d.ts +1 -1
  210. package/dist/picteus-ws-client/models/SearchTags.js +1 -1
  211. package/dist/picteus-ws-client/models/SearchTagsResult.d.ts +1 -1
  212. package/dist/picteus-ws-client/models/SearchTagsResult.js +1 -1
  213. package/dist/picteus-ws-client/models/Settings.d.ts +1 -1
  214. package/dist/picteus-ws-client/models/Settings.js +1 -1
  215. package/dist/picteus-ws-client/models/Software.d.ts +1 -1
  216. package/dist/picteus-ws-client/models/Software.js +1 -1
  217. package/dist/picteus-ws-client/models/TextualPrompt.d.ts +1 -1
  218. package/dist/picteus-ws-client/models/TextualPrompt.js +1 -1
  219. package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +1 -1
  220. package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
  221. package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.d.ts +1 -1
  222. package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +1 -1
  223. package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +1 -1
  224. package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +1 -1
  225. package/dist/picteus-ws-client/models/index.d.ts +6 -2
  226. package/dist/picteus-ws-client/models/index.js +6 -2
  227. package/dist/picteus-ws-client/runtime.d.ts +1 -1
  228. package/dist/picteus-ws-client/runtime.js +1 -1
  229. package/dist/picteusExtension.d.ts +7 -4
  230. package/dist/picteusExtension.js +33 -12
  231. package/package.json +1 -1
  232. package/dist/picteus-ws-client/apis/ExperimentApi.d.ts +0 -48
  233. package/dist/picteus-ws-client/apis/ExperimentApi.js +0 -51
  234. package/dist/picteus-ws-client/apis/PingApi.d.ts +0 -48
  235. package/dist/picteus-ws-client/apis/PingApi.js +0 -51
  236. package/dist/picteus-ws-client/models/Automatic1111Instruction.d.ts +0 -38
  237. package/dist/picteus-ws-client/models/Automatic1111Instruction.js +0 -47
  238. package/dist/picteus-ws-client/models/Automatic1111UserComment.d.ts +0 -45
  239. package/dist/picteus-ws-client/models/Automatic1111UserComment.js +0 -50
  240. package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.d.ts +0 -38
  241. package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.js +0 -47
  242. package/dist/picteus-ws-client/models/GenerationRecipeSchemaVersions.d.ts +0 -32
  243. package/dist/picteus-ws-client/models/GenerationRecipeSchemaVersions.js +0 -41
  244. package/dist/picteus-ws-client/models/ImageGenerator.d.ts +0 -26
  245. package/dist/picteus-ws-client/models/ImageGenerator.js +0 -44
  246. package/dist/picteus-ws-client/models/ImageSummaryList.d.ts +0 -39
  247. package/dist/picteus-ws-client/models/ImageSummaryList.js +0 -48
  248. package/dist/picteus-ws-client/models/ManifestExtensionCommandLabel.d.ts +0 -38
  249. package/dist/picteus-ws-client/models/ManifestExtensionCommandLabel.js +0 -47
  250. package/dist/picteus-ws-client/models/MidjourneyInstructions.d.ts +0 -74
  251. package/dist/picteus-ws-client/models/MidjourneyInstructions.js +0 -71
  252. /package/dist/{Intents.d.ts → intents.d.ts} +0 -0
  253. /package/dist/{Intents.js → intents.js} +0 -0
@@ -2,31 +2,32 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.17.0
5
+ * The version of the OpenAPI document: 0.18.0
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ImageEmbedding } from './ImageEmbedding.js';
12
13
  /**
13
14
  * The image embeddings vectors computed by an extension
14
15
  * @export
15
16
  * @interface ExtensionImageEmbeddings
16
17
  */
17
18
  export interface ExtensionImageEmbeddings {
18
- /**
19
- * The image embeddings vector
20
- * @type {Array<number>}
21
- * @memberof ExtensionImageEmbeddings
22
- */
23
- values: Array<number>;
24
19
  /**
25
20
  * The extension identifier
26
21
  * @type {string}
27
22
  * @memberof ExtensionImageEmbeddings
28
23
  */
29
24
  id: string;
25
+ /**
26
+ * The image embeddings for the extension
27
+ * @type {Array<ImageEmbedding>}
28
+ * @memberof ExtensionImageEmbeddings
29
+ */
30
+ embeddings: Array<ImageEmbedding>;
30
31
  }
31
32
  /**
32
33
  * Check if a given object implements the ExtensionImageEmbeddings interface.
@@ -4,21 +4,22 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.17.0
7
+ * The version of the OpenAPI document: 0.18.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { ImageEmbeddingFromJSON, ImageEmbeddingToJSON, } from './ImageEmbedding.js';
14
15
  /**
15
16
  * Check if a given object implements the ExtensionImageEmbeddings interface.
16
17
  */
17
18
  export function instanceOfExtensionImageEmbeddings(value) {
18
- if (!('values' in value) || value['values'] === undefined)
19
- return false;
20
19
  if (!('id' in value) || value['id'] === undefined)
21
20
  return false;
21
+ if (!('embeddings' in value) || value['embeddings'] === undefined)
22
+ return false;
22
23
  return true;
23
24
  }
24
25
  export function ExtensionImageEmbeddingsFromJSON(json) {
@@ -29,8 +30,8 @@ export function ExtensionImageEmbeddingsFromJSONTyped(json, ignoreDiscriminator)
29
30
  return json;
30
31
  }
31
32
  return {
32
- 'values': json['values'],
33
33
  'id': json['id'],
34
+ 'embeddings': (json['embeddings'].map(ImageEmbeddingFromJSON)),
34
35
  };
35
36
  }
36
37
  export function ExtensionImageEmbeddingsToJSON(json) {
@@ -41,7 +42,7 @@ export function ExtensionImageEmbeddingsToJSONTyped(value, ignoreDiscriminator =
41
42
  return value;
42
43
  }
43
44
  return {
44
- 'values': value['values'],
45
45
  'id': value['id'],
46
+ 'embeddings': (value['embeddings'].map(ImageEmbeddingToJSON)),
46
47
  };
47
48
  }
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.18.0
6
+ * Contact: edouard@koppasoft.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * A vectorial representation of an image, i.e. an image embedding vector, plus a name for that representation
14
+ * @export
15
+ * @interface ImageEmbedding
16
+ */
17
+ export interface ImageEmbedding {
18
+ /**
19
+ * The image embedding name
20
+ * @type {string}
21
+ * @memberof ImageEmbedding
22
+ */
23
+ name: string;
24
+ /**
25
+ * The image embeddings vector
26
+ * @type {Array<number>}
27
+ * @memberof ImageEmbedding
28
+ */
29
+ values: Array<number>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ImageEmbedding interface.
33
+ */
34
+ export declare function instanceOfImageEmbedding(value: object): value is ImageEmbedding;
35
+ export declare function ImageEmbeddingFromJSON(json: any): ImageEmbedding;
36
+ export declare function ImageEmbeddingFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageEmbedding;
37
+ export declare function ImageEmbeddingToJSON(json: any): ImageEmbedding;
38
+ export declare function ImageEmbeddingToJSONTyped(value?: ImageEmbedding | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Picteus
5
+ * The Picteus API
6
+ *
7
+ * The version of the OpenAPI document: 0.18.0
8
+ * Contact: edouard@koppasoft.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ImageEmbedding interface.
16
+ */
17
+ export function instanceOfImageEmbedding(value) {
18
+ if (!('name' in value) || value['name'] === undefined)
19
+ return false;
20
+ if (!('values' in value) || value['values'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function ImageEmbeddingFromJSON(json) {
25
+ return ImageEmbeddingFromJSONTyped(json, false);
26
+ }
27
+ export function ImageEmbeddingFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'name': json['name'],
33
+ 'values': json['values'],
34
+ };
35
+ }
36
+ export function ImageEmbeddingToJSON(json) {
37
+ return ImageEmbeddingToJSONTyped(json, false);
38
+ }
39
+ export function ImageEmbeddingToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'name': value['name'],
45
+ 'values': value['values'],
46
+ };
47
+ }
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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.17.0
7
+ * The version of the OpenAPI document: 0.18.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.17.0
5
+ * The version of the OpenAPI document: 0.18.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,17 +10,12 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
+ * @type ImageFeatureValue
13
14
  * The image feature value
14
15
  * @export
15
- * @interface ImageFeatureValue
16
16
  */
17
- export interface ImageFeatureValue {
18
- }
19
- /**
20
- * Check if a given object implements the ImageFeatureValue interface.
21
- */
22
- export declare function instanceOfImageFeatureValue(value: object): value is ImageFeatureValue;
17
+ export type ImageFeatureValue = boolean | number | string;
23
18
  export declare function ImageFeatureValueFromJSON(json: any): ImageFeatureValue;
24
19
  export declare function ImageFeatureValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageFeatureValue;
25
- export declare function ImageFeatureValueToJSON(json: any): ImageFeatureValue;
20
+ export declare function ImageFeatureValueToJSON(json: any): any;
26
21
  export declare function ImageFeatureValueToJSONTyped(value?: ImageFeatureValue | null, ignoreDiscriminator?: boolean): any;
@@ -4,28 +4,52 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.17.0
7
+ * The version of the OpenAPI document: 0.18.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * Check if a given object implements the ImageFeatureValue interface.
16
- */
17
- export function instanceOfImageFeatureValue(value) {
18
- return true;
19
- }
20
14
  export function ImageFeatureValueFromJSON(json) {
21
15
  return ImageFeatureValueFromJSONTyped(json, false);
22
16
  }
23
17
  export function ImageFeatureValueFromJSONTyped(json, ignoreDiscriminator) {
24
- return json;
18
+ if (json == null) {
19
+ return json;
20
+ }
21
+ if (typeof json === 'number') {
22
+ return json;
23
+ }
24
+ if (typeof json === 'number') {
25
+ return json;
26
+ }
27
+ if (typeof json === 'string') {
28
+ return json;
29
+ }
30
+ if (typeof json === 'boolean') {
31
+ return json;
32
+ }
33
+ return {};
25
34
  }
26
35
  export function ImageFeatureValueToJSON(json) {
27
36
  return ImageFeatureValueToJSONTyped(json, false);
28
37
  }
29
38
  export function ImageFeatureValueToJSONTyped(value, ignoreDiscriminator = false) {
30
- return value;
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ if (typeof value === 'number') {
43
+ return value;
44
+ }
45
+ if (typeof value === 'number') {
46
+ return value;
47
+ }
48
+ if (typeof value === 'string') {
49
+ return value;
50
+ }
51
+ if (typeof value === 'boolean') {
52
+ return value;
53
+ }
54
+ return {};
31
55
  }