@picteus/extension-sdk 0.9.0 → 0.10.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 (221) hide show
  1. package/dist/Intents.d.ts +125 -0
  2. package/dist/Intents.js +20 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +1 -0
  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 +1 -1
  12. package/dist/picteus-ws-client/apis/ExtensionApi.js +1 -1
  13. package/dist/picteus-ws-client/apis/ImageApi.d.ts +141 -25
  14. package/dist/picteus-ws-client/apis/ImageApi.js +162 -20
  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/MiscellaneousApi.d.ts +1 -1
  18. package/dist/picteus-ws-client/apis/MiscellaneousApi.js +1 -1
  19. package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +1 -1
  20. package/dist/picteus-ws-client/apis/RepositoryApi.js +1 -1
  21. package/dist/picteus-ws-client/apis/SettingsApi.d.ts +1 -1
  22. package/dist/picteus-ws-client/apis/SettingsApi.js +1 -1
  23. package/dist/picteus-ws-client/models/ApiSecret.d.ts +1 -1
  24. package/dist/picteus-ws-client/models/ApiSecret.js +1 -1
  25. package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +1 -1
  26. package/dist/picteus-ws-client/models/ApiSecretSummary.js +1 -1
  27. package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
  28. package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
  29. package/dist/picteus-ws-client/models/ApplicationMetadata.d.ts +1 -1
  30. package/dist/picteus-ws-client/models/ApplicationMetadata.js +1 -1
  31. package/dist/picteus-ws-client/models/ApplicationMetadataItem.d.ts +1 -1
  32. package/dist/picteus-ws-client/models/ApplicationMetadataItem.js +1 -1
  33. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.d.ts +1 -1
  34. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.js +1 -1
  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/ExtensionGenerationOptions.d.ts +1 -1
  58. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
  59. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +2 -2
  60. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
  61. package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +1 -1
  62. package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
  63. package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +1 -1
  64. package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +1 -1
  65. package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.d.ts +39 -0
  66. package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +48 -0
  67. package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +1 -1
  68. package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
  69. package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.d.ts +39 -0
  70. package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.js +48 -0
  71. package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
  72. package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
  73. package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
  74. package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
  75. package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +1 -1
  76. package/dist/picteus-ws-client/models/ExtensionStatus.js +1 -1
  77. package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
  78. package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
  79. package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +1 -1
  80. package/dist/picteus-ws-client/models/GenerationRecipe.js +1 -1
  81. package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +1 -1
  82. package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +1 -1
  83. package/dist/picteus-ws-client/models/Image.d.ts +2 -2
  84. package/dist/picteus-ws-client/models/Image.js +1 -1
  85. package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
  86. package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
  87. package/dist/picteus-ws-client/models/ImageDistance.d.ts +2 -2
  88. package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
  89. package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +2 -2
  90. package/dist/picteus-ws-client/models/ImageEmbeddings.js +1 -1
  91. package/dist/picteus-ws-client/models/ImageFeature.d.ts +1 -1
  92. package/dist/picteus-ws-client/models/ImageFeature.js +1 -1
  93. package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +1 -1
  94. package/dist/picteus-ws-client/models/ImageFeatureFormat.js +1 -1
  95. package/dist/picteus-ws-client/models/ImageFeatureNullValue.d.ts +1 -1
  96. package/dist/picteus-ws-client/models/ImageFeatureNullValue.js +1 -1
  97. package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +1 -1
  98. package/dist/picteus-ws-client/models/ImageFeatureType.js +1 -1
  99. package/dist/picteus-ws-client/models/ImageFeatureValue.d.ts +9 -4
  100. package/dist/picteus-ws-client/models/ImageFeatureValue.js +9 -33
  101. package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
  102. package/dist/picteus-ws-client/models/ImageFormat.js +1 -1
  103. package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
  104. package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
  105. package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
  106. package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
  107. package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
  108. package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
  109. package/dist/picteus-ws-client/models/ImageSummary.d.ts +2 -2
  110. package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
  111. package/dist/picteus-ws-client/models/InstructionsPrompt.d.ts +1 -1
  112. package/dist/picteus-ws-client/models/InstructionsPrompt.js +1 -1
  113. package/dist/picteus-ws-client/models/Manifest.d.ts +1 -1
  114. package/dist/picteus-ws-client/models/Manifest.js +1 -1
  115. package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
  116. package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
  117. package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
  118. package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
  119. package/dist/picteus-ws-client/models/ManifestEvent.d.ts +3 -1
  120. package/dist/picteus-ws-client/models/ManifestEvent.js +3 -1
  121. package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
  122. package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
  123. package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +1 -1
  124. package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
  125. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
  126. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
  127. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +1 -1
  128. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
  129. package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
  130. package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
  131. package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +13 -7
  132. package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +9 -5
  133. package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.d.ts +27 -0
  134. package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.js +47 -0
  135. package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
  136. package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
  137. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
  138. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
  139. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.d.ts +1 -1
  140. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.js +1 -1
  141. package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +1 -1
  142. package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
  143. package/dist/picteus-ws-client/models/PromptKind.d.ts +1 -1
  144. package/dist/picteus-ws-client/models/PromptKind.js +1 -1
  145. package/dist/picteus-ws-client/models/Repository.d.ts +1 -1
  146. package/dist/picteus-ws-client/models/Repository.js +1 -1
  147. package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
  148. package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
  149. package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
  150. package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
  151. package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
  152. package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
  153. package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +1 -1
  154. package/dist/picteus-ws-client/models/RepositoryStatus.js +1 -1
  155. package/dist/picteus-ws-client/models/SearchCriteria.d.ts +1 -1
  156. package/dist/picteus-ws-client/models/SearchCriteria.js +1 -1
  157. package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.d.ts +1 -1
  158. package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.js +1 -1
  159. package/dist/picteus-ws-client/models/SearchFeatureCondition.d.ts +1 -1
  160. package/dist/picteus-ws-client/models/SearchFeatureCondition.js +1 -1
  161. package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +9 -4
  162. package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +9 -33
  163. package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.d.ts +1 -1
  164. package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.js +1 -1
  165. package/dist/picteus-ws-client/models/SearchFeatures.d.ts +1 -1
  166. package/dist/picteus-ws-client/models/SearchFeatures.js +1 -1
  167. package/dist/picteus-ws-client/models/SearchFeaturesResult.d.ts +39 -0
  168. package/dist/picteus-ws-client/models/SearchFeaturesResult.js +48 -0
  169. package/dist/picteus-ws-client/models/SearchFilter.d.ts +1 -1
  170. package/dist/picteus-ws-client/models/SearchFilter.js +1 -1
  171. package/dist/picteus-ws-client/models/SearchFilterOrigin.d.ts +1 -1
  172. package/dist/picteus-ws-client/models/SearchFilterOrigin.js +1 -1
  173. package/dist/picteus-ws-client/models/SearchImageResult.d.ts +39 -0
  174. package/dist/picteus-ws-client/models/SearchImageResult.js +48 -0
  175. package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +39 -0
  176. package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +48 -0
  177. package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +1 -1
  178. package/dist/picteus-ws-client/models/SearchImagesOrigin.js +1 -1
  179. package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
  180. package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
  181. package/dist/picteus-ws-client/models/SearchMediaUrlResult.d.ts +39 -0
  182. package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +48 -0
  183. package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +1 -1
  184. package/dist/picteus-ws-client/models/SearchOriginNature.js +1 -1
  185. package/dist/picteus-ws-client/models/SearchParameters.d.ts +46 -0
  186. package/dist/picteus-ws-client/models/SearchParameters.js +47 -0
  187. package/dist/picteus-ws-client/models/SearchProperties.d.ts +1 -1
  188. package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
  189. package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
  190. package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
  191. package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
  192. package/dist/picteus-ws-client/models/SearchRange.js +1 -1
  193. package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +1 -1
  194. package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +1 -1
  195. package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
  196. package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
  197. package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
  198. package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
  199. package/dist/picteus-ws-client/models/SearchTags.d.ts +1 -1
  200. package/dist/picteus-ws-client/models/SearchTags.js +1 -1
  201. package/dist/picteus-ws-client/models/SearchTagsResult.d.ts +39 -0
  202. package/dist/picteus-ws-client/models/SearchTagsResult.js +48 -0
  203. package/dist/picteus-ws-client/models/Settings.d.ts +1 -1
  204. package/dist/picteus-ws-client/models/Settings.js +1 -1
  205. package/dist/picteus-ws-client/models/Software.d.ts +1 -1
  206. package/dist/picteus-ws-client/models/Software.js +1 -1
  207. package/dist/picteus-ws-client/models/TextualPrompt.d.ts +1 -1
  208. package/dist/picteus-ws-client/models/TextualPrompt.js +1 -1
  209. package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +2 -3
  210. package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +2 -3
  211. package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.d.ts +39 -0
  212. package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +48 -0
  213. package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +33 -0
  214. package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +44 -0
  215. package/dist/picteus-ws-client/models/index.d.ts +11 -1
  216. package/dist/picteus-ws-client/models/index.js +11 -1
  217. package/dist/picteus-ws-client/runtime.d.ts +1 -1
  218. package/dist/picteus-ws-client/runtime.js +1 -1
  219. package/dist/picteusExtension.d.ts +5 -66
  220. package/dist/picteusExtension.js +18 -20
  221. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.10.0
