@quantum-hub/qhubctl 1.9.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/README.md +6 -35
  2. package/dist/commands/datapool-upload.js +7 -3
  3. package/dist/commands/init.js +2 -27
  4. package/dist/commands/list-contexts.js +1 -1
  5. package/dist/commands/services-build-status.js +1 -1
  6. package/dist/commands/set-context.js +6 -2
  7. package/dist/commands/up.js +11 -15
  8. package/dist/lib/error.js +25 -8
  9. package/dist/lib/repository.d.ts +1 -4
  10. package/dist/lib/repository.js +2 -9
  11. package/dist/service/quantum-hub-service.d.ts +9 -13
  12. package/dist/service/quantum-hub-service.js +67 -139
  13. package/package.json +2 -2
  14. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.d.ts +0 -89
  15. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.js +0 -222
  16. package/dist/client/kqh/apis/ServicePlatformDashboardApi.d.ts +0 -44
  17. package/dist/client/kqh/apis/ServicePlatformDashboardApi.js +0 -106
  18. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.d.ts +0 -133
  19. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.js +0 -373
  20. package/dist/client/kqh/apis/ServicePlatformJobsApi.d.ts +0 -101
  21. package/dist/client/kqh/apis/ServicePlatformJobsApi.js +0 -261
  22. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.d.ts +0 -48
  23. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.js +0 -115
  24. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.d.ts +0 -29
  25. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.js +0 -53
  26. package/dist/client/kqh/apis/ServicePlatformServicesApi.d.ts +0 -501
  27. package/dist/client/kqh/apis/ServicePlatformServicesApi.js +0 -1472
  28. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.d.ts +0 -66
  29. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.js +0 -157
  30. package/dist/client/kqh/apis/TaxonomiesApi.d.ts +0 -90
  31. package/dist/client/kqh/apis/TaxonomiesApi.js +0 -272
  32. package/dist/client/kqh/apis/index.d.ts +0 -9
  33. package/dist/client/kqh/apis/index.js +0 -11
  34. package/dist/client/kqh/index.d.ts +0 -3
  35. package/dist/client/kqh/index.js +0 -5
  36. package/dist/client/kqh/models/AccessTokenDto.d.ts +0 -81
  37. package/dist/client/kqh/models/AccessTokenDto.js +0 -59
  38. package/dist/client/kqh/models/AmountMajorDto.d.ts +0 -37
  39. package/dist/client/kqh/models/AmountMajorDto.js +0 -40
  40. package/dist/client/kqh/models/ApiDto.d.ts +0 -144
  41. package/dist/client/kqh/models/ApiDto.js +0 -92
  42. package/dist/client/kqh/models/ApiOverviewDto.d.ts +0 -119
  43. package/dist/client/kqh/models/ApiOverviewDto.js +0 -83
  44. package/dist/client/kqh/models/ApplicationDto.d.ts +0 -64
  45. package/dist/client/kqh/models/ApplicationDto.js +0 -53
  46. package/dist/client/kqh/models/BuildJobDto.d.ts +0 -75
  47. package/dist/client/kqh/models/BuildJobDto.js +0 -64
  48. package/dist/client/kqh/models/CpuConfiguration.d.ts +0 -38
  49. package/dist/client/kqh/models/CpuConfiguration.js +0 -43
  50. package/dist/client/kqh/models/CreateApplicationRequest.d.ts +0 -31
  51. package/dist/client/kqh/models/CreateApplicationRequest.js +0 -38
  52. package/dist/client/kqh/models/CreateDataPoolRequest.d.ts +0 -31
  53. package/dist/client/kqh/models/CreateDataPoolRequest.js +0 -40
  54. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.d.ts +0 -46
  55. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.js +0 -50
  56. package/dist/client/kqh/models/CreateJobRequest.d.ts +0 -62
  57. package/dist/client/kqh/models/CreateJobRequest.js +0 -51
  58. package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.d.ts +0 -73
  59. package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.js +0 -72
  60. package/dist/client/kqh/models/CreateProductRequest.d.ts +0 -43
  61. package/dist/client/kqh/models/CreateProductRequest.js +0 -46
  62. package/dist/client/kqh/models/CreateSubscriptionRequest.d.ts +0 -37
  63. package/dist/client/kqh/models/CreateSubscriptionRequest.js +0 -44
  64. package/dist/client/kqh/models/CreateWorkflowServiceRequest.d.ts +0 -37
  65. package/dist/client/kqh/models/CreateWorkflowServiceRequest.js +0 -42
  66. package/dist/client/kqh/models/DataPoolDto.d.ts +0 -166
  67. package/dist/client/kqh/models/DataPoolDto.js +0 -98
  68. package/dist/client/kqh/models/DataPoolRef.d.ts +0 -43
  69. package/dist/client/kqh/models/DataPoolRef.js +0 -42
  70. package/dist/client/kqh/models/DataSourceDescriptorDto.d.ts +0 -89
  71. package/dist/client/kqh/models/DataSourceDescriptorDto.js +0 -62
  72. package/dist/client/kqh/models/FileDto.d.ts +0 -73
  73. package/dist/client/kqh/models/FileDto.js +0 -45
  74. package/dist/client/kqh/models/FileSource.d.ts +0 -26
  75. package/dist/client/kqh/models/FileSource.js +0 -28
  76. package/dist/client/kqh/models/GpuConfiguration.d.ts +0 -49
  77. package/dist/client/kqh/models/GpuConfiguration.js +0 -53
  78. package/dist/client/kqh/models/JobDto.d.ts +0 -117
  79. package/dist/client/kqh/models/JobDto.js +0 -75
  80. package/dist/client/kqh/models/JobOverviewDto.d.ts +0 -74
  81. package/dist/client/kqh/models/JobOverviewDto.js +0 -60
  82. package/dist/client/kqh/models/MemoryConfiguration.d.ts +0 -38
  83. package/dist/client/kqh/models/MemoryConfiguration.js +0 -43
  84. package/dist/client/kqh/models/MeteringRequest.d.ts +0 -43
  85. package/dist/client/kqh/models/MeteringRequest.js +0 -42
  86. package/dist/client/kqh/models/MeteringResponse.d.ts +0 -49
  87. package/dist/client/kqh/models/MeteringResponse.js +0 -44
  88. package/dist/client/kqh/models/MonthAmountDto.d.ts +0 -51
  89. package/dist/client/kqh/models/MonthAmountDto.js +0 -46
  90. package/dist/client/kqh/models/OwnerDto.d.ts +0 -67
  91. package/dist/client/kqh/models/OwnerDto.js +0 -50
  92. package/dist/client/kqh/models/PageDataPoolDto.d.ts +0 -94
  93. package/dist/client/kqh/models/PageDataPoolDto.js +0 -61
  94. package/dist/client/kqh/models/PageableObject.d.ts +0 -62
  95. package/dist/client/kqh/models/PageableObject.js +0 -49
  96. package/dist/client/kqh/models/PricingPlanDto.d.ts +0 -52
  97. package/dist/client/kqh/models/PricingPlanDto.js +0 -50
  98. package/dist/client/kqh/models/ProductAmountDto.d.ts +0 -38
  99. package/dist/client/kqh/models/ProductAmountDto.js +0 -41
  100. package/dist/client/kqh/models/ProductDto.d.ts +0 -83
  101. package/dist/client/kqh/models/ProductDto.js +0 -69
  102. package/dist/client/kqh/models/ProductGroupDto.d.ts +0 -45
  103. package/dist/client/kqh/models/ProductGroupDto.js +0 -44
  104. package/dist/client/kqh/models/ProductUsageDto.d.ts +0 -61
  105. package/dist/client/kqh/models/ProductUsageDto.js +0 -48
  106. package/dist/client/kqh/models/RegistrySource.d.ts +0 -52
  107. package/dist/client/kqh/models/RegistrySource.js +0 -49
  108. package/dist/client/kqh/models/RepositorySource.d.ts +0 -32
  109. package/dist/client/kqh/models/RepositorySource.js +0 -41
  110. package/dist/client/kqh/models/ResourceConfiguration.d.ts +0 -31
  111. package/dist/client/kqh/models/ResourceConfiguration.js +0 -52
  112. package/dist/client/kqh/models/ReviewDto.d.ts +0 -51
  113. package/dist/client/kqh/models/ReviewDto.js +0 -49
  114. package/dist/client/kqh/models/RuntimeConfiguration.d.ts +0 -53
  115. package/dist/client/kqh/models/RuntimeConfiguration.js +0 -49
  116. package/dist/client/kqh/models/ServiceDefinitionCommand.d.ts +0 -39
  117. package/dist/client/kqh/models/ServiceDefinitionCommand.js +0 -45
  118. package/dist/client/kqh/models/ServiceDefinitionDto.d.ts +0 -180
  119. package/dist/client/kqh/models/ServiceDefinitionDto.js +0 -101
  120. package/dist/client/kqh/models/ServiceDefinitionDtoSource.d.ts +0 -23
  121. package/dist/client/kqh/models/ServiceDefinitionDtoSource.js +0 -49
  122. package/dist/client/kqh/models/ServiceDefinitionOverviewDto.d.ts +0 -79
  123. package/dist/client/kqh/models/ServiceDefinitionOverviewDto.js +0 -64
  124. package/dist/client/kqh/models/ServiceDto.d.ts +0 -59
  125. package/dist/client/kqh/models/ServiceDto.js +0 -52
  126. package/dist/client/kqh/models/ServiceExecutionConsumerDto.d.ts +0 -67
  127. package/dist/client/kqh/models/ServiceExecutionConsumerDto.js +0 -57
  128. package/dist/client/kqh/models/ServiceExecutionDto.d.ts +0 -49
  129. package/dist/client/kqh/models/ServiceExecutionDto.js +0 -44
  130. package/dist/client/kqh/models/ServiceOverviewDto.d.ts +0 -115
  131. package/dist/client/kqh/models/ServiceOverviewDto.js +0 -85
  132. package/dist/client/kqh/models/ServiceSource.d.ts +0 -31
  133. package/dist/client/kqh/models/ServiceSource.js +0 -52
  134. package/dist/client/kqh/models/SortObject.d.ts +0 -43
  135. package/dist/client/kqh/models/SortObject.js +0 -42
  136. package/dist/client/kqh/models/SubscriptionDto.d.ts +0 -58
  137. package/dist/client/kqh/models/SubscriptionDto.js +0 -49
  138. package/dist/client/kqh/models/TaxonomyElement.d.ts +0 -43
  139. package/dist/client/kqh/models/TaxonomyElement.js +0 -42
  140. package/dist/client/kqh/models/UpdateDataPoolRequest.d.ts +0 -109
  141. package/dist/client/kqh/models/UpdateDataPoolRequest.js +0 -66
  142. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.d.ts +0 -23
  143. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.js +0 -49
  144. package/dist/client/kqh/models/UpdateVersionRequest.d.ts +0 -44
  145. package/dist/client/kqh/models/UpdateVersionRequest.js +0 -43
  146. package/dist/client/kqh/models/UpdateWorkflowServiceRequest.d.ts +0 -31
  147. package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +0 -27
  148. package/dist/client/kqh/models/ValidationResult.d.ts +0 -52
  149. package/dist/client/kqh/models/ValidationResult.js +0 -50
  150. package/dist/client/kqh/models/index.d.ts +0 -57
  151. package/dist/client/kqh/models/index.js +0 -59
  152. package/dist/client/kqh/runtime.d.ts +0 -181
  153. package/dist/client/kqh/runtime.js +0 -325
  154. package/dist/model/account.d.ts +0 -5
  155. package/dist/model/account.js +0 -1
