@picteus/extension-sdk 0.9.0 → 0.11.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 (223) 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 +168 -25
  14. package/dist/picteus-ws-client/apis/ImageApi.js +194 -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 +32 -1
  20. package/dist/picteus-ws-client/apis/RepositoryApi.js +38 -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/SearchImageIdResult.d.ts +38 -0
  174. package/dist/picteus-ws-client/models/SearchImageIdResult.js +47 -0
  175. package/dist/picteus-ws-client/models/SearchImageResult.d.ts +39 -0
  176. package/dist/picteus-ws-client/models/SearchImageResult.js +48 -0
  177. package/dist/picteus-ws-client/models/SearchImageSummaryResult.d.ts +39 -0
  178. package/dist/picteus-ws-client/models/SearchImageSummaryResult.js +48 -0
  179. package/dist/picteus-ws-client/models/SearchImagesOrigin.d.ts +2 -2
  180. package/dist/picteus-ws-client/models/SearchImagesOrigin.js +1 -1
  181. package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
  182. package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
  183. package/dist/picteus-ws-client/models/SearchMediaUrlResult.d.ts +39 -0
  184. package/dist/picteus-ws-client/models/SearchMediaUrlResult.js +48 -0
  185. package/dist/picteus-ws-client/models/SearchOriginNature.d.ts +2 -2
  186. package/dist/picteus-ws-client/models/SearchOriginNature.js +2 -2
  187. package/dist/picteus-ws-client/models/SearchParameters.d.ts +46 -0
  188. package/dist/picteus-ws-client/models/SearchParameters.js +47 -0
  189. package/dist/picteus-ws-client/models/SearchProperties.d.ts +1 -1
  190. package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
  191. package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
  192. package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
  193. package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
  194. package/dist/picteus-ws-client/models/SearchRange.js +1 -1
  195. package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.d.ts +2 -2
  196. package/dist/picteus-ws-client/models/SearchRepositoriesOrigin.js +1 -1
  197. package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
  198. package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
  199. package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
  200. package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
  201. package/dist/picteus-ws-client/models/SearchTags.d.ts +1 -1
  202. package/dist/picteus-ws-client/models/SearchTags.js +1 -1
  203. package/dist/picteus-ws-client/models/SearchTagsResult.d.ts +39 -0
  204. package/dist/picteus-ws-client/models/SearchTagsResult.js +48 -0
  205. package/dist/picteus-ws-client/models/Settings.d.ts +1 -1
  206. package/dist/picteus-ws-client/models/Settings.js +1 -1
  207. package/dist/picteus-ws-client/models/Software.d.ts +1 -1
  208. package/dist/picteus-ws-client/models/Software.js +1 -1
  209. package/dist/picteus-ws-client/models/TextualPrompt.d.ts +1 -1
  210. package/dist/picteus-ws-client/models/TextualPrompt.js +1 -1
  211. package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +2 -3
  212. package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +2 -3
  213. package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.d.ts +39 -0
  214. package/dist/picteus-ws-client/models/UserInterfaceSidebarIntegration.js +48 -0
  215. package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.d.ts +33 -0
  216. package/dist/picteus-ws-client/models/UserInterfaceWindowIntegration.js +44 -0
  217. package/dist/picteus-ws-client/models/index.d.ts +12 -1
  218. package/dist/picteus-ws-client/models/index.js +12 -1
  219. package/dist/picteus-ws-client/runtime.d.ts +1 -1
  220. package/dist/picteus-ws-client/runtime.js +1 -1
  221. package/dist/picteusExtension.d.ts +5 -66
  222. package/dist/picteusExtension.js +18 -20
  223. package/package.json +1 -1
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.15.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
+ import type { ExtensionImageTagsAttribute } from './ExtensionImageTagsAttribute.js';
13
+ /**
14
+ * The result of an image tags search
15
+ * @export
16
+ * @interface SearchTagsResult
17
+ */
18
+ export interface SearchTagsResult {
19
+ /**
20
+ * The items corresponding to the search filter and to the range
21
+ * @type {Array<ExtensionImageTagsAttribute>}
22
+ * @memberof SearchTagsResult
23
+ */
24
+ items: Array<ExtensionImageTagsAttribute>;
25
+ /**
26
+ * The total number of items
27
+ * @type {number}
28
+ * @memberof SearchTagsResult
29
+ */
30
+ totalCount: number;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SearchTagsResult interface.
34
+ */
35
+ export declare function instanceOfSearchTagsResult(value: object): value is SearchTagsResult;
36
+ export declare function SearchTagsResultFromJSON(json: any): SearchTagsResult;
37
+ export declare function SearchTagsResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchTagsResult;
38
+ export declare function SearchTagsResultToJSON(json: any): SearchTagsResult;
39
+ export declare function SearchTagsResultToJSONTyped(value?: SearchTagsResult | 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.15.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
+ import { ExtensionImageTagsAttributeFromJSON, ExtensionImageTagsAttributeToJSON, } from './ExtensionImageTagsAttribute.js';
15
+ /**
16
+ * Check if a given object implements the SearchTagsResult interface.
17
+ */
18
+ export function instanceOfSearchTagsResult(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 SearchTagsResultFromJSON(json) {
26
+ return SearchTagsResultFromJSONTyped(json, false);
27
+ }
28
+ export function SearchTagsResultFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'items': (json['items'].map(ExtensionImageTagsAttributeFromJSON)),
34
+ 'totalCount': json['totalCount'],
35
+ };
36
+ }
37
+ export function SearchTagsResultToJSON(json) {
38
+ return SearchTagsResultToJSONTyped(json, false);
39
+ }
40
+ export function SearchTagsResultToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'items': (value['items'].map(ExtensionImageTagsAttributeToJSON)),
46
+ 'totalCount': value['totalCount'],
47
+ };
48
+ }
@@ -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.15.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.10.0
7
+ * The version of the OpenAPI document: 0.15.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.10.0
5
+ * The version of the OpenAPI document: 0.15.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.10.0
7
+ * The version of the OpenAPI document: 0.15.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.10.0
5
+ * The version of the OpenAPI document: 0.15.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.10.0
7
+ * The version of the OpenAPI document: 0.15.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.10.0
5
+ * The version of the OpenAPI document: 0.15.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,11 +10,10 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * The location where the User Interface is anchored
13
+ * The location where an UI fragment is anchored
14
14
  * @export
