@quantum-hub/qhubctl 1.0.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 (270) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +41 -0
  3. package/bin/dev.cmd +3 -0
  4. package/bin/dev.js +15 -0
  5. package/bin/run.cmd +3 -0
  6. package/bin/run.js +12 -0
  7. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.d.ts +89 -0
  8. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.js +259 -0
  9. package/dist/client/kqh/apis/ServicePlatformDashboardApi.d.ts +44 -0
  10. package/dist/client/kqh/apis/ServicePlatformDashboardApi.js +143 -0
  11. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.d.ts +133 -0
  12. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.js +410 -0
  13. package/dist/client/kqh/apis/ServicePlatformJobsApi.d.ts +101 -0
  14. package/dist/client/kqh/apis/ServicePlatformJobsApi.js +298 -0
  15. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.d.ts +48 -0
  16. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.js +152 -0
  17. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.d.ts +29 -0
  18. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.js +90 -0
  19. package/dist/client/kqh/apis/ServicePlatformServicesApi.d.ts +501 -0
  20. package/dist/client/kqh/apis/ServicePlatformServicesApi.js +1509 -0
  21. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.d.ts +66 -0
  22. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.js +194 -0
  23. package/dist/client/kqh/apis/TaxonomiesApi.d.ts +90 -0
  24. package/dist/client/kqh/apis/TaxonomiesApi.js +309 -0
  25. package/dist/client/kqh/apis/index.d.ts +9 -0
  26. package/dist/client/kqh/apis/index.js +27 -0
  27. package/dist/client/kqh/index.d.ts +3 -0
  28. package/dist/client/kqh/index.js +21 -0
  29. package/dist/client/kqh/models/AccessTokenDto.d.ts +81 -0
  30. package/dist/client/kqh/models/AccessTokenDto.js +66 -0
  31. package/dist/client/kqh/models/AmountMajorDto.d.ts +37 -0
  32. package/dist/client/kqh/models/AmountMajorDto.js +46 -0
  33. package/dist/client/kqh/models/ApiDto.d.ts +144 -0
  34. package/dist/client/kqh/models/ApiDto.js +99 -0
  35. package/dist/client/kqh/models/ApiOverviewDto.d.ts +119 -0
  36. package/dist/client/kqh/models/ApiOverviewDto.js +90 -0
  37. package/dist/client/kqh/models/ApplicationDto.d.ts +64 -0
  38. package/dist/client/kqh/models/ApplicationDto.js +60 -0
  39. package/dist/client/kqh/models/BuildJobDto.d.ts +75 -0
  40. package/dist/client/kqh/models/BuildJobDto.js +71 -0
  41. package/dist/client/kqh/models/CpuConfiguration.d.ts +38 -0
  42. package/dist/client/kqh/models/CpuConfiguration.js +49 -0
  43. package/dist/client/kqh/models/CreateApplicationRequest.d.ts +31 -0
  44. package/dist/client/kqh/models/CreateApplicationRequest.js +44 -0
  45. package/dist/client/kqh/models/CreateDataPoolRequest.d.ts +31 -0
  46. package/dist/client/kqh/models/CreateDataPoolRequest.js +46 -0
  47. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.d.ts +46 -0
  48. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.js +57 -0
  49. package/dist/client/kqh/models/CreateJobRequest.d.ts +62 -0
  50. package/dist/client/kqh/models/CreateJobRequest.js +57 -0
  51. package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.d.ts +73 -0
  52. package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.js +79 -0
  53. package/dist/client/kqh/models/CreateProductRequest.d.ts +43 -0
  54. package/dist/client/kqh/models/CreateProductRequest.js +52 -0
  55. package/dist/client/kqh/models/CreateSubscriptionRequest.d.ts +37 -0
  56. package/dist/client/kqh/models/CreateSubscriptionRequest.js +50 -0
  57. package/dist/client/kqh/models/CreateWorkflowServiceRequest.d.ts +37 -0
  58. package/dist/client/kqh/models/CreateWorkflowServiceRequest.js +48 -0
  59. package/dist/client/kqh/models/DataPoolDto.d.ts +166 -0
  60. package/dist/client/kqh/models/DataPoolDto.js +105 -0
  61. package/dist/client/kqh/models/DataPoolRef.d.ts +43 -0
  62. package/dist/client/kqh/models/DataPoolRef.js +48 -0
  63. package/dist/client/kqh/models/DataSourceDescriptorDto.d.ts +89 -0
  64. package/dist/client/kqh/models/DataSourceDescriptorDto.js +69 -0
  65. package/dist/client/kqh/models/FileDto.d.ts +73 -0
  66. package/dist/client/kqh/models/FileDto.js +51 -0
  67. package/dist/client/kqh/models/FileSource.d.ts +26 -0
  68. package/dist/client/kqh/models/FileSource.js +34 -0
  69. package/dist/client/kqh/models/GpuConfiguration.d.ts +49 -0
  70. package/dist/client/kqh/models/GpuConfiguration.js +60 -0
  71. package/dist/client/kqh/models/JobDto.d.ts +117 -0
  72. package/dist/client/kqh/models/JobDto.js +82 -0
  73. package/dist/client/kqh/models/JobOverviewDto.d.ts +74 -0
  74. package/dist/client/kqh/models/JobOverviewDto.js +67 -0
  75. package/dist/client/kqh/models/MemoryConfiguration.d.ts +38 -0
  76. package/dist/client/kqh/models/MemoryConfiguration.js +49 -0
  77. package/dist/client/kqh/models/MeteringRequest.d.ts +43 -0
  78. package/dist/client/kqh/models/MeteringRequest.js +48 -0
  79. package/dist/client/kqh/models/MeteringResponse.d.ts +49 -0
  80. package/dist/client/kqh/models/MeteringResponse.js +50 -0
  81. package/dist/client/kqh/models/MonthAmountDto.d.ts +51 -0
  82. package/dist/client/kqh/models/MonthAmountDto.js +52 -0
  83. package/dist/client/kqh/models/OwnerDto.d.ts +67 -0
  84. package/dist/client/kqh/models/OwnerDto.js +56 -0
  85. package/dist/client/kqh/models/PageDataPoolDto.d.ts +94 -0
  86. package/dist/client/kqh/models/PageDataPoolDto.js +67 -0
  87. package/dist/client/kqh/models/PageableObject.d.ts +62 -0
  88. package/dist/client/kqh/models/PageableObject.js +55 -0
  89. package/dist/client/kqh/models/PricingPlanDto.d.ts +52 -0
  90. package/dist/client/kqh/models/PricingPlanDto.js +57 -0
  91. package/dist/client/kqh/models/ProductAmountDto.d.ts +38 -0
  92. package/dist/client/kqh/models/ProductAmountDto.js +47 -0
  93. package/dist/client/kqh/models/ProductDto.d.ts +83 -0
  94. package/dist/client/kqh/models/ProductDto.js +76 -0
  95. package/dist/client/kqh/models/ProductGroupDto.d.ts +45 -0
  96. package/dist/client/kqh/models/ProductGroupDto.js +50 -0
  97. package/dist/client/kqh/models/ProductUsageDto.d.ts +61 -0
  98. package/dist/client/kqh/models/ProductUsageDto.js +54 -0
  99. package/dist/client/kqh/models/RegistrySource.d.ts +52 -0
  100. package/dist/client/kqh/models/RegistrySource.js +55 -0
  101. package/dist/client/kqh/models/RepositorySource.d.ts +32 -0
  102. package/dist/client/kqh/models/RepositorySource.js +47 -0
  103. package/dist/client/kqh/models/ResourceConfiguration.d.ts +31 -0
  104. package/dist/client/kqh/models/ResourceConfiguration.js +58 -0
  105. package/dist/client/kqh/models/ReviewDto.d.ts +51 -0
  106. package/dist/client/kqh/models/ReviewDto.js +56 -0
  107. package/dist/client/kqh/models/RuntimeConfiguration.d.ts +53 -0
  108. package/dist/client/kqh/models/RuntimeConfiguration.js +56 -0
  109. package/dist/client/kqh/models/ServiceDefinitionCommand.d.ts +39 -0
  110. package/dist/client/kqh/models/ServiceDefinitionCommand.js +52 -0
  111. package/dist/client/kqh/models/ServiceDefinitionDto.d.ts +180 -0
  112. package/dist/client/kqh/models/ServiceDefinitionDto.js +108 -0
  113. package/dist/client/kqh/models/ServiceDefinitionDtoSource.d.ts +23 -0
  114. package/dist/client/kqh/models/ServiceDefinitionDtoSource.js +54 -0
  115. package/dist/client/kqh/models/ServiceDefinitionOverviewDto.d.ts +79 -0
  116. package/dist/client/kqh/models/ServiceDefinitionOverviewDto.js +71 -0
  117. package/dist/client/kqh/models/ServiceDto.d.ts +59 -0
  118. package/dist/client/kqh/models/ServiceDto.js +59 -0
  119. package/dist/client/kqh/models/ServiceExecutionConsumerDto.d.ts +67 -0
  120. package/dist/client/kqh/models/ServiceExecutionConsumerDto.js +64 -0
  121. package/dist/client/kqh/models/ServiceExecutionDto.d.ts +49 -0
  122. package/dist/client/kqh/models/ServiceExecutionDto.js +50 -0
  123. package/dist/client/kqh/models/ServiceOverviewDto.d.ts +115 -0
  124. package/dist/client/kqh/models/ServiceOverviewDto.js +92 -0
  125. package/dist/client/kqh/models/ServiceSource.d.ts +31 -0
  126. package/dist/client/kqh/models/ServiceSource.js +58 -0
  127. package/dist/client/kqh/models/SortObject.d.ts +43 -0
  128. package/dist/client/kqh/models/SortObject.js +48 -0
  129. package/dist/client/kqh/models/SubscriptionDto.d.ts +58 -0
  130. package/dist/client/kqh/models/SubscriptionDto.js +55 -0
  131. package/dist/client/kqh/models/TaxonomyElement.d.ts +43 -0
  132. package/dist/client/kqh/models/TaxonomyElement.js +48 -0
  133. package/dist/client/kqh/models/UpdateDataPoolRequest.d.ts +109 -0
  134. package/dist/client/kqh/models/UpdateDataPoolRequest.js +72 -0
  135. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.d.ts +23 -0
  136. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.js +54 -0
  137. package/dist/client/kqh/models/UpdateVersionRequest.d.ts +44 -0
  138. package/dist/client/kqh/models/UpdateVersionRequest.js +49 -0
  139. package/dist/client/kqh/models/UpdateWorkflowServiceRequest.d.ts +31 -0
  140. package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +44 -0
  141. package/dist/client/kqh/models/ValidationResult.d.ts +52 -0
  142. package/dist/client/kqh/models/ValidationResult.js +57 -0
  143. package/dist/client/kqh/models/index.d.ts +57 -0
  144. package/dist/client/kqh/models/index.js +75 -0
  145. package/dist/client/kqh/runtime.d.ts +181 -0
  146. package/dist/client/kqh/runtime.js +340 -0
  147. package/dist/client/users/apis/AuthenticationApi.d.ts +31 -0
  148. package/dist/client/users/apis/AuthenticationApi.js +83 -0
  149. package/dist/client/users/apis/ExpertsApi.d.ts +44 -0
  150. package/dist/client/users/apis/ExpertsApi.js +112 -0
  151. package/dist/client/users/apis/SearchApi.d.ts +46 -0
  152. package/dist/client/users/apis/SearchApi.js +134 -0
  153. package/dist/client/users/apis/UserSettingsApi.d.ts +139 -0
  154. package/dist/client/users/apis/UserSettingsApi.js +417 -0
  155. package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.d.ts +64 -0
  156. package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.js +184 -0
  157. package/dist/client/users/apis/UsersApi.d.ts +70 -0
  158. package/dist/client/users/apis/UsersApi.js +170 -0
  159. package/dist/client/users/apis/index.d.ts +6 -0
  160. package/dist/client/users/apis/index.js +24 -0
  161. package/dist/client/users/index.d.ts +3 -0
  162. package/dist/client/users/index.js +21 -0
  163. package/dist/client/users/models/AccessTokenCreateRequest.d.ts +51 -0
  164. package/dist/client/users/models/AccessTokenCreateRequest.js +60 -0
  165. package/dist/client/users/models/AccessTokenDto.d.ts +75 -0
  166. package/dist/client/users/models/AccessTokenDto.js +68 -0
  167. package/dist/client/users/models/AccessTokensResponse.d.ts +38 -0
  168. package/dist/client/users/models/AccessTokensResponse.js +47 -0
  169. package/dist/client/users/models/DefaultAccessTokenResponse.d.ts +31 -0
  170. package/dist/client/users/models/DefaultAccessTokenResponse.js +44 -0
  171. package/dist/client/users/models/Language.d.ts +31 -0
  172. package/dist/client/users/models/Language.js +44 -0
  173. package/dist/client/users/models/PageUserDto.d.ts +94 -0
  174. package/dist/client/users/models/PageUserDto.js +67 -0
  175. package/dist/client/users/models/Pageable.d.ts +43 -0
  176. package/dist/client/users/models/Pageable.js +48 -0
  177. package/dist/client/users/models/PageableObject.d.ts +62 -0
  178. package/dist/client/users/models/PageableObject.js +55 -0
  179. package/dist/client/users/models/PersonalAccessTokenPrincipal.d.ts +38 -0
  180. package/dist/client/users/models/PersonalAccessTokenPrincipal.js +47 -0
  181. package/dist/client/users/models/Skill.d.ts +31 -0
  182. package/dist/client/users/models/Skill.js +44 -0
  183. package/dist/client/users/models/SortObject.d.ts +43 -0
  184. package/dist/client/users/models/SortObject.js +48 -0
  185. package/dist/client/users/models/UpdateUserRequest.d.ts +61 -0
  186. package/dist/client/users/models/UpdateUserRequest.js +54 -0
  187. package/dist/client/users/models/UserDto.d.ts +111 -0
  188. package/dist/client/users/models/UserDto.js +72 -0
  189. package/dist/client/users/models/UserOverviewDto.d.ts +67 -0
  190. package/dist/client/users/models/UserOverviewDto.js +56 -0
  191. package/dist/client/users/models/index.d.ts +14 -0
  192. package/dist/client/users/models/index.js +32 -0
  193. package/dist/client/users/runtime.d.ts +181 -0
  194. package/dist/client/users/runtime.js +340 -0
  195. package/dist/commands/compress/index.d.ts +6 -0
  196. package/dist/commands/compress/index.js +31 -0
  197. package/dist/commands/datapool/upload.d.ts +23 -0
  198. package/dist/commands/datapool/upload.js +266 -0
  199. package/dist/commands/get-context/index.d.ts +6 -0
  200. package/dist/commands/get-context/index.js +13 -0
  201. package/dist/commands/init/index.d.ts +10 -0
  202. package/dist/commands/init/index.js +81 -0
  203. package/dist/commands/list-contexts/index.d.ts +9 -0
  204. package/dist/commands/list-contexts/index.js +36 -0
  205. package/dist/commands/login/index.d.ts +10 -0
  206. package/dist/commands/login/index.js +68 -0
  207. package/dist/commands/logout/index.d.ts +6 -0
  208. package/dist/commands/logout/index.js +21 -0
  209. package/dist/commands/openapi/index.d.ts +26 -0
  210. package/dist/commands/openapi/index.js +313 -0
  211. package/dist/commands/run/index.d.ts +18 -0
  212. package/dist/commands/run/index.js +155 -0
  213. package/dist/commands/serve/index.d.ts +13 -0
  214. package/dist/commands/serve/index.js +93 -0
  215. package/dist/commands/services/index.d.ts +14 -0
  216. package/dist/commands/services/index.js +71 -0
  217. package/dist/commands/set-context/index.d.ts +17 -0
  218. package/dist/commands/set-context/index.js +69 -0
  219. package/dist/commands/up/index.d.ts +19 -0
  220. package/dist/commands/up/index.js +196 -0
  221. package/dist/index.d.ts +1 -0
  222. package/dist/index.js +4 -0
  223. package/dist/lib/command.d.ts +6 -0
  224. package/dist/lib/command.js +21 -0
  225. package/dist/lib/debug.d.ts +1 -0
  226. package/dist/lib/debug.js +5 -0
  227. package/dist/lib/entrypoint-resolver.d.ts +52 -0
  228. package/dist/lib/entrypoint-resolver.js +125 -0
  229. package/dist/lib/error.d.ts +1 -0
  230. package/dist/lib/error.js +20 -0
  231. package/dist/lib/fetch.d.ts +7 -0
  232. package/dist/lib/fetch.js +43 -0
  233. package/dist/lib/init-user-input.d.ts +18 -0
  234. package/dist/lib/init-user-input.js +87 -0
  235. package/dist/lib/random-name.d.ts +1 -0
  236. package/dist/lib/random-name.js +161 -0
  237. package/dist/lib/random-string.d.ts +1 -0
  238. package/dist/lib/random-string.js +12 -0
  239. package/dist/lib/repository.d.ts +3 -0
  240. package/dist/lib/repository.js +51 -0
  241. package/dist/lib/stream-to-blob.d.ts +2 -0
  242. package/dist/lib/stream-to-blob.js +27 -0
  243. package/dist/lib/up/get-description.d.ts +1 -0
  244. package/dist/lib/up/get-description.js +29 -0
  245. package/dist/lib/up/ignore.d.ts +1 -0
  246. package/dist/lib/up/ignore.js +21 -0
  247. package/dist/lib/up/zip.d.ts +1 -0
  248. package/dist/lib/up/zip.js +40 -0
  249. package/dist/model/account.d.ts +5 -0
  250. package/dist/model/account.js +2 -0
  251. package/dist/model/command.d.ts +12 -0
  252. package/dist/model/command.js +55 -0
  253. package/dist/model/managed-service-config.d.ts +28 -0
  254. package/dist/model/managed-service-config.js +16 -0
  255. package/dist/model/user-config.d.ts +22 -0
  256. package/dist/model/user-config.js +8 -0
  257. package/dist/service/auth-service.d.ts +9 -0
  258. package/dist/service/auth-service.js +38 -0
  259. package/dist/service/command-service.d.ts +9 -0
  260. package/dist/service/command-service.js +14 -0
  261. package/dist/service/quantum-hub-service.d.ts +24 -0
  262. package/dist/service/quantum-hub-service.js +222 -0
  263. package/dist/service/service-config-service.d.ts +3 -0
  264. package/dist/service/service-config-service.js +26 -0
  265. package/dist/service/user-config-service.d.ts +3 -0
  266. package/dist/service/user-config-service.js +26 -0
  267. package/dist/service/user-service.d.ts +9 -0
  268. package/dist/service/user-service.js +35 -0
  269. package/oclif.manifest.json +530 -0
  270. package/package.json +107 -0
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Quantum Platform API
3
+ * Part of the OpenAPI specification for the Quantum Platform.
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ * Contact: info@anaqor.io
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';
13
+ import type { CreateSubscriptionRequest, ServiceExecutionConsumerDto, SubscriptionDto } from '../models/index';
14
+ export interface CreateSubscriptionOperationRequest {
15
+ createSubscriptionRequest: CreateSubscriptionRequest;
16
+ xOrganizationId?: string;
17
+ }
18
+ export interface DeleteSubscriptionRequest {
19
+ id: string;
20
+ xOrganizationId?: string;
21
+ }
22
+ export interface GetSubscriptionRequest {
23
+ id: string;
24
+ xOrganizationId?: string;
25
+ }
26
+ export interface GetSubscriptionServiceExecutionsRequest {
27
+ id: string;
28
+ xOrganizationId?: string;
29
+ }
30
+ /**
31
+ *
32
+ */
33
+ export declare class ServicePlatformSubscriptionsApi extends runtime.BaseAPI {
34
+ /**
35
+ * Creates a subscription to an internally or publicly published service. To subscribe a service, you must only supply the id of the service and the application.
36
+ */
37
+ createSubscriptionRaw(requestParameters: CreateSubscriptionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SubscriptionDto>>;
38
+ /**
39
+ * Creates a subscription to an internally or publicly published service. To subscribe a service, you must only supply the id of the service and the application.
40
+ */
41
+ createSubscription(requestParameters: CreateSubscriptionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SubscriptionDto>;
42
+ /**
43
+ * Removes a specific subscription.
44
+ */
45
+ deleteSubscriptionRaw(requestParameters: DeleteSubscriptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
46
+ /**
47
+ * Removes a specific subscription.
48
+ */
49
+ deleteSubscription(requestParameters: DeleteSubscriptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
50
+ /**
51
+ * Retrieves a specific subscription.
52
+ */
53
+ getSubscriptionRaw(requestParameters: GetSubscriptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SubscriptionDto>>;
54
+ /**
55
+ * Retrieves a specific subscription.
56
+ */
57
+ getSubscription(requestParameters: GetSubscriptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SubscriptionDto>;
58
+ /**
59
+ * Retrieves the service executions of a subscription.
60
+ */
61
+ getSubscriptionServiceExecutionsRaw(requestParameters: GetSubscriptionServiceExecutionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ServiceExecutionConsumerDto>>>;
62
+ /**
63
+ * Retrieves the service executions of a subscription.
64
+ */
65
+ getSubscriptionServiceExecutions(requestParameters: GetSubscriptionServiceExecutionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ServiceExecutionConsumerDto>>;
66
+ }
@@ -0,0 +1,194 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Quantum Platform API
6
+ * Part of the OpenAPI specification for the Quantum Platform.
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ * Contact: info@anaqor.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || (function () {
32
+ var ownKeys = function(o) {
33
+ ownKeys = Object.getOwnPropertyNames || function (o) {
34
+ var ar = [];
35
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
+ return ar;
37
+ };
38
+ return ownKeys(o);
39
+ };
40
+ return function (mod) {
41
+ if (mod && mod.__esModule) return mod;
42
+ var result = {};
43
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
+ __setModuleDefault(result, mod);
45
+ return result;
46
+ };
47
+ })();
48
+ Object.defineProperty(exports, "__esModule", { value: true });
49
+ exports.ServicePlatformSubscriptionsApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const index_1 = require("../models/index");
52
+ /**
53
+ *
54
+ */
55
+ class ServicePlatformSubscriptionsApi extends runtime.BaseAPI {
56
+ /**
57
+ * Creates a subscription to an internally or publicly published service. To subscribe a service, you must only supply the id of the service and the application.
58
+ */
59
+ async createSubscriptionRaw(requestParameters, initOverrides) {
60
+ if (requestParameters['createSubscriptionRequest'] == null) {
61
+ throw new runtime.RequiredError('createSubscriptionRequest', 'Required parameter "createSubscriptionRequest" was null or undefined when calling createSubscription().');
62
+ }
63
+ const queryParameters = {};
64
+ const headerParameters = {};
65
+ headerParameters['Content-Type'] = 'application/json';
66
+ if (requestParameters['xOrganizationId'] != null) {
67
+ headerParameters['X-OrganizationId'] = String(requestParameters['xOrganizationId']);
68
+ }
69
+ if (this.configuration && this.configuration.apiKey) {
70
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
71
+ }
72
+ if (this.configuration && this.configuration.accessToken) {
73
+ // oauth required
74
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
75
+ }
76
+ const response = await this.request({
77
+ path: `/subscriptions`,
78
+ method: 'POST',
79
+ headers: headerParameters,
80
+ query: queryParameters,
81
+ body: (0, index_1.CreateSubscriptionRequestToJSON)(requestParameters['createSubscriptionRequest']),
82
+ }, initOverrides);
83
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SubscriptionDtoFromJSON)(jsonValue));
84
+ }
85
+ /**
86
+ * Creates a subscription to an internally or publicly published service. To subscribe a service, you must only supply the id of the service and the application.
87
+ */
88
+ async createSubscription(requestParameters, initOverrides) {
89
+ const response = await this.createSubscriptionRaw(requestParameters, initOverrides);
90
+ return await response.value();
91
+ }
92
+ /**
93
+ * Removes a specific subscription.
94
+ */
95
+ async deleteSubscriptionRaw(requestParameters, initOverrides) {
96
+ if (requestParameters['id'] == null) {
97
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteSubscription().');
98
+ }
99
+ const queryParameters = {};
100
+ const headerParameters = {};
101
+ if (requestParameters['xOrganizationId'] != null) {
102
+ headerParameters['X-OrganizationId'] = String(requestParameters['xOrganizationId']);
103
+ }
104
+ if (this.configuration && this.configuration.apiKey) {
105
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
106
+ }
107
+ if (this.configuration && this.configuration.accessToken) {
108
+ // oauth required
109
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
110
+ }
111
+ const response = await this.request({
112
+ path: `/subscriptions/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
113
+ method: 'DELETE',
114
+ headers: headerParameters,
115
+ query: queryParameters,
116
+ }, initOverrides);
117
+ return new runtime.VoidApiResponse(response);
118
+ }
119
+ /**
120
+ * Removes a specific subscription.
121
+ */
122
+ async deleteSubscription(requestParameters, initOverrides) {
123
+ await this.deleteSubscriptionRaw(requestParameters, initOverrides);
124
+ }
125
+ /**
126
+ * Retrieves a specific subscription.
127
+ */
128
+ async getSubscriptionRaw(requestParameters, initOverrides) {
129
+ if (requestParameters['id'] == null) {
130
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getSubscription().');
131
+ }
132
+ const queryParameters = {};
133
+ const headerParameters = {};
134
+ if (requestParameters['xOrganizationId'] != null) {
135
+ headerParameters['X-OrganizationId'] = String(requestParameters['xOrganizationId']);
136
+ }
137
+ if (this.configuration && this.configuration.apiKey) {
138
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
139
+ }
140
+ if (this.configuration && this.configuration.accessToken) {
141
+ // oauth required
142
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
143
+ }
144
+ const response = await this.request({
145
+ path: `/subscriptions/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
146
+ method: 'GET',
147
+ headers: headerParameters,
148
+ query: queryParameters,
149
+ }, initOverrides);
150
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SubscriptionDtoFromJSON)(jsonValue));
151
+ }
152
+ /**
153
+ * Retrieves a specific subscription.
154
+ */
155
+ async getSubscription(requestParameters, initOverrides) {
156
+ const response = await this.getSubscriptionRaw(requestParameters, initOverrides);
157
+ return await response.value();
158
+ }
159
+ /**
160
+ * Retrieves the service executions of a subscription.
161
+ */
162
+ async getSubscriptionServiceExecutionsRaw(requestParameters, initOverrides) {
163
+ if (requestParameters['id'] == null) {
164
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getSubscriptionServiceExecutions().');
165
+ }
166
+ const queryParameters = {};
167
+ const headerParameters = {};
168
+ if (requestParameters['xOrganizationId'] != null) {
169
+ headerParameters['X-OrganizationId'] = String(requestParameters['xOrganizationId']);
170
+ }
171
+ if (this.configuration && this.configuration.apiKey) {
172
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
173
+ }
174
+ if (this.configuration && this.configuration.accessToken) {
175
+ // oauth required
176
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
177
+ }
178
+ const response = await this.request({
179
+ path: `/subscriptions/{id}/service-executions`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
180
+ method: 'GET',
181
+ headers: headerParameters,
182
+ query: queryParameters,
183
+ }, initOverrides);
184
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.ServiceExecutionConsumerDtoFromJSON));
185
+ }
186
+ /**
187
+ * Retrieves the service executions of a subscription.
188
+ */
189
+ async getSubscriptionServiceExecutions(requestParameters, initOverrides) {
190
+ const response = await this.getSubscriptionServiceExecutionsRaw(requestParameters, initOverrides);
191
+ return await response.value();
192
+ }
193
+ }
194
+ exports.ServicePlatformSubscriptionsApi = ServicePlatformSubscriptionsApi;
@@ -0,0 +1,90 @@
1
+ /**
2
+ * Quantum Platform API
3
+ * Part of the OpenAPI specification for the Quantum Platform.
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ * Contact: info@anaqor.io
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';
13
+ import type { TaxonomyElement } from '../models/index';
14
+ /**
15
+ *
16
+ */
17
+ export declare class TaxonomiesApi extends runtime.BaseAPI {
18
+ /**
19
+ * Returns the taxonomy about application areas of algorithms and implementations.
20
+ */
21
+ getApplicationAreasRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
22
+ /**
23
+ * Returns the taxonomy about application areas of algorithms and implementations.
24
+ */
25
+ getApplicationAreas(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
26
+ /**
27
+ * Returns the taxonomy of certain file formats for data pools.
28
+ */
29
+ getDatapoolFormatsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
30
+ /**
31
+ * Returns the taxonomy of certain file formats for data pools.
32
+ */
33
+ getDatapoolFormats(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
34
+ /**
35
+ * Returns the industry taxonomy.
36
+ */
37
+ getIndustriesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
38
+ /**
39
+ * Returns the industry taxonomy.
40
+ */
41
+ getIndustries(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
42
+ /**
43
+ * Returns the taxonomy about learning methods of algorithms.
44
+ */
45
+ getLearningMethodsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
46
+ /**
47
+ * Returns the taxonomy about learning methods of algorithms.
48
+ */
49
+ getLearningMethods(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
50
+ /**
51
+ * Returns the taxonomy about software licenses.
52
+ */
53
+ getLicensesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
54
+ /**
55
+ * Returns the taxonomy about software licenses.
56
+ */
57
+ getLicenses(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
58
+ /**
59
+ * Returns the taxonomy about problem types of algorithms and implementations.
60
+ */
61
+ getProblemTypesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
62
+ /**
63
+ * Returns the taxonomy about problem types of algorithms and implementations.
64
+ */
65
+ getProblemTypes(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
66
+ /**
67
+ * Returns the taxonomy about programming languages.
68
+ */
69
+ getProgrammingLanguagesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
70
+ /**
71
+ * Returns the taxonomy about programming languages.
72
+ */
73
+ getProgrammingLanguages(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
74
+ /**
75
+ * Returns the taxonomy about quantum computation models.
76
+ */
77
+ getQuantumComputationModelsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
78
+ /**
79
+ * Returns the taxonomy about quantum computation models.
80
+ */
81
+ getQuantumComputationModels(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
82
+ /**
83
+ * Returns the taxonomy about software tools.
84
+ */
85
+ getSoftwareToolsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
86
+ /**
87
+ * Returns the taxonomy about software tools.
88
+ */
89
+ getSoftwareTools(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
90
+ }
@@ -0,0 +1,309 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Quantum Platform API
6
+ * Part of the OpenAPI specification for the Quantum Platform.
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ * Contact: info@anaqor.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || (function () {
32
+ var ownKeys = function(o) {
33
+ ownKeys = Object.getOwnPropertyNames || function (o) {
34
+ var ar = [];
35
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
+ return ar;
37
+ };
38
+ return ownKeys(o);
39
+ };
40
+ return function (mod) {
41
+ if (mod && mod.__esModule) return mod;
42
+ var result = {};
43
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
+ __setModuleDefault(result, mod);
45
+ return result;
46
+ };
47
+ })();
48
+ Object.defineProperty(exports, "__esModule", { value: true });
49
+ exports.TaxonomiesApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const index_1 = require("../models/index");
52
+ /**
53
+ *
54
+ */
55
+ class TaxonomiesApi extends runtime.BaseAPI {
56
+ /**
57
+ * Returns the taxonomy about application areas of algorithms and implementations.
58
+ */
59
+ async getApplicationAreasRaw(initOverrides) {
60
+ const queryParameters = {};
61
+ const headerParameters = {};
62
+ if (this.configuration && this.configuration.apiKey) {
63
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
64
+ }
65
+ if (this.configuration && this.configuration.accessToken) {
66
+ // oauth required
67
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
68
+ }
69
+ const response = await this.request({
70
+ path: `/taxonomies/application-areas`,
71
+ method: 'GET',
72
+ headers: headerParameters,
73
+ query: queryParameters,
74
+ }, initOverrides);
75
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.TaxonomyElementFromJSON));
76
+ }
77
+ /**
78
+ * Returns the taxonomy about application areas of algorithms and implementations.
79
+ */
80
+ async getApplicationAreas(initOverrides) {
81
+ const response = await this.getApplicationAreasRaw(initOverrides);
82
+ return await response.value();
83
+ }
84
+ /**
85
+ * Returns the taxonomy of certain file formats for data pools.
86
+ */
87
+ async getDatapoolFormatsRaw(initOverrides) {
88
+ const queryParameters = {};
89
+ const headerParameters = {};
90
+ if (this.configuration && this.configuration.apiKey) {
91
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
92
+ }
93
+ if (this.configuration && this.configuration.accessToken) {
94
+ // oauth required
95
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
96
+ }
97
+ const response = await this.request({
98
+ path: `/taxonomies/data-pool-formats`,
99
+ method: 'GET',
100
+ headers: headerParameters,
101
+ query: queryParameters,
102
+ }, initOverrides);
103
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.TaxonomyElementFromJSON));
104
+ }
105
+ /**
106
+ * Returns the taxonomy of certain file formats for data pools.
107
+ */
108
+ async getDatapoolFormats(initOverrides) {
109
+ const response = await this.getDatapoolFormatsRaw(initOverrides);
110
+ return await response.value();
111
+ }
112
+ /**
113
+ * Returns the industry taxonomy.
114
+ */
115
+ async getIndustriesRaw(initOverrides) {
116
+ const queryParameters = {};
117
+ const headerParameters = {};
118
+ if (this.configuration && this.configuration.apiKey) {
119
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
120
+ }
121
+ if (this.configuration && this.configuration.accessToken) {
122
+ // oauth required
123
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
124
+ }
125
+ const response = await this.request({
126
+ path: `/taxonomies/industries`,
127
+ method: 'GET',
128
+ headers: headerParameters,
129
+ query: queryParameters,
130
+ }, initOverrides);
131
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.TaxonomyElementFromJSON));
132
+ }
133
+ /**
134
+ * Returns the industry taxonomy.
135
+ */
136
+ async getIndustries(initOverrides) {
137
+ const response = await this.getIndustriesRaw(initOverrides);
138
+ return await response.value();
139
+ }
140
+ /**
141
+ * Returns the taxonomy about learning methods of algorithms.
142
+ */
143
+ async getLearningMethodsRaw(initOverrides) {
144
+ const queryParameters = {};
145
+ const headerParameters = {};
146
+ if (this.configuration && this.configuration.apiKey) {
147
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
148
+ }
149
+ if (this.configuration && this.configuration.accessToken) {
150
+ // oauth required
151
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
152
+ }
153
+ const response = await this.request({
154
+ path: `/taxonomies/learning-methods`,
155
+ method: 'GET',
156
+ headers: headerParameters,
157
+ query: queryParameters,
158
+ }, initOverrides);
159
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.TaxonomyElementFromJSON));
160
+ }
161
+ /**
162
+ * Returns the taxonomy about learning methods of algorithms.
163
+ */
164
+ async getLearningMethods(initOverrides) {
165
+ const response = await this.getLearningMethodsRaw(initOverrides);
166
+ return await response.value();
167
+ }
168
+ /**
169
+ * Returns the taxonomy about software licenses.
170
+ */
171
+ async getLicensesRaw(initOverrides) {
172
+ const queryParameters = {};
173
+ const headerParameters = {};
174
+ if (this.configuration && this.configuration.apiKey) {
175
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
176
+ }
177
+ if (this.configuration && this.configuration.accessToken) {
178
+ // oauth required
179
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
180
+ }
181
+ const response = await this.request({
182
+ path: `/taxonomies/licenses`,
183
+ method: 'GET',
184
+ headers: headerParameters,
185
+ query: queryParameters,
186
+ }, initOverrides);
187
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.TaxonomyElementFromJSON));
188
+ }
189
+ /**
190
+ * Returns the taxonomy about software licenses.
191
+ */
192
+ async getLicenses(initOverrides) {
193
+ const response = await this.getLicensesRaw(initOverrides);
194
+ return await response.value();
195
+ }
196
+ /**
197
+ * Returns the taxonomy about problem types of algorithms and implementations.
198
+ */
199
+ async getProblemTypesRaw(initOverrides) {
200
+ const queryParameters = {};
201
+ const headerParameters = {};
202
+ if (this.configuration && this.configuration.apiKey) {
203
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
204
+ }
205
+ if (this.configuration && this.configuration.accessToken) {
206
+ // oauth required
207
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
208
+ }
209
+ const response = await this.request({
210
+ path: `/taxonomies/problem-types`,
211
+ method: 'GET',
212
+ headers: headerParameters,
213
+ query: queryParameters,
214
+ }, initOverrides);
215
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.TaxonomyElementFromJSON));
216
+ }
217
+ /**
218
+ * Returns the taxonomy about problem types of algorithms and implementations.
219
+ */
220
+ async getProblemTypes(initOverrides) {
221
+ const response = await this.getProblemTypesRaw(initOverrides);
222
+ return await response.value();
223
+ }
224
+ /**
225
+ * Returns the taxonomy about programming languages.
226
+ */
227
+ async getProgrammingLanguagesRaw(initOverrides) {
228
+ const queryParameters = {};
229
+ const headerParameters = {};
230
+ if (this.configuration && this.configuration.apiKey) {
231
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
232
+ }
233
+ if (this.configuration && this.configuration.accessToken) {
234
+ // oauth required
235
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
236
+ }
237
+ const response = await this.request({
238
+ path: `/taxonomies/programming-languages`,
239
+ method: 'GET',
240
+ headers: headerParameters,
241
+ query: queryParameters,
242
+ }, initOverrides);
243
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.TaxonomyElementFromJSON));
244
+ }
245
+ /**
246
+ * Returns the taxonomy about programming languages.
247
+ */
248
+ async getProgrammingLanguages(initOverrides) {
249
+ const response = await this.getProgrammingLanguagesRaw(initOverrides);
250
+ return await response.value();
251
+ }
252
+ /**
253
+ * Returns the taxonomy about quantum computation models.
254
+ */
255
+ async getQuantumComputationModelsRaw(initOverrides) {
256
+ const queryParameters = {};
257
+ const headerParameters = {};
258
+ if (this.configuration && this.configuration.apiKey) {
259
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
260
+ }
261
+ if (this.configuration && this.configuration.accessToken) {
262
+ // oauth required
263
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
264
+ }
265
+ const response = await this.request({
266
+ path: `/taxonomies/quantum-computation-models`,
267
+ method: 'GET',
268
+ headers: headerParameters,
269
+ query: queryParameters,
270
+ }, initOverrides);
271
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.TaxonomyElementFromJSON));
272
+ }
273
+ /**
274
+ * Returns the taxonomy about quantum computation models.
275
+ */
276
+ async getQuantumComputationModels(initOverrides) {
277
+ const response = await this.getQuantumComputationModelsRaw(initOverrides);
278
+ return await response.value();
279
+ }
280
+ /**
281
+ * Returns the taxonomy about software tools.
282
+ */
283
+ async getSoftwareToolsRaw(initOverrides) {
284
+ const queryParameters = {};
285
+ const headerParameters = {};
286
+ if (this.configuration && this.configuration.apiKey) {
287
+ headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
288
+ }
289
+ if (this.configuration && this.configuration.accessToken) {
290
+ // oauth required
291
+ headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
292
+ }
293
+ const response = await this.request({
294
+ path: `/taxonomies/software-tools`,
295
+ method: 'GET',
296
+ headers: headerParameters,
297
+ query: queryParameters,
298
+ }, initOverrides);
299
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.TaxonomyElementFromJSON));
300
+ }
301
+ /**
302
+ * Returns the taxonomy about software tools.
303
+ */
304
+ async getSoftwareTools(initOverrides) {
305
+ const response = await this.getSoftwareToolsRaw(initOverrides);
306
+ return await response.value();
307
+ }
308
+ }
309
+ exports.TaxonomiesApi = TaxonomiesApi;
@@ -0,0 +1,9 @@
1
+ export * from './ServicePlatformApplicationsApi';
2
+ export * from './ServicePlatformDashboardApi';
3
+ export * from './ServicePlatformDataPoolsApi';
4
+ export * from './ServicePlatformJobsApi';
5
+ export * from './ServicePlatformMarketplaceApi';
6
+ export * from './ServicePlatformMeteringAPIApi';
7
+ export * from './ServicePlatformServicesApi';
8
+ export * from './ServicePlatformSubscriptionsApi';
9
+ export * from './TaxonomiesApi';