7
+ * The version of the OpenAPI document: 0.14.1
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import * as runtime from '../runtime.js';
15
- import { ComputedImageFormatFromJSON, ExtensionImageEmbeddingsFromJSON, ExtensionImageFeatureFromJSON, ExtensionImageTagFromJSON, GenerationRecipeFromJSON, ImageFromJSON, ImageDistanceFromJSON, ImageEmbeddingsFromJSON, ImageEmbeddingsToJSON, ImageFeatureFromJSON, ImageFeatureToJSON, ImageMediaUrlFromJSON, ImageMetadataFromJSON, ImageSummaryListFromJSON, } from '../models/index.js';
15
+ import { ComputedImageFormatFromJSON, ExtensionImageEmbeddingsFromJSON, ExtensionImageFeatureFromJSON, ExtensionImageTagFromJSON, GenerationRecipeFromJSON, ImageFromJSON, ImageDistanceFromJSON, ImageEmbeddingsFromJSON, ImageEmbeddingsToJSON, ImageFeatureFromJSON, ImageFeatureToJSON, ImageMediaUrlFromJSON, ImageMetadataFromJSON, SearchFeaturesResultFromJSON, SearchImageResultFromJSON, SearchImageSummaryResultFromJSON, SearchMediaUrlResultFromJSON, SearchParametersToJSON, SearchTagsResultFromJSON, } from '../models/index.js';
16
16
  /**
17
17
  *
18
18
  */
