@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,18 +11,12 @@
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.JobDtoStatusEnum = void 0;
17
- exports.instanceOfJobDto = instanceOfJobDto;
18
- exports.JobDtoFromJSON = JobDtoFromJSON;
19
- exports.JobDtoFromJSONTyped = JobDtoFromJSONTyped;
20
- exports.JobDtoToJSON = JobDtoToJSON;
21
- const ServiceDefinitionOverviewDto_1 = require("./ServiceDefinitionOverviewDto");
22
- const DataPoolRef_1 = require("./DataPoolRef");
14
+ import { ServiceDefinitionOverviewDtoFromJSON, ServiceDefinitionOverviewDtoToJSON, } from './ServiceDefinitionOverviewDto.js';
15
+ import { DataPoolRefFromJSON, DataPoolRefToJSON, } from './DataPoolRef.js';
23
16
  /**
24
17
  * @export
25
18
  */
26
- exports.JobDtoStatusEnum = {
19
+ export const JobDtoStatusEnum = {
27
20
  Unknown: 'UNKNOWN',
28
21
  Pending: 'PENDING',
29
22
  Running: 'RUNNING',
@@ -34,13 +27,13 @@ exports.JobDtoStatusEnum = {
34
27
  /**
35
28
  * Check if a given object implements the JobDto interface.
36
29
  */
37
- function instanceOfJobDto(value) {
30
+ export function instanceOfJobDto(value) {
38
31
  return true;
39
32
  }
40
- function JobDtoFromJSON(json) {
33
+ export function JobDtoFromJSON(json) {
41
34
  return JobDtoFromJSONTyped(json, false);
42
35
  }
43
- function JobDtoFromJSONTyped(json, ignoreDiscriminator) {
36
+ export function JobDtoFromJSONTyped(json, ignoreDiscriminator) {
44
37
  if (json == null) {
45
38
  return json;
46
39
  }
@@ -48,19 +41,19 @@ function JobDtoFromJSONTyped(json, ignoreDiscriminator) {
48
41
  'id': json['id'] == null ? undefined : json['id'],
49
42
  'status': json['status'] == null ? undefined : json['status'],
50
43
  'inputData': json['inputData'] == null ? undefined : json['inputData'],
51
- 'inputDataRef': json['inputDataRef'] == null ? undefined : (0, DataPoolRef_1.DataPoolRefFromJSON)(json['inputDataRef']),
44
+ 'inputDataRef': json['inputDataRef'] == null ? undefined : DataPoolRefFromJSON(json['inputDataRef']),
52
45
  'parameters': json['parameters'] == null ? undefined : json['parameters'],
53
- 'parametersRef': json['parametersRef'] == null ? undefined : (0, DataPoolRef_1.DataPoolRefFromJSON)(json['parametersRef']),
46
+ 'parametersRef': json['parametersRef'] == null ? undefined : DataPoolRefFromJSON(json['parametersRef']),
54
47
  'result': json['result'] == null ? undefined : json['result'],
55
48
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
56
49
  'startedAt': json['startedAt'] == null ? undefined : json['startedAt'],
57
50
  'endedAt': json['endedAt'] == null ? undefined : json['endedAt'],
58
51
  'persistResult': json['persistResult'] == null ? undefined : json['persistResult'],
59
52
  'resultDataPoolId': json['resultDataPoolId'] == null ? undefined : json['resultDataPoolId'],
60
- 'serviceDefinition': json['serviceDefinition'] == null ? undefined : (0, ServiceDefinitionOverviewDto_1.ServiceDefinitionOverviewDtoFromJSON)(json['serviceDefinition']),
53
+ 'serviceDefinition': json['serviceDefinition'] == null ? undefined : ServiceDefinitionOverviewDtoFromJSON(json['serviceDefinition']),
61
54
  };
62
55
  }
63
- function JobDtoToJSON(value) {
56
+ export function JobDtoToJSON(value) {
64
57
  if (value == null) {
65
58
  return value;
66
59
  }
@@ -68,15 +61,15 @@ function JobDtoToJSON(value) {
68
61
  'id': value['id'],
69
62
  'status': value['status'],
70
63
  'inputData': value['inputData'],
71
- 'inputDataRef': (0, DataPoolRef_1.DataPoolRefToJSON)(value['inputDataRef']),
64
+ 'inputDataRef': DataPoolRefToJSON(value['inputDataRef']),
72
65
  'parameters': value['parameters'],
73
- 'parametersRef': (0, DataPoolRef_1.DataPoolRefToJSON)(value['parametersRef']),
66
+ 'parametersRef': DataPoolRefToJSON(value['parametersRef']),
74
67
  'result': value['result'],
75
68
  'createdAt': value['createdAt'],
76
69
  'startedAt': value['startedAt'],
77
70
  'endedAt': value['endedAt'],
78
71
  'persistResult': value['persistResult'],
79
72
  'resultDataPoolId': value['resultDataPoolId'],
80
- 'serviceDefinition': (0, ServiceDefinitionOverviewDto_1.ServiceDefinitionOverviewDtoToJSON)(value['serviceDefinition']),
73
+ 'serviceDefinition': ServiceDefinitionOverviewDtoToJSON(value['serviceDefinition']),
81
74
  };
82
75
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ServiceDefinitionOverviewDto } from './ServiceDefinitionOverviewDto';
12
+ import type { ServiceDefinitionOverviewDto } from './ServiceDefinitionOverviewDto.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,17 +11,11 @@
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.JobOverviewDtoStatusEnum = void 0;
17
- exports.instanceOfJobOverviewDto = instanceOfJobOverviewDto;
18
- exports.JobOverviewDtoFromJSON = JobOverviewDtoFromJSON;
19
- exports.JobOverviewDtoFromJSONTyped = JobOverviewDtoFromJSONTyped;
20
- exports.JobOverviewDtoToJSON = JobOverviewDtoToJSON;
21
- const ServiceDefinitionOverviewDto_1 = require("./ServiceDefinitionOverviewDto");
14
+ import { ServiceDefinitionOverviewDtoFromJSON, ServiceDefinitionOverviewDtoToJSON, } from './ServiceDefinitionOverviewDto.js';
22
15
  /**
23
16
  * @export
24
17
  */
25
- exports.JobOverviewDtoStatusEnum = {
18
+ export const JobOverviewDtoStatusEnum = {
26
19
  Unknown: 'UNKNOWN',
27
20
  Pending: 'PENDING',
28
21
  Running: 'RUNNING',
@@ -33,13 +26,13 @@ exports.JobOverviewDtoStatusEnum = {
33
26
  /**
34
27
  * Check if a given object implements the JobOverviewDto interface.
35
28
  */
36
- function instanceOfJobOverviewDto(value) {
29
+ export function instanceOfJobOverviewDto(value) {
37
30
  return true;
38
31
  }
39
- function JobOverviewDtoFromJSON(json) {
32
+ export function JobOverviewDtoFromJSON(json) {
40
33
  return JobOverviewDtoFromJSONTyped(json, false);
41
34
  }
42
- function JobOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ export function JobOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
43
36
  if (json == null) {
44
37
  return json;
45
38
  }
@@ -49,10 +42,10 @@ function JobOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
49
42
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
50
43
  'startedAt': json['startedAt'] == null ? undefined : json['startedAt'],
51
44
  'endedAt': json['endedAt'] == null ? undefined : json['endedAt'],
52
- 'serviceDefinition': json['serviceDefinition'] == null ? undefined : (0, ServiceDefinitionOverviewDto_1.ServiceDefinitionOverviewDtoFromJSON)(json['serviceDefinition']),
45
+ 'serviceDefinition': json['serviceDefinition'] == null ? undefined : ServiceDefinitionOverviewDtoFromJSON(json['serviceDefinition']),
53
46
  };
54
47
  }
55
- function JobOverviewDtoToJSON(value) {
48
+ export function JobOverviewDtoToJSON(value) {
56
49
  if (value == null) {
57
50
  return value;
58
51
  }
@@ -62,6 +55,6 @@ function JobOverviewDtoToJSON(value) {
62
55
  'createdAt': value['createdAt'],
63
56
  'startedAt': value['startedAt'],
64
57
  'endedAt': value['endedAt'],
65
- 'serviceDefinition': (0, ServiceDefinitionOverviewDto_1.ServiceDefinitionOverviewDtoToJSON)(value['serviceDefinition']),
58
+ 'serviceDefinition': ServiceDefinitionOverviewDtoToJSON(value['serviceDefinition']),
66
59
  };
67
60
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ResourceConfiguration } from './ResourceConfiguration';
12
+ import type { ResourceConfiguration } from './ResourceConfiguration.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,37 +11,32 @@
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.instanceOfMemoryConfiguration = instanceOfMemoryConfiguration;
17
- exports.MemoryConfigurationFromJSON = MemoryConfigurationFromJSON;
18
- exports.MemoryConfigurationFromJSONTyped = MemoryConfigurationFromJSONTyped;
19
- exports.MemoryConfigurationToJSON = MemoryConfigurationToJSON;
20
- const ResourceConfiguration_1 = require("./ResourceConfiguration");
14
+ import { ResourceConfigurationFromJSONTyped, ResourceConfigurationToJSON, } from './ResourceConfiguration.js';
21
15
  /**
22
16
  * Check if a given object implements the MemoryConfiguration interface.
23
17
  */
24
- function instanceOfMemoryConfiguration(value) {
18
+ export function instanceOfMemoryConfiguration(value) {
25
19
  return true;
26
20
  }
27
- function MemoryConfigurationFromJSON(json) {
21
+ export function MemoryConfigurationFromJSON(json) {
28
22
  return MemoryConfigurationFromJSONTyped(json, false);
29
23
  }
30
- function MemoryConfigurationFromJSONTyped(json, ignoreDiscriminator) {
24
+ export function MemoryConfigurationFromJSONTyped(json, ignoreDiscriminator) {
31
25
  if (json == null) {
32
26
  return json;
33
27
  }
34
28
  return {
35
- ...(0, ResourceConfiguration_1.ResourceConfigurationFromJSONTyped)(json, ignoreDiscriminator),
29
+ ...ResourceConfigurationFromJSONTyped(json, ignoreDiscriminator),
36
30
  'amount': json['amount'] == null ? undefined : json['amount'],
37
31
  'unit': json['unit'] == null ? undefined : json['unit'],
38
32
  };
39
33
  }
40
- function MemoryConfigurationToJSON(value) {
34
+ export function MemoryConfigurationToJSON(value) {
41
35
  if (value == null) {
42
36
  return value;
43
37
  }
44
38
  return {
45
- ...(0, ResourceConfiguration_1.ResourceConfigurationToJSON)(value),
39
+ ...ResourceConfigurationToJSON(value),
46
40
  'amount': value['amount'],
47
41
  'unit': value['unit'],
48
42
  };
@@ -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.instanceOfMeteringRequest = instanceOfMeteringRequest;
17
- exports.MeteringRequestFromJSON = MeteringRequestFromJSON;
18
- exports.MeteringRequestFromJSONTyped = MeteringRequestFromJSONTyped;
19
- exports.MeteringRequestToJSON = MeteringRequestToJSON;
20
14
  /**
21
15
  * Check if a given object implements the MeteringRequest interface.
22
16
  */
23
- function instanceOfMeteringRequest(value) {
17
+ export function instanceOfMeteringRequest(value) {
24
18
  return true;
25
19
  }
26
- function MeteringRequestFromJSON(json) {
20
+ export function MeteringRequestFromJSON(json) {
27
21
  return MeteringRequestFromJSONTyped(json, false);
28
22
  }
29
- function MeteringRequestFromJSONTyped(json, ignoreDiscriminator) {
23
+ export function MeteringRequestFromJSONTyped(json, ignoreDiscriminator) {
30
24
  if (json == null) {
31
25
  return json;
32
26
  }
@@ -36,7 +30,7 @@ function MeteringRequestFromJSONTyped(json, ignoreDiscriminator) {
36
30
  'count': json['count'] == null ? undefined : json['count'],
37
31
  };
38
32
  }
39
- function MeteringRequestToJSON(value) {
33
+ export function MeteringRequestToJSON(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.instanceOfMeteringResponse = instanceOfMeteringResponse;
17
- exports.MeteringResponseFromJSON = MeteringResponseFromJSON;
18
- exports.MeteringResponseFromJSONTyped = MeteringResponseFromJSONTyped;
19
- exports.MeteringResponseToJSON = MeteringResponseToJSON;
20
14
  /**
21
15
  * Check if a given object implements the MeteringResponse interface.
22
16
  */
23
- function instanceOfMeteringResponse(value) {
17
+ export function instanceOfMeteringResponse(value) {
24
18
  return true;
25
19
  }
26
- function MeteringResponseFromJSON(json) {
20
+ export function MeteringResponseFromJSON(json) {
27
21
  return MeteringResponseFromJSONTyped(json, false);
28
22
  }
29
- function MeteringResponseFromJSONTyped(json, ignoreDiscriminator) {
23
+ export function MeteringResponseFromJSONTyped(json, ignoreDiscriminator) {
30
24
  if (json == null) {
31
25
  return json;
32
26
  }
@@ -37,7 +31,7 @@ function MeteringResponseFromJSONTyped(json, ignoreDiscriminator) {
37
31
  'correlationId': json['correlationId'] == null ? undefined : json['correlationId'],
38
32
  };
39
33
  }
40
- function MeteringResponseToJSON(value) {
34
+ export function MeteringResponseToJSON(value) {
41
35
  if (value == null) {
42
36
  return value;
43
37
  }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { AmountMajorDto } from './AmountMajorDto';
13
- import type { ProductGroupDto } from './ProductGroupDto';
12
+ import type { AmountMajorDto } from './AmountMajorDto.js';
13
+ import type { ProductGroupDto } from './ProductGroupDto.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,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.instanceOfMonthAmountDto = instanceOfMonthAmountDto;
17
- exports.MonthAmountDtoFromJSON = MonthAmountDtoFromJSON;
18
- exports.MonthAmountDtoFromJSONTyped = MonthAmountDtoFromJSONTyped;
19
- exports.MonthAmountDtoToJSON = MonthAmountDtoToJSON;
20
- const AmountMajorDto_1 = require("./AmountMajorDto");
21
- const ProductGroupDto_1 = require("./ProductGroupDto");
14
+ import { AmountMajorDtoFromJSON, AmountMajorDtoToJSON, } from './AmountMajorDto.js';
15
+ import { ProductGroupDtoFromJSON, ProductGroupDtoToJSON, } from './ProductGroupDto.js';
22
16
  /**
23
17
  * Check if a given object implements the MonthAmountDto interface.
24
18
  */
25
- function instanceOfMonthAmountDto(value) {
19
+ export function instanceOfMonthAmountDto(value) {
26
20
  return true;
27
21
  }
28
- function MonthAmountDtoFromJSON(json) {
22
+ export function MonthAmountDtoFromJSON(json) {
29
23
  return MonthAmountDtoFromJSONTyped(json, false);
30
24
  }
31
- function MonthAmountDtoFromJSONTyped(json, ignoreDiscriminator) {
25
+ export function MonthAmountDtoFromJSONTyped(json, ignoreDiscriminator) {
32
26
  if (json == null) {
33
27
  return json;
34
28
  }
35
29
  return {
36
30
  'year': json['year'] == null ? undefined : json['year'],
37
31
  'month': json['month'] == null ? undefined : json['month'],
38
- 'amountMajor': json['amountMajor'] == null ? undefined : (0, AmountMajorDto_1.AmountMajorDtoFromJSON)(json['amountMajor']),
39
- 'groups': json['groups'] == null ? undefined : (json['groups'].map(ProductGroupDto_1.ProductGroupDtoFromJSON)),
32
+ 'amountMajor': json['amountMajor'] == null ? undefined : AmountMajorDtoFromJSON(json['amountMajor']),
33
+ 'groups': json['groups'] == null ? undefined : (json['groups'].map(ProductGroupDtoFromJSON)),
40
34
  };
41
35
  }
42
- function MonthAmountDtoToJSON(value) {
36
+ export function MonthAmountDtoToJSON(value) {
43
37
  if (value == null) {
44
38
  return value;
45
39
  }
46
40
  return {
47
41
  'year': value['year'],
48
42
  'month': value['month'],
49
- 'amountMajor': (0, AmountMajorDto_1.AmountMajorDtoToJSON)(value['amountMajor']),
50
- 'groups': value['groups'] == null ? undefined : (value['groups'].map(ProductGroupDto_1.ProductGroupDtoToJSON)),
43
+ 'amountMajor': AmountMajorDtoToJSON(value['amountMajor']),
44
+ 'groups': value['groups'] == null ? undefined : (value['groups'].map(ProductGroupDtoToJSON)),
51
45
  };
52
46
  }
@@ -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.instanceOfOwnerDto = instanceOfOwnerDto;
17
- exports.OwnerDtoFromJSON = OwnerDtoFromJSON;
18
- exports.OwnerDtoFromJSONTyped = OwnerDtoFromJSONTyped;
19
- exports.OwnerDtoToJSON = OwnerDtoToJSON;
20
14
  /**
21
15
  * Check if a given object implements the OwnerDto interface.
22
16
  */
23
- function instanceOfOwnerDto(value) {
17
+ export function instanceOfOwnerDto(value) {
24
18
  return true;
25
19
  }
26
- function OwnerDtoFromJSON(json) {
20
+ export function OwnerDtoFromJSON(json) {
27
21
  return OwnerDtoFromJSONTyped(json, false);
28
22
  }
29
- function OwnerDtoFromJSONTyped(json, ignoreDiscriminator) {
23
+ export function OwnerDtoFromJSONTyped(json, ignoreDiscriminator) {
30
24
  if (json == null) {
31
25
  return json;
32
26
  }
@@ -40,7 +34,7 @@ function OwnerDtoFromJSONTyped(json, ignoreDiscriminator) {
40
34
  'isExpert': json['isExpert'] == null ? undefined : json['isExpert'],
41
35
  };
42
36
  }
43
- function OwnerDtoToJSON(value) {
37
+ export function OwnerDtoToJSON(value) {
44
38
  if (value == null) {
45
39
  return value;
46
40
  }
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { PageableObject } from './PageableObject';
13
- import type { SortObject } from './SortObject';
14
- import type { DataPoolDto } from './DataPoolDto';
12
+ import type { PageableObject } from './PageableObject.js';
13
+ import type { SortObject } from './SortObject.js';
14
+ import type { DataPoolDto } from './DataPoolDto.js';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /* tslint:disable */
3
2
  /* eslint-disable */
4
3
  /**
@@ -12,24 +11,19 @@
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.instanceOfPageDataPoolDto = instanceOfPageDataPoolDto;
17
- exports.PageDataPoolDtoFromJSON = PageDataPoolDtoFromJSON;
18
- exports.PageDataPoolDtoFromJSONTyped = PageDataPoolDtoFromJSONTyped;
19
- exports.PageDataPoolDtoToJSON = PageDataPoolDtoToJSON;
20
- const PageableObject_1 = require("./PageableObject");
21
- const SortObject_1 = require("./SortObject");
22
- const DataPoolDto_1 = require("./DataPoolDto");
14
+ import { PageableObjectFromJSON, PageableObjectToJSON, } from './PageableObject.js';
15
+ import { SortObjectFromJSON, SortObjectToJSON, } from './SortObject.js';
16
+ import { DataPoolDtoFromJSON, DataPoolDtoToJSON, } from './DataPoolDto.js';
23
17
  /**
24
18
  * Check if a given object implements the PageDataPoolDto interface.
25
19
  */
26
- function instanceOfPageDataPoolDto(value) {
20
+ export function instanceOfPageDataPoolDto(value) {
27
21
  return true;
28
22
  }
29
- function PageDataPoolDtoFromJSON(json) {
23
+ export function PageDataPoolDtoFromJSON(json) {
30
24
  return PageDataPoolDtoFromJSONTyped(json, false);
31
25
  }
32
- function PageDataPoolDtoFromJSONTyped(json, ignoreDiscriminator) {
26
+ export function PageDataPoolDtoFromJSONTyped(json, ignoreDiscriminator) {
33
27
  if (json == null) {
34
28
  return json;
35
29
  }
@@ -38,16 +32,16 @@ function PageDataPoolDtoFromJSONTyped(json, ignoreDiscriminator) {
38
32
  'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
39
33
  'first': json['first'] == null ? undefined : json['first'],
40
34
  'size': json['size'] == null ? undefined : json['size'],
41
- 'content': json['content'] == null ? undefined : (json['content'].map(DataPoolDto_1.DataPoolDtoFromJSON)),
35
+ 'content': json['content'] == null ? undefined : (json['content'].map(DataPoolDtoFromJSON)),
42
36
  'number': json['number'] == null ? undefined : json['number'],
43
- 'sort': json['sort'] == null ? undefined : (0, SortObject_1.SortObjectFromJSON)(json['sort']),
37
+ 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
44
38
  'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
45
- 'pageable': json['pageable'] == null ? undefined : (0, PageableObject_1.PageableObjectFromJSON)(json['pageable']),
39
+ 'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
46
40
  'last': json['last'] == null ? undefined : json['last'],
47
41
  'empty': json['empty'] == null ? undefined : json['empty'],
48
42
  };
49
43
  }
50
- function PageDataPoolDtoToJSON(value) {
44
+ export function PageDataPoolDtoToJSON(value) {
51
45
  if (value == null) {
52
46
  return value;
53
47
  }
@@ -56,11 +50,11 @@ function PageDataPoolDtoToJSON(value) {
56
50
  'totalElements': value['totalElements'],
57
51
  'first': value['first'],
58
52
  'size': value['size'],
59
- 'content': value['content'] == null ? undefined : (value['content'].map(DataPoolDto_1.DataPoolDtoToJSON)),
53
+ 'content': value['content'] == null ? undefined : (value['content'].map(DataPoolDtoToJSON)),
60
54
  'number': value['number'],
61
- 'sort': (0, SortObject_1.SortObjectToJSON)(value['sort']),
55
+ 'sort': SortObjectToJSON(value['sort']),
62
56
  'numberOfElements': value['numberOfElements'],
63
- 'pageable': (0, PageableObject_1.PageableObjectToJSON)(value['pageable']),
57
+ 'pageable': PageableObjectToJSON(value['pageable']),
64
58
  'last': value['last'],
65
59
  'empty': value['empty'],
66
60
  };
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { SortObject } from './SortObject';
12
+ import type { SortObject } from './SortObject.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.instanceOfPageableObject = instanceOfPageableObject;
17
- exports.PageableObjectFromJSON = PageableObjectFromJSON;
18
- exports.PageableObjectFromJSONTyped = PageableObjectFromJSONTyped;
19
- exports.PageableObjectToJSON = PageableObjectToJSON;
20
- const SortObject_1 = require("./SortObject");
14
+ import { SortObjectFromJSON, SortObjectToJSON, } from './SortObject.js';
21
15
  /**
22
16
  * Check if a given object implements the PageableObject interface.
23
17
  */
24
- function instanceOfPageableObject(value) {
18
+ export function instanceOfPageableObject(value) {
25
19
  return true;
26
20
  }
27
- function PageableObjectFromJSON(json) {
21
+ export function PageableObjectFromJSON(json) {
28
22
  return PageableObjectFromJSONTyped(json, false);
29
23
  }
30
- function PageableObjectFromJSONTyped(json, ignoreDiscriminator) {
24
+ export function PageableObjectFromJSONTyped(json, ignoreDiscriminator) {
31
25
  if (json == null) {
32
26
  return json;
33
27
  }
34
28
  return {
35
29
  'offset': json['offset'] == null ? undefined : json['offset'],
36
- 'sort': json['sort'] == null ? undefined : (0, SortObject_1.SortObjectFromJSON)(json['sort']),
30
+ 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
37
31
  'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
38
32
  'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
39
33
  'paged': json['paged'] == null ? undefined : json['paged'],
40
34
  'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
41
35
  };
42
36
  }
43
- function PageableObjectToJSON(value) {
37
+ export function PageableObjectToJSON(value) {
44
38
  if (value == null) {
45
39
  return value;
46
40
  }
47
41
  return {
48
42
  'offset': value['offset'],
49
- 'sort': (0, SortObject_1.SortObjectToJSON)(value['sort']),
43
+ 'sort': SortObjectToJSON(value['sort']),
50
44
  'pageSize': value['pageSize'],
51
45
  'pageNumber': value['pageNumber'],
52
46
  'paged': value['paged'],
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ProductDto } from './ProductDto';
12
+ import type { ProductDto } from './ProductDto.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,46 +11,40 @@
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.PricingPlanDtoTypeEnum = void 0;
17
- exports.instanceOfPricingPlanDto = instanceOfPricingPlanDto;
18
- exports.PricingPlanDtoFromJSON = PricingPlanDtoFromJSON;
19
- exports.PricingPlanDtoFromJSONTyped = PricingPlanDtoFromJSONTyped;
20
- exports.PricingPlanDtoToJSON = PricingPlanDtoToJSON;
21
- const ProductDto_1 = require("./ProductDto");
14
+ import { ProductDtoFromJSON, ProductDtoToJSON, } from './ProductDto.js';
22
15
  /**
23
16
  * @export
24
17
  */
25
- exports.PricingPlanDtoTypeEnum = {
18
+ export const PricingPlanDtoTypeEnum = {
26
19
  Free: 'FREE',
27
20
  Commercial: 'COMMERCIAL'
28
21
  };
29
22
  /**
30
23
  * Check if a given object implements the PricingPlanDto interface.
31
24
  */
32
- function instanceOfPricingPlanDto(value) {
25
+ export function instanceOfPricingPlanDto(value) {
33
26
  return true;
34
27
  }
35
- function PricingPlanDtoFromJSON(json) {
28
+ export function PricingPlanDtoFromJSON(json) {
36
29
  return PricingPlanDtoFromJSONTyped(json, false);
37
30
  }
38
- function PricingPlanDtoFromJSONTyped(json, ignoreDiscriminator) {
31
+ export function PricingPlanDtoFromJSONTyped(json, ignoreDiscriminator) {
39
32
  if (json == null) {
40
33
  return json;
41
34
  }
42
35
  return {
43
36
  'id': json['id'] == null ? undefined : json['id'],
44
37
  'type': json['type'] == null ? undefined : json['type'],
45
- 'products': json['products'] == null ? undefined : (json['products'].map(ProductDto_1.ProductDtoFromJSON)),
38
+ 'products': json['products'] == null ? undefined : (json['products'].map(ProductDtoFromJSON)),
46
39
  };
47
40
  }
48
- function PricingPlanDtoToJSON(value) {
41
+ export function PricingPlanDtoToJSON(value) {
49
42
  if (value == null) {
50
43
  return value;
51
44
  }
52
45
  return {
53
46
  'id': value['id'],
54
47
  'type': value['type'],
55
- 'products': value['products'] == null ? undefined : (value['products'].map(ProductDto_1.ProductDtoToJSON)),
48
+ 'products': value['products'] == null ? undefined : (value['products'].map(ProductDtoToJSON)),
56
49
  };
57
50
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { AmountMajorDto } from './AmountMajorDto';
12
+ import type { AmountMajorDto } from './AmountMajorDto.js';
13
13
  /**
14
14
  *
15
15
  * @export