@picteus/extension-sdk 0.3.3 → 0.4.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 (161) 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 +138 -0
  4. package/dist/picteus-ws-client/apis/ApiSecretApi.js +156 -0
  5. package/dist/picteus-ws-client/apis/ExperimentApi.d.ts +1 -1
  6. package/dist/picteus-ws-client/apis/ExperimentApi.js +1 -1
  7. package/dist/picteus-ws-client/apis/ExtensionApi.d.ts +1 -1
  8. package/dist/picteus-ws-client/apis/ExtensionApi.js +1 -1
  9. package/dist/picteus-ws-client/apis/ImageApi.d.ts +68 -30
  10. package/dist/picteus-ws-client/apis/ImageApi.js +81 -24
  11. package/dist/picteus-ws-client/apis/ImageAttachmentApi.d.ts +1 -1
  12. package/dist/picteus-ws-client/apis/ImageAttachmentApi.js +1 -1
  13. package/dist/picteus-ws-client/apis/MiscellaneousApi.d.ts +98 -0
  14. package/dist/picteus-ws-client/apis/MiscellaneousApi.js +114 -0
  15. package/dist/picteus-ws-client/apis/PingApi.d.ts +1 -1
  16. package/dist/picteus-ws-client/apis/PingApi.js +1 -1
  17. package/dist/picteus-ws-client/apis/RepositoryApi.d.ts +1 -1
  18. package/dist/picteus-ws-client/apis/RepositoryApi.js +1 -1
  19. package/dist/picteus-ws-client/apis/SettingsApi.d.ts +1 -1
  20. package/dist/picteus-ws-client/apis/SettingsApi.js +1 -1
  21. package/dist/picteus-ws-client/apis/index.d.ts +2 -2
  22. package/dist/picteus-ws-client/apis/index.js +2 -2
  23. package/dist/picteus-ws-client/models/ApiSecret.d.ts +75 -0
  24. package/dist/picteus-ws-client/models/ApiSecret.js +66 -0
  25. package/dist/picteus-ws-client/models/ApiSecretSummary.d.ts +63 -0
  26. package/dist/picteus-ws-client/models/ApiSecretSummary.js +60 -0
  27. package/dist/picteus-ws-client/models/ApiSecretType.d.ts +25 -0
  28. package/dist/picteus-ws-client/models/ApiSecretType.js +43 -0
  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 +33 -0
  38. package/dist/picteus-ws-client/models/ComputedImageFormat.js +44 -0
  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/Image.d.ts +7 -1
  70. package/dist/picteus-ws-client/models/Image.js +5 -1
  71. package/dist/picteus-ws-client/models/ImageDimensions.d.ts +1 -1
  72. package/dist/picteus-ws-client/models/ImageDimensions.js +1 -1
  73. package/dist/picteus-ws-client/models/ImageDistance.d.ts +1 -1
  74. package/dist/picteus-ws-client/models/ImageDistance.js +1 -1
  75. package/dist/picteus-ws-client/models/ImageEmbeddings.d.ts +1 -1
  76. package/dist/picteus-ws-client/models/ImageEmbeddings.js +1 -1
  77. package/dist/picteus-ws-client/models/ImageFeature.d.ts +1 -1
  78. package/dist/picteus-ws-client/models/ImageFeature.js +1 -1
  79. package/dist/picteus-ws-client/models/ImageFeatureFormat.d.ts +1 -1
  80. package/dist/picteus-ws-client/models/ImageFeatureFormat.js +1 -1
  81. package/dist/picteus-ws-client/models/ImageFeatureType.d.ts +2 -1
  82. package/dist/picteus-ws-client/models/ImageFeatureType.js +2 -1
  83. package/dist/picteus-ws-client/models/ImageFormat.d.ts +1 -1
  84. package/dist/picteus-ws-client/models/ImageFormat.js +1 -1
  85. package/dist/picteus-ws-client/models/ImageGenerator.d.ts +1 -1
  86. package/dist/picteus-ws-client/models/ImageGenerator.js +1 -1
  87. package/dist/picteus-ws-client/models/ImageMediaUrl.d.ts +1 -1
  88. package/dist/picteus-ws-client/models/ImageMediaUrl.js +1 -1
  89. package/dist/picteus-ws-client/models/ImageMetadata.d.ts +1 -1
  90. package/dist/picteus-ws-client/models/ImageMetadata.js +1 -1
  91. package/dist/picteus-ws-client/models/ImageResizeRender.d.ts +25 -0
  92. package/dist/picteus-ws-client/models/ImageResizeRender.js +43 -0
  93. package/dist/picteus-ws-client/models/ImageSummary.d.ts +7 -1
  94. package/dist/picteus-ws-client/models/ImageSummary.js +5 -1
  95. package/dist/picteus-ws-client/models/ImageSummaryList.d.ts +1 -1
  96. package/dist/picteus-ws-client/models/ImageSummaryList.js +1 -1
  97. package/dist/picteus-ws-client/models/Manifest.d.ts +1 -1
  98. package/dist/picteus-ws-client/models/Manifest.js +1 -1
  99. package/dist/picteus-ws-client/models/ManifestCapability.d.ts +1 -1
  100. package/dist/picteus-ws-client/models/ManifestCapability.js +1 -1
  101. package/dist/picteus-ws-client/models/ManifestCapabilityId.d.ts +1 -1
  102. package/dist/picteus-ws-client/models/ManifestCapabilityId.js +1 -1
  103. package/dist/picteus-ws-client/models/ManifestEvent.d.ts +2 -1
  104. package/dist/picteus-ws-client/models/ManifestEvent.js +2 -1
  105. package/dist/picteus-ws-client/models/ManifestExecution.d.ts +1 -1
  106. package/dist/picteus-ws-client/models/ManifestExecution.js +1 -1
  107. package/dist/picteus-ws-client/models/ManifestExtensionCommand.d.ts +6 -6
  108. package/dist/picteus-ws-client/models/ManifestExtensionCommand.js +6 -8
  109. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.d.ts +1 -1
  110. package/dist/picteus-ws-client/models/ManifestExtensionCommandOn.js +1 -1
  111. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.d.ts +44 -0
  112. package/dist/picteus-ws-client/models/ManifestExtensionCommandSpecification.js +51 -0
  113. package/dist/picteus-ws-client/models/ManifestInstructions.d.ts +1 -1
  114. package/dist/picteus-ws-client/models/ManifestInstructions.js +1 -1
  115. package/dist/picteus-ws-client/models/ManifestInterfaceElement.d.ts +1 -1
  116. package/dist/picteus-ws-client/models/ManifestInterfaceElement.js +1 -1
  117. package/dist/picteus-ws-client/models/ManifestRuntime.d.ts +1 -1
  118. package/dist/picteus-ws-client/models/ManifestRuntime.js +1 -1
  119. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.d.ts +1 -1
  120. package/dist/picteus-ws-client/models/ManifestRuntimeEnvironment.js +1 -1
  121. package/dist/picteus-ws-client/models/ManifestUserInterface.d.ts +1 -1
  122. package/dist/picteus-ws-client/models/ManifestUserInterface.js +1 -1
  123. package/dist/picteus-ws-client/models/MidjourneyInstructions.d.ts +1 -1
  124. package/dist/picteus-ws-client/models/MidjourneyInstructions.js +1 -1
  125. package/dist/picteus-ws-client/models/Repository.d.ts +1 -1
  126. package/dist/picteus-ws-client/models/Repository.js +1 -1
  127. package/dist/picteus-ws-client/models/RepositoryActivity.d.ts +1 -1
  128. package/dist/picteus-ws-client/models/RepositoryActivity.js +1 -1
  129. package/dist/picteus-ws-client/models/RepositoryActivityKind.d.ts +1 -1
  130. package/dist/picteus-ws-client/models/RepositoryActivityKind.js +1 -1
  131. package/dist/picteus-ws-client/models/RepositoryLocationType.d.ts +1 -1
  132. package/dist/picteus-ws-client/models/RepositoryLocationType.js +1 -1
  133. package/dist/picteus-ws-client/models/RepositoryStatus.d.ts +1 -1
  134. package/dist/picteus-ws-client/models/RepositoryStatus.js +1 -1
  135. package/dist/picteus-ws-client/models/SearchCriteria.d.ts +16 -2
  136. package/dist/picteus-ws-client/models/SearchCriteria.js +7 -1
  137. package/dist/picteus-ws-client/models/SearchKeyword.d.ts +1 -1
  138. package/dist/picteus-ws-client/models/SearchKeyword.js +1 -1
  139. package/dist/picteus-ws-client/models/SearchProperties.d.ts +57 -0
  140. package/dist/picteus-ws-client/models/SearchProperties.js +50 -0
  141. package/dist/picteus-ws-client/models/SearchPropertyRange.d.ts +38 -0
  142. package/dist/picteus-ws-client/models/SearchPropertyRange.js +43 -0
  143. package/dist/picteus-ws-client/models/SearchRange.d.ts +1 -1
  144. package/dist/picteus-ws-client/models/SearchRange.js +1 -1
  145. package/dist/picteus-ws-client/models/SearchSorting.d.ts +1 -1
  146. package/dist/picteus-ws-client/models/SearchSorting.js +1 -1
  147. package/dist/picteus-ws-client/models/SearchSortingProperty.d.ts +1 -1
  148. package/dist/picteus-ws-client/models/SearchSortingProperty.js +1 -1
  149. package/dist/picteus-ws-client/models/SearchTags.d.ts +32 -0
  150. package/dist/picteus-ws-client/models/SearchTags.js +43 -0
  151. package/dist/picteus-ws-client/models/Settings.d.ts +1 -1
  152. package/dist/picteus-ws-client/models/Settings.js +1 -1
  153. package/dist/picteus-ws-client/models/UserInterfaceAnchor.d.ts +1 -1
  154. package/dist/picteus-ws-client/models/UserInterfaceAnchor.js +1 -1
  155. package/dist/picteus-ws-client/models/index.d.ts +9 -1
  156. package/dist/picteus-ws-client/models/index.js +9 -1
  157. package/dist/picteus-ws-client/runtime.d.ts +1 -1
  158. package/dist/picteus-ws-client/runtime.js +1 -1
  159. package/dist/picteusExtension.d.ts +7 -2
  160. package/dist/picteusExtension.js +33 -8
  161. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  * Picteus
