@picteus/extension-sdk 0.8.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 (225) 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 +2 -2
  9. package/dist/picteus-ws-client/apis/CollectionApi.d.ts +167 -0
  10. package/dist/picteus-ws-client/apis/CollectionApi.js +188 -0
  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 +230 -31
  14. package/dist/picteus-ws-client/apis/ImageApi.js +268 -24
  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 +25 -35
  20. package/dist/picteus-ws-client/apis/RepositoryApi.js +29 -42
  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/apis/index.d.ts +1 -0
  24. package/dist/picteus-ws-client/apis/index.js +1 -0
  25. package/dist/picteus-ws-client/models/ApiSecret.d.ts +17 -17
  26. package/dist/picteus-ws-client/models/ApiSecret.js +7 -7
  27. package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +17 -17
  28. package/dist/picteus-ws-client/models/ApiSecretSummary.js +7 -7
  29. package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
  30. package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
  31. package/dist/picteus-ws-client/models/ApplicationMetadata.d.ts +1 -1
  32. package/dist/picteus-ws-client/models/ApplicationMetadata.js +1 -1
  33. package/dist/picteus-ws-client/models/ApplicationMetadataItem.d.ts +1 -1
  34. package/dist/picteus-ws-client/models/ApplicationMetadataItem.js +1 -1
  35. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.d.ts +1 -1
  36. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.js +1 -1
  37. package/dist/picteus-ws-client/models/Collection.d.ts +63 -0
  38. package/dist/picteus-ws-client/models/Collection.js +62 -0
  39. package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
  40. package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
  41. package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +1 -1
  42. package/dist/picteus-ws-client/models/ComputedImageFormat.js +1 -1
  43. package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +1 -1
  44. package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
  45. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +1 -1
  46. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
  47. package/dist/picteus-ws-client/models/ConstantsRegistry.d.ts +40 -0
  48. package/dist/picteus-ws-client/models/ConstantsRegistry.js +49 -0
  49. package/dist/picteus-ws-client/models/Dates.d.ts +1 -1
  50. package/dist/picteus-ws-client/models/Dates.js +1 -1
  51. package/dist/picteus-ws-client/models/Extension.d.ts +1 -1
  52. package/dist/picteus-ws-client/models/Extension.js +1 -1
  53. package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +1 -1
  54. package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
  55. package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +1 -1
  56. package/dist/picteus-ws-client/models/ExtensionActivityKind.js +1 -1
  57. package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +1 -1
  58. package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
  59. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +1 -1
  60. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
  61. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +2 -2
  62. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
  63. package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +6 -5
  64. package/dist/picteus-ws-client/models/ExtensionImageFeature.js +4 -3
  65. package/dist/picteus-ws-client/models/ExtensionImageFeatureName.d.ts +52 -0
  66. package/dist/picteus-ws-client/models/ExtensionImageFeatureName.js +57 -0
  67. package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.d.ts +39 -0
  68. package/dist/picteus-ws-client/models/ExtensionImageFeaturesAttribute.js +48 -0
  69. package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +2 -2
  70. package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
  71. package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.d.ts +39 -0
  72. package/dist/picteus-ws-client/models/ExtensionImageTagsAttribute.js +48 -0
  73. package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
  74. package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
  75. package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
  76. package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
  77. package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +1 -1
  78. package/dist/picteus-ws-client/models/ExtensionStatus.js +1 -1
  79. package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
  80. package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
  81. package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +2 -2
  82. package/dist/picteus-ws-client/models/GenerationRecipe.js +4 -2
  83. package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +1 -1
  84. package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +1 -1
  85. package/dist/picteus-ws-client/models/Image.d.ts +2 -2
  86. package/dist/picteus-ws-client/models/Image.js +1 -1
  87. package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
  88. package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
  89. package/dist/picteus-ws-client/models/ImageDistance.d.ts +2 -2
  90. package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
  91. package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +2 -2
  92. package/dist/picteus-ws-client/models/ImageEmbeddings.js +1 -1
  93. package/dist/picteus-ws-client/models/ImageFeature.d.ts +6 -5
  94. package/dist/picteus-ws-client/models/ImageFeature.js +4 -3
  95. package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +4 -1
  96. package/dist/picteus-ws-client/models/ImageFeatureFormat.js +4 -1
  97. package/dist/picteus-ws-client/models/ImageFeatureNullValue.d.ts +24 -0
  98. package/dist/picteus-ws-client/models/ImageFeatureNullValue.js +42 -0
  99. package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +3 -1
  100. package/dist/picteus-ws-client/models/ImageFeatureType.js +3 -1
  101. package/dist/picteus-ws-client/models/ImageFeatureValue.d.ts +26 -0
  102. package/dist/picteus-ws-client/models/ImageFeatureValue.js +31 -0
  103. package/dist/picteus-ws-client/models/ImageFormat.d.ts +2 -2
  104. package/dist/picteus-ws-client/models/ImageFormat.js +2 -2
  105. package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
  106. package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
  107. package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
  108. package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
  109. package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
  110. package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
  111. package/dist/picteus-ws-client/models/ImageSummary.d.ts +2 -2
  112. package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
  113. package/dist/picteus-ws-client/models/ImageSummaryList.d.ts +1 -1
  114. package/dist/picteus-ws-client/models/ImageSummaryList.js +1 -1
  115. package/dist/picteus-ws-client/models/InstructionsPrompt.d.ts +1 -1
  116. package/dist/picteus-ws-client/models/InstructionsPrompt.js +1 -1
  117. package/dist/picteus-ws-client/models/Manifest.d.ts +1 -1
  118. package/dist/picteus-ws-client/models/Manifest.js +1 -1
  119. package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
  120. package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
  121. package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
  122. package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
  123. package/dist/picteus-ws-client/models/ManifestEvent.d.ts +3 -1
  124. package/dist/picteus-ws-client/models/ManifestEvent.js +3 -1
  125. package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
  126. package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
  127. package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +1 -1
  128. package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
  129. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
  130. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
  131. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +1 -1
  132. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
  133. package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
  134. package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
  135. package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +13 -7
  136. package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +9 -5
  137. package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.d.ts +27 -0
  138. package/dist/picteus-ws-client/models/ManifestInterfaceElementIntegration.js +47 -0
  139. package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
  140. package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
  141. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
  142. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
  143. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.d.ts +1 -1
  144. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.js +1 -1
  145. package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +1 -1
  146. package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
  147. package/dist/picteus-ws-client/models/PromptKind.d.ts +1 -1
  148. package/dist/picteus-ws-client/models/PromptKind.js +1 -1
  149. package/dist/picteus-ws-client/models/Repository.d.ts +1 -1
  150. package/dist/picteus-ws-client/models/Repository.js +1 -1
  151. package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
  152. package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
  153. package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
  154. package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
  155. package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
  156. package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
  157. package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +1 -1
  158. package/dist/picteus-ws-client/models/RepositoryStatus.js +1 -1
  159. package/dist/picteus-ws-client/models/SearchCriteria.d.ts +8 -1
  160. package/dist/picteus-ws-client/models/SearchCriteria.js +4 -1
  161. package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.d.ts +30 -0
  162. package/dist/picteus-ws-client/models/SearchFeatureComparisonOperator.js +48 -0
  163. package/dist/picteus-ws-client/models/SearchFeatureCondition.d.ts +60 -0
  164. package/dist/picteus-ws-client/models/SearchFeatureCondition.js +59 -0
  165. package/dist/picteus-ws-client/models/SearchFeatureConditionValue.d.ts +26 -0
  166. package/dist/picteus-ws-client/models/SearchFeatureConditionValue.js +31 -0
  167. package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.d.ts +26 -0
  168. package/dist/picteus-ws-client/models/SearchFeatureLogicalOperator.js +44 -0
  169. package/dist/picteus-ws-client/models/SearchFeatures.d.ts +46 -0
  170. package/dist/picteus-ws-client/models/SearchFeatures.js +51 -0
  171. package/dist/picteus-ws-client/models/SearchFeaturesResult.d.ts +39 -0
  172. package/dist/picteus-ws-client/models/SearchFeaturesResult.js +48 -0
  173. package/dist/picteus-ws-client/models/SearchFilter.d.ts +47 -0
  174. package/dist/picteus-ws-client/models/SearchFilter.js +48 -0
  175. package/dist/picteus-ws-client/models/SearchFilterOrigin.d.ts +27 -0
  176. package/dist/picteus-ws-client/models/SearchFilterOrigin.js +47 -0
  177. package/dist/picteus-ws-client/models/SearchImageResult.d.ts +39 -0
  178. package/dist/picteus-ws-client/models/SearchImageResult.js +48 -0
  179. package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +39 -0
  180. package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +48 -0
  181. package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +39 -0
  182. package/dist/picteus-ws-client/models/SearchImagesOrigin.js +48 -0
  183. package/dist/picteus-ws-client/models/SearchKeyword.d.ts +2 -2
  184. package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
  185. package/dist/picteus-ws-client/models/SearchMediaUrlResult.d.ts +39 -0
  186. package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +48 -0
  187. package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +25 -0
  188. package/dist/picteus-ws-client/models/SearchOriginNature.js +43 -0
  189. package/dist/picteus-ws-client/models/SearchParameters.d.ts +46 -0
  190. package/dist/picteus-ws-client/models/SearchParameters.js +47 -0
  191. package/dist/picteus-ws-client/models/SearchProperties.d.ts +2 -2
  192. package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
  193. package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
  194. package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
  195. package/dist/picteus-ws-client/models/SearchRange.d.ts +2 -2
  196. package/dist/picteus-ws-client/models/SearchRange.js +1 -1
  197. package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +39 -0
  198. package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +48 -0
  199. package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
  200. package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
  201. package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
  202. package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
  203. package/dist/picteus-ws-client/models/SearchTags.d.ts +3 -3
  204. package/dist/picteus-ws-client/models/SearchTags.js +1 -1
  205. package/dist/picteus-ws-client/models/SearchTagsResult.d.ts +39 -0
  206. package/dist/picteus-ws-client/models/SearchTagsResult.js +48 -0
  207. package/dist/picteus-ws-client/models/Settings.d.ts +1 -1
  208. package/dist/picteus-ws-client/models/Settings.js +1 -1
  209. package/dist/picteus-ws-client/models/Software.d.ts +24 -0
  210. package/dist/picteus-ws-client/models/Software.js +42 -0
  211. package/dist/picteus-ws-client/models/TextualPrompt.d.ts +1 -1
  212. package/dist/picteus-ws-client/models/TextualPrompt.js +1 -1
  213. package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +2 -3
  214. package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +2 -3
  215. package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.d.ts +39 -0
  216. package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +48 -0
  217. package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +33 -0
  218. package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +44 -0
  219. package/dist/picteus-ws-client/models/index.d.ts +27 -1
  220. package/dist/picteus-ws-client/models/index.js +27 -1
  221. package/dist/picteus-ws-client/runtime.d.ts +1 -1
  222. package/dist/picteus-ws-client/runtime.js +1 -1
  223. package/dist/picteusExtension.d.ts +6 -63
  224. package/dist/picteusExtension.js +19 -21
  225. package/package.json +4 -4
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Picteus
5
+ * The Picteus API
6
+ *
7
+ * The version of the OpenAPI document: 0.14.1
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
+ import { ImageFromJSON, ImageToJSON, } from './Image.js';
15
+ /**
16
+ * Check if a given object implements the SearchImageResult interface.
17
+ */
18
+ export function instanceOfSearchImageResult(value) {
19
+ if (!('items' in value) || value['items'] === undefined)
20
+ return false;
21
+ if (!('totalCount' in value) || value['totalCount'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function SearchImageResultFromJSON(json) {
26
+ return SearchImageResultFromJSONTyped(json, false);
27
+ }
28
+ export function SearchImageResultFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'items': (json['items'].map(ImageFromJSON)),
34
+ 'totalCount': json['totalCount'],
35
+ };
36
+ }
37
+ export function SearchImageResultToJSON(json) {
38
+ return SearchImageResultToJSONTyped(json, false);
39
+ }
40
+ export function SearchImageResultToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'items': (value['items'].map(ImageToJSON)),
46
+ 'totalCount': value['totalCount'],
47
+ };
48
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.14.1
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
+ import type { ImageSummary } from './ImageSummary.js';
13
+ /**
14
+ * The result of an image summaries search
15
+ * @export
16
+ * @interface SearchImageSummaryResult
17
+ */
18
+ export interface SearchImageSummaryResult {
19
+ /**
20
+ * The items corresponding to the search filter and to the range
21
+ * @type {Array<ImageSummary>}
22
+ * @memberof SearchImageSummaryResult
23
+ */
24
+ items: Array<ImageSummary>;
25
+ /**
26
+ * The total number of items
27
+ * @type {number}
28
+ * @memberof SearchImageSummaryResult
29
+ */
30
+ totalCount: number;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SearchImageSummaryResult interface.
34
+ */
35
+ export declare function instanceOfSearchImageSummaryResult(value: object): value is SearchImageSummaryResult;
36
+ export declare function SearchImageSummaryResultFromJSON(json: any): SearchImageSummaryResult;
37
+ export declare function SearchImageSummaryResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchImageSummaryResult;
38
+ export declare function SearchImageSummaryResultToJSON(json: any): SearchImageSummaryResult;
39
+ export declare function SearchImageSummaryResultToJSONTyped(value?: SearchImageSummaryResult | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Picteus
5
+ * The Picteus API
6
+ *
7
+ * The version of the OpenAPI document: 0.14.1
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
+ import { ImageSummaryFromJSON, ImageSummaryToJSON, } from './ImageSummary.js';
15
+ /**
16
+ * Check if a given object implements the SearchImageSummaryResult interface.
17
+ */
18
+ export function instanceOfSearchImageSummaryResult(value) {
19
+ if (!('items' in value) || value['items'] === undefined)
20
+ return false;
21
+ if (!('totalCount' in value) || value['totalCount'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function SearchImageSummaryResultFromJSON(json) {
26
+ return SearchImageSummaryResultFromJSONTyped(json, false);
27
+ }
28
+ export function SearchImageSummaryResultFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'items': (json['items'].map(ImageSummaryFromJSON)),
34
+ 'totalCount': json['totalCount'],
35
+ };
36
+ }
37
+ export function SearchImageSummaryResultToJSON(json) {
38
+ return SearchImageSummaryResultToJSONTyped(json, false);
39
+ }
40
+ export function SearchImageSummaryResultToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'items': (value['items'].map(ImageSummaryToJSON)),
46
+ 'totalCount': value['totalCount'],
47
+ };
48
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.14.1
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
+ import type { SearchOriginNature } from './SearchOriginNature.js';
13
+ /**
14
+ * A images-based search origin, involving that the images should be part of the designed image identifiers
15
+ * @export
16
+ * @interface SearchImagesOrigin
17
+ */
18
+ export interface SearchImagesOrigin {
19
+ /**
20
+ * Indicates how the search result entities should be sorted
21
+ * @type {SearchOriginNature}
22
+ * @memberof SearchImagesOrigin
23
+ */
24
+ kind: SearchOriginNature;
25
+ /**
26
+ * The image identifiers
27
+ * @type {Array<string>}
28
+ * @memberof SearchImagesOrigin
29
+ */
30
+ ids: Array<string>;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SearchImagesOrigin interface.
34
+ */
35
+ export declare function instanceOfSearchImagesOrigin(value: object): value is SearchImagesOrigin;
36
+ export declare function SearchImagesOriginFromJSON(json: any): SearchImagesOrigin;
37
+ export declare function SearchImagesOriginFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchImagesOrigin;
38
+ export declare function SearchImagesOriginToJSON(json: any): SearchImagesOrigin;
39
+ export declare function SearchImagesOriginToJSONTyped(value?: SearchImagesOrigin | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Picteus
5
+ * The Picteus API
6
+ *
7
+ * The version of the OpenAPI document: 0.14.1
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
+ import { SearchOriginNatureFromJSON, SearchOriginNatureToJSON, } from './SearchOriginNature.js';
15
+ /**
16
+ * Check if a given object implements the SearchImagesOrigin interface.
17
+ */
18
+ export function instanceOfSearchImagesOrigin(value) {
19
+ if (!('kind' in value) || value['kind'] === undefined)
20
+ return false;
21
+ if (!('ids' in value) || value['ids'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function SearchImagesOriginFromJSON(json) {
26
+ return SearchImagesOriginFromJSONTyped(json, false);
27
+ }
28
+ export function SearchImagesOriginFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'kind': SearchOriginNatureFromJSON(json['kind']),
34
+ 'ids': json['ids'],
35
+ };
36
+ }
37
+ export function SearchImagesOriginToJSON(json) {
38
+ return SearchImagesOriginToJSONTyped(json, false);
39
+ }
40
+ export function SearchImagesOriginToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'kind': SearchOriginNatureToJSON(value['kind']),
46
+ 'ids': value['ids'],
47
+ };
48
+ }
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.9.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).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * The textual specifications to match when searching for images
13
+ * The textual specifications to match when searching for images, i.e. how an image search should operate regarding the images multiple texts
14
14
  * @export
15
15
  * @interface SearchKeyword
16
16
  */
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.9.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).
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.14.1
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
+ import type { ImageMediaUrl } from './ImageMediaUrl.js';
13
+ /**
14
+ * The result of an image media URLs search
15
+ * @export
16
+ * @interface SearchMediaUrlResult
17
+ */
18
+ export interface SearchMediaUrlResult {
19
+ /**
20
+ * The items corresponding to the search filter and to the range
21
+ * @type {Array<ImageMediaUrl>}
22
+ * @memberof SearchMediaUrlResult
23
+ */
24
+ items: Array<ImageMediaUrl>;
25
+ /**
26
+ * The total number of items
27
+ * @type {number}
28
+ * @memberof SearchMediaUrlResult
29
+ */
30
+ totalCount: number;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SearchMediaUrlResult interface.
34
+ */
35
+ export declare function instanceOfSearchMediaUrlResult(value: object): value is SearchMediaUrlResult;
36
+ export declare function SearchMediaUrlResultFromJSON(json: any): SearchMediaUrlResult;
37
+ export declare function SearchMediaUrlResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchMediaUrlResult;
38
+ export declare function SearchMediaUrlResultToJSON(json: any): SearchMediaUrlResult;
39
+ export declare function SearchMediaUrlResultToJSONTyped(value?: SearchMediaUrlResult | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Picteus
5
+ * The Picteus API
6
+ *
7
+ * The version of the OpenAPI document: 0.14.1
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
+ import { ImageMediaUrlFromJSON, ImageMediaUrlToJSON, } from './ImageMediaUrl.js';
15
+ /**
16
+ * Check if a given object implements the SearchMediaUrlResult interface.
17
+ */
18
+ export function instanceOfSearchMediaUrlResult(value) {
19
+ if (!('items' in value) || value['items'] === undefined)
20
+ return false;
21
+ if (!('totalCount' in value) || value['totalCount'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function SearchMediaUrlResultFromJSON(json) {
26
+ return SearchMediaUrlResultFromJSONTyped(json, false);
27
+ }
28
+ export function SearchMediaUrlResultFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'items': (json['items'].map(ImageMediaUrlFromJSON)),
34
+ 'totalCount': json['totalCount'],
35
+ };
36
+ }
37
+ export function SearchMediaUrlResultToJSON(json) {
38
+ return SearchMediaUrlResultToJSONTyped(json, false);
39
+ }
40
+ export function SearchMediaUrlResultToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'items': (value['items'].map(ImageMediaUrlToJSON)),
46
+ 'totalCount': value['totalCount'],
47
+ };
48
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.14.1
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
+ * Indicates how the search result entities should be sorted
14
+ * @export
15
+ */
16
+ export declare const SearchOriginNature: {
17
+ readonly Repositories: "repositories";
18
+ readonly Images: "images";
19
+ };
20
+ export type SearchOriginNature = typeof SearchOriginNature[keyof typeof SearchOriginNature];
21
+ export declare function instanceOfSearchOriginNature(value: any): boolean;
22
+ export declare function SearchOriginNatureFromJSON(json: any): SearchOriginNature;
23
+ export declare function SearchOriginNatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchOriginNature;
24
+ export declare function SearchOriginNatureToJSON(value?: SearchOriginNature | null): any;
25
+ export declare function SearchOriginNatureToJSONTyped(value: any, ignoreDiscriminator: boolean): SearchOriginNature;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Picteus
5
+ * The Picteus API
6
+ *
7
+ * The version of the OpenAPI document: 0.14.1
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
+ * Indicates how the search result entities should be sorted
16
+ * @export
17
+ */
18
+ export const SearchOriginNature = {
19
+ Repositories: 'repositories',
20
+ Images: 'images'
21
+ };
22
+ export function instanceOfSearchOriginNature(value) {
23
+ for (const key in SearchOriginNature) {
24
+ if (Object.prototype.hasOwnProperty.call(SearchOriginNature, key)) {
25
+ if (SearchOriginNature[key] === value) {
26
+ return true;
27
+ }
28
+ }
29
+ }
30
+ return false;
31
+ }
32
+ export function SearchOriginNatureFromJSON(json) {
33
+ return SearchOriginNatureFromJSONTyped(json, false);
34
+ }
35
+ export function SearchOriginNatureFromJSONTyped(json, ignoreDiscriminator) {
36
+ return json;
37
+ }
38
+ export function SearchOriginNatureToJSON(value) {
39
+ return value;
40
+ }
41
+ export function SearchOriginNatureToJSONTyped(value, ignoreDiscriminator) {
42
+ return value;
43
+ }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.14.1
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
+ import type { SearchRange } from './SearchRange.js';
13
+ import type { SearchFilter } from './SearchFilter.js';
14
+ /**
15
+ * Filtering and range parameters when searching for images
16
+ * @export
17
+ * @interface SearchParameters
18
+ */
19
+ export interface SearchParameters {
20
+ /**
21
+ * The filter which will be used to narrow down the returned items
22
+ * @type {SearchFilter}
23
+ * @memberof SearchParameters
24
+ */
25
+ filter?: SearchFilter;
26
+ /**
27
+ * The collection identifier to filter with to narrow down the returned items
28
+ * @type {number}
29
+ * @memberof SearchParameters
30
+ */
31
+ collectionId?: number;
32
+ /**
33
+ * The range of items to consider following the search
34
+ * @type {SearchRange}
35
+ * @memberof SearchParameters
36
+ */
37
+ range?: SearchRange;
38
+ }
39
+ /**
40
+ * Check if a given object implements the SearchParameters interface.
41
+ */
42
+ export declare function instanceOfSearchParameters(value: object): value is SearchParameters;
43
+ export declare function SearchParametersFromJSON(json: any): SearchParameters;
44
+ export declare function SearchParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchParameters;
45
+ export declare function SearchParametersToJSON(json: any): SearchParameters;
46
+ export declare function SearchParametersToJSONTyped(value?: SearchParameters | 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.14.1
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
+ import { SearchRangeFromJSON, SearchRangeToJSON, } from './SearchRange.js';
15
+ import { SearchFilterFromJSON, SearchFilterToJSON, } from './SearchFilter.js';
16
+ /**
17
+ * Check if a given object implements the SearchParameters interface.
18
+ */
19
+ export function instanceOfSearchParameters(value) {
20
+ return true;
21
+ }
22
+ export function SearchParametersFromJSON(json) {
23
+ return SearchParametersFromJSONTyped(json, false);
24
+ }
25
+ export function SearchParametersFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'filter': json['filter'] == null ? undefined : SearchFilterFromJSON(json['filter']),
31
+ 'collectionId': json['collectionId'] == null ? undefined : json['collectionId'],
32
+ 'range': json['range'] == null ? undefined : SearchRangeFromJSON(json['range']),
33
+ };
34
+ }
35
+ export function SearchParametersToJSON(json) {
36
+ return SearchParametersToJSONTyped(json, false);
37
+ }
38
+ export function SearchParametersToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'filter': SearchFilterToJSON(value['filter']),
44
+ 'collectionId': value['collectionId'],
45
+ 'range': SearchRangeToJSON(value['range']),
46
+ };
47
+ }
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.9.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).
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { SearchPropertyRange } from './SearchPropertyRange.js';
13
13
  /**
14
- * Technical properties to match when searching for images
14
+ * Technical properties to match when searching for images, i.e. how an image search should operate regarding the image technical properties
15
15
  * @export
16
16
  * @interface SearchProperties
17
17
  */
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.9.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.9.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.9.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.9.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).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * A range of images to return when searching for images
13
+ * A range of images to return when searching for images, i.e. how to restrict the number of entities following a search
14
14
  * @export
