@quantum-hub/qhubctl 1.9.0 → 1.10.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 (152) hide show
  1. package/README.md +6 -35
  2. package/dist/commands/datapool-upload.js +7 -3
  3. package/dist/commands/list-contexts.js +1 -1
  4. package/dist/commands/services-build-status.js +1 -1
  5. package/dist/commands/set-context.js +6 -2
  6. package/dist/commands/up.js +11 -15
  7. package/dist/lib/error.js +25 -8
  8. package/dist/service/quantum-hub-service.d.ts +9 -13
  9. package/dist/service/quantum-hub-service.js +67 -139
  10. package/package.json +2 -2
  11. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.d.ts +0 -89
  12. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.js +0 -222
  13. package/dist/client/kqh/apis/ServicePlatformDashboardApi.d.ts +0 -44
  14. package/dist/client/kqh/apis/ServicePlatformDashboardApi.js +0 -106
  15. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.d.ts +0 -133
  16. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.js +0 -373
  17. package/dist/client/kqh/apis/ServicePlatformJobsApi.d.ts +0 -101
  18. package/dist/client/kqh/apis/ServicePlatformJobsApi.js +0 -261
  19. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.d.ts +0 -48
  20. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.js +0 -115
  21. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.d.ts +0 -29
  22. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.js +0 -53
  23. package/dist/client/kqh/apis/ServicePlatformServicesApi.d.ts +0 -501
  24. package/dist/client/kqh/apis/ServicePlatformServicesApi.js +0 -1472
  25. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.d.ts +0 -66
  26. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.js +0 -157
  27. package/dist/client/kqh/apis/TaxonomiesApi.d.ts +0 -90
  28. package/dist/client/kqh/apis/TaxonomiesApi.js +0 -272
  29. package/dist/client/kqh/apis/index.d.ts +0 -9
  30. package/dist/client/kqh/apis/index.js +0 -11
  31. package/dist/client/kqh/index.d.ts +0 -3
  32. package/dist/client/kqh/index.js +0 -5
  33. package/dist/client/kqh/models/AccessTokenDto.d.ts +0 -81
  34. package/dist/client/kqh/models/AccessTokenDto.js +0 -59
  35. package/dist/client/kqh/models/AmountMajorDto.d.ts +0 -37
  36. package/dist/client/kqh/models/AmountMajorDto.js +0 -40
  37. package/dist/client/kqh/models/ApiDto.d.ts +0 -144
  38. package/dist/client/kqh/models/ApiDto.js +0 -92
  39. package/dist/client/kqh/models/ApiOverviewDto.d.ts +0 -119
  40. package/dist/client/kqh/models/ApiOverviewDto.js +0 -83
  41. package/dist/client/kqh/models/ApplicationDto.d.ts +0 -64
  42. package/dist/client/kqh/models/ApplicationDto.js +0 -53
  43. package/dist/client/kqh/models/BuildJobDto.d.ts +0 -75
  44. package/dist/client/kqh/models/BuildJobDto.js +0 -64
  45. package/dist/client/kqh/models/CpuConfiguration.d.ts +0 -38
  46. package/dist/client/kqh/models/CpuConfiguration.js +0 -43
  47. package/dist/client/kqh/models/CreateApplicationRequest.d.ts +0 -31
  48. package/dist/client/kqh/models/CreateApplicationRequest.js +0 -38
  49. package/dist/client/kqh/models/CreateDataPoolRequest.d.ts +0 -31
  50. package/dist/client/kqh/models/CreateDataPoolRequest.js +0 -40
  51. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.d.ts +0 -46
  52. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.js +0 -50
  53. package/dist/client/kqh/models/CreateJobRequest.d.ts +0 -62
  54. package/dist/client/kqh/models/CreateJobRequest.js +0 -51
  55. package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.d.ts +0 -73
  56. package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.js +0 -72
  57. package/dist/client/kqh/models/CreateProductRequest.d.ts +0 -43
  58. package/dist/client/kqh/models/CreateProductRequest.js +0 -46
  59. package/dist/client/kqh/models/CreateSubscriptionRequest.d.ts +0 -37
  60. package/dist/client/kqh/models/CreateSubscriptionRequest.js +0 -44
  61. package/dist/client/kqh/models/CreateWorkflowServiceRequest.d.ts +0 -37
  62. package/dist/client/kqh/models/CreateWorkflowServiceRequest.js +0 -42
  63. package/dist/client/kqh/models/DataPoolDto.d.ts +0 -166
  64. package/dist/client/kqh/models/DataPoolDto.js +0 -98
  65. package/dist/client/kqh/models/DataPoolRef.d.ts +0 -43
  66. package/dist/client/kqh/models/DataPoolRef.js +0 -42
  67. package/dist/client/kqh/models/DataSourceDescriptorDto.d.ts +0 -89
  68. package/dist/client/kqh/models/DataSourceDescriptorDto.js +0 -62
  69. package/dist/client/kqh/models/FileDto.d.ts +0 -73
  70. package/dist/client/kqh/models/FileDto.js +0 -45
  71. package/dist/client/kqh/models/FileSource.d.ts +0 -26
  72. package/dist/client/kqh/models/FileSource.js +0 -28
  73. package/dist/client/kqh/models/GpuConfiguration.d.ts +0 -49
  74. package/dist/client/kqh/models/GpuConfiguration.js +0 -53
  75. package/dist/client/kqh/models/JobDto.d.ts +0 -117
  76. package/dist/client/kqh/models/JobDto.js +0 -75
  77. package/dist/client/kqh/models/JobOverviewDto.d.ts +0 -74
  78. package/dist/client/kqh/models/JobOverviewDto.js +0 -60
  79. package/dist/client/kqh/models/MemoryConfiguration.d.ts +0 -38
  80. package/dist/client/kqh/models/MemoryConfiguration.js +0 -43
  81. package/dist/client/kqh/models/MeteringRequest.d.ts +0 -43
  82. package/dist/client/kqh/models/MeteringRequest.js +0 -42
  83. package/dist/client/kqh/models/MeteringResponse.d.ts +0 -49
  84. package/dist/client/kqh/models/MeteringResponse.js +0 -44
  85. package/dist/client/kqh/models/MonthAmountDto.d.ts +0 -51
  86. package/dist/client/kqh/models/MonthAmountDto.js +0 -46
  87. package/dist/client/kqh/models/OwnerDto.d.ts +0 -67
  88. package/dist/client/kqh/models/OwnerDto.js +0 -50
  89. package/dist/client/kqh/models/PageDataPoolDto.d.ts +0 -94
  90. package/dist/client/kqh/models/PageDataPoolDto.js +0 -61
  91. package/dist/client/kqh/models/PageableObject.d.ts +0 -62
  92. package/dist/client/kqh/models/PageableObject.js +0 -49
  93. package/dist/client/kqh/models/PricingPlanDto.d.ts +0 -52
  94. package/dist/client/kqh/models/PricingPlanDto.js +0 -50
  95. package/dist/client/kqh/models/ProductAmountDto.d.ts +0 -38
  96. package/dist/client/kqh/models/ProductAmountDto.js +0 -41
  97. package/dist/client/kqh/models/ProductDto.d.ts +0 -83
  98. package/dist/client/kqh/models/ProductDto.js +0 -69
  99. package/dist/client/kqh/models/ProductGroupDto.d.ts +0 -45
  100. package/dist/client/kqh/models/ProductGroupDto.js +0 -44
  101. package/dist/client/kqh/models/ProductUsageDto.d.ts +0 -61
  102. package/dist/client/kqh/models/ProductUsageDto.js +0 -48
  103. package/dist/client/kqh/models/RegistrySource.d.ts +0 -52
  104. package/dist/client/kqh/models/RegistrySource.js +0 -49
  105. package/dist/client/kqh/models/RepositorySource.d.ts +0 -32
  106. package/dist/client/kqh/models/RepositorySource.js +0 -41
  107. package/dist/client/kqh/models/ResourceConfiguration.d.ts +0 -31
  108. package/dist/client/kqh/models/ResourceConfiguration.js +0 -52
  109. package/dist/client/kqh/models/ReviewDto.d.ts +0 -51
  110. package/dist/client/kqh/models/ReviewDto.js +0 -49
  111. package/dist/client/kqh/models/RuntimeConfiguration.d.ts +0 -53
  112. package/dist/client/kqh/models/RuntimeConfiguration.js +0 -49
  113. package/dist/client/kqh/models/ServiceDefinitionCommand.d.ts +0 -39
  114. package/dist/client/kqh/models/ServiceDefinitionCommand.js +0 -45
  115. package/dist/client/kqh/models/ServiceDefinitionDto.d.ts +0 -180
  116. package/dist/client/kqh/models/ServiceDefinitionDto.js +0 -101
  117. package/dist/client/kqh/models/ServiceDefinitionDtoSource.d.ts +0 -23
  118. package/dist/client/kqh/models/ServiceDefinitionDtoSource.js +0 -49
  119. package/dist/client/kqh/models/ServiceDefinitionOverviewDto.d.ts +0 -79
  120. package/dist/client/kqh/models/ServiceDefinitionOverviewDto.js +0 -64
  121. package/dist/client/kqh/models/ServiceDto.d.ts +0 -59
  122. package/dist/client/kqh/models/ServiceDto.js +0 -52
  123. package/dist/client/kqh/models/ServiceExecutionConsumerDto.d.ts +0 -67
  124. package/dist/client/kqh/models/ServiceExecutionConsumerDto.js +0 -57
  125. package/dist/client/kqh/models/ServiceExecutionDto.d.ts +0 -49
  126. package/dist/client/kqh/models/ServiceExecutionDto.js +0 -44
  127. package/dist/client/kqh/models/ServiceOverviewDto.d.ts +0 -115
  128. package/dist/client/kqh/models/ServiceOverviewDto.js +0 -85
  129. package/dist/client/kqh/models/ServiceSource.d.ts +0 -31
  130. package/dist/client/kqh/models/ServiceSource.js +0 -52
  131. package/dist/client/kqh/models/SortObject.d.ts +0 -43
  132. package/dist/client/kqh/models/SortObject.js +0 -42
  133. package/dist/client/kqh/models/SubscriptionDto.d.ts +0 -58
  134. package/dist/client/kqh/models/SubscriptionDto.js +0 -49
  135. package/dist/client/kqh/models/TaxonomyElement.d.ts +0 -43
  136. package/dist/client/kqh/models/TaxonomyElement.js +0 -42
  137. package/dist/client/kqh/models/UpdateDataPoolRequest.d.ts +0 -109
  138. package/dist/client/kqh/models/UpdateDataPoolRequest.js +0 -66
  139. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.d.ts +0 -23
  140. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.js +0 -49
  141. package/dist/client/kqh/models/UpdateVersionRequest.d.ts +0 -44
  142. package/dist/client/kqh/models/UpdateVersionRequest.js +0 -43
  143. package/dist/client/kqh/models/UpdateWorkflowServiceRequest.d.ts +0 -31
  144. package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +0 -27
  145. package/dist/client/kqh/models/ValidationResult.d.ts +0 -52
  146. package/dist/client/kqh/models/ValidationResult.js +0 -50
  147. package/dist/client/kqh/models/index.d.ts +0 -57
  148. package/dist/client/kqh/models/index.js +0 -59
  149. package/dist/client/kqh/runtime.d.ts +0 -181
  150. package/dist/client/kqh/runtime.js +0 -325
  151. package/dist/model/account.d.ts +0 -5
  152. package/dist/model/account.js +0 -1