@@ -1,64 +0,0 @@
1
- /**
2
- * Quantum Hub Platform API
3
- * Part of the OpenAPI specification for the Quantum Hub Platform.
4
- *
5
- * The version of the OpenAPI document: v1
6
- * Contact: info@anaqor.io
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ApplicationDto
16
- */
17
- export interface ApplicationDto {
18
- /**
19
- * The access permission role for this entity of the current user
20
- * @type {string}
21
- * @memberof ApplicationDto
22
- */
23
- readonly currentUserPermission?: ApplicationDtoCurrentUserPermissionEnum;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ApplicationDto
28
- */
29
- id?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof ApplicationDto
34
- */
35
- name?: string;
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof ApplicationDto
40
- */
41
- subscriptionCount?: number;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof ApplicationDto
46
- */
47
- createdAt?: string;
48
- }
49
- /**
50
- * @export
51
- */
52
- export declare const ApplicationDtoCurrentUserPermissionEnum: {
53
- readonly Viewer: "VIEWER";
54
- readonly Maintainer: "MAINTAINER";
55
- readonly Owner: "OWNER";
56
- };
57
- export type ApplicationDtoCurrentUserPermissionEnum = typeof ApplicationDtoCurrentUserPermissionEnum[keyof typeof ApplicationDtoCurrentUserPermissionEnum];
58
- /**
59
- * Check if a given object implements the ApplicationDto interface.
60
- */
61
- export declare function instanceOfApplicationDto(value: object): value is ApplicationDto;
62
- export declare function ApplicationDtoFromJSON(json: any): ApplicationDto;
63
- export declare function ApplicationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationDto;
64
- export declare function ApplicationDtoToJSON(value?: Omit<ApplicationDto, 'currentUserPermission'> | null): any;
@@ -1,53 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Hub Platform API
5
- * Part of the OpenAPI specification for the Quantum Hub Platform.
6
- *
7
- * The version of the OpenAPI document: v1
8
- * Contact: info@anaqor.io
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * @export
16
- */
17
- export const ApplicationDtoCurrentUserPermissionEnum = {
18
- Viewer: 'VIEWER',
19
- Maintainer: 'MAINTAINER',
20
- Owner: 'OWNER'
21
- };
22
- /**
23
- * Check if a given object implements the ApplicationDto interface.
24
- */
25
- export function instanceOfApplicationDto(value) {
26
- return true;
27
- }
28
- export function ApplicationDtoFromJSON(json) {
29
- return ApplicationDtoFromJSONTyped(json, false);
30
- }
31
- export function ApplicationDtoFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'currentUserPermission': json['currentUserPermission'] == null ? undefined : json['currentUserPermission'],
37
- 'id': json['id'] == null ? undefined : json['id'],
38
- 'name': json['name'] == null ? undefined : json['name'],
39
- 'subscriptionCount': json['subscriptionCount'] == null ? undefined : json['subscriptionCount'],
40
- 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
41
- };
42
- }
43
- export function ApplicationDtoToJSON(value) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'id': value['id'],
49
- 'name': value['name'],
50
- 'subscriptionCount': value['subscriptionCount'],
51
- 'createdAt': value['createdAt'],
52
- };
53
- }
@@ -1,75 +0,0 @@
1
- /**
2
- * Quantum Hub Platform API
3
- * Part of the OpenAPI specification for the Quantum Hub Platform.
4
- *
5
- * The version of the OpenAPI document: v1
6
- * Contact: info@anaqor.io
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ValidationResult } from './ValidationResult.js';
13
- /**
14
- *
15
- * @export
16
- * @interface BuildJobDto
17
- */
18
- export interface BuildJobDto {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof BuildJobDto
23
- */
24
- status?: BuildJobDtoStatusEnum;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof BuildJobDto
29
- */
30
- step?: BuildJobDtoStepEnum;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof BuildJobDto
35
- */
36
- createdAt?: string;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof BuildJobDto
41
- */
42
- finishedAt?: string;
43
- /**
44
- *
45
- * @type {ValidationResult}
46
- * @memberof BuildJobDto
47
- */
48
- validationResult?: ValidationResult;
49
- }
50
- /**
51
- * @export
52
- */
53
- export declare const BuildJobDtoStatusEnum: {
54
- readonly Working: "WORKING";
55
- readonly Success: "SUCCESS";
56
- readonly Failure: "FAILURE";
57
- };
58
- export type BuildJobDtoStatusEnum = typeof BuildJobDtoStatusEnum[keyof typeof BuildJobDtoStatusEnum];
59
- /**
60
- * @export
61
- */
62
- export declare const BuildJobDtoStepEnum: {
63
- readonly Init: "INIT";
64
- readonly BuildImage: "BUILD_IMAGE";
65
- readonly PushImage: "PUSH_IMAGE";
66
- readonly Unknown: "UNKNOWN";
67
- };
68
- export type BuildJobDtoStepEnum = typeof BuildJobDtoStepEnum[keyof typeof BuildJobDtoStepEnum];
69
- /**
70
- * Check if a given object implements the BuildJobDto interface.
71
- */
72
- export declare function instanceOfBuildJobDto(value: object): value is BuildJobDto;
73
- export declare function BuildJobDtoFromJSON(json: any): BuildJobDto;
74
- export declare function BuildJobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuildJobDto;
75
- export declare function BuildJobDtoToJSON(value?: BuildJobDto | null): any;
@@ -1,64 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Hub Platform API
5
- * Part of the OpenAPI specification for the Quantum Hub Platform.
6
- *
7
- * The version of the OpenAPI document: v1
8
- * Contact: info@anaqor.io
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { ValidationResultFromJSON, ValidationResultToJSON, } from './ValidationResult.js';
15
- /**
16
- * @export
17
- */
18
- export const BuildJobDtoStatusEnum = {
19
- Working: 'WORKING',
20
- Success: 'SUCCESS',
21
- Failure: 'FAILURE'
22
- };
23
- /**
24
- * @export
25
- */
26
- export const BuildJobDtoStepEnum = {
27
- Init: 'INIT',
28
- BuildImage: 'BUILD_IMAGE',
29
- PushImage: 'PUSH_IMAGE',
30
- Unknown: 'UNKNOWN'
31
- };
32
- /**
33
- * Check if a given object implements the BuildJobDto interface.
34
- */
35
- export function instanceOfBuildJobDto(value) {
36
- return true;
37
- }
38
- export function BuildJobDtoFromJSON(json) {
39
- return BuildJobDtoFromJSONTyped(json, false);
40
- }
41
- export function BuildJobDtoFromJSONTyped(json, ignoreDiscriminator) {
42
- if (json == null) {
43
- return json;
44
- }
45
- return {
46
- 'status': json['status'] == null ? undefined : json['status'],
47
- 'step': json['step'] == null ? undefined : json['step'],
48
- 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
49
- 'finishedAt': json['finishedAt'] == null ? undefined : json['finishedAt'],
50
- 'validationResult': json['validationResult'] == null ? undefined : ValidationResultFromJSON(json['validationResult']),
51
- };
52
- }
53
- export function BuildJobDtoToJSON(value) {
54
- if (value == null) {
55
- return value;
56
- }
57
- return {
58
- 'status': value['status'],
59
- 'step': value['step'],
60
- 'createdAt': value['createdAt'],
61
- 'finishedAt': value['finishedAt'],
62
- 'validationResult': ValidationResultToJSON(value['validationResult']),
63
- };
64
- }
@@ -1,38 +0,0 @@
1
- /**
2
- * Quantum Hub Platform API
3
- * Part of the OpenAPI specification for the Quantum Hub Platform.
4
- *
5
- * The version of the OpenAPI document: v1
6
- * Contact: info@anaqor.io
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ResourceConfiguration } from './ResourceConfiguration.js';
13
- /**
14
- *
15
- * @export
16
- * @interface CpuConfiguration
17
- */
18
- export interface CpuConfiguration extends ResourceConfiguration {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof CpuConfiguration
23
- */
24
- amount?: number;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof CpuConfiguration
29
- */
30
- unit?: string;
31
- }
32
- /**
33
- * Check if a given object implements the CpuConfiguration interface.
34
- */
35
- export declare function instanceOfCpuConfiguration(value: object): value is CpuConfiguration;
36
- export declare function CpuConfigurationFromJSON(json: any): CpuConfiguration;
37
- export declare function CpuConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): CpuConfiguration;
38
- export declare function CpuConfigurationToJSON(value?: CpuConfiguration | null): any;
@@ -1,43 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Hub Platform API
5
- * Part of the OpenAPI specification for the Quantum Hub Platform.
6
- *
7
- * The version of the OpenAPI document: v1
8
- * Contact: info@anaqor.io
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { ResourceConfigurationFromJSONTyped, ResourceConfigurationToJSON, } from './ResourceConfiguration.js';
15
- /**
16
- * Check if a given object implements the CpuConfiguration interface.
17
- */
18
- export function instanceOfCpuConfiguration(value) {
19
- return true;
20
- }
21
- export function CpuConfigurationFromJSON(json) {
22
- return CpuConfigurationFromJSONTyped(json, false);
23
- }
24
- export function CpuConfigurationFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- ...ResourceConfigurationFromJSONTyped(json, ignoreDiscriminator),
30
- 'amount': json['amount'] == null ? undefined : json['amount'],
31
- 'unit': json['unit'] == null ? undefined : json['unit'],
32
- };
33
- }
34
- export function CpuConfigurationToJSON(value) {
35
- if (value == null) {
36
- return value;
37
- }
38
- return {
39
- ...ResourceConfigurationToJSON(value),
40
- 'amount': value['amount'],
41
- 'unit': value['unit'],
42
- };
43
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * Quantum Hub Platform API
3
- * Part of the OpenAPI specification for the Quantum Hub Platform.
4
- *
5
- * The version of the OpenAPI document: v1
6
- * Contact: info@anaqor.io
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface CreateApplicationRequest
16
- */
17
- export interface CreateApplicationRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof CreateApplicationRequest
22
- */
23
- name?: string;
24
- }
25
- /**
26
- * Check if a given object implements the CreateApplicationRequest interface.
27
- */
28
- export declare function instanceOfCreateApplicationRequest(value: object): value is CreateApplicationRequest;
29
- export declare function CreateApplicationRequestFromJSON(json: any): CreateApplicationRequest;
30
- export declare function CreateApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateApplicationRequest;
31
- export declare function CreateApplicationRequestToJSON(value?: CreateApplicationRequest | null): any;
@@ -1,38 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Hub Platform API
5
- * Part of the OpenAPI specification for the Quantum Hub Platform.
6
- *
7
- * The version of the OpenAPI document: v1
8
- * Contact: info@anaqor.io
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the CreateApplicationRequest interface.
16
- */
17
- export function instanceOfCreateApplicationRequest(value) {
18
- return true;
19
- }
20
- export function CreateApplicationRequestFromJSON(json) {
21
- return CreateApplicationRequestFromJSONTyped(json, false);
22
- }
23
- export function CreateApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'name': json['name'] == null ? undefined : json['name'],
29
- };
30
- }
31
- export function CreateApplicationRequestToJSON(value) {
32
- if (value == null) {
33
- return value;
34
- }
35
- return {
36
- 'name': value['name'],
37
- };
38
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * Quantum Hub Platform API
3
- * Part of the OpenAPI specification for the Quantum Hub Platform.
4
- *
5
- * The version of the OpenAPI document: v1
6
- * Contact: info@anaqor.io
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface CreateDataPoolRequest
16
- */
17
- export interface CreateDataPoolRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof CreateDataPoolRequest
22
- */
23
- name: string;
24
- }
25
- /**
26
- * Check if a given object implements the CreateDataPoolRequest interface.
27
- */
28
- export declare function instanceOfCreateDataPoolRequest(value: object): value is CreateDataPoolRequest;
29
- export declare function CreateDataPoolRequestFromJSON(json: any): CreateDataPoolRequest;
30
- export declare function CreateDataPoolRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateDataPoolRequest;
31
- export declare function CreateDataPoolRequestToJSON(value?: CreateDataPoolRequest | null): any;
@@ -1,40 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Hub Platform API
5
- * Part of the OpenAPI specification for the Quantum Hub Platform.
6
- *
7
- * The version of the OpenAPI document: v1
8
- * Contact: info@anaqor.io
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the CreateDataPoolRequest interface.
16
- */
17
- export function instanceOfCreateDataPoolRequest(value) {
18
- if (!('name' in value) || value['name'] === undefined)
19
- return false;
20
- return true;
21
- }
22
- export function CreateDataPoolRequestFromJSON(json) {
23
- return CreateDataPoolRequestFromJSONTyped(json, false);
24
- }
25
- export function CreateDataPoolRequestFromJSONTyped(json, ignoreDiscriminator) {
26
- if (json == null) {
27
- return json;
28
- }
29
- return {
30
- 'name': json['name'],
31
- };
32
- }
33
- export function CreateDataPoolRequestToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'name': value['name'],
39
- };
40
- }
@@ -1,46 +0,0 @@
1
- /**
2
- * Quantum Hub Platform API
3
- * Part of the OpenAPI specification for the Quantum Hub Platform.
4
- *
5
- * The version of the OpenAPI document: v1
6
- * Contact: info@anaqor.io
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { CreateProductRequest } from './CreateProductRequest.js';
13
- /**
14
- *
15
- * @export
16
- * @interface CreateExternalServicePricingPlanRequest
17
- */
18
- export interface CreateExternalServicePricingPlanRequest {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof CreateExternalServicePricingPlanRequest
23
- */
24
- type: CreateExternalServicePricingPlanRequestTypeEnum;
25
- /**
26
- *
27
- * @type {Array<CreateProductRequest>}
28
- * @memberof CreateExternalServicePricingPlanRequest
29
- */
30
- products?: Array<CreateProductRequest>;
31
- }
32
- /**
33
- * @export
34
- */
35
- export declare const CreateExternalServicePricingPlanRequestTypeEnum: {
36
- readonly Free: "FREE";
37
- readonly Commercial: "COMMERCIAL";
38
- };
39
- export type CreateExternalServicePricingPlanRequestTypeEnum = typeof CreateExternalServicePricingPlanRequestTypeEnum[keyof typeof CreateExternalServicePricingPlanRequestTypeEnum];
40
- /**
41
- * Check if a given object implements the CreateExternalServicePricingPlanRequest interface.
42
- */
43
- export declare function instanceOfCreateExternalServicePricingPlanRequest(value: object): value is CreateExternalServicePricingPlanRequest;
44
- export declare function CreateExternalServicePricingPlanRequestFromJSON(json: any): CreateExternalServicePricingPlanRequest;
45
- export declare function CreateExternalServicePricingPlanRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateExternalServicePricingPlanRequest;
46
- export declare function CreateExternalServicePricingPlanRequestToJSON(value?: CreateExternalServicePricingPlanRequest | null): any;
@@ -1,50 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Hub Platform API
5
- * Part of the OpenAPI specification for the Quantum Hub Platform.
6
- *
7
- * The version of the OpenAPI document: v1
8
- * Contact: info@anaqor.io
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { CreateProductRequestFromJSON, CreateProductRequestToJSON, } from './CreateProductRequest.js';
15
- /**
16
- * @export
17
- */
18
- export const CreateExternalServicePricingPlanRequestTypeEnum = {
19
- Free: 'FREE',
20
- Commercial: 'COMMERCIAL'
21
- };
22
- /**
23
- * Check if a given object implements the CreateExternalServicePricingPlanRequest interface.
24
- */
25
- export function instanceOfCreateExternalServicePricingPlanRequest(value) {
26
- if (!('type' in value) || value['type'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- export function CreateExternalServicePricingPlanRequestFromJSON(json) {
31
- return CreateExternalServicePricingPlanRequestFromJSONTyped(json, false);
32
- }
33
- export function CreateExternalServicePricingPlanRequestFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'type': json['type'],
39
- 'products': json['products'] == null ? undefined : (json['products'].map(CreateProductRequestFromJSON)),
40
- };
41
- }
42
- export function CreateExternalServicePricingPlanRequestToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'type': value['type'],
48
- 'products': value['products'] == null ? undefined : (value['products'].map(CreateProductRequestToJSON)),
49
- };
50
- }
@@ -1,62 +0,0 @@
1
- /**
2
- * Quantum Hub Platform API
3
- * Part of the OpenAPI specification for the Quantum Hub Platform.
4
- *
5
- * The version of the OpenAPI document: v1
6
- * Contact: info@anaqor.io
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { DataPoolRef } from './DataPoolRef.js';
13
- /**
14
- *
15
- * @export
16
- * @interface CreateJobRequest
17
- */
18
- export interface CreateJobRequest {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof CreateJobRequest
23
- */
24
- inputData?: string;
25
- /**
26
- *
27
- * @type {DataPoolRef}
28
- * @memberof CreateJobRequest
29
- */
30
- inputDataRef?: DataPoolRef;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof CreateJobRequest
35
- */
36
- parameters?: string;
37
- /**
38
- *
39
- * @type {DataPoolRef}
40
- * @memberof CreateJobRequest
41
- */
42
- parametersRef?: DataPoolRef;
43
- /**
44
- *
45
- * @type {boolean}
46
- * @memberof CreateJobRequest
47
- */
48
- persistResult?: boolean;
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof CreateJobRequest
53
- */
54
- serviceDefinitionId: string;
55
- }
56
- /**
57
- * Check if a given object implements the CreateJobRequest interface.
58
- */
59
- export declare function instanceOfCreateJobRequest(value: object): value is CreateJobRequest;
60
- export declare function CreateJobRequestFromJSON(json: any): CreateJobRequest;
61
- export declare function CreateJobRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateJobRequest;
62
- export declare function CreateJobRequestToJSON(value?: CreateJobRequest | null): any;