@@ -592,7 +592,7 @@ export class ImageApi extends runtime.BaseAPI {
592
592
  return await response.value();
593
593
  }
594
594
  /**
595
- * Returns the URL of the image, given for some given dimensions and format, which may used to display it.
595
+ * Returns the URL of the image, given some given dimensions and format, which may used to display it.
596
596
  * Gets an URL of the image
597
597
  */
598
598
  async imageMediaUrlRaw(requestParameters, initOverrides) {
@@ -627,7 +627,7 @@ export class ImageApi extends runtime.BaseAPI {
627
627
  return new runtime.JSONApiResponse(response, (jsonValue) => ImageMediaUrlFromJSON(jsonValue));
628
628
  }
629
629
  /**
630
- * Returns the URL of the image, given for some given dimensions and format, which may used to display it.
630
+ * Returns the URL of the image, given some given dimensions and format, which may used to display it.
631
631
  * Gets an URL of the image
632
632
  */
633
633
  async imageMediaUrl(requestParameters, initOverrides) {
@@ -671,39 +671,181 @@ export class ImageApi extends runtime.BaseAPI {
671
671
  return await response.value();
672
672
  }
673
673
  /**
674
- * Searches for images, given criteria.
675
- * Searches images
674
+ * Retrieves image features following search parameters.
675
+ * Retrieves image features
676
676
  */
677
- async imageSearchRaw(requestParameters, initOverrides) {
677
+ async imageSearchFeaturesRaw(requestParameters, initOverrides) {
678
+ if (requestParameters['searchParameters'] == null) {
679
+ throw new runtime.RequiredError('searchParameters', 'Required parameter "searchParameters" was null or undefined when calling imageSearchFeatures().');
680
+ }
678
681
  const queryParameters = {};
679
- if (requestParameters['filter'] != null) {
680
- queryParameters['filter'] = requestParameters['filter'];
682
+ if (requestParameters['extensionIds'] != null) {
683
+ queryParameters['extensionIds'] = requestParameters['extensionIds'];
681
684
  }
682
- if (requestParameters['collectionId'] != null) {
683
- queryParameters['collectionId'] = requestParameters['collectionId'];
685
+ const headerParameters = {};
686
+ headerParameters['Content-Type'] = 'application/json';
687
+ if (this.configuration && this.configuration.apiKey) {
688
+ headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
684
689
  }
685
- if (requestParameters['range'] != null) {
686
- queryParameters['range'] = requestParameters['range'];
690
+ let urlPath = `/image/search/features`;
691
+ const response = await this.request({
692
+ path: urlPath,
693
+ method: 'POST',
694
+ headers: headerParameters,
695
+ query: queryParameters,
696
+ body: SearchParametersToJSON(requestParameters['searchParameters']),
697
+ }, initOverrides);
698
+ return new runtime.JSONApiResponse(response, (jsonValue) => SearchFeaturesResultFromJSON(jsonValue));
699
+ }
700
+ /**
701
+ * Retrieves image features following search parameters.
702
+ * Retrieves image features
703
+ */
704
+ async imageSearchFeatures(requestParameters, initOverrides) {
705
+ const response = await this.imageSearchFeaturesRaw(requestParameters, initOverrides);
706
+ return await response.value();
707
+ }
708
+ /**
709
+ * Retrieves image details following search parameters.
710
+ * Retrieves image details
711
+ */
712
+ async imageSearchImagesRaw(requestParameters, initOverrides) {
713
+ if (requestParameters['searchParameters'] == null) {
714
+ throw new runtime.RequiredError('searchParameters', 'Required parameter "searchParameters" was null or undefined when calling imageSearchImages().');
687
715
  }
716
+ const queryParameters = {};
688
717
  const headerParameters = {};
718
+ headerParameters['Content-Type'] = 'application/json';
689
719
  if (this.configuration && this.configuration.apiKey) {
690
720
  headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
691
721
  }
692
- let urlPath = `/image/search`;
722
+ let urlPath = `/image/search/images`;
693
723
  const response = await this.request({
694
724
  path: urlPath,
695
- method: 'GET',
725
+ method: 'POST',
726
+ headers: headerParameters,
727
+ query: queryParameters,
728
+ body: SearchParametersToJSON(requestParameters['searchParameters']),
729
+ }, initOverrides);
730
+ return new runtime.JSONApiResponse(response, (jsonValue) => SearchImageResultFromJSON(jsonValue));
731
+ }
732
+ /**
733
+ * Retrieves image details following search parameters.
734
+ * Retrieves image details
735
+ */
736
+ async imageSearchImages(requestParameters, initOverrides) {
737
+ const response = await this.imageSearchImagesRaw(requestParameters, initOverrides);
738
+ return await response.value();
739
+ }
740
+ /**
741
+ * Retrieves image media URLs following search parameters.
742
+ * Retrieves image media URLs
743
+ */
744
+ async imageSearchMediaUrlRaw(requestParameters, initOverrides) {
745
+ if (requestParameters['searchParameters'] == null) {
746
+ throw new runtime.RequiredError('searchParameters', 'Required parameter "searchParameters" was null or undefined when calling imageSearchMediaUrl().');
747
+ }
748
+ const queryParameters = {};
749
+ if (requestParameters['format'] != null) {
750
+ queryParameters['format'] = requestParameters['format'];
751
+ }
752
+ if (requestParameters['width'] != null) {
753
+ queryParameters['width'] = requestParameters['width'];
754
+ }
755
+ if (requestParameters['height'] != null) {
756
+ queryParameters['height'] = requestParameters['height'];
757
+ }
758
+ if (requestParameters['resizeRender'] != null) {
759
+ queryParameters['resizeRender'] = requestParameters['resizeRender'];
760
+ }
761
+ const headerParameters = {};
762
+ headerParameters['Content-Type'] = 'application/json';
763
+ if (this.configuration && this.configuration.apiKey) {
764
+ headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
765
+ }
766
+ let urlPath = `/image/search/mediaUrls`;
767
+ const response = await this.request({
768
+ path: urlPath,
769
+ method: 'POST',
770
+ headers: headerParameters,
771
+ query: queryParameters,
772
+ body: SearchParametersToJSON(requestParameters['searchParameters']),
773
+ }, initOverrides);
774
+ return new runtime.JSONApiResponse(response, (jsonValue) => SearchMediaUrlResultFromJSON(jsonValue));
775
+ }
776
+ /**
777
+ * Retrieves image media URLs following search parameters.
778
+ * Retrieves image media URLs
779
+ */
780
+ async imageSearchMediaUrl(requestParameters, initOverrides) {
781
+ const response = await this.imageSearchMediaUrlRaw(requestParameters, initOverrides);
782
+ return await response.value();
783
+ }
784
+ /**
785
+ * Retrieves image summaries following search parameters.
786
+ * Retrieves image summaries
787
+ */
788
+ async imageSearchSummariesRaw(requestParameters, initOverrides) {
789
+ if (requestParameters['searchParameters'] == null) {
790
+ throw new runtime.RequiredError('searchParameters', 'Required parameter "searchParameters" was null or undefined when calling imageSearchSummaries().');
791
+ }
792
+ const queryParameters = {};
793
+ const headerParameters = {};
794
+ headerParameters['Content-Type'] = 'application/json';
795
+ if (this.configuration && this.configuration.apiKey) {
796
+ headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
797
+ }
798
+ let urlPath = `/image/search/summaries`;
799
+ const response = await this.request({
800
+ path: urlPath,
801
+ method: 'POST',
802
+ headers: headerParameters,
803
+ query: queryParameters,
804
+ body: SearchParametersToJSON(requestParameters['searchParameters']),
805
+ }, initOverrides);
806
+ return new runtime.JSONApiResponse(response, (jsonValue) => SearchImageSummaryResultFromJSON(jsonValue));
807
+ }
808
+ /**
809
+ * Retrieves image summaries following search parameters.
810
+ * Retrieves image summaries
811
+ */
812
+ async imageSearchSummaries(requestParameters, initOverrides) {
813
+ const response = await this.imageSearchSummariesRaw(requestParameters, initOverrides);
814
+ return await response.value();
815
+ }
816
+ /**
817
+ * Retrieves image tags following search parameters.
818
+ * Retrieves image tags
819
+ */
820
+ async imageSearchTagsRaw(requestParameters, initOverrides) {
821
+ if (requestParameters['searchParameters'] == null) {
822
+ throw new runtime.RequiredError('searchParameters', 'Required parameter "searchParameters" was null or undefined when calling imageSearchTags().');
823
+ }
824
+ const queryParameters = {};
825
+ if (requestParameters['extensionIds'] != null) {
826
+ queryParameters['extensionIds'] = requestParameters['extensionIds'];
827
+ }
828
+ const headerParameters = {};
829
+ headerParameters['Content-Type'] = 'application/json';
830
+ if (this.configuration && this.configuration.apiKey) {
831
+ headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
832
+ }
833
+ let urlPath = `/image/search/tags`;
834
+ const response = await this.request({
835
+ path: urlPath,
836
+ method: 'POST',
696
837
  headers: headerParameters,
697
838
  query: queryParameters,
839
+ body: SearchParametersToJSON(requestParameters['searchParameters']),
698
840
  }, initOverrides);
699
- return new runtime.JSONApiResponse(response, (jsonValue) => ImageSummaryListFromJSON(jsonValue));
841
+ return new runtime.JSONApiResponse(response, (jsonValue) => SearchTagsResultFromJSON(jsonValue));
700
842
  }
701
843
  /**
702
- * Searches for images, given criteria.
703
- * Searches images
844
+ * Retrieves image tags following search parameters.
845
+ * Retrieves image tags
704
846
  */
705
- async imageSearch(requestParameters = {}, initOverrides) {
706
- const response = await this.imageSearchRaw(requestParameters, initOverrides);
847
+ async imageSearchTags(requestParameters, initOverrides) {
848
+ const response = await this.imageSearchTagsRaw(requestParameters, initOverrides);
707
849
  return await response.value();
708
850
  }
709
851
  /**
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
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.10.0
5
+ * The version of the OpenAPI document: 0.14.1
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.10.0
7
+ * The version of the OpenAPI document: 0.14.1
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).