@quantum-hub/qhubctl 1.1.1 → 1.1.3

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 (211) hide show
  1. package/README.md +1 -1
  2. package/bin/dev.js +3 -1
  3. package/bin/run.js +1 -1
  4. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.d.ts +2 -2
  5. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.js +9 -46
  6. package/dist/client/kqh/apis/ServicePlatformDashboardApi.d.ts +2 -2
  7. package/dist/client/kqh/apis/ServicePlatformDashboardApi.js +5 -42
  8. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.d.ts +2 -2
  9. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.js +11 -48
  10. package/dist/client/kqh/apis/ServicePlatformJobsApi.d.ts +2 -2
  11. package/dist/client/kqh/apis/ServicePlatformJobsApi.js +9 -46
  12. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.d.ts +2 -2
  13. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.js +5 -42
  14. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.d.ts +2 -2
  15. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.js +5 -42
  16. package/dist/client/kqh/apis/ServicePlatformServicesApi.d.ts +2 -2
  17. package/dist/client/kqh/apis/ServicePlatformServicesApi.js +34 -71
  18. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.d.ts +2 -2
  19. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.js +7 -44
  20. package/dist/client/kqh/apis/TaxonomiesApi.d.ts +2 -2
  21. package/dist/client/kqh/apis/TaxonomiesApi.js +12 -49
  22. package/dist/client/kqh/apis/index.d.ts +9 -9
  23. package/dist/client/kqh/apis/index.js +9 -25
  24. package/dist/client/kqh/index.d.ts +3 -3
  25. package/dist/client/kqh/index.js +3 -19
  26. package/dist/client/kqh/models/AccessTokenDto.js +5 -12
  27. package/dist/client/kqh/models/AmountMajorDto.js +4 -10
  28. package/dist/client/kqh/models/ApiDto.d.ts +2 -2
  29. package/dist/client/kqh/models/ApiDto.js +13 -20
  30. package/dist/client/kqh/models/ApiOverviewDto.d.ts +1 -1
  31. package/dist/client/kqh/models/ApiOverviewDto.js +10 -17
  32. package/dist/client/kqh/models/ApplicationDto.js +5 -12
  33. package/dist/client/kqh/models/BuildJobDto.d.ts +1 -1
  34. package/dist/client/kqh/models/BuildJobDto.js +9 -16
  35. package/dist/client/kqh/models/CpuConfiguration.d.ts +1 -1
  36. package/dist/client/kqh/models/CpuConfiguration.js +7 -13
  37. package/dist/client/kqh/models/CreateApplicationRequest.js +4 -10
  38. package/dist/client/kqh/models/CreateDataPoolRequest.js +4 -10
  39. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.d.ts +1 -1
  40. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.js +8 -15
  41. package/dist/client/kqh/models/CreateJobRequest.d.ts +1 -1
  42. package/dist/client/kqh/models/CreateJobRequest.js +9 -15
  43. package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.js +6 -13
  44. package/dist/client/kqh/models/CreateProductRequest.js +4 -10
  45. package/dist/client/kqh/models/CreateSubscriptionRequest.js +4 -10
  46. package/dist/client/kqh/models/CreateWorkflowServiceRequest.js +4 -10
  47. package/dist/client/kqh/models/DataPoolDto.d.ts +3 -3
  48. package/dist/client/kqh/models/DataPoolDto.js +21 -28
  49. package/dist/client/kqh/models/DataPoolRef.js +4 -10
  50. package/dist/client/kqh/models/DataSourceDescriptorDto.d.ts +1 -1
  51. package/dist/client/kqh/models/DataSourceDescriptorDto.js +8 -15
  52. package/dist/client/kqh/models/FileDto.js +4 -10
  53. package/dist/client/kqh/models/FileSource.d.ts +1 -1
  54. package/dist/client/kqh/models/FileSource.js +4 -10
  55. package/dist/client/kqh/models/GpuConfiguration.d.ts +1 -1
  56. package/dist/client/kqh/models/GpuConfiguration.js +8 -15
  57. package/dist/client/kqh/models/JobDto.d.ts +2 -2
  58. package/dist/client/kqh/models/JobDto.js +13 -20
  59. package/dist/client/kqh/models/JobOverviewDto.d.ts +1 -1
  60. package/dist/client/kqh/models/JobOverviewDto.js +8 -15
  61. package/dist/client/kqh/models/MemoryConfiguration.d.ts +1 -1
  62. package/dist/client/kqh/models/MemoryConfiguration.js +7 -13
  63. package/dist/client/kqh/models/MeteringRequest.js +4 -10
  64. package/dist/client/kqh/models/MeteringResponse.js +4 -10
  65. package/dist/client/kqh/models/MonthAmountDto.d.ts +2 -2
  66. package/dist/client/kqh/models/MonthAmountDto.js +10 -16
  67. package/dist/client/kqh/models/OwnerDto.js +4 -10
  68. package/dist/client/kqh/models/PageDataPoolDto.d.ts +3 -3
  69. package/dist/client/kqh/models/PageDataPoolDto.js +13 -19
  70. package/dist/client/kqh/models/PageableObject.d.ts +1 -1
  71. package/dist/client/kqh/models/PageableObject.js +7 -13
  72. package/dist/client/kqh/models/PricingPlanDto.d.ts +1 -1
  73. package/dist/client/kqh/models/PricingPlanDto.js +8 -15
  74. package/dist/client/kqh/models/ProductAmountDto.d.ts +1 -1
  75. package/dist/client/kqh/models/ProductAmountDto.js +7 -13
  76. package/dist/client/kqh/models/ProductDto.js +5 -12
  77. package/dist/client/kqh/models/ProductGroupDto.d.ts +2 -2
  78. package/dist/client/kqh/models/ProductGroupDto.js +10 -16
  79. package/dist/client/kqh/models/ProductUsageDto.js +4 -10
  80. package/dist/client/kqh/models/RegistrySource.d.ts +1 -1
  81. package/dist/client/kqh/models/RegistrySource.js +7 -13
  82. package/dist/client/kqh/models/RepositorySource.d.ts +1 -1
  83. package/dist/client/kqh/models/RepositorySource.js +7 -13
  84. package/dist/client/kqh/models/ResourceConfiguration.js +10 -16
  85. package/dist/client/kqh/models/ReviewDto.js +5 -12
  86. package/dist/client/kqh/models/RuntimeConfiguration.js +5 -12
  87. package/dist/client/kqh/models/ServiceDefinitionCommand.js +5 -12
  88. package/dist/client/kqh/models/ServiceDefinitionDto.d.ts +5 -5
  89. package/dist/client/kqh/models/ServiceDefinitionDto.js +21 -28
  90. package/dist/client/kqh/models/ServiceDefinitionDtoSource.d.ts +3 -3
  91. package/dist/client/kqh/models/ServiceDefinitionDtoSource.js +18 -23
  92. package/dist/client/kqh/models/ServiceDefinitionOverviewDto.js +6 -13
  93. package/dist/client/kqh/models/ServiceDto.d.ts +1 -1
  94. package/dist/client/kqh/models/ServiceDto.js +8 -15
  95. package/dist/client/kqh/models/ServiceExecutionConsumerDto.js +5 -12
  96. package/dist/client/kqh/models/ServiceExecutionDto.js +4 -10
  97. package/dist/client/kqh/models/ServiceOverviewDto.js +8 -15
  98. package/dist/client/kqh/models/ServiceSource.js +10 -16
  99. package/dist/client/kqh/models/SortObject.js +4 -10
  100. package/dist/client/kqh/models/SubscriptionDto.d.ts +3 -3
  101. package/dist/client/kqh/models/SubscriptionDto.js +13 -19
  102. package/dist/client/kqh/models/TaxonomyElement.js +4 -10
  103. package/dist/client/kqh/models/UpdateDataPoolRequest.js +4 -10
  104. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.d.ts +3 -3
  105. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.js +18 -23
  106. package/dist/client/kqh/models/UpdateVersionRequest.d.ts +1 -1
  107. package/dist/client/kqh/models/UpdateVersionRequest.js +7 -13
  108. package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +4 -10
  109. package/dist/client/kqh/models/ValidationResult.js +5 -12
  110. package/dist/client/kqh/models/index.d.ts +57 -57
  111. package/dist/client/kqh/models/index.js +57 -73
  112. package/dist/client/kqh/runtime.js +17 -32
  113. package/dist/client/users/apis/AuthenticationApi.d.ts +2 -2
  114. package/dist/client/users/apis/AuthenticationApi.js +4 -41
  115. package/dist/client/users/apis/ExpertsApi.d.ts +2 -2
  116. package/dist/client/users/apis/ExpertsApi.js +5 -42
  117. package/dist/client/users/apis/SearchApi.d.ts +2 -2
  118. package/dist/client/users/apis/SearchApi.js +5 -42
  119. package/dist/client/users/apis/UserSettingsApi.d.ts +2 -2
  120. package/dist/client/users/apis/UserSettingsApi.js +11 -48
  121. package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.d.ts +2 -2
  122. package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.js +7 -44
  123. package/dist/client/users/apis/UsersApi.d.ts +2 -2
  124. package/dist/client/users/apis/UsersApi.js +4 -41
  125. package/dist/client/users/apis/index.d.ts +6 -6
  126. package/dist/client/users/apis/index.js +6 -22
  127. package/dist/client/users/index.d.ts +3 -3
  128. package/dist/client/users/index.js +3 -19
  129. package/dist/client/users/models/AccessTokenCreateRequest.js +5 -12
  130. package/dist/client/users/models/AccessTokenDto.js +5 -12
  131. package/dist/client/users/models/AccessTokensResponse.d.ts +1 -1
  132. package/dist/client/users/models/AccessTokensResponse.js +7 -13
  133. package/dist/client/users/models/DefaultAccessTokenResponse.js +4 -10
  134. package/dist/client/users/models/Language.js +4 -10
  135. package/dist/client/users/models/PageUserDto.d.ts +3 -3
  136. package/dist/client/users/models/PageUserDto.js +13 -19
  137. package/dist/client/users/models/Pageable.js +4 -10
  138. package/dist/client/users/models/PageableObject.d.ts +1 -1
  139. package/dist/client/users/models/PageableObject.js +7 -13
  140. package/dist/client/users/models/PersonalAccessTokenPrincipal.d.ts +1 -1
  141. package/dist/client/users/models/PersonalAccessTokenPrincipal.js +7 -13
  142. package/dist/client/users/models/Skill.js +4 -10
  143. package/dist/client/users/models/SortObject.js +4 -10
  144. package/dist/client/users/models/UpdateUserRequest.js +4 -10
  145. package/dist/client/users/models/UserDto.d.ts +2 -2
  146. package/dist/client/users/models/UserDto.js +10 -16
  147. package/dist/client/users/models/UserOverviewDto.js +4 -10
  148. package/dist/client/users/models/index.d.ts +14 -14
  149. package/dist/client/users/models/index.js +14 -30
  150. package/dist/client/users/runtime.js +17 -32
  151. package/dist/commands/compress/index.d.ts +1 -1
  152. package/dist/commands/compress/index.js +13 -19
  153. package/dist/commands/datapool/upload.d.ts +4 -4
  154. package/dist/commands/datapool/upload.js +24 -30
  155. package/dist/commands/get-context/index.d.ts +1 -1
  156. package/dist/commands/get-context/index.js +2 -5
  157. package/dist/commands/init/index.d.ts +3 -3
  158. package/dist/commands/init/index.js +30 -36
  159. package/dist/commands/list-contexts/index.d.ts +2 -2
  160. package/dist/commands/list-contexts/index.js +11 -17
  161. package/dist/commands/login/index.d.ts +3 -3
  162. package/dist/commands/login/index.js +16 -22
  163. package/dist/commands/logout/index.d.ts +1 -1
  164. package/dist/commands/logout/index.js +7 -10
  165. package/dist/commands/openapi/index.d.ts +7 -7
  166. package/dist/commands/openapi/index.js +81 -87
  167. package/dist/commands/run/index.d.ts +6 -6
  168. package/dist/commands/run/index.js +43 -48
  169. package/dist/commands/serve/index.d.ts +3 -3
  170. package/dist/commands/serve/index.js +31 -37
  171. package/dist/commands/services/index.d.ts +5 -5
  172. package/dist/commands/services/index.js +17 -23
  173. package/dist/commands/set-context/index.d.ts +4 -4
  174. package/dist/commands/set-context/index.js +13 -19
  175. package/dist/commands/up/index.d.ts +5 -5
  176. package/dist/commands/up/index.js +51 -57
  177. package/dist/index.js +1 -4
  178. package/dist/lib/command.js +5 -10
  179. package/dist/lib/debug.js +1 -5
  180. package/dist/lib/entrypoint-resolver.js +3 -7
  181. package/dist/lib/error.js +8 -12
  182. package/dist/lib/fetch.js +4 -10
  183. package/dist/lib/init-user-input.d.ts +1 -1
  184. package/dist/lib/init-user-input.js +16 -20
  185. package/dist/lib/random-name.js +1 -5
  186. package/dist/lib/random-string.js +1 -5
  187. package/dist/lib/repository.js +9 -17
  188. package/dist/lib/stream-to-blob.d.ts +1 -1
  189. package/dist/lib/stream-to-blob.js +1 -5
  190. package/dist/lib/up/get-description.js +9 -15
  191. package/dist/lib/up/ignore.js +9 -15
  192. package/dist/lib/up/zip.js +18 -24
  193. package/dist/model/account.js +1 -2
  194. package/dist/model/command.d.ts +2 -2
  195. package/dist/model/command.js +11 -19
  196. package/dist/model/managed-service-config.js +4 -7
  197. package/dist/model/user-config.js +3 -6
  198. package/dist/service/auth-service.d.ts +3 -3
  199. package/dist/service/auth-service.js +8 -14
  200. package/dist/service/command-service.d.ts +2 -2
  201. package/dist/service/command-service.js +1 -5
  202. package/dist/service/quantum-hub-service.d.ts +10 -10
  203. package/dist/service/quantum-hub-service.js +21 -24
  204. package/dist/service/service-config-service.d.ts +1 -1
  205. package/dist/service/service-config-service.js +14 -21
  206. package/dist/service/user-config-service.d.ts +1 -1
  207. package/dist/service/user-config-service.js +14 -21
  208. package/dist/service/user-service.d.ts +2 -2
  209. package/dist/service/user-service.js +8 -11
  210. package/oclif.manifest.json +170 -170
  211. package/package.json +4 -2
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,21 +11,16 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfSkill = instanceOfSkill;
17
- exports.SkillFromJSON = SkillFromJSON;
18
- exports.SkillFromJSONTyped = SkillFromJSONTyped;
19
- exports.SkillToJSON = SkillToJSON;
20
14
  /**
21
15
  * Check if a given object implements the Skill interface.
22
16
  */