@@ -1,58 +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 { ApplicationDto } from './ApplicationDto.js';
13
- import type { ApiDto } from './ApiDto.js';
14
- import type { PricingPlanDto } from './PricingPlanDto.js';
15
- /**
16
- *
17
- * @export
18
- * @interface SubscriptionDto
19
- */
20
- export interface SubscriptionDto {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof SubscriptionDto
25
- */
26
- id?: string;
27
- /**
28
- *
29
- * @type {ApplicationDto}
30
- * @memberof SubscriptionDto
31
- */
32
- application?: ApplicationDto;
33
- /**
34
- *
35
- * @type {ApiDto}
36
- * @memberof SubscriptionDto
37
- */
38
- api?: ApiDto;
39
- /**
40
- *
41
- * @type {PricingPlanDto}
42
- * @memberof SubscriptionDto
43
- */
44
- pricingPlan?: PricingPlanDto;
45
- /**
46
- *
47
- * @type {boolean}
48
- * @memberof SubscriptionDto
49
- */
50
- logsAvailable?: boolean;
51
- }
52
- /**
53
- * Check if a given object implements the SubscriptionDto interface.
54
- */
55
- export declare function instanceOfSubscriptionDto(value: object): value is SubscriptionDto;
56
- export declare function SubscriptionDtoFromJSON(json: any): SubscriptionDto;
57
- export declare function SubscriptionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionDto;
58
- export declare function SubscriptionDtoToJSON(value?: SubscriptionDto | null): any;
@@ -1,49 +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 { ApplicationDtoFromJSON, ApplicationDtoToJSON, } from './ApplicationDto.js';
15
- import { ApiDtoFromJSON, ApiDtoToJSON, } from './ApiDto.js';
16
- import { PricingPlanDtoFromJSON, PricingPlanDtoToJSON, } from './PricingPlanDto.js';
17
- /**
18
- * Check if a given object implements the SubscriptionDto interface.
19
- */
20
- export function instanceOfSubscriptionDto(value) {
21
- return true;
22
- }
23
- export function SubscriptionDtoFromJSON(json) {
24
- return SubscriptionDtoFromJSONTyped(json, false);
25
- }
26
- export function SubscriptionDtoFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'id': json['id'] == null ? undefined : json['id'],
32
- 'application': json['application'] == null ? undefined : ApplicationDtoFromJSON(json['application']),
33
- 'api': json['api'] == null ? undefined : ApiDtoFromJSON(json['api']),
34
- 'pricingPlan': json['pricingPlan'] == null ? undefined : PricingPlanDtoFromJSON(json['pricingPlan']),
35
- 'logsAvailable': json['logsAvailable'] == null ? undefined : json['logsAvailable'],
36
- };
37
- }
38
- export function SubscriptionDtoToJSON(value) {
39
- if (value == null) {
40
- return value;
41
- }
42
- return {
43
- 'id': value['id'],
44
- 'application': ApplicationDtoToJSON(value['application']),
45
- 'api': ApiDtoToJSON(value['api']),
46
- 'pricingPlan': PricingPlanDtoToJSON(value['pricingPlan']),
47
- 'logsAvailable': value['logsAvailable'],
48
- };
49
- }
@@ -1,43 +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 TaxonomyElement
16
- */
17
- export interface TaxonomyElement {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof TaxonomyElement
22
- */
23
- uuid?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof TaxonomyElement
28
- */
29
- label?: string;
30
- /**
31
- *
32
- * @type {Array<TaxonomyElement>}
33
- * @memberof TaxonomyElement
34
- */
35
- children?: Array<TaxonomyElement>;
36
- }
37
- /**
38
- * Check if a given object implements the TaxonomyElement interface.
39
- */
40
- export declare function instanceOfTaxonomyElement(value: object): value is TaxonomyElement;
41
- export declare function TaxonomyElementFromJSON(json: any): TaxonomyElement;
42
- export declare function TaxonomyElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaxonomyElement;
43
- export declare function TaxonomyElementToJSON(value?: TaxonomyElement | null): any;
@@ -1,42 +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 TaxonomyElement interface.
16
- */
17
- export function instanceOfTaxonomyElement(value) {
18
- return true;
19
- }
20
- export function TaxonomyElementFromJSON(json) {
21
- return TaxonomyElementFromJSONTyped(json, false);
22
- }
23
- export function TaxonomyElementFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'uuid': json['uuid'] == null ? undefined : json['uuid'],
29
- 'label': json['label'] == null ? undefined : json['label'],
30
- 'children': json['children'] == null ? undefined : (json['children'].map(TaxonomyElementFromJSON)),
31
- };
32
- }
33
- export function TaxonomyElementToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'uuid': value['uuid'],
39
- 'label': value['label'],
40
- 'children': value['children'] == null ? undefined : (value['children'].map(TaxonomyElementToJSON)),
41
- };
42
- }
@@ -1,109 +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 UpdateDataPoolRequest
16
- */
17
- export interface UpdateDataPoolRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof UpdateDataPoolRequest
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof UpdateDataPoolRequest
28
- */
29
- shortDescription?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof UpdateDataPoolRequest
34
- */
35
- description?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof UpdateDataPoolRequest
40
- */
41
- metadata?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof UpdateDataPoolRequest
46
- */
47
- createdBy?: string;
48
- /**
49
- *
50
- * @type {Date}
51
- * @memberof UpdateDataPoolRequest
52
- */
53
- createdAt?: Date;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof UpdateDataPoolRequest
58
- */
59
- modifiedBy?: string;
60
- /**
61
- *
62
- * @type {boolean}
63
- * @memberof UpdateDataPoolRequest
64
- */
65
- labelled?: boolean;
66
- /**
67
- *
68
- * @type {Date}
69
- * @memberof UpdateDataPoolRequest
70
- */
71
- modifiedAt?: Date;
72
- /**
73
- *
74
- * @type {Array<string>}
75
- * @memberof UpdateDataPoolRequest
76
- */
77
- licenseUuids?: Array<string>;
78
- /**
79
- *
80
- * @type {Array<string>}
81
- * @memberof UpdateDataPoolRequest
82
- */
83
- formatUuids?: Array<string>;
84
- /**
85
- *
86
- * @type {Array<string>}
87
- * @memberof UpdateDataPoolRequest
88
- */
89
- problemTypeUuids?: Array<string>;
90
- /**
91
- *
92
- * @type {Array<string>}
93
- * @memberof UpdateDataPoolRequest
94
- */
95
- industryUuids?: Array<string>;
96
- /**
97
- *
98
- * @type {boolean}
99
- * @memberof UpdateDataPoolRequest
100
- */
101
- bookmarked?: boolean;
102
- }
103
- /**
104
- * Check if a given object implements the UpdateDataPoolRequest interface.
105
- */
106
- export declare function instanceOfUpdateDataPoolRequest(value: object): value is UpdateDataPoolRequest;
107
- export declare function UpdateDataPoolRequestFromJSON(json: any): UpdateDataPoolRequest;
108
- export declare function UpdateDataPoolRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDataPoolRequest;
109
- export declare function UpdateDataPoolRequestToJSON(value?: UpdateDataPoolRequest | null): any;
@@ -1,66 +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 UpdateDataPoolRequest interface.
16
- */
17
- export function instanceOfUpdateDataPoolRequest(value) {
18
- if (!('name' in value) || value['name'] === undefined)
19
- return false;
20
- return true;
21
- }
22
- export function UpdateDataPoolRequestFromJSON(json) {
23
- return UpdateDataPoolRequestFromJSONTyped(json, false);
24
- }
25
- export function UpdateDataPoolRequestFromJSONTyped(json, ignoreDiscriminator) {
26
- if (json == null) {
27
- return json;
28
- }
29
- return {
30
- 'name': json['name'],
31
- 'shortDescription': json['shortDescription'] == null ? undefined : json['shortDescription'],
32
- 'description': json['description'] == null ? undefined : json['description'],
33
- 'metadata': json['metadata'] == null ? undefined : json['metadata'],
34
- 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
35
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
36
- 'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
37
- 'labelled': json['labelled'] == null ? undefined : json['labelled'],
38
- 'modifiedAt': json['modifiedAt'] == null ? undefined : (new Date(json['modifiedAt'])),
39
- 'licenseUuids': json['licenseUuids'] == null ? undefined : json['licenseUuids'],
40
- 'formatUuids': json['formatUuids'] == null ? undefined : json['formatUuids'],
41
- 'problemTypeUuids': json['problemTypeUuids'] == null ? undefined : json['problemTypeUuids'],
42
- 'industryUuids': json['industryUuids'] == null ? undefined : json['industryUuids'],
43
- 'bookmarked': json['bookmarked'] == null ? undefined : json['bookmarked'],
44
- };
45
- }
46
- export function UpdateDataPoolRequestToJSON(value) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'name': value['name'],
52
- 'shortDescription': value['shortDescription'],
53
- 'description': value['description'],
54
- 'metadata': value['metadata'],
55
- 'createdBy': value['createdBy'],
56
- 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
57
- 'modifiedBy': value['modifiedBy'],
58
- 'labelled': value['labelled'],
59
- 'modifiedAt': value['modifiedAt'] == null ? undefined : ((value['modifiedAt']).toISOString()),
60
- 'licenseUuids': value['licenseUuids'],
61
- 'formatUuids': value['formatUuids'],
62
- 'problemTypeUuids': value['problemTypeUuids'],
63
- 'industryUuids': value['industryUuids'],
64
- 'bookmarked': value['bookmarked'],
65
- };
66
- }
@@ -1,23 +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 { CpuConfiguration } from './CpuConfiguration.js';
13
- import type { GpuConfiguration } from './GpuConfiguration.js';
14
- import type { MemoryConfiguration } from './MemoryConfiguration.js';
15
- /**
16
- * @type UpdateResourceConfigurationRequest
17
- *
18
- * @export
19
- */
20
- export type UpdateResourceConfigurationRequest = CpuConfiguration | GpuConfiguration | MemoryConfiguration;
21
- export declare function UpdateResourceConfigurationRequestFromJSON(json: any): UpdateResourceConfigurationRequest;
22
- export declare function UpdateResourceConfigurationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateResourceConfigurationRequest;
23
- export declare function UpdateResourceConfigurationRequestToJSON(value?: UpdateResourceConfigurationRequest | null): any;
@@ -1,49 +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 { instanceOfCpuConfiguration, CpuConfigurationFromJSONTyped, CpuConfigurationToJSON, } from './CpuConfiguration.js';
15
- import { instanceOfGpuConfiguration, GpuConfigurationFromJSONTyped, GpuConfigurationToJSON, } from './GpuConfiguration.js';
16
- import { instanceOfMemoryConfiguration, MemoryConfigurationFromJSONTyped, MemoryConfigurationToJSON, } from './MemoryConfiguration.js';
17
- export function UpdateResourceConfigurationRequestFromJSON(json) {
18
- return UpdateResourceConfigurationRequestFromJSONTyped(json, false);
19
- }
20
- // @ts-ignore
21
- export function UpdateResourceConfigurationRequestFromJSONTyped(json, ignoreDiscriminator) {
22
- if (json == null) {
23
- return json;
24
- }
25
- if (instanceOfCpuConfiguration(json)) {
26
- return CpuConfigurationFromJSONTyped(json, true);
27
- }
28
- if (instanceOfGpuConfiguration(json)) {
29
- return GpuConfigurationFromJSONTyped(json, true);
30
- }
31
- if (instanceOfMemoryConfiguration(json)) {
32
- return MemoryConfigurationFromJSONTyped(json, true);
33
- }
34
- }
35
- export function UpdateResourceConfigurationRequestToJSON(value) {
36
- if (value == null) {
37
- return value;
38
- }
39
- if (instanceOfCpuConfiguration(value)) {
40
- return CpuConfigurationToJSON(value);
41
- }
42
- if (instanceOfGpuConfiguration(value)) {
43
- return GpuConfigurationToJSON(value);
44
- }
45
- if (instanceOfMemoryConfiguration(value)) {
46
- return MemoryConfigurationToJSON(value);
47
- }
48
- return {};
49
- }
@@ -1,44 +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 { ServiceDefinitionDtoSource } from './ServiceDefinitionDtoSource.js';
13
- /**
14
- *
15
- * @export
16
- * @interface UpdateVersionRequest
17
- */
18
- export interface UpdateVersionRequest {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof UpdateVersionRequest
23
- */
24
- description?: string;
25
- /**
26
- *
27
- * @type {Array<string>}
28
- * @memberof UpdateVersionRequest
29
- */
30
- industryUuids?: Array<string>;
31
- /**
32
- *
33
- * @type {ServiceDefinitionDtoSource}
34
- * @memberof UpdateVersionRequest
35
- */
36
- source?: ServiceDefinitionDtoSource;
37
- }
38
- /**
39
- * Check if a given object implements the UpdateVersionRequest interface.
40
- */
41
- export declare function instanceOfUpdateVersionRequest(value: object): value is UpdateVersionRequest;
42
- export declare function UpdateVersionRequestFromJSON(json: any): UpdateVersionRequest;
43
- export declare function UpdateVersionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateVersionRequest;
44
- export declare function UpdateVersionRequestToJSON(value?: UpdateVersionRequest | 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 { ServiceDefinitionDtoSourceFromJSON, ServiceDefinitionDtoSourceToJSON, } from './ServiceDefinitionDtoSource.js';
15
- /**
16
- * Check if a given object implements the UpdateVersionRequest interface.
17
- */
18
- export function instanceOfUpdateVersionRequest(value) {
19
- return true;
20
- }
21
- export function UpdateVersionRequestFromJSON(json) {
22
- return UpdateVersionRequestFromJSONTyped(json, false);
23
- }
24
- export function UpdateVersionRequestFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'description': json['description'] == null ? undefined : json['description'],
30
- 'industryUuids': json['industryUuids'] == null ? undefined : json['industryUuids'],
31
- 'source': json['source'] == null ? undefined : ServiceDefinitionDtoSourceFromJSON(json['source']),
32
- };
33
- }
34
- export function UpdateVersionRequestToJSON(value) {
35
- if (value == null) {
36
- return value;
37
- }
38
- return {
39
- 'description': value['description'],
40
- 'industryUuids': value['industryUuids'],
41
- 'source': ServiceDefinitionDtoSourceToJSON(value['source']),
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 UpdateWorkflowServiceRequest
16
- */
17
- export interface UpdateWorkflowServiceRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof UpdateWorkflowServiceRequest
22
- */
23
- workflowModel?: string;
24
- }
25
- /**
26
- * Check if a given object implements the UpdateWorkflowServiceRequest interface.
27
- */
28
- export declare function instanceOfUpdateWorkflowServiceRequest(value: object): value is UpdateWorkflowServiceRequest;
29
- export declare function UpdateWorkflowServiceRequestFromJSON(json: any): UpdateWorkflowServiceRequest;
30
- export declare function UpdateWorkflowServiceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateWorkflowServiceRequest;
31
- export declare function UpdateWorkflowServiceRequestToJSON(value?: UpdateWorkflowServiceRequest | null): any;
@@ -1,27 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Check if a given object implements the UpdateWorkflowServiceRequest interface.
5
- */
6
- export function instanceOfUpdateWorkflowServiceRequest(value) {
7
- return true;
8
- }
9
- export function UpdateWorkflowServiceRequestFromJSON(json) {
10
- return UpdateWorkflowServiceRequestFromJSONTyped(json, false);
11
- }
12
- export function UpdateWorkflowServiceRequestFromJSONTyped(json, ignoreDiscriminator) {
13
- if (json == null) {
14
- return json;
15
- }
16
- return {
17
- 'workflowModel': json['workflowModel'] == null ? undefined : json['workflowModel']
18
- };
19
- }
20
- export function UpdateWorkflowServiceRequestToJSON(value) {
21
- if (value == null) {
22
- return value;
23
- }
24
- return {
25
- 'workflowModel': value['workflowModel']
26
- };
27
- }
@@ -1,52 +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 ValidationResult
16
- */
17
- export interface ValidationResult {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ValidationResult
22
- */
23
- state?: ValidationResultStateEnum;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ValidationResult
28
- */
29
- summary?: string;
30
- /**
31
- *
32
- * @type {Array<string>}
33
- * @memberof ValidationResult
34
- */
35
- messages?: Array<string>;
36
- }
37
- /**
38
- * @export
39
- */
40
- export declare const ValidationResultStateEnum: {
41
- readonly Success: "SUCCESS";
42
- readonly Warning: "WARNING";
43
- readonly Error: "ERROR";
44
- };
45
- export type ValidationResultStateEnum = typeof ValidationResultStateEnum[keyof typeof ValidationResultStateEnum];
46
- /**
47
- * Check if a given object implements the ValidationResult interface.
48
- */
49
- export declare function instanceOfValidationResult(value: object): value is ValidationResult;
50
- export declare function ValidationResultFromJSON(json: any): ValidationResult;
51
- export declare function ValidationResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationResult;
52
- export declare function ValidationResultToJSON(value?: ValidationResult | null): any;