@quantum-hub/qhubctl 1.1.2 → 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 (210) hide show
  1. package/bin/dev.js +3 -1
  2. package/bin/run.js +1 -1
  3. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.d.ts +2 -2
  4. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.js +9 -46
  5. package/dist/client/kqh/apis/ServicePlatformDashboardApi.d.ts +2 -2
  6. package/dist/client/kqh/apis/ServicePlatformDashboardApi.js +5 -42
  7. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.d.ts +2 -2
  8. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.js +11 -48
  9. package/dist/client/kqh/apis/ServicePlatformJobsApi.d.ts +2 -2
  10. package/dist/client/kqh/apis/ServicePlatformJobsApi.js +9 -46
  11. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.d.ts +2 -2
  12. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.js +5 -42
  13. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.d.ts +2 -2
  14. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.js +5 -42
  15. package/dist/client/kqh/apis/ServicePlatformServicesApi.d.ts +2 -2
  16. package/dist/client/kqh/apis/ServicePlatformServicesApi.js +34 -71
  17. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.d.ts +2 -2
  18. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.js +7 -44
  19. package/dist/client/kqh/apis/TaxonomiesApi.d.ts +2 -2
  20. package/dist/client/kqh/apis/TaxonomiesApi.js +12 -49
  21. package/dist/client/kqh/apis/index.d.ts +9 -9
  22. package/dist/client/kqh/apis/index.js +9 -25
  23. package/dist/client/kqh/index.d.ts +3 -3
  24. package/dist/client/kqh/index.js +3 -19
  25. package/dist/client/kqh/models/AccessTokenDto.js +5 -12
  26. package/dist/client/kqh/models/AmountMajorDto.js +4 -10
  27. package/dist/client/kqh/models/ApiDto.d.ts +2 -2
  28. package/dist/client/kqh/models/ApiDto.js +13 -20
  29. package/dist/client/kqh/models/ApiOverviewDto.d.ts +1 -1
  30. package/dist/client/kqh/models/ApiOverviewDto.js +10 -17
  31. package/dist/client/kqh/models/ApplicationDto.js +5 -12
  32. package/dist/client/kqh/models/BuildJobDto.d.ts +1 -1
  33. package/dist/client/kqh/models/BuildJobDto.js +9 -16
  34. package/dist/client/kqh/models/CpuConfiguration.d.ts +1 -1
  35. package/dist/client/kqh/models/CpuConfiguration.js +7 -13
  36. package/dist/client/kqh/models/CreateApplicationRequest.js +4 -10
  37. package/dist/client/kqh/models/CreateDataPoolRequest.js +4 -10
  38. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.d.ts +1 -1
  39. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.js +8 -15
  40. package/dist/client/kqh/models/CreateJobRequest.d.ts +1 -1
  41. package/dist/client/kqh/models/CreateJobRequest.js +9 -15
  42. package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.js +6 -13
  43. package/dist/client/kqh/models/CreateProductRequest.js +4 -10
  44. package/dist/client/kqh/models/CreateSubscriptionRequest.js +4 -10
  45. package/dist/client/kqh/models/CreateWorkflowServiceRequest.js +4 -10
  46. package/dist/client/kqh/models/DataPoolDto.d.ts +3 -3
  47. package/dist/client/kqh/models/DataPoolDto.js +21 -28
  48. package/dist/client/kqh/models/DataPoolRef.js +4 -10
  49. package/dist/client/kqh/models/DataSourceDescriptorDto.d.ts +1 -1
  50. package/dist/client/kqh/models/DataSourceDescriptorDto.js +8 -15
  51. package/dist/client/kqh/models/FileDto.js +4 -10
  52. package/dist/client/kqh/models/FileSource.d.ts +1 -1
  53. package/dist/client/kqh/models/FileSource.js +4 -10
  54. package/dist/client/kqh/models/GpuConfiguration.d.ts +1 -1
  55. package/dist/client/kqh/models/GpuConfiguration.js +8 -15
  56. package/dist/client/kqh/models/JobDto.d.ts +2 -2
  57. package/dist/client/kqh/models/JobDto.js +13 -20
  58. package/dist/client/kqh/models/JobOverviewDto.d.ts +1 -1
  59. package/dist/client/kqh/models/JobOverviewDto.js +8 -15
  60. package/dist/client/kqh/models/MemoryConfiguration.d.ts +1 -1
  61. package/dist/client/kqh/models/MemoryConfiguration.js +7 -13
  62. package/dist/client/kqh/models/MeteringRequest.js +4 -10
  63. package/dist/client/kqh/models/MeteringResponse.js +4 -10
  64. package/dist/client/kqh/models/MonthAmountDto.d.ts +2 -2
  65. package/dist/client/kqh/models/MonthAmountDto.js +10 -16
  66. package/dist/client/kqh/models/OwnerDto.js +4 -10
  67. package/dist/client/kqh/models/PageDataPoolDto.d.ts +3 -3
  68. package/dist/client/kqh/models/PageDataPoolDto.js +13 -19
  69. package/dist/client/kqh/models/PageableObject.d.ts +1 -1
  70. package/dist/client/kqh/models/PageableObject.js +7 -13
  71. package/dist/client/kqh/models/PricingPlanDto.d.ts +1 -1
  72. package/dist/client/kqh/models/PricingPlanDto.js +8 -15
  73. package/dist/client/kqh/models/ProductAmountDto.d.ts +1 -1
  74. package/dist/client/kqh/models/ProductAmountDto.js +7 -13
  75. package/dist/client/kqh/models/ProductDto.js +5 -12
  76. package/dist/client/kqh/models/ProductGroupDto.d.ts +2 -2
  77. package/dist/client/kqh/models/ProductGroupDto.js +10 -16
  78. package/dist/client/kqh/models/ProductUsageDto.js +4 -10
  79. package/dist/client/kqh/models/RegistrySource.d.ts +1 -1
  80. package/dist/client/kqh/models/RegistrySource.js +7 -13
  81. package/dist/client/kqh/models/RepositorySource.d.ts +1 -1
  82. package/dist/client/kqh/models/RepositorySource.js +7 -13
  83. package/dist/client/kqh/models/ResourceConfiguration.js +10 -16
  84. package/dist/client/kqh/models/ReviewDto.js +5 -12
  85. package/dist/client/kqh/models/RuntimeConfiguration.js +5 -12
  86. package/dist/client/kqh/models/ServiceDefinitionCommand.js +5 -12
  87. package/dist/client/kqh/models/ServiceDefinitionDto.d.ts +5 -5
  88. package/dist/client/kqh/models/ServiceDefinitionDto.js +21 -28
  89. package/dist/client/kqh/models/ServiceDefinitionDtoSource.d.ts +3 -3
  90. package/dist/client/kqh/models/ServiceDefinitionDtoSource.js +18 -23
  91. package/dist/client/kqh/models/ServiceDefinitionOverviewDto.js +6 -13
  92. package/dist/client/kqh/models/ServiceDto.d.ts +1 -1
  93. package/dist/client/kqh/models/ServiceDto.js +8 -15
  94. package/dist/client/kqh/models/ServiceExecutionConsumerDto.js +5 -12
  95. package/dist/client/kqh/models/ServiceExecutionDto.js +4 -10
  96. package/dist/client/kqh/models/ServiceOverviewDto.js +8 -15
  97. package/dist/client/kqh/models/ServiceSource.js +10 -16
  98. package/dist/client/kqh/models/SortObject.js +4 -10
  99. package/dist/client/kqh/models/SubscriptionDto.d.ts +3 -3
  100. package/dist/client/kqh/models/SubscriptionDto.js +13 -19
  101. package/dist/client/kqh/models/TaxonomyElement.js +4 -10
  102. package/dist/client/kqh/models/UpdateDataPoolRequest.js +4 -10
  103. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.d.ts +3 -3
  104. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.js +18 -23
  105. package/dist/client/kqh/models/UpdateVersionRequest.d.ts +1 -1
  106. package/dist/client/kqh/models/UpdateVersionRequest.js +7 -13
  107. package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +4 -10
  108. package/dist/client/kqh/models/ValidationResult.js +5 -12
  109. package/dist/client/kqh/models/index.d.ts +57 -57
  110. package/dist/client/kqh/models/index.js +57 -73
  111. package/dist/client/kqh/runtime.js +17 -32
  112. package/dist/client/users/apis/AuthenticationApi.d.ts +2 -2
  113. package/dist/client/users/apis/AuthenticationApi.js +4 -41
  114. package/dist/client/users/apis/ExpertsApi.d.ts +2 -2
  115. package/dist/client/users/apis/ExpertsApi.js +5 -42
  116. package/dist/client/users/apis/SearchApi.d.ts +2 -2
  117. package/dist/client/users/apis/SearchApi.js +5 -42
  118. package/dist/client/users/apis/UserSettingsApi.d.ts +2 -2
  119. package/dist/client/users/apis/UserSettingsApi.js +11 -48
  120. package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.d.ts +2 -2
  121. package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.js +7 -44
  122. package/dist/client/users/apis/UsersApi.d.ts +2 -2
  123. package/dist/client/users/apis/UsersApi.js +4 -41
  124. package/dist/client/users/apis/index.d.ts +6 -6
  125. package/dist/client/users/apis/index.js +6 -22
  126. package/dist/client/users/index.d.ts +3 -3
  127. package/dist/client/users/index.js +3 -19
  128. package/dist/client/users/models/AccessTokenCreateRequest.js +5 -12
  129. package/dist/client/users/models/AccessTokenDto.js +5 -12
  130. package/dist/client/users/models/AccessTokensResponse.d.ts +1 -1
  131. package/dist/client/users/models/AccessTokensResponse.js +7 -13
  132. package/dist/client/users/models/DefaultAccessTokenResponse.js +4 -10
  133. package/dist/client/users/models/Language.js +4 -10
  134. package/dist/client/users/models/PageUserDto.d.ts +3 -3
  135. package/dist/client/users/models/PageUserDto.js +13 -19
  136. package/dist/client/users/models/Pageable.js +4 -10
  137. package/dist/client/users/models/PageableObject.d.ts +1 -1
  138. package/dist/client/users/models/PageableObject.js +7 -13
  139. package/dist/client/users/models/PersonalAccessTokenPrincipal.d.ts +1 -1
  140. package/dist/client/users/models/PersonalAccessTokenPrincipal.js +7 -13
  141. package/dist/client/users/models/Skill.js +4 -10
  142. package/dist/client/users/models/SortObject.js +4 -10
  143. package/dist/client/users/models/UpdateUserRequest.js +4 -10
  144. package/dist/client/users/models/UserDto.d.ts +2 -2
  145. package/dist/client/users/models/UserDto.js +10 -16
  146. package/dist/client/users/models/UserOverviewDto.js +4 -10
  147. package/dist/client/users/models/index.d.ts +14 -14
  148. package/dist/client/users/models/index.js +14 -30
  149. package/dist/client/users/runtime.js +17 -32
  150. package/dist/commands/compress/index.d.ts +1 -1
  151. package/dist/commands/compress/index.js +13 -19
  152. package/dist/commands/datapool/upload.d.ts +4 -4
  153. package/dist/commands/datapool/upload.js +24 -30
  154. package/dist/commands/get-context/index.d.ts +1 -1
  155. package/dist/commands/get-context/index.js +2 -5
  156. package/dist/commands/init/index.d.ts +3 -3
  157. package/dist/commands/init/index.js +30 -36
  158. package/dist/commands/list-contexts/index.d.ts +2 -2
  159. package/dist/commands/list-contexts/index.js +11 -17
  160. package/dist/commands/login/index.d.ts +3 -3
  161. package/dist/commands/login/index.js +16 -22
  162. package/dist/commands/logout/index.d.ts +1 -1
  163. package/dist/commands/logout/index.js +7 -10
  164. package/dist/commands/openapi/index.d.ts +7 -7
  165. package/dist/commands/openapi/index.js +81 -87
  166. package/dist/commands/run/index.d.ts +6 -6
  167. package/dist/commands/run/index.js +43 -48
  168. package/dist/commands/serve/index.d.ts +3 -3
  169. package/dist/commands/serve/index.js +31 -37
  170. package/dist/commands/services/index.d.ts +5 -5
  171. package/dist/commands/services/index.js +17 -23
  172. package/dist/commands/set-context/index.d.ts +4 -4
  173. package/dist/commands/set-context/index.js +13 -19
  174. package/dist/commands/up/index.d.ts +5 -5
  175. package/dist/commands/up/index.js +51 -57
  176. package/dist/index.js +1 -4
  177. package/dist/lib/command.js +5 -10
  178. package/dist/lib/debug.js +1 -5
  179. package/dist/lib/entrypoint-resolver.js +3 -7
  180. package/dist/lib/error.js +8 -12
  181. package/dist/lib/fetch.js +4 -10
  182. package/dist/lib/init-user-input.d.ts +1 -1
  183. package/dist/lib/init-user-input.js +16 -20
  184. package/dist/lib/random-name.js +1 -5
  185. package/dist/lib/random-string.js +1 -5
  186. package/dist/lib/repository.js +9 -17
  187. package/dist/lib/stream-to-blob.d.ts +1 -1
  188. package/dist/lib/stream-to-blob.js +1 -5
  189. package/dist/lib/up/get-description.js +9 -15
  190. package/dist/lib/up/ignore.js +9 -15
  191. package/dist/lib/up/zip.js +18 -24
  192. package/dist/model/account.js +1 -2
  193. package/dist/model/command.d.ts +2 -2
  194. package/dist/model/command.js +11 -19
  195. package/dist/model/managed-service-config.js +4 -7
  196. package/dist/model/user-config.js +3 -6
  197. package/dist/service/auth-service.d.ts +3 -3
  198. package/dist/service/auth-service.js +8 -14
  199. package/dist/service/command-service.d.ts +2 -2
  200. package/dist/service/command-service.js +1 -5
  201. package/dist/service/quantum-hub-service.d.ts +10 -10
  202. package/dist/service/quantum-hub-service.js +21 -24
  203. package/dist/service/service-config-service.d.ts +1 -1
  204. package/dist/service/service-config-service.js +14 -21
  205. package/dist/service/user-config-service.d.ts +1 -1
  206. package/dist/service/user-config-service.js +14 -21
  207. package/dist/service/user-service.d.ts +2 -2
  208. package/dist/service/user-service.js +8 -11
  209. package/oclif.manifest.json +119 -119
  210. package/package.json +4 -2
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,36 +11,31 @@
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.instanceOfProductAmountDto = instanceOfProductAmountDto;
17
- exports.ProductAmountDtoFromJSON = ProductAmountDtoFromJSON;
18
- exports.ProductAmountDtoFromJSONTyped = ProductAmountDtoFromJSONTyped;
19
- exports.ProductAmountDtoToJSON = ProductAmountDtoToJSON;
20
- const AmountMajorDto_1 = require("./AmountMajorDto");
14
+ import { AmountMajorDtoFromJSON, AmountMajorDtoToJSON, } from './AmountMajorDto.js';
21
15
  /**
22
16
  * Check if a given object implements the ProductAmountDto interface.
23
17
  */
