@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,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Quantum Hub Platform API
6
+ * Part of the OpenAPI specification for the Quantum Hub 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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PricingPlanDtoTypeEnum = void 0;
17
+ exports.instanceOfPricingPlanDto = instanceOfPricingPlanDto;
18
+ exports.PricingPlanDtoFromJSON = PricingPlanDtoFromJSON;
19
+ exports.PricingPlanDtoFromJSONTyped = PricingPlanDtoFromJSONTyped;
20
+ exports.PricingPlanDtoToJSON = PricingPlanDtoToJSON;
21
+ const ProductDto_1 = require("./ProductDto");
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PricingPlanDtoTypeEnum = {
26
+ Free: 'FREE',
27
+ Commercial: 'COMMERCIAL'
28
+ };
29
+ /**
30
+ * Check if a given object implements the PricingPlanDto interface.
31
+ */
32
+ function instanceOfPricingPlanDto(value) {
33
+ return true;
34
+ }
35
+ function PricingPlanDtoFromJSON(json) {
36
+ return PricingPlanDtoFromJSONTyped(json, false);
37
+ }
38
+ function PricingPlanDtoFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'id': json['id'] == null ? undefined : json['id'],
44
+ 'type': json['type'] == null ? undefined : json['type'],
45
+ 'products': json['products'] == null ? undefined : (json['products'].map(ProductDto_1.ProductDtoFromJSON)),
46
+ };
47
+ }
48
+ function PricingPlanDtoToJSON(value) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'id': value['id'],
54
+ 'type': value['type'],
55
+ 'products': value['products'] == null ? undefined : (value['products'].map(ProductDto_1.ProductDtoToJSON)),
56
+ };
57
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Quantum Hub Platform API
3
+ * Part of the OpenAPI specification for the Quantum Hub 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 type { AmountMajorDto } from './AmountMajorDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProductAmountDto
17
+ */
18
+ export interface ProductAmountDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ProductAmountDto
23
+ */
24
+ name?: string;
25
+ /**
26
+ *
27
+ * @type {AmountMajorDto}
28
+ * @memberof ProductAmountDto
29
+ */
30
+ amountMajor?: AmountMajorDto;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ProductAmountDto interface.
34
+ */
35
+ export declare function instanceOfProductAmountDto(value: object): value is ProductAmountDto;
36
+ export declare function ProductAmountDtoFromJSON(json: any): ProductAmountDto;
37
+ export declare function ProductAmountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductAmountDto;
38
+ export declare function ProductAmountDtoToJSON(value?: ProductAmountDto | null): any;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Quantum Hub Platform API
6
+ * Part of the OpenAPI specification for the Quantum Hub 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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfProductAmountDto = instanceOfProductAmountDto;
17
+ exports.ProductAmountDtoFromJSON = ProductAmountDtoFromJSON;
18
+ exports.ProductAmountDtoFromJSONTyped = ProductAmountDtoFromJSONTyped;
19
+ exports.ProductAmountDtoToJSON = ProductAmountDtoToJSON;
20
+ const AmountMajorDto_1 = require("./AmountMajorDto");
21
+ /**
22
+ * Check if a given object implements the ProductAmountDto interface.
23
+ */
24
+ function instanceOfProductAmountDto(value) {
25
+ return true;
26
+ }
27
+ function ProductAmountDtoFromJSON(json) {
28
+ return ProductAmountDtoFromJSONTyped(json, false);
29
+ }
30
+ function ProductAmountDtoFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'name': json['name'] == null ? undefined : json['name'],
36
+ 'amountMajor': json['amountMajor'] == null ? undefined : (0, AmountMajorDto_1.AmountMajorDtoFromJSON)(json['amountMajor']),
37
+ };
38
+ }
39
+ function ProductAmountDtoToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'name': value['name'],
45
+ 'amountMajor': (0, AmountMajorDto_1.AmountMajorDtoToJSON)(value['amountMajor']),
46
+ };
47
+ }
@@ -0,0 +1,83 @@
1
+ /**
2
+ * Quantum Hub Platform API
3
+ * Part of the OpenAPI specification for the Quantum Hub 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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProductDto
16
+ */
17
+ export interface ProductDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ProductDto
22
+ */
23
+ id?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ProductDto
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ProductDto
34
+ */
35
+ unitLabel?: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof ProductDto
40
+ */
41
+ amountMajor?: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ProductDto
46
+ */
47
+ currency?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ProductDto
52
+ */
53
+ type?: ProductDtoTypeEnum;
54
+ }
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const ProductDtoTypeEnum: {
59
+ readonly Api: "API";
60
+ readonly Cpu: "CPU";
61
+ readonly Memory: "MEMORY";
62
+ readonly Ionq1GateShot: "IONQ_1_GATE_SHOT";
63
+ readonly Ionq2GateShot: "IONQ_2_GATE_SHOT";
64
+ readonly AwsSv1: "AWS_SV1";
65
+ readonly AwsDm1: "AWS_DM1";
66
+ readonly AwsTn1: "AWS_TN1";
67
+ readonly AwsQuantumTask: "AWS_QUANTUM_TASK";
68
+ readonly AwsIonqHarmony: "AWS_IONQ_HARMONY";
69
+ readonly AwsIonqAria: "AWS_IONQ_ARIA";
70
+ readonly AwsOqcLucy: "AWS_OQC_LUCY";
71
+ readonly AwsRigettiAspenm: "AWS_RIGETTI_ASPENM";
72
+ readonly Custom: "CUSTOM";
73
+ readonly GpuNvidiaT4: "GPU_NVIDIA_T4";
74
+ readonly GpuNvidiaV100: "GPU_NVIDIA_V100";
75
+ };
76
+ export type ProductDtoTypeEnum = typeof ProductDtoTypeEnum[keyof typeof ProductDtoTypeEnum];
77
+ /**
78
+ * Check if a given object implements the ProductDto interface.
79
+ */
80
+ export declare function instanceOfProductDto(value: object): value is ProductDto;
81
+ export declare function ProductDtoFromJSON(json: any): ProductDto;
82
+ export declare function ProductDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductDto;
83
+ export declare function ProductDtoToJSON(value?: ProductDto | null): any;
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Quantum Hub Platform API
6
+ * Part of the OpenAPI specification for the Quantum Hub 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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ProductDtoTypeEnum = void 0;
17
+ exports.instanceOfProductDto = instanceOfProductDto;
18
+ exports.ProductDtoFromJSON = ProductDtoFromJSON;
19
+ exports.ProductDtoFromJSONTyped = ProductDtoFromJSONTyped;
20
+ exports.ProductDtoToJSON = ProductDtoToJSON;
21
+ /**
22
+ * @export
23
+ */
24
+ exports.ProductDtoTypeEnum = {
25
+ Api: 'API',
26
+ Cpu: 'CPU',
27
+ Memory: 'MEMORY',
28
+ Ionq1GateShot: 'IONQ_1_GATE_SHOT',
29
+ Ionq2GateShot: 'IONQ_2_GATE_SHOT',
30
+ AwsSv1: 'AWS_SV1',
31
+ AwsDm1: 'AWS_DM1',
32
+ AwsTn1: 'AWS_TN1',
33
+ AwsQuantumTask: 'AWS_QUANTUM_TASK',
34
+ AwsIonqHarmony: 'AWS_IONQ_HARMONY',
35
+ AwsIonqAria: 'AWS_IONQ_ARIA',
36
+ AwsOqcLucy: 'AWS_OQC_LUCY',
37
+ AwsRigettiAspenm: 'AWS_RIGETTI_ASPENM',
38
+ Custom: 'CUSTOM',
39
+ GpuNvidiaT4: 'GPU_NVIDIA_T4',
40
+ GpuNvidiaV100: 'GPU_NVIDIA_V100'
41
+ };
42
+ /**
43
+ * Check if a given object implements the ProductDto interface.
44
+ */
45
+ function instanceOfProductDto(value) {
46
+ return true;
47
+ }
48
+ function ProductDtoFromJSON(json) {
49
+ return ProductDtoFromJSONTyped(json, false);
50
+ }
51
+ function ProductDtoFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'id': json['id'] == null ? undefined : json['id'],
57
+ 'name': json['name'] == null ? undefined : json['name'],
58
+ 'unitLabel': json['unitLabel'] == null ? undefined : json['unitLabel'],
59
+ 'amountMajor': json['amountMajor'] == null ? undefined : json['amountMajor'],
60
+ 'currency': json['currency'] == null ? undefined : json['currency'],
61
+ 'type': json['type'] == null ? undefined : json['type'],
62
+ };
63
+ }
64
+ function ProductDtoToJSON(value) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'id': value['id'],
70
+ 'name': value['name'],
71
+ 'unitLabel': value['unitLabel'],
72
+ 'amountMajor': value['amountMajor'],
73
+ 'currency': value['currency'],
74
+ 'type': value['type'],
75
+ };
76
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Quantum Hub Platform API
3
+ * Part of the OpenAPI specification for the Quantum Hub 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 type { ProductAmountDto } from './ProductAmountDto';
13
+ import type { AmountMajorDto } from './AmountMajorDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ProductGroupDto
18
+ */
19
+ export interface ProductGroupDto {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof ProductGroupDto
24
+ */
25
+ name?: string;
26
+ /**
27
+ *
28
+ * @type {AmountMajorDto}
29
+ * @memberof ProductGroupDto
30
+ */
31
+ amountMajor?: AmountMajorDto;
32
+ /**
33
+ *
34
+ * @type {Array<ProductAmountDto>}
35
+ * @memberof ProductGroupDto
36
+ */
37
+ products?: Array<ProductAmountDto>;
38
+ }
39
+ /**
40
+ * Check if a given object implements the ProductGroupDto interface.
41
+ */
42
+ export declare function instanceOfProductGroupDto(value: object): value is ProductGroupDto;
43
+ export declare function ProductGroupDtoFromJSON(json: any): ProductGroupDto;
44
+ export declare function ProductGroupDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductGroupDto;
45
+ export declare function ProductGroupDtoToJSON(value?: ProductGroupDto | null): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Quantum Hub Platform API
6
+ * Part of the OpenAPI specification for the Quantum Hub 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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfProductGroupDto = instanceOfProductGroupDto;
17
+ exports.ProductGroupDtoFromJSON = ProductGroupDtoFromJSON;
18
+ exports.ProductGroupDtoFromJSONTyped = ProductGroupDtoFromJSONTyped;
19
+ exports.ProductGroupDtoToJSON = ProductGroupDtoToJSON;
20
+ const ProductAmountDto_1 = require("./ProductAmountDto");
21
+ const AmountMajorDto_1 = require("./AmountMajorDto");
22
+ /**
23
+ * Check if a given object implements the ProductGroupDto interface.
24
+ */
25
+ function instanceOfProductGroupDto(value) {
26
+ return true;
27
+ }
28
+ function ProductGroupDtoFromJSON(json) {
29
+ return ProductGroupDtoFromJSONTyped(json, false);
30
+ }
31
+ function ProductGroupDtoFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'name': json['name'] == null ? undefined : json['name'],
37
+ 'amountMajor': json['amountMajor'] == null ? undefined : (0, AmountMajorDto_1.AmountMajorDtoFromJSON)(json['amountMajor']),
38
+ 'products': json['products'] == null ? undefined : (json['products'].map(ProductAmountDto_1.ProductAmountDtoFromJSON)),
39
+ };
40
+ }
41
+ function ProductGroupDtoToJSON(value) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'name': value['name'],
47
+ 'amountMajor': (0, AmountMajorDto_1.AmountMajorDtoToJSON)(value['amountMajor']),
48
+ 'products': value['products'] == null ? undefined : (value['products'].map(ProductAmountDto_1.ProductAmountDtoToJSON)),
49
+ };
50
+ }
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Quantum Hub Platform API
3
+ * Part of the OpenAPI specification for the Quantum Hub 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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProductUsageDto
16
+ */
17
+ export interface ProductUsageDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ProductUsageDto
22
+ */
23
+ timestamp?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ProductUsageDto
28
+ */
29
+ productName?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ProductUsageDto
34
+ */
35
+ productId?: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof ProductUsageDto
40
+ */
41
+ unitPrice?: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ProductUsageDto
46
+ */
47
+ currency?: string;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ProductUsageDto
52
+ */
53
+ count?: number;
54
+ }
55
+ /**
56
+ * Check if a given object implements the ProductUsageDto interface.
57
+ */
58
+ export declare function instanceOfProductUsageDto(value: object): value is ProductUsageDto;
59
+ export declare function ProductUsageDtoFromJSON(json: any): ProductUsageDto;
60
+ export declare function ProductUsageDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductUsageDto;
61
+ export declare function ProductUsageDtoToJSON(value?: ProductUsageDto | null): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Quantum Hub Platform API
6
+ * Part of the OpenAPI specification for the Quantum Hub 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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfProductUsageDto = instanceOfProductUsageDto;
17
+ exports.ProductUsageDtoFromJSON = ProductUsageDtoFromJSON;
18
+ exports.ProductUsageDtoFromJSONTyped = ProductUsageDtoFromJSONTyped;
19
+ exports.ProductUsageDtoToJSON = ProductUsageDtoToJSON;
20
+ /**
21
+ * Check if a given object implements the ProductUsageDto interface.
22
+ */
23
+ function instanceOfProductUsageDto(value) {
24
+ return true;
25
+ }
26
+ function ProductUsageDtoFromJSON(json) {
27
+ return ProductUsageDtoFromJSONTyped(json, false);
28
+ }
29
+ function ProductUsageDtoFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'timestamp': json['timestamp'] == null ? undefined : json['timestamp'],
35
+ 'productName': json['productName'] == null ? undefined : json['productName'],
36
+ 'productId': json['productId'] == null ? undefined : json['productId'],
37
+ 'unitPrice': json['unitPrice'] == null ? undefined : json['unitPrice'],
38
+ 'currency': json['currency'] == null ? undefined : json['currency'],
39
+ 'count': json['count'] == null ? undefined : json['count'],
40
+ };
41
+ }
42
+ function ProductUsageDtoToJSON(value) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'timestamp': value['timestamp'],
48
+ 'productName': value['productName'],
49
+ 'productId': value['productId'],
50
+ 'unitPrice': value['unitPrice'],
51
+ 'currency': value['currency'],
52
+ 'count': value['count'],
53
+ };
54
+ }
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Quantum Hub Platform API
3
+ * Part of the OpenAPI specification for the Quantum Hub 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 type { ServiceSource } from './ServiceSource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RegistrySource
17
+ */
18
+ export interface RegistrySource extends ServiceSource {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof RegistrySource
23
+ */
24
+ image: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof RegistrySource
29
+ */
30
+ tag?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof RegistrySource
35
+ * @deprecated
36
+ */
37
+ username?: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof RegistrySource
42
+ * @deprecated
43
+ */
44
+ password?: string;
45
+ }
46
+ /**
47
+ * Check if a given object implements the RegistrySource interface.
48
+ */
49
+ export declare function instanceOfRegistrySource(value: object): value is RegistrySource;
50
+ export declare function RegistrySourceFromJSON(json: any): RegistrySource;
51
+ export declare function RegistrySourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegistrySource;
52
+ export declare function RegistrySourceToJSON(value?: RegistrySource | null): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Quantum Hub Platform API
6
+ * Part of the OpenAPI specification for the Quantum Hub 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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfRegistrySource = instanceOfRegistrySource;
17
+ exports.RegistrySourceFromJSON = RegistrySourceFromJSON;
18
+ exports.RegistrySourceFromJSONTyped = RegistrySourceFromJSONTyped;
19
+ exports.RegistrySourceToJSON = RegistrySourceToJSON;
20
+ const ServiceSource_1 = require("./ServiceSource");
21
+ /**
22
+ * Check if a given object implements the RegistrySource interface.
23
+ */
24
+ function instanceOfRegistrySource(value) {
25
+ if (!('image' in value) || value['image'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function RegistrySourceFromJSON(json) {
30
+ return RegistrySourceFromJSONTyped(json, false);
31
+ }
32
+ function RegistrySourceFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ ...(0, ServiceSource_1.ServiceSourceFromJSONTyped)(json, ignoreDiscriminator),
38
+ 'image': json['image'],
39
+ 'tag': json['tag'] == null ? undefined : json['tag'],
40
+ 'username': json['username'] == null ? undefined : json['username'],
41
+ 'password': json['password'] == null ? undefined : json['password'],
42
+ };
43
+ }
44
+ function RegistrySourceToJSON(value) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ ...(0, ServiceSource_1.ServiceSourceToJSON)(value),
50
+ 'image': value['image'],
51
+ 'tag': value['tag'],
52
+ 'username': value['username'],
53
+ 'password': value['password'],
54
+ };
55
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Quantum Hub Platform API
3
+ * Part of the OpenAPI specification for the Quantum Hub 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 type { ServiceSource } from './ServiceSource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RepositorySource
17
+ */
18
+ export interface RepositorySource extends ServiceSource {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof RepositorySource
23
+ */
24
+ fullPath?: string;
25
+ }
26
+ /**
27
+ * Check if a given object implements the RepositorySource interface.
28
+ */
29
+ export declare function instanceOfRepositorySource(value: object): value is RepositorySource;
30
+ export declare function RepositorySourceFromJSON(json: any): RepositorySource;
31
+ export declare function RepositorySourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepositorySource;
32
+ export declare function RepositorySourceToJSON(value?: RepositorySource | null): any;