15
15
  */
16
16
  export declare const UserInterfaceAnchor: {
17
- readonly Modal: "modal";
18
17
  readonly Sidebar: "sidebar";
19
18
  readonly Window: "window";
20
19
  readonly ImageDetail: "imageDetail";
@@ -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.15.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,11 +12,10 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * The location where the User Interface is anchored
15
+ * The location where an UI fragment is anchored
16
16
  * @export
17
17
  */
18
18
  export const UserInterfaceAnchor = {
19
- Modal: 'modal',
20
19
  Sidebar: 'sidebar',
21
20
  Window: 'window',
22
21
  ImageDetail: 'imageDetail'
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.15.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
+ import type { UserInterfaceAnchor } from './UserInterfaceAnchor.js';
13
+ /**
14
+ * Specifies how a sidebar UI element integrates
15
+ * @export
16
+ * @interface UserInterfaceSidebarIntegration
17
+ */
18
+ export interface UserInterfaceSidebarIntegration {
19
+ /**
20
+ * The location where an UI fragment is anchored
21
+ * @type {UserInterfaceAnchor}
22
+ * @memberof UserInterfaceSidebarIntegration
23
+ */
24
+ anchor: UserInterfaceAnchor;
25
+ /**
26
+ * Whether the element should be displayed via an external window or through an internal frame
27
+ * @type {boolean}
28
+ * @memberof UserInterfaceSidebarIntegration
29
+ */
30
+ isExternal: boolean;
31
+ }
32
+ /**
33
+ * Check if a given object implements the UserInterfaceSidebarIntegration interface.
34
+ */
35
+ export declare function instanceOfUserInterfaceSidebarIntegration(value: object): value is UserInterfaceSidebarIntegration;
36
+ export declare function UserInterfaceSidebarIntegrationFromJSON(json: any): UserInterfaceSidebarIntegration;
37
+ export declare function UserInterfaceSidebarIntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInterfaceSidebarIntegration;
38
+ export declare function UserInterfaceSidebarIntegrationToJSON(json: any): UserInterfaceSidebarIntegration;
39
+ export declare function UserInterfaceSidebarIntegrationToJSONTyped(value?: UserInterfaceSidebarIntegration | 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.15.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
+ import { UserInterfaceAnchorFromJSON, UserInterfaceAnchorToJSON, } from './UserInterfaceAnchor.js';
15
+ /**
16
+ * Check if a given object implements the UserInterfaceSidebarIntegration interface.
17
+ */
18
+ export function instanceOfUserInterfaceSidebarIntegration(value) {
19
+ if (!('anchor' in value) || value['anchor'] === undefined)
20
+ return false;
21
+ if (!('isExternal' in value) || value['isExternal'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function UserInterfaceSidebarIntegrationFromJSON(json) {
26
+ return UserInterfaceSidebarIntegrationFromJSONTyped(json, false);
27
+ }
28
+ export function UserInterfaceSidebarIntegrationFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'anchor': UserInterfaceAnchorFromJSON(json['anchor']),
34
+ 'isExternal': json['isExternal'],
35
+ };
36
+ }
37
+ export function UserInterfaceSidebarIntegrationToJSON(json) {
38
+ return UserInterfaceSidebarIntegrationToJSONTyped(json, false);
39
+ }
40
+ export function UserInterfaceSidebarIntegrationToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'anchor': UserInterfaceAnchorToJSON(value['anchor']),
46
+ 'isExternal': value['isExternal'],
47
+ };
48
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.15.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
+ import type { UserInterfaceAnchor } from './UserInterfaceAnchor.js';
13
+ /**
14
+ * Specifies how a window UI element integrates
15
+ * @export
16
+ * @interface UserInterfaceWindowIntegration
17
+ */
18
+ export interface UserInterfaceWindowIntegration {
19
+ /**
20
+ * The location where an UI fragment is anchored
21
+ * @type {UserInterfaceAnchor}
22
+ * @memberof UserInterfaceWindowIntegration
23
+ */
24
+ anchor: UserInterfaceAnchor;
25
+ }
26
+ /**
27
+ * Check if a given object implements the UserInterfaceWindowIntegration interface.
28
+ */
29
+ export declare function instanceOfUserInterfaceWindowIntegration(value: object): value is UserInterfaceWindowIntegration;
30
+ export declare function UserInterfaceWindowIntegrationFromJSON(json: any): UserInterfaceWindowIntegration;
31
+ export declare function UserInterfaceWindowIntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInterfaceWindowIntegration;
32
+ export declare function UserInterfaceWindowIntegrationToJSON(json: any): UserInterfaceWindowIntegration;
33
+ export declare function UserInterfaceWindowIntegrationToJSONTyped(value?: UserInterfaceWindowIntegration | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Picteus
5
+ * The Picteus API
6
+ *
7
+ * The version of the OpenAPI document: 0.15.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
+ import { UserInterfaceAnchorFromJSON, UserInterfaceAnchorToJSON, } from './UserInterfaceAnchor.js';
15
+ /**
16
+ * Check if a given object implements the UserInterfaceWindowIntegration interface.
17
+ */
18
+ export function instanceOfUserInterfaceWindowIntegration(value) {
19
+ if (!('anchor' in value) || value['anchor'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function UserInterfaceWindowIntegrationFromJSON(json) {
24
+ return UserInterfaceWindowIntegrationFromJSONTyped(json, false);
25
+ }
26
+ export function UserInterfaceWindowIntegrationFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'anchor': UserInterfaceAnchorFromJSON(json['anchor']),
32
+ };
33
+ }
34
+ export function UserInterfaceWindowIntegrationToJSON(json) {
35
+ return UserInterfaceWindowIntegrationToJSONTyped(json, false);
36
+ }
37
+ export function UserInterfaceWindowIntegrationToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'anchor': UserInterfaceAnchorToJSON(value['anchor']),
43
+ };
44
+ }
@@ -19,7 +19,9 @@ export * from './ExtensionGenerationOptions.js';
19
19
  export * from './ExtensionImageEmbeddings.js';
20
20
  export * from './ExtensionImageFeature.js';
21
21
  export * from './ExtensionImageFeatureName.js';
22
+ export * from './ExtensionImageFeaturesAttribute.js';
22
23
  export * from './ExtensionImageTag.js';
24
+ export * from './ExtensionImageTagsAttribute.js';
23
25
  export * from './ExtensionManual.js';
24
26
  export * from './ExtensionSettings.js';
25
27
  export * from './ExtensionStatus.js';
@@ -40,7 +42,6 @@ export * from './ImageMediaUrl.js';
40
42
  export * from './ImageMetadata.js';
41
43
  export * from './ImageResizeRender.js';
42
44
  export * from './ImageSummary.js';
43
- export * from './ImageSummaryList.js';
44
45
  export * from './InstructionsPrompt.js';
45
46
  export * from './Manifest.js';
46
47
  export * from './ManifestCapability.js';
@@ -52,6 +53,7 @@ export * from './ManifestExtensionCommandOn.js';
52
53
  export * from './ManifestExtensionCommandSpecification.js';
53
54
  export * from './ManifestInstructions.js';
54
55
  export * from './ManifestInterfaceElement.js';
56
+ export * from './ManifestInterfaceElementIntegration.js';
55
57
  export * from './ManifestRuntime.js';
56
58
  export * from './ManifestRuntimeEnvironment.js';
57
59
  export * from './ManifestThrottlingPolicy.js';
@@ -68,11 +70,17 @@ export * from './SearchFeatureCondition.js';
68
70
  export * from './SearchFeatureConditionValue.js';
69
71
  export * from './SearchFeatureLogicalOperator.js';
70
72
  export * from './SearchFeatures.js';
73
+ export * from './SearchFeaturesResult.js';
71
74
  export * from './SearchFilter.js';
72
75
  export * from './SearchFilterOrigin.js';
76
+ export * from './SearchImageIdResult.js';
77
+ export * from './SearchImageResult.js';
78
+ export * from './SearchImageSummaryResult.js';
73
79
  export * from './SearchImagesOrigin.js';
74
80
  export * from './SearchKeyword.js';
81
+ export * from './SearchMediaUrlResult.js';
75
82
  export * from './SearchOriginNature.js';
83
+ export * from './SearchParameters.js';
76
84
  export * from './SearchProperties.js';
77
85
  export * from './SearchPropertyRange.js';
78
86
  export * from './SearchRange.js';
@@ -80,7 +88,10 @@ export * from './SearchRepositoriesOrigin.js';
80
88
  export * from './SearchSorting.js';
81
89
  export * from './SearchSortingProperty.js';
82
90
  export * from './SearchTags.js';
91
+ export * from './SearchTagsResult.js';
83
92
  export * from './Settings.js';
84
93
  export * from './Software.js';
85
94
  export * from './TextualPrompt.js';
86
95
  export * from './UserInterfaceAnchor.js';
96
+ export * from './UserInterfaceSidebarIntegration.js';
97
+ export * from './UserInterfaceWindowIntegration.js';
@@ -21,7 +21,9 @@ export * from './ExtensionGenerationOptions.js';
21
21
  export * from './ExtensionImageEmbeddings.js';
22
22
  export * from './ExtensionImageFeature.js';
23
23
  export * from './ExtensionImageFeatureName.js';
24
+ export * from './ExtensionImageFeaturesAttribute.js';
24
25
  export * from './ExtensionImageTag.js';
26
+ export * from './ExtensionImageTagsAttribute.js';
25
27
  export * from './ExtensionManual.js';
26
28
  export * from './ExtensionSettings.js';
27
29
  export * from './ExtensionStatus.js';
@@ -42,7 +44,6 @@ export * from './ImageMediaUrl.js';
42
44
  export * from './ImageMetadata.js';
43
45
  export * from './ImageResizeRender.js';
44
46
  export * from './ImageSummary.js';
45
- export * from './ImageSummaryList.js';
46
47
  export * from './InstructionsPrompt.js';
47
48
  export * from './Manifest.js';
48
49
  export * from './ManifestCapability.js';
@@ -54,6 +55,7 @@ export * from './ManifestExtensionCommandOn.js';
54
55
  export * from './ManifestExtensionCommandSpecification.js';
55
56
  export * from './ManifestInstructions.js';
56
57
  export * from './ManifestInterfaceElement.js';
58
+ export * from './ManifestInterfaceElementIntegration.js';
57
59
  export * from './ManifestRuntime.js';
58
60
  export * from './ManifestRuntimeEnvironment.js';
59
61
  export * from './ManifestThrottlingPolicy.js';
@@ -70,11 +72,17 @@ export * from './SearchFeatureCondition.js';
70
72
  export * from './SearchFeatureConditionValue.js';
71
73
  export * from './SearchFeatureLogicalOperator.js';
72
74
  export * from './SearchFeatures.js';
75
+ export * from './SearchFeaturesResult.js';
73
76
  export * from './SearchFilter.js';
74
77
  export * from './SearchFilterOrigin.js';
78
+ export * from './SearchImageIdResult.js';
79
+ export * from './SearchImageResult.js';
80
+ export * from './SearchImageSummaryResult.js';
75
81
  export * from './SearchImagesOrigin.js';
76
82
  export * from './SearchKeyword.js';
83
+ export * from './SearchMediaUrlResult.js';
77
84
  export * from './SearchOriginNature.js';
85
+ export * from './SearchParameters.js';
78
86
  export * from './SearchProperties.js';
79
87
  export * from './SearchPropertyRange.js';
80
88
  export * from './SearchRange.js';
@@ -82,7 +90,10 @@ export * from './SearchRepositoriesOrigin.js';
82
90
  export * from './SearchSorting.js';
83
91
  export * from './SearchSortingProperty.js';
84
92
  export * from './SearchTags.js';
93
+ export * from './SearchTagsResult.js';
85
94
  export * from './Settings.js';
86
95
  export * from './Software.js';
87
96
  export * from './TextualPrompt.js';
88
97
  export * from './UserInterfaceAnchor.js';
98
+ export * from './UserInterfaceSidebarIntegration.js';
99
+ export * from './UserInterfaceWindowIntegration.js';
@@ -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.15.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.10.0
7
+ * The version of the OpenAPI document: 0.15.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,5 +1,6 @@
1
1
  import { Socket } from "socket.io-client";
2
- import { ApiSecretApi, Configuration, ExtensionApi, ImageApi, ImageAttachmentApi, Json, Manifest, MiscellaneousApi, RepositoryApi } from "./index.js";
2
+ import { ApiSecretApi, Configuration, ExtensionApi, ImageApi, ImageAttachmentApi, Manifest, MiscellaneousApi, RepositoryApi } from "./index.js";
3
+ import { Intent } from "./intents.js";
3
4
  export type NotificationValue = Record<string, any>;
4
5
  export declare enum NotificationReturnedErrorCause {
5
6
  Cancel = 0,
@@ -9,74 +10,12 @@ export declare class NotificationReturnedError extends Error {
9
10
  readonly reason: NotificationReturnedErrorCause;
10
11
  constructor(message: string, reason: NotificationReturnedErrorCause);
11
12
  }
12
- export interface NotificationDialogContent {
13
- readonly title: string;
14
- readonly description: string;
15
- readonly details?: string;
16
- }
17
- export interface NotificationsParametersIntent {
18
- readonly parameters: Json;
19
- readonly dialogContent?: NotificationDialogContent;
20
- }
21
- export declare enum NotificationsUiAnchor {
22
- Modal = "modal",
23
- Sidebar = "sidebar",
24
- ImageDetail = "imageDetail"
25
- }
26
- export interface NotificationsUi {
27
- readonly anchor: NotificationsUiAnchor;
28
- readonly url: string;
29
- }
30
- export interface NotificationsUiIntent {
31
- readonly ui: NotificationsUi;
32
- }
33
- export declare enum NotificationsDialogType {
34
- Error = "Error",
35
- Info = "Info",
36
- Question = "Question"
37
- }
38
- export interface NotificationsDialog extends NotificationDialogContent {
39
- readonly type: NotificationsDialogType;
40
- readonly buttons: {
41
- yes: string;
42
- no?: string;
43
- };
44
- }
45
- export interface NotificationsDialogIntent {
46
- readonly dialog: NotificationsDialog;
47
- }
48
- export interface NotificationsImage {
49
- readonly imageId: string;
50
- readonly title?: string;
51
- readonly description?: string;
52
- readonly details?: string;
53
- }
54
- export interface NotificationsImages {
55
- readonly images: NotificationsImage[];
56
- readonly title?: string;
57
- readonly description?: string;
58
- readonly details?: string;
59
- }
60
- export interface NotificationsImagesIntent {
61
- readonly images: NotificationsImages;
62
- }
63
- export declare enum NotificationsShowType {
64
- ExtensionSettings = "ExtensionSettings",
65
- Image = "Image",
66
- Repository = "Repository"
67
- }
68
- export interface NotificationsShow {
69
- readonly type: NotificationsShowType;
70
- readonly id: string;
71
- }
72
- export interface NotificationsShowIntent {
73
- readonly show: NotificationsShow;
74
- }
75
- export type NotificationsIntent = NotificationsParametersIntent | NotificationsUiIntent | NotificationsDialogIntent | NotificationsImagesIntent | NotificationsShowIntent;
76
13
  export declare enum NotificationEvent {
77
14
  ProcessRunCommand = "process.runCommand",
78
15
  ImageCreated = "image.created",
79
16
  ImageUpdated = "image.updated",
17
+ ImageTagsUpdated = "image.tags.updated",
18
+ ImageFeaturesUpdated = "image.features.updated",
80
19
  ImageDeleted = "image.deleted",
81
20
  ImageComputeFeatures = "image.computeFeatures",
82
21
  ImageComputeEmbeddings = "image.computeEmbeddings",
@@ -128,7 +67,7 @@ export declare class Communicator {
128
67
  constructor(logger: Logger, sender: MessageSender);
129
68
  sendLog(message: string, level: "debug" | "info" | "warn" | "error"): void;
130
69
  sendNotification(value: Record<string, any>): void;
131
- launchIntent<T>(intent: NotificationsIntent): Promise<T>;
70
+ launchIntent<T>(intent: Intent): Promise<T>;
132
71
  private sendMessage;
133
72
  }
134
73
  export type SettingsValue = Record<string, any>;
@@ -17,29 +17,13 @@ export class NotificationReturnedError extends Error {
17
17
  this.reason = reason;
18
18
  }
19
19
  }
20
- export var NotificationsUiAnchor;
21
- (function (NotificationsUiAnchor) {
22
- NotificationsUiAnchor["Modal"] = "modal";
23
- NotificationsUiAnchor["Sidebar"] = "sidebar";
24
- NotificationsUiAnchor["ImageDetail"] = "imageDetail";
25
- })(NotificationsUiAnchor || (NotificationsUiAnchor = {}));
26
- export var NotificationsDialogType;
27
- (function (NotificationsDialogType) {
28
- NotificationsDialogType["Error"] = "Error";
29
- NotificationsDialogType["Info"] = "Info";
30
- NotificationsDialogType["Question"] = "Question";
31
- })(NotificationsDialogType || (NotificationsDialogType = {}));
32
- export var NotificationsShowType;
33
- (function (NotificationsShowType) {
34
- NotificationsShowType["ExtensionSettings"] = "ExtensionSettings";
35
- NotificationsShowType["Image"] = "Image";
36
- NotificationsShowType["Repository"] = "Repository";
37
- })(NotificationsShowType || (NotificationsShowType = {}));
38
20
  export var NotificationEvent;
39
21
  (function (NotificationEvent) {
40
22
  NotificationEvent["ProcessRunCommand"] = "process.runCommand";
41
23
  NotificationEvent["ImageCreated"] = "image.created";
42
24
  NotificationEvent["ImageUpdated"] = "image.updated";
25
+ NotificationEvent["ImageTagsUpdated"] = "image.tags.updated";
26
+ NotificationEvent["ImageFeaturesUpdated"] = "image.features.updated";
43
27
  NotificationEvent["ImageDeleted"] = "image.deleted";
44
28
  NotificationEvent["ImageComputeFeatures"] = "image.computeFeatures";
45
29
  NotificationEvent["ImageComputeEmbeddings"] = "image.computeEmbeddings";
@@ -89,6 +73,20 @@ class ExtensionParameters {
89
73
  this.webServicesBaseUrl = parameters.webServicesBaseUrl;
90
74
  }
91
75
  }
76
+ const stringifyWithStrippedBuffers = (object) => {
77
+ const bufferReplacement = "<bytes>";
78
+ return JSON.stringify(object, (_key, value) => {
79
+ // We check if the value is a Buffer
80
+ if (value !== undefined && value.type === "Buffer" && Array.isArray(value.data) === true) {
81
+ return bufferReplacement;
82
+ }
83
+ // We also check for native Buffer instances if they haven't been pre-processed
84
+ if (Buffer.isBuffer(value) === true) {
85
+ return bufferReplacement;
86
+ }
87
+ return value;
88
+ }, 0);
89
+ };
92
90
  class MessageSender {
93
91
  logger;
94
92
  parameters;
@@ -104,7 +102,7 @@ class MessageSender {
104
102
  }
105
103
  sendMessage(channel, body, callback) {
106
104
  const contextId = this.contextId;
107
- this.logger.debug(`Sending the message '${JSON.stringify(body)}' on channel '${channel}' for ${this.toString()}${contextId === undefined ? "" : ` attached to the context with id '${contextId}'`}${callback === undefined ? "" : " and waiting for a callback"}`);
105
+ this.logger.debug(`Sending the message '${stringifyWithStrippedBuffers(body)}' on channel '${channel}' for ${this.toString()}${contextId === undefined ? "" : ` attached to the context with id '${contextId}'`}${callback === undefined ? "" : " and waiting for a callback"}`);
108
106
  const value = {
109
107
  extensionId: this.parameters.extensionId,
110
108
  ...body
@@ -142,7 +140,7 @@ export class Communicator {
142
140
  async launchIntent(intent) {
143
141
  return await new Promise((resolve, reject) => {
144
142
  this.sendMessage(notificationsChannel, { intent }, async ({ value, cancel, error }) => {
145
- this.logger.debug(`Received a result related to the intent '${JSON.stringify(intent)}' for ${this.sender.toString()}`);
143
+ this.logger.debug(`Received a result related to the intent '${stringifyWithStrippedBuffers(intent)}' for ${this.sender.toString()}`);
146
144
  if (cancel !== undefined) {
147
145
  reject(new NotificationReturnedError(cancel, NotificationReturnedErrorCause.Cancel));
148
146
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picteus/extension-sdk",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "productName": "Picteus TypeScript SDK",
5
5
  "description": "The Picteus extension TypeScript SDK.",
6
6
  "keywords": [