24
- function instanceOfProductAmountDto(value) {
18
+ export function instanceOfProductAmountDto(value) {
25
19
  return true;
26
20
  }
27
- function ProductAmountDtoFromJSON(json) {
21
+ export function ProductAmountDtoFromJSON(json) {
28
22
  return ProductAmountDtoFromJSONTyped(json, false);
29
23
  }
30
- function ProductAmountDtoFromJSONTyped(json, ignoreDiscriminator) {
24
+ export function ProductAmountDtoFromJSONTyped(json, ignoreDiscriminator) {
31
25
  if (json == null) {
32
26
  return json;
33
27
  }
34
28
  return {
35
29
  'name': json['name'] == null ? undefined : json['name'],
36
- 'amountMajor': json['amountMajor'] == null ? undefined : (0, AmountMajorDto_1.AmountMajorDtoFromJSON)(json['amountMajor']),
30
+ 'amountMajor': json['amountMajor'] == null ? undefined : AmountMajorDtoFromJSON(json['amountMajor']),
37
31
  };
38
32
  }
39
- function ProductAmountDtoToJSON(value) {
33
+ export function ProductAmountDtoToJSON(value) {
40
34
  if (value == null) {
41
35
  return value;
42
36
  }
43
37
  return {
44
38
  'name': value['name'],
45
- 'amountMajor': (0, AmountMajorDto_1.AmountMajorDtoToJSON)(value['amountMajor']),
39
+ 'amountMajor': AmountMajorDtoToJSON(value['amountMajor']),
46
40
  };
47
41
  }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,16 +11,10 @@
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.ProductDtoTypeEnum = void 0;
17
- exports.instanceOfProductDto = instanceOfProductDto;
18
- exports.ProductDtoFromJSON = ProductDtoFromJSON;
19
- exports.ProductDtoFromJSONTyped = ProductDtoFromJSONTyped;
20
- exports.ProductDtoToJSON = ProductDtoToJSON;
21
14
  /**
22
15
  * @export
23
16
  */
24
- exports.ProductDtoTypeEnum = {
17
+ export const ProductDtoTypeEnum = {
25
18
  Api: 'API',
26
19
  Cpu: 'CPU',
27
20
  Memory: 'MEMORY',
@@ -42,13 +35,13 @@ exports.ProductDtoTypeEnum = {
42
35
  /**
43
36
  * Check if a given object implements the ProductDto interface.
44
37
  */
45
- function instanceOfProductDto(value) {
38
+ export function instanceOfProductDto(value) {
46
39
  return true;
47
40
  }
48
- function ProductDtoFromJSON(json) {
41
+ export function ProductDtoFromJSON(json) {
49
42
  return ProductDtoFromJSONTyped(json, false);
50
43
  }
51
- function ProductDtoFromJSONTyped(json, ignoreDiscriminator) {
44
+ export function ProductDtoFromJSONTyped(json, ignoreDiscriminator) {
52
45
  if (json == null) {
53
46
  return json;
54
47
  }
@@ -61,7 +54,7 @@ function ProductDtoFromJSONTyped(json, ignoreDiscriminator) {
61
54
  'type': json['type'] == null ? undefined : json['type'],
62
55
  };
63
56
  }
64
- function ProductDtoToJSON(value) {
57
+ export function ProductDtoToJSON(value) {
65
58
  if (value == null) {
66
59
  return value;
67
60
  }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ProductAmountDto } from './ProductAmountDto';
13
- import type { AmountMajorDto } from './AmountMajorDto';
12
+ import type { ProductAmountDto } from './ProductAmountDto.js';
13
+ import type { AmountMajorDto } from './AmountMajorDto.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,39 +11,34 @@
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.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");
14
+ import { ProductAmountDtoFromJSON, ProductAmountDtoToJSON, } from './ProductAmountDto.js';
15
+ import { AmountMajorDtoFromJSON, AmountMajorDtoToJSON, } from './AmountMajorDto.js';
22
16
  /**
23
17
  * Check if a given object implements the ProductGroupDto interface.
24
18
  */
25
- function instanceOfProductGroupDto(value) {
19
+ export function instanceOfProductGroupDto(value) {
26
20
  return true;
27
21
  }
28
- function ProductGroupDtoFromJSON(json) {
22
+ export function ProductGroupDtoFromJSON(json) {
29
23
  return ProductGroupDtoFromJSONTyped(json, false);
30
24
  }
31
- function ProductGroupDtoFromJSONTyped(json, ignoreDiscriminator) {
25
+ export function ProductGroupDtoFromJSONTyped(json, ignoreDiscriminator) {
32
26
  if (json == null) {
33
27
  return json;
34
28
  }
35
29
  return {
36
30
  '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)),
31
+ 'amountMajor': json['amountMajor'] == null ? undefined : AmountMajorDtoFromJSON(json['amountMajor']),
32
+ 'products': json['products'] == null ? undefined : (json['products'].map(ProductAmountDtoFromJSON)),
39
33
  };
40
34
  }
41
- function ProductGroupDtoToJSON(value) {
35
+ export function ProductGroupDtoToJSON(value) {
42
36
  if (value == null) {
43
37
  return value;
44
38
  }
45
39
  return {
46
40
  'name': value['name'],
47
- 'amountMajor': (0, AmountMajorDto_1.AmountMajorDtoToJSON)(value['amountMajor']),
48
- 'products': value['products'] == null ? undefined : (value['products'].map(ProductAmountDto_1.ProductAmountDtoToJSON)),
41
+ 'amountMajor': AmountMajorDtoToJSON(value['amountMajor']),
42
+ 'products': value['products'] == null ? undefined : (value['products'].map(ProductAmountDtoToJSON)),
49
43
  };
50
44
  }
@@ -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.instanceOfProductUsageDto = instanceOfProductUsageDto;
17
- exports.ProductUsageDtoFromJSON = ProductUsageDtoFromJSON;
18
- exports.ProductUsageDtoFromJSONTyped = ProductUsageDtoFromJSONTyped;
19
- exports.ProductUsageDtoToJSON = ProductUsageDtoToJSON;
20
14
  /**
21
15
  * Check if a given object implements the ProductUsageDto interface.
22
16
  */
23
- function instanceOfProductUsageDto(value) {
17
+ export function instanceOfProductUsageDto(value) {
24
18
  return true;
25
19
  }
26
- function ProductUsageDtoFromJSON(json) {
20
+ export function ProductUsageDtoFromJSON(json) {
27
21
  return ProductUsageDtoFromJSONTyped(json, false);
28
22
  }
29
- function ProductUsageDtoFromJSONTyped(json, ignoreDiscriminator) {
23
+ export function ProductUsageDtoFromJSONTyped(json, ignoreDiscriminator) {
30
24
  if (json == null) {
31
25
  return json;
32
26
  }
@@ -39,7 +33,7 @@ function ProductUsageDtoFromJSONTyped(json, ignoreDiscriminator) {
39
33
  'count': json['count'] == null ? undefined : json['count'],
40
34
  };
41
35
  }
42
- function ProductUsageDtoToJSON(value) {
36
+ export function ProductUsageDtoToJSON(value) {
43
37
  if (value == null) {
44
38
  return value;
45
39
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ServiceSource } from './ServiceSource';
12
+ import type { ServiceSource } from './ServiceSource.js';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,41 +11,36 @@
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.instanceOfRegistrySource = instanceOfRegistrySource;
17
- exports.RegistrySourceFromJSON = RegistrySourceFromJSON;
18
- exports.RegistrySourceFromJSONTyped = RegistrySourceFromJSONTyped;
19
- exports.RegistrySourceToJSON = RegistrySourceToJSON;
20
- const ServiceSource_1 = require("./ServiceSource");
14
+ import { ServiceSourceFromJSONTyped, ServiceSourceToJSON, } from './ServiceSource.js';
21
15
  /**
22
16
  * Check if a given object implements the RegistrySource interface.
23
17
  */
24
- function instanceOfRegistrySource(value) {
18
+ export function instanceOfRegistrySource(value) {
25
19
  if (!('image' in value) || value['image'] === undefined)
26
20
  return false;
27
21
  return true;
28
22
  }
29
- function RegistrySourceFromJSON(json) {
23
+ export function RegistrySourceFromJSON(json) {
30
24
  return RegistrySourceFromJSONTyped(json, false);
31
25
  }
32
- function RegistrySourceFromJSONTyped(json, ignoreDiscriminator) {
26
+ export function RegistrySourceFromJSONTyped(json, ignoreDiscriminator) {
33
27
  if (json == null) {
34
28
  return json;
35
29
  }
36
30
  return {
37
- ...(0, ServiceSource_1.ServiceSourceFromJSONTyped)(json, ignoreDiscriminator),
31
+ ...ServiceSourceFromJSONTyped(json, ignoreDiscriminator),
38
32
  'image': json['image'],
39
33
  'tag': json['tag'] == null ? undefined : json['tag'],
40
34
  'username': json['username'] == null ? undefined : json['username'],
41
35
  'password': json['password'] == null ? undefined : json['password'],
42
36
  };
43
37
  }
44
- function RegistrySourceToJSON(value) {
38
+ export function RegistrySourceToJSON(value) {
45
39
  if (value == null) {
46
40
  return value;
47
41
  }
48
42
  return {
49
- ...(0, ServiceSource_1.ServiceSourceToJSON)(value),
43
+ ...ServiceSourceToJSON(value),
50
44
  'image': value['image'],
51
45
  'tag': value['tag'],
52
46
  'username': value['username'],
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ServiceSource } from './ServiceSource';
12
+ import type { ServiceSource } from './ServiceSource.js';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,36 +11,31 @@
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.instanceOfRepositorySource = instanceOfRepositorySource;
17
- exports.RepositorySourceFromJSON = RepositorySourceFromJSON;
18
- exports.RepositorySourceFromJSONTyped = RepositorySourceFromJSONTyped;
19
- exports.RepositorySourceToJSON = RepositorySourceToJSON;
20
- const ServiceSource_1 = require("./ServiceSource");
14
+ import { ServiceSourceFromJSONTyped, ServiceSourceToJSON, } from './ServiceSource.js';
21
15
  /**
22
16
  * Check if a given object implements the RepositorySource interface.
23
17
  */
24
- function instanceOfRepositorySource(value) {
18
+ export function instanceOfRepositorySource(value) {
25
19
  return true;
26
20
  }
27
- function RepositorySourceFromJSON(json) {
21
+ export function RepositorySourceFromJSON(json) {
28
22
  return RepositorySourceFromJSONTyped(json, false);
29
23
  }
30
- function RepositorySourceFromJSONTyped(json, ignoreDiscriminator) {
24
+ export function RepositorySourceFromJSONTyped(json, ignoreDiscriminator) {
31
25
  if (json == null) {
32
26
  return json;
33
27
  }
34
28
  return {
35
- ...(0, ServiceSource_1.ServiceSourceFromJSONTyped)(json, ignoreDiscriminator),
29
+ ...ServiceSourceFromJSONTyped(json, ignoreDiscriminator),
36
30
  'fullPath': json['fullPath'] == null ? undefined : json['fullPath'],
37
31
  };
38
32
  }
39
- function RepositorySourceToJSON(value) {
33
+ export function RepositorySourceToJSON(value) {
40
34
  if (value == null) {
41
35
  return value;
42
36
  }
43
37
  return {
44
- ...(0, ServiceSource_1.ServiceSourceToJSON)(value),
38
+ ...ServiceSourceToJSON(value),
45
39
  'fullPath': value['fullPath'],
46
40
  };
47
41
  }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,43 +11,38 @@
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.instanceOfResourceConfiguration = instanceOfResourceConfiguration;
17
- exports.ResourceConfigurationFromJSON = ResourceConfigurationFromJSON;
18
- exports.ResourceConfigurationFromJSONTyped = ResourceConfigurationFromJSONTyped;
19
- exports.ResourceConfigurationToJSON = ResourceConfigurationToJSON;
20
- const CpuConfiguration_1 = require("./CpuConfiguration");
21
- const GpuConfiguration_1 = require("./GpuConfiguration");
22
- const MemoryConfiguration_1 = require("./MemoryConfiguration");
14
+ import { CpuConfigurationFromJSONTyped } from './CpuConfiguration.js';
15
+ import { GpuConfigurationFromJSONTyped } from './GpuConfiguration.js';
16
+ import { MemoryConfigurationFromJSONTyped } from './MemoryConfiguration.js';
23
17
  /**
24
18
  * Check if a given object implements the ResourceConfiguration interface.
25
19
  */
26
- function instanceOfResourceConfiguration(value) {
20
+ export function instanceOfResourceConfiguration(value) {
27
21
  return true;
28
22
  }
29
- function ResourceConfigurationFromJSON(json) {
23
+ export function ResourceConfigurationFromJSON(json) {
30
24
  return ResourceConfigurationFromJSONTyped(json, false);
31
25
  }
32
- function ResourceConfigurationFromJSONTyped(json, ignoreDiscriminator) {
26
+ export function ResourceConfigurationFromJSONTyped(json, ignoreDiscriminator) {
33
27
  if (json == null) {
34
28
  return json;
35
29
  }
36
30
  if (!ignoreDiscriminator) {
37
31
  if (json['type'] === 'CpuConfiguration') {
38
- return (0, CpuConfiguration_1.CpuConfigurationFromJSONTyped)(json, true);
32
+ return CpuConfigurationFromJSONTyped(json, true);
39
33
  }
40
34
  if (json['type'] === 'GpuConfiguration') {
41
- return (0, GpuConfiguration_1.GpuConfigurationFromJSONTyped)(json, true);
35
+ return GpuConfigurationFromJSONTyped(json, true);
42
36
  }
43
37
  if (json['type'] === 'MemoryConfiguration') {
44
- return (0, MemoryConfiguration_1.MemoryConfigurationFromJSONTyped)(json, true);
38
+ return MemoryConfigurationFromJSONTyped(json, true);
45
39
  }
46
40
  }
47
41
  return {
48
42
  'type': json['type'] == null ? undefined : json['type'],
49
43
  };
50
44
  }
51
- function ResourceConfigurationToJSON(value) {
45
+ export function ResourceConfigurationToJSON(value) {
52
46
  if (value == null) {
53
47
  return value;
54
48
  }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,29 +11,23 @@
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.ReviewDtoStateEnum = void 0;
17
- exports.instanceOfReviewDto = instanceOfReviewDto;
18
- exports.ReviewDtoFromJSON = ReviewDtoFromJSON;
19
- exports.ReviewDtoFromJSONTyped = ReviewDtoFromJSONTyped;
20
- exports.ReviewDtoToJSON = ReviewDtoToJSON;
21
14
  /**
22
15
  * @export
23
16
  */
24
- exports.ReviewDtoStateEnum = {
17
+ export const ReviewDtoStateEnum = {
25
18
  UnderReview: 'UNDER_REVIEW',
26
19
  Reviewed: 'REVIEWED'
27
20
  };
28
21
  /**
29
22
  * Check if a given object implements the ReviewDto interface.
30
23
  */
31
- function instanceOfReviewDto(value) {
24
+ export function instanceOfReviewDto(value) {
32
25
  return true;
33
26
  }
34
- function ReviewDtoFromJSON(json) {
27
+ export function ReviewDtoFromJSON(json) {
35
28
  return ReviewDtoFromJSONTyped(json, false);
36
29
  }
37
- function ReviewDtoFromJSONTyped(json, ignoreDiscriminator) {
30
+ export function ReviewDtoFromJSONTyped(json, ignoreDiscriminator) {
38
31
  if (json == null) {
39
32
  return json;
40
33
  }
@@ -44,7 +37,7 @@ function ReviewDtoFromJSONTyped(json, ignoreDiscriminator) {
44
37
  'state': json['state'] == null ? undefined : json['state'],
45
38
  };
46
39
  }
47
- function ReviewDtoToJSON(value) {
40
+ export function ReviewDtoToJSON(value) {
48
41
  if (value == null) {
49
42
  return value;
50
43
  }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,29 +11,23 @@
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.RuntimeConfigurationRuntimeEnum = void 0;
17
- exports.instanceOfRuntimeConfiguration = instanceOfRuntimeConfiguration;
18
- exports.RuntimeConfigurationFromJSON = RuntimeConfigurationFromJSON;
19
- exports.RuntimeConfigurationFromJSONTyped = RuntimeConfigurationFromJSONTyped;
20
- exports.RuntimeConfigurationToJSON = RuntimeConfigurationToJSON;
21
14
  /**
22
15
  * @export
23
16
  */
24
- exports.RuntimeConfigurationRuntimeEnum = {
17
+ export const RuntimeConfigurationRuntimeEnum = {
25
18
  Docker: 'DOCKER',
26
19
  PythonTemplate: 'PYTHON_TEMPLATE'
27
20
  };
28
21
  /**
29
22
  * Check if a given object implements the RuntimeConfiguration interface.
30
23
  */
31
- function instanceOfRuntimeConfiguration(value) {
24
+ export function instanceOfRuntimeConfiguration(value) {
32
25
  return true;
33
26
  }
34
- function RuntimeConfigurationFromJSON(json) {
27
+ export function RuntimeConfigurationFromJSON(json) {
35
28
  return RuntimeConfigurationFromJSONTyped(json, false);
36
29
  }
37
- function RuntimeConfigurationFromJSONTyped(json, ignoreDiscriminator) {
30
+ export function RuntimeConfigurationFromJSONTyped(json, ignoreDiscriminator) {
38
31
  if (json == null) {
39
32
  return json;
40
33
  }
@@ -44,7 +37,7 @@ function RuntimeConfigurationFromJSONTyped(json, ignoreDiscriminator) {
44
37
  'applyProviderTokens': json['applyProviderTokens'] == null ? undefined : json['applyProviderTokens'],
45
38
  };
46
39
  }
47
- function RuntimeConfigurationToJSON(value) {
40
+ export function RuntimeConfigurationToJSON(value) {
48
41
  if (value == null) {
49
42
  return value;
50
43
  }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,29 +11,23 @@
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.ServiceDefinitionCommandTypeEnum = void 0;
17
- exports.instanceOfServiceDefinitionCommand = instanceOfServiceDefinitionCommand;
18
- exports.ServiceDefinitionCommandFromJSON = ServiceDefinitionCommandFromJSON;
19
- exports.ServiceDefinitionCommandFromJSONTyped = ServiceDefinitionCommandFromJSONTyped;
20
- exports.ServiceDefinitionCommandToJSON = ServiceDefinitionCommandToJSON;
21
14
  /**
22
15
  * @export
23
16
  */
24
- exports.ServiceDefinitionCommandTypeEnum = {
17
+ export const ServiceDefinitionCommandTypeEnum = {
25
18
  Unpublish: 'UNPUBLISH',
26
19
  UnpublishForce: 'UNPUBLISH_FORCE'
27
20
  };
28
21
  /**
29
22
  * Check if a given object implements the ServiceDefinitionCommand interface.
30
23
  */
31
- function instanceOfServiceDefinitionCommand(value) {
24
+ export function instanceOfServiceDefinitionCommand(value) {
32
25
  return true;
33
26
  }
34
- function ServiceDefinitionCommandFromJSON(json) {
27
+ export function ServiceDefinitionCommandFromJSON(json) {
35
28
  return ServiceDefinitionCommandFromJSONTyped(json, false);
36
29
  }
37
- function ServiceDefinitionCommandFromJSONTyped(json, ignoreDiscriminator) {
30
+ export function ServiceDefinitionCommandFromJSONTyped(json, ignoreDiscriminator) {
38
31
  if (json == null) {
39
32
  return json;
40
33
  }
@@ -42,7 +35,7 @@ function ServiceDefinitionCommandFromJSONTyped(json, ignoreDiscriminator) {
42
35
  'type': json['type'] == null ? undefined : json['type'],
43
36
  };
44
37
  }
45
- function ServiceDefinitionCommandToJSON(value) {
38
+ export function ServiceDefinitionCommandToJSON(value) {
46
39
  if (value == null) {
47
40
  return value;
48
41
  }
@@ -9,11 +9,11 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ServiceDefinitionDtoSource } from './ServiceDefinitionDtoSource';
13
- import type { UpdateResourceConfigurationRequest } from './UpdateResourceConfigurationRequest';
14
- import type { PricingPlanDto } from './PricingPlanDto';
15
- import type { RuntimeConfiguration } from './RuntimeConfiguration';
16
- import type { TaxonomyElement } from './TaxonomyElement';
12
+ import type { ServiceDefinitionDtoSource } from './ServiceDefinitionDtoSource.js';
13
+ import type { UpdateResourceConfigurationRequest } from './UpdateResourceConfigurationRequest.js';
14
+ import type { PricingPlanDto } from './PricingPlanDto.js';
15
+ import type { RuntimeConfiguration } from './RuntimeConfiguration.js';
16
+ import type { TaxonomyElement } from './TaxonomyElement.js';
17
17
  /**
18
18
  *
19
19
  * @export