15
15
  * @interface SearchRange
16
16
  */
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.9.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).
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.14.1
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
+ import type { SearchOriginNature } from './SearchOriginNature.js';
13
+ /**
14
+ * A repositories-based search origin, involving that the images should belong to the designed repositories
15
+ * @export
16
+ * @interface SearchRepositoriesOrigin
17
+ */
18
+ export interface SearchRepositoriesOrigin {
19
+ /**
20
+ * Indicates how the search result entities should be sorted
21
+ * @type {SearchOriginNature}
22
+ * @memberof SearchRepositoriesOrigin
23
+ */
24
+ kind: SearchOriginNature;
25
+ /**
26
+ * The repository identifiers
27
+ * @type {Array<string>}
28
+ * @memberof SearchRepositoriesOrigin
29
+ */
30
+ ids: Array<string>;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SearchRepositoriesOrigin interface.
34
+ */
35
+ export declare function instanceOfSearchRepositoriesOrigin(value: object): value is SearchRepositoriesOrigin;
36
+ export declare function SearchRepositoriesOriginFromJSON(json: any): SearchRepositoriesOrigin;
37
+ export declare function SearchRepositoriesOriginFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchRepositoriesOrigin;
38
+ export declare function SearchRepositoriesOriginToJSON(json: any): SearchRepositoriesOrigin;
39
+ export declare function SearchRepositoriesOriginToJSONTyped(value?: SearchRepositoriesOrigin | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Picteus
5
+ * The Picteus API
6
+ *
7
+ * The version of the OpenAPI document: 0.14.1
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
+ import { SearchOriginNatureFromJSON, SearchOriginNatureToJSON, } from './SearchOriginNature.js';
15
+ /**
16
+ * Check if a given object implements the SearchRepositoriesOrigin interface.
17
+ */
18
+ export function instanceOfSearchRepositoriesOrigin(value) {
19
+ if (!('kind' in value) || value['kind'] === undefined)
20
+ return false;
21
+ if (!('ids' in value) || value['ids'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function SearchRepositoriesOriginFromJSON(json) {
26
+ return SearchRepositoriesOriginFromJSONTyped(json, false);
27
+ }
28
+ export function SearchRepositoriesOriginFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'kind': SearchOriginNatureFromJSON(json['kind']),
34
+ 'ids': json['ids'],
35
+ };
36
+ }
37
+ export function SearchRepositoriesOriginToJSON(json) {
38
+ return SearchRepositoriesOriginToJSONTyped(json, false);
39
+ }
40
+ export function SearchRepositoriesOriginToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'kind': SearchOriginNatureToJSON(value['kind']),
46
+ 'ids': value['ids'],
47
+ };
48
+ }