@picteus/extension-sdk 0.5.4 → 0.6.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 (173) hide show
  1. package/dist/picteus-ws-client/apis/AdministrationApi.d.ts +1 -1
  2. package/dist/picteus-ws-client/apis/AdministrationApi.js +1 -1
  3. package/dist/picteus-ws-client/apis/ApiSecretApi.d.ts +1 -1
  4. package/dist/picteus-ws-client/apis/ApiSecretApi.js +1 -1
  5. package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +1 -1
  6. package/dist/picteus-ws-client/apis/ExtensionApi.js +1 -1
  7. package/dist/picteus-ws-client/apis/ImageApi.d.ts +1 -1
  8. package/dist/picteus-ws-client/apis/ImageApi.js +1 -1
  9. package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +1 -1
  10. package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +1 -1
  11. package/dist/picteus-ws-client/apis/MiscellaneousApi.d.ts +1 -1
  12. package/dist/picteus-ws-client/apis/MiscellaneousApi.js +1 -1
  13. package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +36 -3
  14. package/dist/picteus-ws-client/apis/RepositoryApi.js +49 -3
  15. package/dist/picteus-ws-client/apis/SettingsApi.d.ts +1 -1
  16. package/dist/picteus-ws-client/apis/SettingsApi.js +1 -1
  17. package/dist/picteus-ws-client/models/ApiSecret.d.ts +1 -1
  18. package/dist/picteus-ws-client/models/ApiSecret.js +1 -1
  19. package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +1 -1
  20. package/dist/picteus-ws-client/models/ApiSecretSummary.js +1 -1
  21. package/dist/picteus-ws-client/models/ApiSecretType.d.ts +1 -1
  22. package/dist/picteus-ws-client/models/ApiSecretType.js +1 -1
  23. package/dist/picteus-ws-client/models/ApplicationMetadata.d.ts +1 -1
  24. package/dist/picteus-ws-client/models/ApplicationMetadata.js +1 -1
  25. package/dist/picteus-ws-client/models/ApplicationMetadataItem.d.ts +1 -1
  26. package/dist/picteus-ws-client/models/ApplicationMetadataItem.js +1 -1
  27. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.d.ts +1 -1
  28. package/dist/picteus-ws-client/models/ApplicationMetadataItemValue.js +1 -1
  29. package/dist/picteus-ws-client/models/Automatic1111Instruction.d.ts +1 -1
  30. package/dist/picteus-ws-client/models/Automatic1111Instruction.js +1 -1
  31. package/dist/picteus-ws-client/models/Automatic1111UserComment.d.ts +1 -1
  32. package/dist/picteus-ws-client/models/Automatic1111UserComment.js +1 -1
  33. package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.d.ts +1 -1
  34. package/dist/picteus-ws-client/models/ComfyUiPromptAndWorkflow.js +1 -1
  35. package/dist/picteus-ws-client/models/CommandEntity.d.ts +1 -1
  36. package/dist/picteus-ws-client/models/CommandEntity.js +1 -1
  37. package/dist/picteus-ws-client/models/ComputedImageFormat.d.ts +1 -1
  38. package/dist/picteus-ws-client/models/ComputedImageFormat.js +1 -1
  39. package/dist/picteus-ws-client/models/ConfigurationCapability.d.ts +1 -1
  40. package/dist/picteus-ws-client/models/ConfigurationCapability.js +1 -1
  41. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.d.ts +1 -1
  42. package/dist/picteus-ws-client/models/ConfigurationExtensionCommand.js +1 -1
  43. package/dist/picteus-ws-client/models/Dates.d.ts +1 -1
  44. package/dist/picteus-ws-client/models/Dates.js +1 -1
  45. package/dist/picteus-ws-client/models/Extension.d.ts +1 -1
  46. package/dist/picteus-ws-client/models/Extension.js +1 -1
  47. package/dist/picteus-ws-client/models/ExtensionActivity.d.ts +1 -1
  48. package/dist/picteus-ws-client/models/ExtensionActivity.js +1 -1
  49. package/dist/picteus-ws-client/models/ExtensionActivityKind.d.ts +1 -1
  50. package/dist/picteus-ws-client/models/ExtensionActivityKind.js +1 -1
  51. package/dist/picteus-ws-client/models/ExtensionAndManual.d.ts +1 -1
  52. package/dist/picteus-ws-client/models/ExtensionAndManual.js +1 -1
  53. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.d.ts +1 -1
  54. package/dist/picteus-ws-client/models/ExtensionGenerationOptions.js +1 -1
  55. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.d.ts +1 -1
  56. package/dist/picteus-ws-client/models/ExtensionImageEmbeddings.js +1 -1
  57. package/dist/picteus-ws-client/models/ExtensionImageFeature.d.ts +1 -1
  58. package/dist/picteus-ws-client/models/ExtensionImageFeature.js +1 -1
  59. package/dist/picteus-ws-client/models/ExtensionImageTag.d.ts +1 -1
  60. package/dist/picteus-ws-client/models/ExtensionImageTag.js +1 -1
  61. package/dist/picteus-ws-client/models/ExtensionManual.d.ts +1 -1
  62. package/dist/picteus-ws-client/models/ExtensionManual.js +1 -1
  63. package/dist/picteus-ws-client/models/ExtensionSettings.d.ts +1 -1
  64. package/dist/picteus-ws-client/models/ExtensionSettings.js +1 -1
  65. package/dist/picteus-ws-client/models/ExtensionStatus.d.ts +1 -1
  66. package/dist/picteus-ws-client/models/ExtensionStatus.js +1 -1
  67. package/dist/picteus-ws-client/models/ExtensionsConfiguration.d.ts +1 -1
  68. package/dist/picteus-ws-client/models/ExtensionsConfiguration.js +1 -1
  69. package/dist/picteus-ws-client/models/GenerationRecipe.d.ts +1 -1
  70. package/dist/picteus-ws-client/models/GenerationRecipe.js +1 -1
  71. package/dist/picteus-ws-client/models/GenerationRecipePrompt.d.ts +7 -2
  72. package/dist/picteus-ws-client/models/GenerationRecipePrompt.js +17 -14
  73. package/dist/picteus-ws-client/models/Image.d.ts +4 -4
  74. package/dist/picteus-ws-client/models/Image.js +4 -4
  75. package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
  76. package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
  77. package/dist/picteus-ws-client/models/ImageDistance.d.ts +1 -1
  78. package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
  79. package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +1 -1
  80. package/dist/picteus-ws-client/models/ImageEmbeddings.js +1 -1
  81. package/dist/picteus-ws-client/models/ImageFeature.d.ts +1 -1
  82. package/dist/picteus-ws-client/models/ImageFeature.js +1 -1
  83. package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +1 -1
  84. package/dist/picteus-ws-client/models/ImageFeatureFormat.js +1 -1
  85. package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +1 -1
  86. package/dist/picteus-ws-client/models/ImageFeatureType.js +1 -1
  87. package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
  88. package/dist/picteus-ws-client/models/ImageFormat.js +1 -1
  89. package/dist/picteus-ws-client/models/ImageGenerator.d.ts +1 -1
  90. package/dist/picteus-ws-client/models/ImageGenerator.js +1 -1
  91. package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
  92. package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
  93. package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
  94. package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
  95. package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +1 -1
  96. package/dist/picteus-ws-client/models/ImageResizeRender.js +1 -1
  97. package/dist/picteus-ws-client/models/ImageSummary.d.ts +1 -1
  98. package/dist/picteus-ws-client/models/ImageSummary.js +1 -1
  99. package/dist/picteus-ws-client/models/ImageSummaryList.d.ts +1 -1
  100. package/dist/picteus-ws-client/models/ImageSummaryList.js +1 -1
  101. package/dist/picteus-ws-client/models/InstructionsPrompt.d.ts +39 -0
  102. package/dist/picteus-ws-client/models/InstructionsPrompt.js +48 -0
  103. package/dist/picteus-ws-client/models/Manifest.d.ts +1 -1
  104. package/dist/picteus-ws-client/models/Manifest.js +1 -1
  105. package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
  106. package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
  107. package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
  108. package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
  109. package/dist/picteus-ws-client/models/ManifestEvent.d.ts +1 -1
  110. package/dist/picteus-ws-client/models/ManifestEvent.js +1 -1
  111. package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
  112. package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
  113. package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +1 -1
  114. package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +1 -1
  115. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
  116. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
  117. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +1 -1
  118. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +1 -1
  119. package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
  120. package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
  121. package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +1 -1
  122. package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
  123. package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
  124. package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
  125. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
  126. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
  127. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.d.ts +1 -1
  128. package/dist/picteus-ws-client/models/ManifestThrottlingPolicy.js +1 -1
  129. package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +1 -1
  130. package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
  131. package/dist/picteus-ws-client/models/MidjourneyInstructions.d.ts +1 -1
  132. package/dist/picteus-ws-client/models/MidjourneyInstructions.js +1 -1
  133. package/dist/picteus-ws-client/models/PromptKind.d.ts +25 -0
  134. package/dist/picteus-ws-client/models/PromptKind.js +43 -0
  135. package/dist/picteus-ws-client/models/Repository.d.ts +1 -1
  136. package/dist/picteus-ws-client/models/Repository.js +1 -1
  137. package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
  138. package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
  139. package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
  140. package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
  141. package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
  142. package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
  143. package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +1 -1
  144. package/dist/picteus-ws-client/models/RepositoryStatus.js +1 -1
  145. package/dist/picteus-ws-client/models/SearchCriteria.d.ts +1 -1
  146. package/dist/picteus-ws-client/models/SearchCriteria.js +1 -1
  147. package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
  148. package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
  149. package/dist/picteus-ws-client/models/SearchProperties.d.ts +1 -1
  150. package/dist/picteus-ws-client/models/SearchProperties.js +1 -1
  151. package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +1 -1
  152. package/dist/picteus-ws-client/models/SearchPropertyRange.js +1 -1
  153. package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
  154. package/dist/picteus-ws-client/models/SearchRange.js +1 -1
  155. package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
  156. package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
  157. package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
  158. package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
  159. package/dist/picteus-ws-client/models/SearchTags.d.ts +1 -1
  160. package/dist/picteus-ws-client/models/SearchTags.js +1 -1
  161. package/dist/picteus-ws-client/models/Settings.d.ts +1 -1
  162. package/dist/picteus-ws-client/models/Settings.js +1 -1
  163. package/dist/picteus-ws-client/models/TextualPrompt.d.ts +9 -2
  164. package/dist/picteus-ws-client/models/TextualPrompt.js +6 -1
  165. package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +1 -1
  166. package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
  167. package/dist/picteus-ws-client/models/index.d.ts +2 -0
  168. package/dist/picteus-ws-client/models/index.js +2 -0
  169. package/dist/picteus-ws-client/runtime.d.ts +1 -1
  170. package/dist/picteus-ws-client/runtime.js +1 -1
  171. package/dist/picteusExtension.d.ts +9 -0
  172. package/dist/picteusExtension.js +16 -1
  173. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.0
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,6 +34,12 @@ export interface RepositoryApiRepositoryGetRequest {
34
34
  export interface RepositoryApiRepositoryGetImageByUrlRequest {
35
35
  url: string;
36
36
  }
37
+ export interface RepositoryApiRepositoryRenameImageRequest {
38
+ id: string;
39
+ imageId: string;
40
+ nameWithoutExtension: string;
41
+ relativeDirectoryPath?: string;
42
+ }
37
43
  export interface RepositoryApiRepositorySearchImagesRequest {
38
44
  id: string;
39
45
  criteria?: SearchCriteria;
@@ -49,7 +55,7 @@ export interface RepositoryApiRepositoryStoreImageRequest {
49
55
  sourceUrl?: string;
50
56
  parentId?: string;
51
57
  applicationMetadata?: string;
52
- directoryPath?: string;
58
+ relativeDirectoryPath?: string;
53
59
  nameWithoutExtension?: string;
54
60
  }
55
61
  export interface RepositoryApiRepositorySynchronizeRequest {
@@ -170,6 +176,23 @@ export interface RepositoryApiInterface {
170
176
  * Lists repositories
171
177
  */
172
178
  repositoryList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Repository>>;
179
+ /**
180
+ * Renames the file of an image in a repository.
181
+ * @summary Renames an image
182
+ * @param {string} id The repository identifier
183
+ * @param {string} imageId The image identifier
184
+ * @param {string} nameWithoutExtension The new file name without the file extension
185
+ * @param {string} [relativeDirectoryPath] The relative directory path within the repository that will host the image
186
+ * @param {*} [options] Override http request option.
187
+ * @throws {RequiredError}
188
+ * @memberof RepositoryApiInterface
189
+ */
190
+ repositoryRenameImageRaw(requestParameters: RepositoryApiRepositoryRenameImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
191
+ /**
192
+ * Renames the file of an image in a repository.
193
+ * Renames an image
194
+ */
195
+ repositoryRenameImage(requestParameters: RepositoryApiRepositoryRenameImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
173
196
  /**
174
197
  * Searches images within the repository with the provided criteria.
175
198
  * @summary Searches for images within the repository
@@ -209,7 +232,7 @@ export interface RepositoryApiInterface {
209
232
  * @param {string} [sourceUrl] The URL of the image source
210
233
  * @param {string} [parentId] The identifier of the image parent image
211
234
  * @param {string} [applicationMetadata] The JSON string representing the application metadata
212
- * @param {string} [directoryPath] The relative directory path within the repository that will host the image
235
+ * @param {string} [relativeDirectoryPath] The relative directory path within the repository that will host the image
213
236
  * @param {string} [nameWithoutExtension] The image file name, without its extension
214
237
  * @param {*} [options] Override http request option.
215
238
  * @throws {RequiredError}
@@ -325,6 +348,16 @@ export declare class RepositoryApi extends runtime.BaseAPI implements Repository
325
348
  * Lists repositories
326
349
  */
327
350
  repositoryList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Repository>>;
351
+ /**
352
+ * Renames the file of an image in a repository.
353
+ * Renames an image
354
+ */
355
+ repositoryRenameImageRaw(requestParameters: RepositoryApiRepositoryRenameImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
356
+ /**
357
+ * Renames the file of an image in a repository.
358
+ * Renames an image
359
+ */
360
+ repositoryRenameImage(requestParameters: RepositoryApiRepositoryRenameImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
328
361
  /**
329
362
  * Searches images within the repository with the provided criteria.
330
363
  * Searches for images within the repository
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.5.4
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -264,6 +264,52 @@ export class RepositoryApi extends runtime.BaseAPI {
264
264
  const response = await this.repositoryListRaw(initOverrides);
265
265
  return await response.value();
266
266
  }
267
+ /**
268
+ * Renames the file of an image in a repository.
269
+ * Renames an image
270
+ */
271
+ async repositoryRenameImageRaw(requestParameters, initOverrides) {
272
+ if (requestParameters['id'] == null) {
273
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling repositoryRenameImage().');
274
+ }
275
+ if (requestParameters['imageId'] == null) {
276
+ throw new runtime.RequiredError('imageId', 'Required parameter "imageId" was null or undefined when calling repositoryRenameImage().');
277
+ }
278
+ if (requestParameters['nameWithoutExtension'] == null) {
279
+ throw new runtime.RequiredError('nameWithoutExtension', 'Required parameter "nameWithoutExtension" was null or undefined when calling repositoryRenameImage().');
280
+ }
281
+ const queryParameters = {};
282
+ if (requestParameters['imageId'] != null) {
283
+ queryParameters['imageId'] = requestParameters['imageId'];
284
+ }
285
+ if (requestParameters['nameWithoutExtension'] != null) {
286
+ queryParameters['nameWithoutExtension'] = requestParameters['nameWithoutExtension'];
287
+ }
288
+ if (requestParameters['relativeDirectoryPath'] != null) {
289
+ queryParameters['relativeDirectoryPath'] = requestParameters['relativeDirectoryPath'];
290
+ }
291
+ const headerParameters = {};
292
+ if (this.configuration && this.configuration.apiKey) {
293
+ headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
294
+ }
295
+ let urlPath = `/repository/{id}/renameImage`;
296
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
297
+ const response = await this.request({
298
+ path: urlPath,
299
+ method: 'PUT',
300
+ headers: headerParameters,
301
+ query: queryParameters,
302
+ }, initOverrides);
303
+ return new runtime.JSONApiResponse(response, (jsonValue) => ImageFromJSON(jsonValue));
304
+ }
305
+ /**
306
+ * Renames the file of an image in a repository.
307
+ * Renames an image
308
+ */
309
+ async repositoryRenameImage(requestParameters, initOverrides) {
310
+ const response = await this.repositoryRenameImageRaw(requestParameters, initOverrides);
311
+ return await response.value();
312
+ }
267
313
  /**
268
314
  * Searches images within the repository with the provided criteria.
269
315
  * Searches for images within the repository
@@ -357,8 +403,8 @@ export class RepositoryApi extends runtime.BaseAPI {
357
403
  if (requestParameters['applicationMetadata'] != null) {
358
404
  queryParameters['applicationMetadata'] = requestParameters['applicationMetadata'];
359
405
  }
360
- if (requestParameters['directoryPath'] != null) {
361
- queryParameters['directoryPath'] = requestParameters['directoryPath'];
406
+ if (requestParameters['relativeDirectoryPath'] != null) {
407
+ queryParameters['relativeDirectoryPath'] = requestParameters['relativeDirectoryPath'];
362
408
  }
363
409
  if (requestParameters['nameWithoutExtension'] != null) {
364
410
  queryParameters['nameWithoutExtension'] = requestParameters['nameWithoutExtension'];
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.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.5.4
5
+ * The version of the OpenAPI document: 0.6.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.5.4
7
+ * The version of the OpenAPI document: 0.6.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).