23
- function instanceOfSkill(value) {
17
+ export function instanceOfSkill(value) {
24
18
  return true;
25
19
  }
26
- function SkillFromJSON(json) {
20
+ export function SkillFromJSON(json) {
27
21
  return SkillFromJSONTyped(json, false);
28
22
  }
29
- function SkillFromJSONTyped(json, ignoreDiscriminator) {
23
+ export function SkillFromJSONTyped(json, ignoreDiscriminator) {
30
24
  if (json == null) {
31
25
  return json;
32
26
  }
@@ -34,7 +28,7 @@ function SkillFromJSONTyped(json, ignoreDiscriminator) {
34
28
  'name': json['name'] == null ? undefined : json['name'],
35
29
  };
36
30
  }
37
- function SkillToJSON(value) {
31
+ export function SkillToJSON(value) {
38
32
  if (value == null) {
39
33
  return value;
40
34
  }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,21 +11,16 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfSortObject = instanceOfSortObject;
17
- exports.SortObjectFromJSON = SortObjectFromJSON;
18
- exports.SortObjectFromJSONTyped = SortObjectFromJSONTyped;
19
- exports.SortObjectToJSON = SortObjectToJSON;
20
14
  /**
21
15
  * Check if a given object implements the SortObject interface.
22
16
  */
23
- function instanceOfSortObject(value) {
17
+ export function instanceOfSortObject(value) {
24
18
  return true;
25
19
  }
26
- function SortObjectFromJSON(json) {
20
+ export function SortObjectFromJSON(json) {
27
21
  return SortObjectFromJSONTyped(json, false);
28
22
  }
29
- function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
23
+ export function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
30
24
  if (json == null) {
31
25
  return json;
32
26
  }
@@ -36,7 +30,7 @@ function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
36
30
  'unsorted': json['unsorted'] == null ? undefined : json['unsorted'],
37
31
  };
38
32
  }
39
- function SortObjectToJSON(value) {
33
+ export function SortObjectToJSON(value) {
40
34
  if (value == null) {
41
35
  return value;
42
36
  }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,21 +11,16 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfUpdateUserRequest = instanceOfUpdateUserRequest;
17
- exports.UpdateUserRequestFromJSON = UpdateUserRequestFromJSON;
18
- exports.UpdateUserRequestFromJSONTyped = UpdateUserRequestFromJSONTyped;
19
- exports.UpdateUserRequestToJSON = UpdateUserRequestToJSON;
20
14
  /**
21
15
  * Check if a given object implements the UpdateUserRequest interface.
22
16
  */
23
- function instanceOfUpdateUserRequest(value) {
17
+ export function instanceOfUpdateUserRequest(value) {
24
18
  return true;
25
19
  }
26
- function UpdateUserRequestFromJSON(json) {
20
+ export function UpdateUserRequestFromJSON(json) {
27
21
  return UpdateUserRequestFromJSONTyped(json, false);
28
22
  }
29
- function UpdateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
23
+ export function UpdateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
30
24
  if (json == null) {
31
25
  return json;
32
26
  }
@@ -39,7 +33,7 @@ function UpdateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
39
33
  'isEmailPublic': json['isEmailPublic'] == null ? undefined : json['isEmailPublic'],
40
34
  };
41
35
  }
42
- function UpdateUserRequestToJSON(value) {
36
+ export function UpdateUserRequestToJSON(value) {
43
37
  if (value == null) {
44
38
  return value;
45
39
  }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Skill } from './Skill';
13
- import type { Language } from './Language';
12
+ import type { Skill } from './Skill.js';
13
+ import type { Language } from './Language.js';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,23 +11,18 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfUserDto = instanceOfUserDto;
17
- exports.UserDtoFromJSON = UserDtoFromJSON;
18
- exports.UserDtoFromJSONTyped = UserDtoFromJSONTyped;
19
- exports.UserDtoToJSON = UserDtoToJSON;
20
- const Skill_1 = require("./Skill");
21
- const Language_1 = require("./Language");
14
+ import { SkillFromJSON, SkillToJSON, } from './Skill.js';
15
+ import { LanguageFromJSON, LanguageToJSON, } from './Language.js';
22
16
  /**
23
17
  * Check if a given object implements the UserDto interface.
24
18
  */
25
- function instanceOfUserDto(value) {
19
+ export function instanceOfUserDto(value) {
26
20
  return true;
27
21
  }
28
- function UserDtoFromJSON(json) {
22
+ export function UserDtoFromJSON(json) {
29
23
  return UserDtoFromJSONTyped(json, false);
30
24
  }
31
- function UserDtoFromJSONTyped(json, ignoreDiscriminator) {
25
+ export function UserDtoFromJSONTyped(json, ignoreDiscriminator) {
32
26
  if (json == null) {
33
27
  return json;
34
28
  }
@@ -42,14 +36,14 @@ function UserDtoFromJSONTyped(json, ignoreDiscriminator) {
42
36
  'homepage': json['homepage'] == null ? undefined : json['homepage'],
43
37
  'about': json['about'] == null ? undefined : json['about'],
44
38
  'academicTitle': json['academicTitle'] == null ? undefined : json['academicTitle'],
45
- 'languages': json['languages'] == null ? undefined : (new Set(json['languages'].map(Language_1.LanguageFromJSON))),
46
- 'skills': json['skills'] == null ? undefined : (new Set(json['skills'].map(Skill_1.SkillFromJSON))),
39
+ 'languages': json['languages'] == null ? undefined : (new Set(json['languages'].map(LanguageFromJSON))),
40
+ 'skills': json['skills'] == null ? undefined : (new Set(json['skills'].map(SkillFromJSON))),
47
41
  'isExpert': json['isExpert'] == null ? undefined : json['isExpert'],
48
42
  'isEmailPublic': json['isEmailPublic'] == null ? undefined : json['isEmailPublic'],
49
43
  'isReceiveEmails': json['isReceiveEmails'] == null ? undefined : json['isReceiveEmails'],
50
44
  };
51
45
  }
52
- function UserDtoToJSON(value) {
46
+ export function UserDtoToJSON(value) {
53
47
  if (value == null) {
54
48
  return value;
55
49
  }
@@ -63,8 +57,8 @@ function UserDtoToJSON(value) {
63
57
  'homepage': value['homepage'],
64
58
  'about': value['about'],
65
59
  'academicTitle': value['academicTitle'],
66
- 'languages': value['languages'] == null ? undefined : (Array.from(value['languages']).map(Language_1.LanguageToJSON)),
67
- 'skills': value['skills'] == null ? undefined : (Array.from(value['skills']).map(Skill_1.SkillToJSON)),
60
+ 'languages': value['languages'] == null ? undefined : (Array.from(value['languages']).map(LanguageToJSON)),
61
+ 'skills': value['skills'] == null ? undefined : (Array.from(value['skills']).map(SkillToJSON)),
68
62
  'isExpert': value['isExpert'],
69
63
  'isEmailPublic': value['isEmailPublic'],
70
64
  'isReceiveEmails': value['isReceiveEmails'],
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,21 +11,16 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfUserOverviewDto = instanceOfUserOverviewDto;
17
- exports.UserOverviewDtoFromJSON = UserOverviewDtoFromJSON;
18
- exports.UserOverviewDtoFromJSONTyped = UserOverviewDtoFromJSONTyped;
19
- exports.UserOverviewDtoToJSON = UserOverviewDtoToJSON;
20
14
  /**
21
15
  * Check if a given object implements the UserOverviewDto interface.
22
16
  */
23
- function instanceOfUserOverviewDto(value) {
17
+ export function instanceOfUserOverviewDto(value) {
24
18
  return true;
25
19
  }
26
- function UserOverviewDtoFromJSON(json) {
20
+ export function UserOverviewDtoFromJSON(json) {
27
21
  return UserOverviewDtoFromJSONTyped(json, false);
28
22
  }
29
- function UserOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
23
+ export function UserOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
30
24
  if (json == null) {
31
25
  return json;
32
26
  }
@@ -40,7 +34,7 @@ function UserOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
40
34
  'isReceiveEmails': json['isReceiveEmails'] == null ? undefined : json['isReceiveEmails'],
41
35
  };
42
36
  }
43
- function UserOverviewDtoToJSON(value) {
37
+ export function UserOverviewDtoToJSON(value) {
44
38
  if (value == null) {
45
39
  return value;
46
40
  }
@@ -1,14 +1,14 @@
1
- export * from './AccessTokenCreateRequest';
2
- export * from './AccessTokenDto';
3
- export * from './AccessTokensResponse';
4
- export * from './DefaultAccessTokenResponse';
5
- export * from './Language';
6
- export * from './PageUserDto';
7
- export * from './Pageable';
8
- export * from './PageableObject';
9
- export * from './PersonalAccessTokenPrincipal';
10
- export * from './Skill';
11
- export * from './SortObject';
12
- export * from './UpdateUserRequest';
13
- export * from './UserDto';
14
- export * from './UserOverviewDto';
1
+ export * from './AccessTokenCreateRequest.js';
2
+ export * from './AccessTokenDto.js';
3
+ export * from './AccessTokensResponse.js';
4
+ export * from './DefaultAccessTokenResponse.js';
5
+ export * from './Language.js';
6
+ export * from './PageUserDto.js';
7
+ export * from './Pageable.js';
8
+ export * from './PageableObject.js';
9
+ export * from './PersonalAccessTokenPrincipal.js';
10
+ export * from './Skill.js';
11
+ export * from './SortObject.js';
12
+ export * from './UpdateUserRequest.js';
13
+ export * from './UserDto.js';
14
+ export * from './UserOverviewDto.js';
@@ -1,32 +1,16 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
1
  /* tslint:disable */
18
2
  /* eslint-disable */
19
- __exportStar(require("./AccessTokenCreateRequest"), exports);
20
- __exportStar(require("./AccessTokenDto"), exports);
21
- __exportStar(require("./AccessTokensResponse"), exports);
22
- __exportStar(require("./DefaultAccessTokenResponse"), exports);
23
- __exportStar(require("./Language"), exports);
24
- __exportStar(require("./PageUserDto"), exports);
25
- __exportStar(require("./Pageable"), exports);
26
- __exportStar(require("./PageableObject"), exports);
27
- __exportStar(require("./PersonalAccessTokenPrincipal"), exports);
28
- __exportStar(require("./Skill"), exports);
29
- __exportStar(require("./SortObject"), exports);
30
- __exportStar(require("./UpdateUserRequest"), exports);
31
- __exportStar(require("./UserDto"), exports);
32
- __exportStar(require("./UserOverviewDto"), exports);
3
+ export * from './AccessTokenCreateRequest.js';
4
+ export * from './AccessTokenDto.js';
5
+ export * from './AccessTokensResponse.js';
6
+ export * from './DefaultAccessTokenResponse.js';
7
+ export * from './Language.js';
8
+ export * from './PageUserDto.js';
9
+ export * from './Pageable.js';
10
+ export * from './PageableObject.js';
11
+ export * from './PersonalAccessTokenPrincipal.js';
12
+ export * from './Skill.js';
13
+ export * from './SortObject.js';
14
+ export * from './UpdateUserRequest.js';
15
+ export * from './UserDto.js';
16
+ export * from './UserOverviewDto.js';
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,13 +11,8 @@
12
11
  * https://openapi-generator.tech
13
12
  * Do not edit the class manually.
14
13
  */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.TextApiResponse = exports.BlobApiResponse = exports.VoidApiResponse = exports.JSONApiResponse = exports.COLLECTION_FORMATS = exports.RequiredError = exports.FetchError = exports.ResponseError = exports.BaseAPI = exports.DefaultConfig = exports.Configuration = exports.BASE_PATH = void 0;
17
- exports.querystring = querystring;
18
- exports.mapValues = mapValues;
19
- exports.canConsumeForm = canConsumeForm;
20
- exports.BASE_PATH = "https://34.90.225.20.nip.io/user-service".replace(/\/+$/, "");
21
- class Configuration {
14
+ export const BASE_PATH = "https://34.90.225.20.nip.io/user-service".replace(/\/+$/, "");
15
+ export class Configuration {
22
16
  configuration;
23
17
  constructor(configuration = {}) {
24
18
  this.configuration = configuration;
@@ -27,7 +21,7 @@ class Configuration {
27
21
  this.configuration = configuration;
28
22
  }
29
23
  get basePath() {
30
- return this.configuration.basePath != null ? this.configuration.basePath : exports.BASE_PATH;
24
+ return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
31
25
  }
32
26
  get fetchApi() {
33
27
  return this.configuration.fetchApi;
@@ -65,16 +59,15 @@ class Configuration {
65
59
  return this.configuration.credentials;
66
60
  }
67
61
  }
68
- exports.Configuration = Configuration;
69
- exports.DefaultConfig = new Configuration();
62
+ export const DefaultConfig = new Configuration();
70
63
  /**
71
64
  * This is the base class for all generated API classes.
72
65
  */
73
- class BaseAPI {
66
+ export class BaseAPI {
74
67
  configuration;
75
68
  static jsonRegex = new RegExp('^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$', 'i');
76
69
  middleware;
77
- constructor(configuration = exports.DefaultConfig) {
70
+ constructor(configuration = DefaultConfig) {
78
71
  this.configuration = configuration;
79
72
  this.middleware = configuration.middleware;
80
73
  }
@@ -217,7 +210,6 @@ class BaseAPI {
217
210
  return next;
218
211
  }
219
212
  }
220
- exports.BaseAPI = BaseAPI;
221
213
  ;
222
214
  function isBlob(value) {
223
215
  return typeof Blob !== 'undefined' && value instanceof Blob;
@@ -225,7 +217,7 @@ function isBlob(value) {
225
217
  function isFormData(value) {
226
218
  return typeof FormData !== "undefined" && value instanceof FormData;
227
219
  }
228
- class ResponseError extends Error {
220
+ export class ResponseError extends Error {
229
221
  response;
230
222
  name = "ResponseError";
231
223
  constructor(response, msg) {
@@ -233,8 +225,7 @@ class ResponseError extends Error {
233
225
  this.response = response;
234
226
  }
235
227
  }
236
- exports.ResponseError = ResponseError;
237
- class FetchError extends Error {
228
+ export class FetchError extends Error {
238
229
  cause;
239
230
  name = "FetchError";
240
231
  constructor(cause, msg) {
@@ -242,8 +233,7 @@ class FetchError extends Error {
242
233
  this.cause = cause;
243
234
  }
244
235
  }
245
- exports.FetchError = FetchError;
246
- class RequiredError extends Error {
236
+ export class RequiredError extends Error {
247
237
  field;
248
238
  name = "RequiredError";
249
239
  constructor(field, msg) {
@@ -251,14 +241,13 @@ class RequiredError extends Error {
251
241
  this.field = field;
252
242
  }
253
243
  }
254
- exports.RequiredError = RequiredError;
255
- exports.COLLECTION_FORMATS = {
244
+ export const COLLECTION_FORMATS = {
256
245
  csv: ",",
257
246
  ssv: " ",
258
247
  tsv: "\t",
259
248
  pipes: "|",
260
249
  };
261
- function querystring(params, prefix = '') {
250
+ export function querystring(params, prefix = '') {
262
251
  return Object.keys(params)
263
252
  .map(key => querystringSingleKey(key, params[key], prefix))
264
253
  .filter(part => part.length > 0)
@@ -283,10 +272,10 @@ function querystringSingleKey(key, value, keyPrefix = '') {
283
272
  }
284
273
  return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
285
274
  }
286
- function mapValues(data, fn) {
275
+ export function mapValues(data, fn) {
287
276
  return Object.keys(data).reduce((acc, key) => ({ ...acc, [key]: fn(data[key]) }), {});
288
277
  }
289
- function canConsumeForm(consumes) {
278
+ export function canConsumeForm(consumes) {
290
279
  for (const consume of consumes) {
291
280
  if ('multipart/form-data' === consume.contentType) {
292
281
  return true;
@@ -294,7 +283,7 @@ function canConsumeForm(consumes) {
294
283
  }
295
284
  return false;
296
285
  }
297
- class JSONApiResponse {
286
+ export class JSONApiResponse {
298
287
  raw;
299
288
  transformer;
300
289
  constructor(raw, transformer = (jsonValue) => jsonValue) {
@@ -305,8 +294,7 @@ class JSONApiResponse {
305
294
  return this.transformer(await this.raw.json());
306
295
  }
307
296
  }
308
- exports.JSONApiResponse = JSONApiResponse;
309
- class VoidApiResponse {
297
+ export class VoidApiResponse {
310
298
  raw;
311
299
  constructor(raw) {
312
300
  this.raw = raw;
@@ -315,8 +303,7 @@ class VoidApiResponse {
315
303
  return undefined;
316
304
  }
317
305
  }
318
- exports.VoidApiResponse = VoidApiResponse;
319
- class BlobApiResponse {
306
+ export class BlobApiResponse {
320
307
  raw;
321
308
  constructor(raw) {
322
309
  this.raw = raw;
@@ -326,8 +313,7 @@ class BlobApiResponse {
326
313
  }
327
314
  ;
328
315
  }
329
- exports.BlobApiResponse = BlobApiResponse;
330
- class TextApiResponse {
316
+ export class TextApiResponse {
331
317
  raw;
332
318
  constructor(raw) {
333
319
  this.raw = raw;
@@ -337,4 +323,3 @@ class TextApiResponse {
337
323
  }
338
324
  ;
339
325
  }
340
- exports.TextApiResponse = TextApiResponse;
@@ -1,4 +1,4 @@
1
- import { AbstractCommand } from '../../model/command';
1
+ import { AbstractCommand } from '../../model/command.js';
2
2
  export default class Compress extends AbstractCommand {
3
3
  static description: string;
4
4
  static examples: string[];
@@ -1,31 +1,25 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const core_1 = require("@oclif/core");
7
- const fs_extra_1 = __importDefault(require("fs-extra"));
8
- const node_path_1 = __importDefault(require("node:path"));
9
- const zip_1 = require("../../lib/up/zip");
10
- const command_1 = require("../../model/command");
11
- class Compress extends command_1.AbstractCommand {
1
+ import { ux } from '@oclif/core';
2
+ import fs from 'fs-extra';
3
+ import path from 'node:path';
4
+ import { zipProjectFolder } from '../../lib/up/zip.js';
5
+ import { AbstractCommand } from '../../model/command.js';
6
+ export default class Compress extends AbstractCommand {
12
7
  static description = `Compresses the current project and creates a ZIP file. Use the '.dockerignore' file to exclude files and directories from the ZIP file.`;
13
8
  static examples = [
14
9
  '$ qhubctl compress',
15
10
  ];
16
11
  async run() {
17
- core_1.ux.action.start('Compressing project');
12
+ ux.action.start('Compressing project');
18
13
  const targetDirectory = process.cwd();
19
14
  const targetFilename = 'service.zip';
20
- const targetFilePath = node_path_1.default.join(targetDirectory, '/', targetFilename);
15
+ const targetFilePath = path.join(targetDirectory, '/', targetFilename);
21
16
  // remove the file if it already exists
22
- if (fs_extra_1.default.existsSync(targetFilePath)) {
23
- fs_extra_1.default.unlinkSync(targetFilePath);
17
+ if (fs.existsSync(targetFilePath)) {
18
+ fs.unlinkSync(targetFilePath);
24
19
  }
25
- await (0, zip_1.zipProjectFolder)('./', targetDirectory, targetFilename);
26
- core_1.ux.action.stop('Succeeded.');
27
- core_1.ux.stdout(`\nFile created at: ${targetFilePath}`);
20
+ await zipProjectFolder('./', targetDirectory, targetFilename);
21
+ ux.action.stop('Succeeded.');
22
+ ux.stdout(`\nFile created at: ${targetFilePath}`);
28
23
  this.exit();
29
24
  }
30
25
  }
31
- exports.default = Compress;
@@ -1,11 +1,11 @@
1
- import { AuthenticatedCommand } from '../../model/command';
2
- import { HubPlatformClient } from "@quantum-hub/qhub-api/dist/api/platform";
1
+ import { AuthenticatedCommand } from '../../model/command.js';
2
+ import { HubPlatformClient } from "@quantum-hub/qhub-api/platform";
3
3
  export default class DatapoolUpload extends AuthenticatedCommand {
4
4
  static readonly description = "Upload files to a data pool";
5
5
  static readonly examples: string[];
6
6
  static readonly flags: {
7
- file: import("@oclif/core/lib/interfaces").OptionFlag<string[], import("@oclif/core/lib/interfaces").CustomOptions>;
8
- 'datapool-id': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
7
+ file: import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
8
+ 'datapool-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
9
  };
10
10
  hubPlatformClient: HubPlatformClient;
11
11
  init(): Promise<void>;