5
5
  * The Picteus API
6
6
  *
7
- * The version of the OpenAPI document: 0.3.0
7
+ * The version of the OpenAPI document: 0.4.0
8
8
  * Contact: edouard@koppasoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.4.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 * as runtime from '../runtime.js';
13
+ export interface MiscellaneousApiMiscellaneousInstallChromeExtensionRequest {
14
+ body: Blob;
15
+ }
16
+ /**
17
+ * MiscellaneousApi - interface
18
+ *
19
+ * @export
20
+ * @interface MiscellaneousApiInterface
21
+ */
22
+ export interface MiscellaneousApiInterface {
23
+ /**
24
+ * It will only work provided the server is hosted by an Electron application.
25
+ * @summary Installs a Chrome extension
26
+ * @param {Blob} body The Chrome extension tarball archive
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ * @memberof MiscellaneousApiInterface
30
+ */
31
+ miscellaneousInstallChromeExtensionRaw(requestParameters: MiscellaneousApiMiscellaneousInstallChromeExtensionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
32
+ /**
33
+ * It will only work provided the server is hosted by an Electron application.
34
+ * Installs a Chrome extension
35
+ */
36
+ miscellaneousInstallChromeExtension(requestParameters: MiscellaneousApiMiscellaneousInstallChromeExtensionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
37
+ /**
38
+ * Enables to check that the service is accessible.
39
+ * @summary Pings the service
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ * @memberof MiscellaneousApiInterface
43
+ */
44
+ miscellaneousPingRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
45
+ /**
46
+ * Enables to check that the service is accessible.
47
+ * Pings the service
48
+ */
49
+ miscellaneousPing(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
50
+ /**
51
+ * This endpoint is for experimentation only.
52
+ * @summary Runs a test
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ * @memberof MiscellaneousApiInterface
56
+ */
57
+ miscellaneousTestRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
58
+ /**
59
+ * This endpoint is for experimentation only.
60
+ * Runs a test
61
+ */
62
+ miscellaneousTest(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
63
+ }
64
+ /**
65
+ *
66
+ */
67
+ export declare class MiscellaneousApi extends runtime.BaseAPI implements MiscellaneousApiInterface {
68
+ /**
69
+ * It will only work provided the server is hosted by an Electron application.
70
+ * Installs a Chrome extension
71
+ */
72
+ miscellaneousInstallChromeExtensionRaw(requestParameters: MiscellaneousApiMiscellaneousInstallChromeExtensionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
73
+ /**
74
+ * It will only work provided the server is hosted by an Electron application.
75
+ * Installs a Chrome extension
76
+ */
77
+ miscellaneousInstallChromeExtension(requestParameters: MiscellaneousApiMiscellaneousInstallChromeExtensionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
78
+ /**
79
+ * Enables to check that the service is accessible.
80
+ * Pings the service
81
+ */
82
+ miscellaneousPingRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
83
+ /**
84
+ * Enables to check that the service is accessible.
85
+ * Pings the service
86
+ */
87
+ miscellaneousPing(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
88
+ /**
89
+ * This endpoint is for experimentation only.
90
+ * Runs a test
91
+ */
92
+ miscellaneousTestRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
93
+ /**
94
+ * This endpoint is for experimentation only.
95
+ * Runs a test
96
+ */
97
+ miscellaneousTest(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
98
+ }
@@ -0,0 +1,114 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Picteus
5
+ * The Picteus API
6
+ *
7
+ * The version of the OpenAPI document: 0.4.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 * as runtime from '../runtime.js';
15
+ /**
16
+ *
17
+ */
18
+ export class MiscellaneousApi extends runtime.BaseAPI {
19
+ /**
20
+ * It will only work provided the server is hosted by an Electron application.
21
+ * Installs a Chrome extension
22
+ */
23
+ async miscellaneousInstallChromeExtensionRaw(requestParameters, initOverrides) {
24
+ if (requestParameters['body'] == null) {
25
+ throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling miscellaneousInstallChromeExtension().');
26
+ }
27
+ const queryParameters = {};
28
+ const headerParameters = {};
29
+ headerParameters['Content-Type'] = 'application/zip';
30
+ if (this.configuration && this.configuration.apiKey) {
31
+ headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
32
+ }
33
+ let urlPath = `/miscellaneous/installChromeExtension`;
34
+ const response = await this.request({
35
+ path: urlPath,
36
+ method: 'PUT',
37
+ headers: headerParameters,
38
+ query: queryParameters,
39
+ body: requestParameters['body'],
40
+ }, initOverrides);
41
+ return new runtime.VoidApiResponse(response);
42
+ }
43
+ /**
44
+ * It will only work provided the server is hosted by an Electron application.
45
+ * Installs a Chrome extension
46
+ */
47
+ async miscellaneousInstallChromeExtension(requestParameters, initOverrides) {
48
+ await this.miscellaneousInstallChromeExtensionRaw(requestParameters, initOverrides);
49
+ }
50
+ /**
51
+ * Enables to check that the service is accessible.
52
+ * Pings the service
53
+ */
54
+ async miscellaneousPingRaw(initOverrides) {
55
+ const queryParameters = {};
56
+ const headerParameters = {};
57
+ if (this.configuration && this.configuration.apiKey) {
58
+ headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
59
+ }
60
+ let urlPath = `/miscellaneous/ping`;
61
+ const response = await this.request({
62
+ path: urlPath,
63
+ method: 'GET',
64
+ headers: headerParameters,
65
+ query: queryParameters,
66
+ }, initOverrides);
67
+ if (this.isJsonMime(response.headers.get('content-type'))) {
68
+ return new runtime.JSONApiResponse(response);
69
+ }
70
+ else {
71
+ return new runtime.TextApiResponse(response);
72
+ }
73
+ }
74
+ /**
75
+ * Enables to check that the service is accessible.
76
+ * Pings the service
77
+ */
78
+ async miscellaneousPing(initOverrides) {
79
+ const response = await this.miscellaneousPingRaw(initOverrides);
80
+ return await response.value();
81
+ }
82
+ /**
83
+ * This endpoint is for experimentation only.
84
+ * Runs a test
85
+ */
86
+ async miscellaneousTestRaw(initOverrides) {
87
+ const queryParameters = {};
88
+ const headerParameters = {};
89
+ if (this.configuration && this.configuration.apiKey) {
90
+ headerParameters["X-API-KEY"] = await this.configuration.apiKey("X-API-KEY"); // api-key authentication
91
+ }
92
+ let urlPath = `/miscellaneous/test`;
93
+ const response = await this.request({
94
+ path: urlPath,
95
+ method: 'GET',
96
+ headers: headerParameters,
97
+ query: queryParameters,
98
+ }, initOverrides);
99
+ if (this.isJsonMime(response.headers.get('content-type'))) {
100
+ return new runtime.JSONApiResponse(response);
101
+ }
102
+ else {
103
+ return new runtime.TextApiResponse(response);
104
+ }
105
+ }
106
+ /**
107
+ * This endpoint is for experimentation only.
108
+ * Runs a test
109
+ */
110
+ async miscellaneousTest(initOverrides) {
111
+ const response = await this.miscellaneousTestRaw(initOverrides);
112
+ return await response.value();
113
+ }
114
+ }
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.3.0
5
+ * The version of the OpenAPI document: 0.3.5
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.3.0
7
+ * The version of the OpenAPI document: 0.3.5
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.3.0
5
+ * The version of the OpenAPI document: 0.4.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.3.0
7
+ * The version of the OpenAPI document: 0.4.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.3.0
5
+ * The version of the OpenAPI document: 0.4.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.3.0
7
+ * The version of the OpenAPI document: 0.4.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,8 +1,8 @@
1
1
  export * from './AdministrationApi.js';
2
- export * from './ExperimentApi.js';
2
+ export * from './ApiSecretApi.js';
3
3
  export * from './ExtensionApi.js';
4
4
  export * from './ImageApi.js';
5
5
  export * from './ImageAttachmentApi.js';
6
- export * from './PingApi.js';
6
+ export * from './MiscellaneousApi.js';
7
7
  export * from './RepositoryApi.js';
8
8
  export * from './SettingsApi.js';
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export * from './AdministrationApi.js';
4
- export * from './ExperimentApi.js';
4
+ export * from './ApiSecretApi.js';
5
5
  export * from './ExtensionApi.js';
6
6
  export * from './ImageApi.js';
7
7
  export * from './ImageAttachmentApi.js';
8
- export * from './PingApi.js';
8
+ export * from './MiscellaneousApi.js';
9
9
  export * from './RepositoryApi.js';
10
10
  export * from './SettingsApi.js';
@@ -0,0 +1,75 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.4.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 { ApiSecretType } from './ApiSecretType.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiSecret
17
+ */
18
+ export interface ApiSecret {
19
+ /**
20
+ * The secret identifier
21
+ * @type {number}
22
+ * @memberof ApiSecret
23
+ */
24
+ id: number;
25
+ /**
26
+ * The secret type
27
+ * @type {ApiSecretType}
28
+ * @memberof ApiSecret
29
+ */
30
+ type: ApiSecretType;
31
+ /**
32
+ * The entity creation date
33
+ * @type {number}
34
+ * @memberof ApiSecret
35
+ */
36
+ creationDate: number;
37
+ /**
38
+ * The entity expiration date
39
+ * @type {number}
40
+ * @memberof ApiSecret
41
+ */
42
+ expirationDate?: number;
43
+ /**
44
+ * The secret name
45
+ * @type {string}
46
+ * @memberof ApiSecret
47
+ */
48
+ name: string;
49
+ /**
50
+ * The secret comment
51
+ * @type {string}
52
+ * @memberof ApiSecret
53
+ */
54
+ comment?: string;
55
+ /**
56
+ * The secret scope
57
+ * @type {string}
58
+ * @memberof ApiSecret
59
+ */
60
+ scope?: string;
61
+ /**
62
+ * The secret value
63
+ * @type {string}
64
+ * @memberof ApiSecret
65
+ */
66
+ value: string;
67
+ }
68
+ /**
69
+ * Check if a given object implements the ApiSecret interface.
70
+ */
71
+ export declare function instanceOfApiSecret(value: object): value is ApiSecret;
72
+ export declare function ApiSecretFromJSON(json: any): ApiSecret;
73
+ export declare function ApiSecretFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiSecret;
74
+ export declare function ApiSecretToJSON(json: any): ApiSecret;
75
+ export declare function ApiSecretToJSONTyped(value?: ApiSecret | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Picteus
5
+ * The Picteus API
6
+ *
7
+ * The version of the OpenAPI document: 0.4.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 { ApiSecretTypeFromJSON, ApiSecretTypeToJSON, } from './ApiSecretType.js';
15
+ /**
16
+ * Check if a given object implements the ApiSecret interface.
17
+ */
18
+ export function instanceOfApiSecret(value) {
19
+ if (!('id' in value) || value['id'] === undefined)
20
+ return false;
21
+ if (!('type' in value) || value['type'] === undefined)
22
+ return false;
23
+ if (!('creationDate' in value) || value['creationDate'] === undefined)
24
+ return false;
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('value' in value) || value['value'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ export function ApiSecretFromJSON(json) {
32
+ return ApiSecretFromJSONTyped(json, false);
33
+ }
34
+ export function ApiSecretFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'id': json['id'],
40
+ 'type': ApiSecretTypeFromJSON(json['type']),
41
+ 'creationDate': json['creationDate'],
42
+ 'expirationDate': json['expirationDate'] == null ? undefined : json['expirationDate'],
43
+ 'name': json['name'],
44
+ 'comment': json['comment'] == null ? undefined : json['comment'],
45
+ 'scope': json['scope'] == null ? undefined : json['scope'],
46
+ 'value': json['value'],
47
+ };
48
+ }
49
+ export function ApiSecretToJSON(json) {
50
+ return ApiSecretToJSONTyped(json, false);
51
+ }
52
+ export function ApiSecretToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'id': value['id'],
58
+ 'type': ApiSecretTypeToJSON(value['type']),
59
+ 'creationDate': value['creationDate'],
60
+ 'expirationDate': value['expirationDate'],
61
+ 'name': value['name'],
62
+ 'comment': value['comment'],
63
+ 'scope': value['scope'],
64
+ 'value': value['value'],
65
+ };
66
+ }
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.4.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 { ApiSecretType } from './ApiSecretType.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiSecretSummary
17
+ */
18
+ export interface ApiSecretSummary {
19
+ /**
20
+ * The secret identifier
21
+ * @type {number}
22
+ * @memberof ApiSecretSummary
23
+ */
24
+ id: number;
25
+ /**
26
+ * The secret type
27
+ * @type {ApiSecretType}
28
+ * @memberof ApiSecretSummary
29
+ */
30
+ type: ApiSecretType;
31
+ /**
32
+ * The entity creation date
33
+ * @type {number}
34
+ * @memberof ApiSecretSummary
35
+ */
36
+ creationDate: number;
37
+ /**
38
+ * The entity expiration date
39
+ * @type {number}
40
+ * @memberof ApiSecretSummary
41
+ */
42
+ expirationDate?: number;
43
+ /**
44
+ * The secret name
45
+ * @type {string}
46
+ * @memberof ApiSecretSummary
47
+ */
48
+ name: string;
49
+ /**
50
+ * The secret comment
51
+ * @type {string}
52
+ * @memberof ApiSecretSummary
53
+ */
54
+ comment?: string;
55
+ }
56
+ /**
57
+ * Check if a given object implements the ApiSecretSummary interface.
58
+ */
59
+ export declare function instanceOfApiSecretSummary(value: object): value is ApiSecretSummary;
60
+ export declare function ApiSecretSummaryFromJSON(json: any): ApiSecretSummary;
61
+ export declare function ApiSecretSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiSecretSummary;
62
+ export declare function ApiSecretSummaryToJSON(json: any): ApiSecretSummary;
63
+ export declare function ApiSecretSummaryToJSONTyped(value?: ApiSecretSummary | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Picteus
5
+ * The Picteus API
6
+ *
7
+ * The version of the OpenAPI document: 0.4.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 { ApiSecretTypeFromJSON, ApiSecretTypeToJSON, } from './ApiSecretType.js';
15
+ /**
16
+ * Check if a given object implements the ApiSecretSummary interface.
17
+ */
18
+ export function instanceOfApiSecretSummary(value) {
19
+ if (!('id' in value) || value['id'] === undefined)
20
+ return false;
21
+ if (!('type' in value) || value['type'] === undefined)
22
+ return false;
23
+ if (!('creationDate' in value) || value['creationDate'] === undefined)
24
+ return false;
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ export function ApiSecretSummaryFromJSON(json) {
30
+ return ApiSecretSummaryFromJSONTyped(json, false);
31
+ }
32
+ export function ApiSecretSummaryFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': json['id'],
38
+ 'type': ApiSecretTypeFromJSON(json['type']),
39
+ 'creationDate': json['creationDate'],
40
+ 'expirationDate': json['expirationDate'] == null ? undefined : json['expirationDate'],
41
+ 'name': json['name'],
42
+ 'comment': json['comment'] == null ? undefined : json['comment'],
43
+ };
44
+ }
45
+ export function ApiSecretSummaryToJSON(json) {
46
+ return ApiSecretSummaryToJSONTyped(json, false);
47
+ }
48
+ export function ApiSecretSummaryToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'id': value['id'],
54
+ 'type': ApiSecretTypeToJSON(value['type']),
55
+ 'creationDate': value['creationDate'],
56
+ 'expirationDate': value['expirationDate'],
57
+ 'name': value['name'],
58
+ 'comment': value['comment'],
59
+ };
60
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Picteus
3
+ * The Picteus API
4
+ *
5
+ * The version of the OpenAPI document: 0.4.0
6
+ * Contact: edouard@koppasoft.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The secret type
14
+ * @export
15
+ */
16
+ export declare const ApiSecretType: {
17
+ readonly Key: "key";
18
+ readonly Token: "token";
19
+ };
20
+ export type ApiSecretType = typeof ApiSecretType[keyof typeof ApiSecretType];
21
+ export declare function instanceOfApiSecretType(value: any): boolean;
22
+ export declare function ApiSecretTypeFromJSON(json: any): ApiSecretType;
23
+ export declare function ApiSecretTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiSecretType;
24
+ export declare function ApiSecretTypeToJSON(value?: ApiSecretType | null): any;
25
+ export declare function ApiSecretTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ApiSecretType;
@@ -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.4.0
8
+ * Contact: edouard@koppasoft.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * The secret type
16
+ * @export
17
+ */
18
+ export const ApiSecretType = {
19
+ Key: 'key',
20
+ Token: 'token'
21
+ };
22
+ export function instanceOfApiSecretType(value) {
23
+ for (const key in ApiSecretType) {
24
+ if (Object.prototype.hasOwnProperty.call(ApiSecretType, key)) {
25
+ if (ApiSecretType[key] === value) {
26
+ return true;
27
+ }
28
+ }
29
+ }
30
+ return false;
31
+ }
32
+ export function ApiSecretTypeFromJSON(json) {
33
+ return ApiSecretTypeFromJSONTyped(json, false);
34
+ }
35
+ export function ApiSecretTypeFromJSONTyped(json, ignoreDiscriminator) {
36
+ return json;
37
+ }
38
+ export function ApiSecretTypeToJSON(value) {
39
+ return value;
40
+ }
41
+ export function ApiSecretTypeToJSONTyped(value, ignoreDiscriminator) {
42
+ return value;
43
+ }
@@ -2,7 +2,7 @@
2
2
  * Picteus
3
3
  * The Picteus API
4
4
  *
5
- * The version of the OpenAPI document: 0.3.0
5
+ * The version of the OpenAPI document: 0.4.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.3.0
7
+ * The version of the OpenAPI document: 0.4.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.3.0
5
+ * The version of the OpenAPI document: 0.4.0
6
6
  * Contact: edouard@koppasoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).