@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,166 @@
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 { ReviewDto } from './ReviewDto';
13
+ import type { OwnerDto } from './OwnerDto';
14
+ import type { TaxonomyElement } from './TaxonomyElement';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface DataPoolDto
19
+ */
20
+ export interface DataPoolDto {
21
+ /**
22
+ * The access permission role for this entity of the current user
23
+ * @type {string}
24
+ * @memberof DataPoolDto
25
+ */
26
+ readonly currentUserPermission?: DataPoolDtoCurrentUserPermissionEnum;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof DataPoolDto
31
+ */
32
+ id: string;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof DataPoolDto
37
+ */
38
+ name: string;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof DataPoolDto
43
+ */
44
+ shortDescription?: string;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof DataPoolDto
49
+ */
50
+ description?: string;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof DataPoolDto
55
+ */
56
+ metadata?: string;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof DataPoolDto
61
+ */
62
+ createdBy?: string;
63
+ /**
64
+ *
65
+ * @type {Date}
66
+ * @memberof DataPoolDto
67
+ */
68
+ createdAt?: Date;
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof DataPoolDto
73
+ */
74
+ modifiedBy?: string;
75
+ /**
76
+ *
77
+ * @type {boolean}
78
+ * @memberof DataPoolDto
79
+ */
80
+ labelled?: boolean;
81
+ /**
82
+ *
83
+ * @type {Date}
84
+ * @memberof DataPoolDto
85
+ */
86
+ modifiedAt?: Date;
87
+ /**
88
+ *
89
+ * @type {string}
90
+ * @memberof DataPoolDto
91
+ */
92
+ entityMaturity?: DataPoolDtoEntityMaturityEnum;
93
+ /**
94
+ *
95
+ * @type {Set<TaxonomyElement>}
96
+ * @memberof DataPoolDto
97
+ */
98
+ licenses?: Set<TaxonomyElement>;
99
+ /**
100
+ *
101
+ * @type {Set<TaxonomyElement>}
102
+ * @memberof DataPoolDto
103
+ */
104
+ formats?: Set<TaxonomyElement>;
105
+ /**
106
+ *
107
+ * @type {Set<TaxonomyElement>}
108
+ * @memberof DataPoolDto
109
+ */
110
+ problemTypes?: Set<TaxonomyElement>;
111
+ /**
112
+ *
113
+ * @type {Set<TaxonomyElement>}
114
+ * @memberof DataPoolDto
115
+ */
116
+ industries?: Set<TaxonomyElement>;
117
+ /**
118
+ *
119
+ * @type {Set<ReviewDto>}
120
+ * @memberof DataPoolDto
121
+ */
122
+ reviews?: Set<ReviewDto>;
123
+ /**
124
+ *
125
+ * @type {Array<OwnerDto>}
126
+ * @memberof DataPoolDto
127
+ */
128
+ owners?: Array<OwnerDto>;
129
+ /**
130
+ *
131
+ * @type {boolean}
132
+ * @memberof DataPoolDto
133
+ */
134
+ bookmarked?: boolean;
135
+ /**
136
+ *
137
+ * @type {boolean}
138
+ * @memberof DataPoolDto
139
+ */
140
+ _public?: boolean;
141
+ }
142
+ /**
143
+ * @export
144
+ */
145
+ export declare const DataPoolDtoCurrentUserPermissionEnum: {
146
+ readonly Viewer: "VIEWER";
147
+ readonly Maintainer: "MAINTAINER";
148
+ readonly Owner: "OWNER";
149
+ };
150
+ export type DataPoolDtoCurrentUserPermissionEnum = typeof DataPoolDtoCurrentUserPermissionEnum[keyof typeof DataPoolDtoCurrentUserPermissionEnum];
151
+ /**
152
+ * @export
153
+ */
154
+ export declare const DataPoolDtoEntityMaturityEnum: {
155
+ readonly Initial: "INITIAL";
156
+ readonly UnderReview: "UNDER_REVIEW";
157
+ readonly Approved: "APPROVED";
158
+ };
159
+ export type DataPoolDtoEntityMaturityEnum = typeof DataPoolDtoEntityMaturityEnum[keyof typeof DataPoolDtoEntityMaturityEnum];
160
+ /**
161
+ * Check if a given object implements the DataPoolDto interface.
162
+ */
163
+ export declare function instanceOfDataPoolDto(value: object): value is DataPoolDto;
164
+ export declare function DataPoolDtoFromJSON(json: any): DataPoolDto;
165
+ export declare function DataPoolDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataPoolDto;
166
+ export declare function DataPoolDtoToJSON(value?: Omit<DataPoolDto, 'currentUserPermission'> | null): any;
@@ -0,0 +1,105 @@
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.DataPoolDtoEntityMaturityEnum = exports.DataPoolDtoCurrentUserPermissionEnum = void 0;
17
+ exports.instanceOfDataPoolDto = instanceOfDataPoolDto;
18
+ exports.DataPoolDtoFromJSON = DataPoolDtoFromJSON;
19
+ exports.DataPoolDtoFromJSONTyped = DataPoolDtoFromJSONTyped;
20
+ exports.DataPoolDtoToJSON = DataPoolDtoToJSON;
21
+ const ReviewDto_1 = require("./ReviewDto");
22
+ const OwnerDto_1 = require("./OwnerDto");
23
+ const TaxonomyElement_1 = require("./TaxonomyElement");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.DataPoolDtoCurrentUserPermissionEnum = {
28
+ Viewer: 'VIEWER',
29
+ Maintainer: 'MAINTAINER',
30
+ Owner: 'OWNER'
31
+ };
32
+ /**
33
+ * @export
34
+ */
35
+ exports.DataPoolDtoEntityMaturityEnum = {
36
+ Initial: 'INITIAL',
37
+ UnderReview: 'UNDER_REVIEW',
38
+ Approved: 'APPROVED'
39
+ };
40
+ /**
41
+ * Check if a given object implements the DataPoolDto interface.
42
+ */
43
+ function instanceOfDataPoolDto(value) {
44
+ if (!('id' in value) || value['id'] === undefined)
45
+ return false;
46
+ if (!('name' in value) || value['name'] === undefined)
47
+ return false;
48
+ return true;
49
+ }
50
+ function DataPoolDtoFromJSON(json) {
51
+ return DataPoolDtoFromJSONTyped(json, false);
52
+ }
53
+ function DataPoolDtoFromJSONTyped(json, ignoreDiscriminator) {
54
+ if (json == null) {
55
+ return json;
56
+ }
57
+ return {
58
+ 'currentUserPermission': json['currentUserPermission'] == null ? undefined : json['currentUserPermission'],
59
+ 'id': json['id'],
60
+ 'name': json['name'],
61
+ 'shortDescription': json['shortDescription'] == null ? undefined : json['shortDescription'],
62
+ 'description': json['description'] == null ? undefined : json['description'],
63
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
64
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
65
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
66
+ 'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
67
+ 'labelled': json['labelled'] == null ? undefined : json['labelled'],
68
+ 'modifiedAt': json['modifiedAt'] == null ? undefined : (new Date(json['modifiedAt'])),
69
+ 'entityMaturity': json['entityMaturity'] == null ? undefined : json['entityMaturity'],
70
+ 'licenses': json['licenses'] == null ? undefined : (new Set(json['licenses'].map(TaxonomyElement_1.TaxonomyElementFromJSON))),
71
+ 'formats': json['formats'] == null ? undefined : (new Set(json['formats'].map(TaxonomyElement_1.TaxonomyElementFromJSON))),
72
+ 'problemTypes': json['problemTypes'] == null ? undefined : (new Set(json['problemTypes'].map(TaxonomyElement_1.TaxonomyElementFromJSON))),
73
+ 'industries': json['industries'] == null ? undefined : (new Set(json['industries'].map(TaxonomyElement_1.TaxonomyElementFromJSON))),
74
+ 'reviews': json['reviews'] == null ? undefined : (new Set(json['reviews'].map(ReviewDto_1.ReviewDtoFromJSON))),
75
+ 'owners': json['owners'] == null ? undefined : (json['owners'].map(OwnerDto_1.OwnerDtoFromJSON)),
76
+ 'bookmarked': json['bookmarked'] == null ? undefined : json['bookmarked'],
77
+ '_public': json['public'] == null ? undefined : json['public'],
78
+ };
79
+ }
80
+ function DataPoolDtoToJSON(value) {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+ return {
85
+ 'id': value['id'],
86
+ 'name': value['name'],
87
+ 'shortDescription': value['shortDescription'],
88
+ 'description': value['description'],
89
+ 'metadata': value['metadata'],
90
+ 'createdBy': value['createdBy'],
91
+ 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
92
+ 'modifiedBy': value['modifiedBy'],
93
+ 'labelled': value['labelled'],
94
+ 'modifiedAt': value['modifiedAt'] == null ? undefined : ((value['modifiedAt']).toISOString()),
95
+ 'entityMaturity': value['entityMaturity'],
96
+ 'licenses': value['licenses'] == null ? undefined : (Array.from(value['licenses']).map(TaxonomyElement_1.TaxonomyElementToJSON)),
97
+ 'formats': value['formats'] == null ? undefined : (Array.from(value['formats']).map(TaxonomyElement_1.TaxonomyElementToJSON)),
98
+ 'problemTypes': value['problemTypes'] == null ? undefined : (Array.from(value['problemTypes']).map(TaxonomyElement_1.TaxonomyElementToJSON)),
99
+ 'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(TaxonomyElement_1.TaxonomyElementToJSON)),
100
+ 'reviews': value['reviews'] == null ? undefined : (Array.from(value['reviews']).map(ReviewDto_1.ReviewDtoToJSON)),
101
+ 'owners': value['owners'] == null ? undefined : (value['owners'].map(OwnerDto_1.OwnerDtoToJSON)),
102
+ 'bookmarked': value['bookmarked'],
103
+ 'public': value['_public'],
104
+ };
105
+ }
@@ -0,0 +1,43 @@
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 DataPoolRef
16
+ */
17
+ export interface DataPoolRef {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DataPoolRef
22
+ */
23
+ dataPoolId?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DataPoolRef
28
+ */
29
+ dataSourceDescriptorId?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof DataPoolRef
34
+ */
35
+ fileId?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the DataPoolRef interface.
39
+ */
40
+ export declare function instanceOfDataPoolRef(value: object): value is DataPoolRef;
41
+ export declare function DataPoolRefFromJSON(json: any): DataPoolRef;
42
+ export declare function DataPoolRefFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataPoolRef;
43
+ export declare function DataPoolRefToJSON(value?: DataPoolRef | null): any;
@@ -0,0 +1,48 @@
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.instanceOfDataPoolRef = instanceOfDataPoolRef;
17
+ exports.DataPoolRefFromJSON = DataPoolRefFromJSON;
18
+ exports.DataPoolRefFromJSONTyped = DataPoolRefFromJSONTyped;
19
+ exports.DataPoolRefToJSON = DataPoolRefToJSON;
20
+ /**
21
+ * Check if a given object implements the DataPoolRef interface.
22
+ */
23
+ function instanceOfDataPoolRef(value) {
24
+ return true;
25
+ }
26
+ function DataPoolRefFromJSON(json) {
27
+ return DataPoolRefFromJSONTyped(json, false);
28
+ }
29
+ function DataPoolRefFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'dataPoolId': json['dataPoolId'] == null ? undefined : json['dataPoolId'],
35
+ 'dataSourceDescriptorId': json['dataSourceDescriptorId'] == null ? undefined : json['dataSourceDescriptorId'],
36
+ 'fileId': json['fileId'] == null ? undefined : json['fileId'],
37
+ };
38
+ }
39
+ function DataPoolRefToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'dataPoolId': value['dataPoolId'],
45
+ 'dataSourceDescriptorId': value['dataSourceDescriptorId'],
46
+ 'fileId': value['fileId'],
47
+ };
48
+ }
@@ -0,0 +1,89 @@
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 { FileDto } from './FileDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DataSourceDescriptorDto
17
+ */
18
+ export interface DataSourceDescriptorDto {
19
+ /**
20
+ * The access permission role for this entity of the current user
21
+ * @type {string}
22
+ * @memberof DataSourceDescriptorDto
23
+ */
24
+ readonly currentUserPermission?: DataSourceDescriptorDtoCurrentUserPermissionEnum;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof DataSourceDescriptorDto
29
+ */
30
+ id?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof DataSourceDescriptorDto
35
+ */
36
+ name?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof DataSourceDescriptorDto
41
+ */
42
+ description?: string;
43
+ /**
44
+ *
45
+ * @type {Set<FileDto>}
46
+ * @memberof DataSourceDescriptorDto
47
+ */
48
+ files?: Set<FileDto>;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof DataSourceDescriptorDto
53
+ */
54
+ createdBy?: string;
55
+ /**
56
+ *
57
+ * @type {Date}
58
+ * @memberof DataSourceDescriptorDto
59
+ */
60
+ createdAt?: Date;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof DataSourceDescriptorDto
65
+ */
66
+ modifiedBy?: string;
67
+ /**
68
+ *
69
+ * @type {Date}
70
+ * @memberof DataSourceDescriptorDto
71
+ */
72
+ modifiedAt?: Date;
73
+ }
74
+ /**
75
+ * @export
76
+ */
77
+ export declare const DataSourceDescriptorDtoCurrentUserPermissionEnum: {
78
+ readonly Viewer: "VIEWER";
79
+ readonly Maintainer: "MAINTAINER";
80
+ readonly Owner: "OWNER";
81
+ };
82
+ export type DataSourceDescriptorDtoCurrentUserPermissionEnum = typeof DataSourceDescriptorDtoCurrentUserPermissionEnum[keyof typeof DataSourceDescriptorDtoCurrentUserPermissionEnum];
83
+ /**
84
+ * Check if a given object implements the DataSourceDescriptorDto interface.
85
+ */
86
+ export declare function instanceOfDataSourceDescriptorDto(value: object): value is DataSourceDescriptorDto;
87
+ export declare function DataSourceDescriptorDtoFromJSON(json: any): DataSourceDescriptorDto;
88
+ export declare function DataSourceDescriptorDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataSourceDescriptorDto;
89
+ export declare function DataSourceDescriptorDtoToJSON(value?: Omit<DataSourceDescriptorDto, 'currentUserPermission'> | null): any;
@@ -0,0 +1,69 @@
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.DataSourceDescriptorDtoCurrentUserPermissionEnum = void 0;
17
+ exports.instanceOfDataSourceDescriptorDto = instanceOfDataSourceDescriptorDto;
18
+ exports.DataSourceDescriptorDtoFromJSON = DataSourceDescriptorDtoFromJSON;
19
+ exports.DataSourceDescriptorDtoFromJSONTyped = DataSourceDescriptorDtoFromJSONTyped;
20
+ exports.DataSourceDescriptorDtoToJSON = DataSourceDescriptorDtoToJSON;
21
+ const FileDto_1 = require("./FileDto");
22
+ /**
23
+ * @export
24
+ */
25
+ exports.DataSourceDescriptorDtoCurrentUserPermissionEnum = {
26
+ Viewer: 'VIEWER',
27
+ Maintainer: 'MAINTAINER',
28
+ Owner: 'OWNER'
29
+ };
30
+ /**
31
+ * Check if a given object implements the DataSourceDescriptorDto interface.
32
+ */
33
+ function instanceOfDataSourceDescriptorDto(value) {
34
+ return true;
35
+ }
36
+ function DataSourceDescriptorDtoFromJSON(json) {
37
+ return DataSourceDescriptorDtoFromJSONTyped(json, false);
38
+ }
39
+ function DataSourceDescriptorDtoFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'currentUserPermission': json['currentUserPermission'] == null ? undefined : json['currentUserPermission'],
45
+ 'id': json['id'] == null ? undefined : json['id'],
46
+ 'name': json['name'] == null ? undefined : json['name'],
47
+ 'description': json['description'] == null ? undefined : json['description'],
48
+ 'files': json['files'] == null ? undefined : (new Set(json['files'].map(FileDto_1.FileDtoFromJSON))),
49
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
50
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
51
+ 'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
52
+ 'modifiedAt': json['modifiedAt'] == null ? undefined : (new Date(json['modifiedAt'])),
53
+ };
54
+ }
55
+ function DataSourceDescriptorDtoToJSON(value) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'id': value['id'],
61
+ 'name': value['name'],
62
+ 'description': value['description'],
63
+ 'files': value['files'] == null ? undefined : (Array.from(value['files']).map(FileDto_1.FileDtoToJSON)),
64
+ 'createdBy': value['createdBy'],
65
+ 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
66
+ 'modifiedBy': value['modifiedBy'],
67
+ 'modifiedAt': value['modifiedAt'] == null ? undefined : ((value['modifiedAt']).toISOString()),
68
+ };
69
+ }
@@ -0,0 +1,73 @@
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 FileDto
16
+ */
17
+ export interface FileDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FileDto
22
+ */
23
+ readonly id?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof FileDto
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof FileDto
34
+ */
35
+ readonly mimeType?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof FileDto
40
+ */
41
+ readonly fileUrl?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof FileDto
46
+ */
47
+ readonly createdBy?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof FileDto
52
+ */
53
+ readonly createdAt?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof FileDto
58
+ */
59
+ readonly modifiedBy?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof FileDto
64
+ */
65
+ readonly modifiedAt?: string;
66
+ }
67
+ /**
68
+ * Check if a given object implements the FileDto interface.
69
+ */
70
+ export declare function instanceOfFileDto(value: object): value is FileDto;
71
+ export declare function FileDtoFromJSON(json: any): FileDto;
72
+ export declare function FileDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileDto;
73
+ export declare function FileDtoToJSON(value?: Omit<FileDto, 'id' | 'mimeType' | 'fileUrl' | 'createdBy' | 'createdAt' | 'modifiedBy' | 'modifiedAt'> | null): any;
@@ -0,0 +1,51 @@
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.instanceOfFileDto = instanceOfFileDto;
17
+ exports.FileDtoFromJSON = FileDtoFromJSON;
18
+ exports.FileDtoFromJSONTyped = FileDtoFromJSONTyped;
19
+ exports.FileDtoToJSON = FileDtoToJSON;
20
+ /**
21
+ * Check if a given object implements the FileDto interface.
22
+ */
23
+ function instanceOfFileDto(value) {
24
+ return true;
25
+ }
26
+ function FileDtoFromJSON(json) {
27
+ return FileDtoFromJSONTyped(json, false);
28
+ }
29
+ function FileDtoFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'id': json['id'] == null ? undefined : json['id'],
35
+ 'name': json['name'] == null ? undefined : json['name'],
36
+ 'mimeType': json['mimeType'] == null ? undefined : json['mimeType'],
37
+ 'fileUrl': json['fileUrl'] == null ? undefined : json['fileUrl'],
38
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
39
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
40
+ 'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
41
+ 'modifiedAt': json['modifiedAt'] == null ? undefined : json['modifiedAt'],
42
+ };
43
+ }
44
+ function FileDtoToJSON(value) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'name': value['name'],
50
+ };
51
+ }
@@ -0,0 +1,26 @@
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 FileSource
17
+ */
18
+ export interface FileSource extends ServiceSource {
19
+ }
20
+ /**
21
+ * Check if a given object implements the FileSource interface.
22
+ */
23
+ export declare function instanceOfFileSource(value: object): value is FileSource;
24
+ export declare function FileSourceFromJSON(json: any): FileSource;
25
+ export declare function FileSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileSource;
26
+ export declare function FileSourceToJSON(value?: FileSource | null): any;