@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.
- package/README.md +6 -35
- package/dist/commands/datapool-upload.js +7 -3
- package/dist/commands/init.js +2 -27
- package/dist/commands/list-contexts.js +1 -1
- package/dist/commands/services-build-status.js +1 -1
- package/dist/commands/set-context.js +6 -2
- package/dist/commands/up.js +11 -15
- package/dist/lib/error.js +25 -8
- package/dist/lib/repository.d.ts +1 -4
- package/dist/lib/repository.js +2 -9
- package/dist/service/quantum-hub-service.d.ts +9 -13
- package/dist/service/quantum-hub-service.js +67 -139
- package/package.json +2 -2
- package/dist/client/kqh/apis/ServicePlatformApplicationsApi.d.ts +0 -89
- package/dist/client/kqh/apis/ServicePlatformApplicationsApi.js +0 -222
- package/dist/client/kqh/apis/ServicePlatformDashboardApi.d.ts +0 -44
- package/dist/client/kqh/apis/ServicePlatformDashboardApi.js +0 -106
- package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.d.ts +0 -133
- package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.js +0 -373
- package/dist/client/kqh/apis/ServicePlatformJobsApi.d.ts +0 -101
- package/dist/client/kqh/apis/ServicePlatformJobsApi.js +0 -261
- package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.d.ts +0 -48
- package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.js +0 -115
- package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.d.ts +0 -29
- package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.js +0 -53
- package/dist/client/kqh/apis/ServicePlatformServicesApi.d.ts +0 -501
- package/dist/client/kqh/apis/ServicePlatformServicesApi.js +0 -1472
- package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.d.ts +0 -66
- package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.js +0 -157
- package/dist/client/kqh/apis/TaxonomiesApi.d.ts +0 -90
- package/dist/client/kqh/apis/TaxonomiesApi.js +0 -272
- package/dist/client/kqh/apis/index.d.ts +0 -9
- package/dist/client/kqh/apis/index.js +0 -11
- package/dist/client/kqh/index.d.ts +0 -3
- package/dist/client/kqh/index.js +0 -5
- package/dist/client/kqh/models/AccessTokenDto.d.ts +0 -81
- package/dist/client/kqh/models/AccessTokenDto.js +0 -59
- package/dist/client/kqh/models/AmountMajorDto.d.ts +0 -37
- package/dist/client/kqh/models/AmountMajorDto.js +0 -40
- package/dist/client/kqh/models/ApiDto.d.ts +0 -144
- package/dist/client/kqh/models/ApiDto.js +0 -92
- package/dist/client/kqh/models/ApiOverviewDto.d.ts +0 -119
- package/dist/client/kqh/models/ApiOverviewDto.js +0 -83
- package/dist/client/kqh/models/ApplicationDto.d.ts +0 -64
- package/dist/client/kqh/models/ApplicationDto.js +0 -53
- package/dist/client/kqh/models/BuildJobDto.d.ts +0 -75
- package/dist/client/kqh/models/BuildJobDto.js +0 -64
- package/dist/client/kqh/models/CpuConfiguration.d.ts +0 -38
- package/dist/client/kqh/models/CpuConfiguration.js +0 -43
- package/dist/client/kqh/models/CreateApplicationRequest.d.ts +0 -31
- package/dist/client/kqh/models/CreateApplicationRequest.js +0 -38
- package/dist/client/kqh/models/CreateDataPoolRequest.d.ts +0 -31
- package/dist/client/kqh/models/CreateDataPoolRequest.js +0 -40
- package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.d.ts +0 -46
- package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.js +0 -50
- package/dist/client/kqh/models/CreateJobRequest.d.ts +0 -62
- package/dist/client/kqh/models/CreateJobRequest.js +0 -51
- package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.d.ts +0 -73
- package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.js +0 -72
- package/dist/client/kqh/models/CreateProductRequest.d.ts +0 -43
- package/dist/client/kqh/models/CreateProductRequest.js +0 -46
- package/dist/client/kqh/models/CreateSubscriptionRequest.d.ts +0 -37
- package/dist/client/kqh/models/CreateSubscriptionRequest.js +0 -44
- package/dist/client/kqh/models/CreateWorkflowServiceRequest.d.ts +0 -37
- package/dist/client/kqh/models/CreateWorkflowServiceRequest.js +0 -42
- package/dist/client/kqh/models/DataPoolDto.d.ts +0 -166
- package/dist/client/kqh/models/DataPoolDto.js +0 -98
- package/dist/client/kqh/models/DataPoolRef.d.ts +0 -43
- package/dist/client/kqh/models/DataPoolRef.js +0 -42
- package/dist/client/kqh/models/DataSourceDescriptorDto.d.ts +0 -89
- package/dist/client/kqh/models/DataSourceDescriptorDto.js +0 -62
- package/dist/client/kqh/models/FileDto.d.ts +0 -73
- package/dist/client/kqh/models/FileDto.js +0 -45
- package/dist/client/kqh/models/FileSource.d.ts +0 -26
- package/dist/client/kqh/models/FileSource.js +0 -28
- package/dist/client/kqh/models/GpuConfiguration.d.ts +0 -49
- package/dist/client/kqh/models/GpuConfiguration.js +0 -53
- package/dist/client/kqh/models/JobDto.d.ts +0 -117
- package/dist/client/kqh/models/JobDto.js +0 -75
- package/dist/client/kqh/models/JobOverviewDto.d.ts +0 -74
- package/dist/client/kqh/models/JobOverviewDto.js +0 -60
- package/dist/client/kqh/models/MemoryConfiguration.d.ts +0 -38
- package/dist/client/kqh/models/MemoryConfiguration.js +0 -43
- package/dist/client/kqh/models/MeteringRequest.d.ts +0 -43
- package/dist/client/kqh/models/MeteringRequest.js +0 -42
- package/dist/client/kqh/models/MeteringResponse.d.ts +0 -49
- package/dist/client/kqh/models/MeteringResponse.js +0 -44
- package/dist/client/kqh/models/MonthAmountDto.d.ts +0 -51
- package/dist/client/kqh/models/MonthAmountDto.js +0 -46
- package/dist/client/kqh/models/OwnerDto.d.ts +0 -67
- package/dist/client/kqh/models/OwnerDto.js +0 -50
- package/dist/client/kqh/models/PageDataPoolDto.d.ts +0 -94
- package/dist/client/kqh/models/PageDataPoolDto.js +0 -61
- package/dist/client/kqh/models/PageableObject.d.ts +0 -62
- package/dist/client/kqh/models/PageableObject.js +0 -49
- package/dist/client/kqh/models/PricingPlanDto.d.ts +0 -52
- package/dist/client/kqh/models/PricingPlanDto.js +0 -50
- package/dist/client/kqh/models/ProductAmountDto.d.ts +0 -38
- package/dist/client/kqh/models/ProductAmountDto.js +0 -41
- package/dist/client/kqh/models/ProductDto.d.ts +0 -83
- package/dist/client/kqh/models/ProductDto.js +0 -69
- package/dist/client/kqh/models/ProductGroupDto.d.ts +0 -45
- package/dist/client/kqh/models/ProductGroupDto.js +0 -44
- package/dist/client/kqh/models/ProductUsageDto.d.ts +0 -61
- package/dist/client/kqh/models/ProductUsageDto.js +0 -48
- package/dist/client/kqh/models/RegistrySource.d.ts +0 -52
- package/dist/client/kqh/models/RegistrySource.js +0 -49
- package/dist/client/kqh/models/RepositorySource.d.ts +0 -32
- package/dist/client/kqh/models/RepositorySource.js +0 -41
- package/dist/client/kqh/models/ResourceConfiguration.d.ts +0 -31
- package/dist/client/kqh/models/ResourceConfiguration.js +0 -52
- package/dist/client/kqh/models/ReviewDto.d.ts +0 -51
- package/dist/client/kqh/models/ReviewDto.js +0 -49
- package/dist/client/kqh/models/RuntimeConfiguration.d.ts +0 -53
- package/dist/client/kqh/models/RuntimeConfiguration.js +0 -49
- package/dist/client/kqh/models/ServiceDefinitionCommand.d.ts +0 -39
- package/dist/client/kqh/models/ServiceDefinitionCommand.js +0 -45
- package/dist/client/kqh/models/ServiceDefinitionDto.d.ts +0 -180
- package/dist/client/kqh/models/ServiceDefinitionDto.js +0 -101
- package/dist/client/kqh/models/ServiceDefinitionDtoSource.d.ts +0 -23
- package/dist/client/kqh/models/ServiceDefinitionDtoSource.js +0 -49
- package/dist/client/kqh/models/ServiceDefinitionOverviewDto.d.ts +0 -79
- package/dist/client/kqh/models/ServiceDefinitionOverviewDto.js +0 -64
- package/dist/client/kqh/models/ServiceDto.d.ts +0 -59
- package/dist/client/kqh/models/ServiceDto.js +0 -52
- package/dist/client/kqh/models/ServiceExecutionConsumerDto.d.ts +0 -67
- package/dist/client/kqh/models/ServiceExecutionConsumerDto.js +0 -57
- package/dist/client/kqh/models/ServiceExecutionDto.d.ts +0 -49
- package/dist/client/kqh/models/ServiceExecutionDto.js +0 -44
- package/dist/client/kqh/models/ServiceOverviewDto.d.ts +0 -115
- package/dist/client/kqh/models/ServiceOverviewDto.js +0 -85
- package/dist/client/kqh/models/ServiceSource.d.ts +0 -31
- package/dist/client/kqh/models/ServiceSource.js +0 -52
- package/dist/client/kqh/models/SortObject.d.ts +0 -43
- package/dist/client/kqh/models/SortObject.js +0 -42
- package/dist/client/kqh/models/SubscriptionDto.d.ts +0 -58
- package/dist/client/kqh/models/SubscriptionDto.js +0 -49
- package/dist/client/kqh/models/TaxonomyElement.d.ts +0 -43
- package/dist/client/kqh/models/TaxonomyElement.js +0 -42
- package/dist/client/kqh/models/UpdateDataPoolRequest.d.ts +0 -109
- package/dist/client/kqh/models/UpdateDataPoolRequest.js +0 -66
- package/dist/client/kqh/models/UpdateResourceConfigurationRequest.d.ts +0 -23
- package/dist/client/kqh/models/UpdateResourceConfigurationRequest.js +0 -49
- package/dist/client/kqh/models/UpdateVersionRequest.d.ts +0 -44
- package/dist/client/kqh/models/UpdateVersionRequest.js +0 -43
- package/dist/client/kqh/models/UpdateWorkflowServiceRequest.d.ts +0 -31
- package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +0 -27
- package/dist/client/kqh/models/ValidationResult.d.ts +0 -52
- package/dist/client/kqh/models/ValidationResult.js +0 -50
- package/dist/client/kqh/models/index.d.ts +0 -57
- package/dist/client/kqh/models/index.js +0 -59
- package/dist/client/kqh/runtime.d.ts +0 -181
- package/dist/client/kqh/runtime.js +0 -325
- package/dist/model/account.d.ts +0 -5
- package/dist/model/account.js +0 -1
|
@@ -1,117 +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 { ServiceDefinitionOverviewDto } from './ServiceDefinitionOverviewDto.js';
|
|
13
|
-
import type { DataPoolRef } from './DataPoolRef.js';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface JobDto
|
|
18
|
-
*/
|
|
19
|
-
export interface JobDto {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof JobDto
|
|
24
|
-
*/
|
|
25
|
-
id?: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof JobDto
|
|
30
|
-
*/
|
|
31
|
-
status?: JobDtoStatusEnum;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof JobDto
|
|
36
|
-
*/
|
|
37
|
-
inputData?: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {DataPoolRef}
|
|
41
|
-
* @memberof JobDto
|
|
42
|
-
*/
|
|
43
|
-
inputDataRef?: DataPoolRef;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof JobDto
|
|
48
|
-
*/
|
|
49
|
-
parameters?: string;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {DataPoolRef}
|
|
53
|
-
* @memberof JobDto
|
|
54
|
-
*/
|
|
55
|
-
parametersRef?: DataPoolRef;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof JobDto
|
|
60
|
-
*/
|
|
61
|
-
result?: string;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof JobDto
|
|
66
|
-
*/
|
|
67
|
-
createdAt?: string;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof JobDto
|
|
72
|
-
*/
|
|
73
|
-
startedAt?: string;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof JobDto
|
|
78
|
-
*/
|
|
79
|
-
endedAt?: string;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {boolean}
|
|
83
|
-
* @memberof JobDto
|
|
84
|
-
*/
|
|
85
|
-
persistResult?: boolean;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {string}
|
|
89
|
-
* @memberof JobDto
|
|
90
|
-
*/
|
|
91
|
-
resultDataPoolId?: string;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {ServiceDefinitionOverviewDto}
|
|
95
|
-
* @memberof JobDto
|
|
96
|
-
*/
|
|
97
|
-
serviceDefinition?: ServiceDefinitionOverviewDto;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* @export
|
|
101
|
-
*/
|
|
102
|
-
export declare const JobDtoStatusEnum: {
|
|
103
|
-
readonly Unknown: "UNKNOWN";
|
|
104
|
-
readonly Pending: "PENDING";
|
|
105
|
-
readonly Running: "RUNNING";
|
|
106
|
-
readonly Succeeded: "SUCCEEDED";
|
|
107
|
-
readonly Failed: "FAILED";
|
|
108
|
-
readonly Cancelled: "CANCELLED";
|
|
109
|
-
};
|
|
110
|
-
export type JobDtoStatusEnum = typeof JobDtoStatusEnum[keyof typeof JobDtoStatusEnum];
|
|
111
|
-
/**
|
|
112
|
-
* Check if a given object implements the JobDto interface.
|
|
113
|
-
*/
|
|
114
|
-
export declare function instanceOfJobDto(value: object): value is JobDto;
|
|
115
|
-
export declare function JobDtoFromJSON(json: any): JobDto;
|
|
116
|
-
export declare function JobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobDto;
|
|
117
|
-
export declare function JobDtoToJSON(value?: JobDto | null): any;
|
|
@@ -1,75 +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 { ServiceDefinitionOverviewDtoFromJSON, ServiceDefinitionOverviewDtoToJSON, } from './ServiceDefinitionOverviewDto.js';
|
|
15
|
-
import { DataPoolRefFromJSON, DataPoolRefToJSON, } from './DataPoolRef.js';
|
|
16
|
-
/**
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export const JobDtoStatusEnum = {
|
|
20
|
-
Unknown: 'UNKNOWN',
|
|
21
|
-
Pending: 'PENDING',
|
|
22
|
-
Running: 'RUNNING',
|
|
23
|
-
Succeeded: 'SUCCEEDED',
|
|
24
|
-
Failed: 'FAILED',
|
|
25
|
-
Cancelled: 'CANCELLED'
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Check if a given object implements the JobDto interface.
|
|
29
|
-
*/
|
|
30
|
-
export function instanceOfJobDto(value) {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
export function JobDtoFromJSON(json) {
|
|
34
|
-
return JobDtoFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function JobDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
42
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
43
|
-
'inputData': json['inputData'] == null ? undefined : json['inputData'],
|
|
44
|
-
'inputDataRef': json['inputDataRef'] == null ? undefined : DataPoolRefFromJSON(json['inputDataRef']),
|
|
45
|
-
'parameters': json['parameters'] == null ? undefined : json['parameters'],
|
|
46
|
-
'parametersRef': json['parametersRef'] == null ? undefined : DataPoolRefFromJSON(json['parametersRef']),
|
|
47
|
-
'result': json['result'] == null ? undefined : json['result'],
|
|
48
|
-
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
49
|
-
'startedAt': json['startedAt'] == null ? undefined : json['startedAt'],
|
|
50
|
-
'endedAt': json['endedAt'] == null ? undefined : json['endedAt'],
|
|
51
|
-
'persistResult': json['persistResult'] == null ? undefined : json['persistResult'],
|
|
52
|
-
'resultDataPoolId': json['resultDataPoolId'] == null ? undefined : json['resultDataPoolId'],
|
|
53
|
-
'serviceDefinition': json['serviceDefinition'] == null ? undefined : ServiceDefinitionOverviewDtoFromJSON(json['serviceDefinition']),
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
export function JobDtoToJSON(value) {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
'id': value['id'],
|
|
62
|
-
'status': value['status'],
|
|
63
|
-
'inputData': value['inputData'],
|
|
64
|
-
'inputDataRef': DataPoolRefToJSON(value['inputDataRef']),
|
|
65
|
-
'parameters': value['parameters'],
|
|
66
|
-
'parametersRef': DataPoolRefToJSON(value['parametersRef']),
|
|
67
|
-
'result': value['result'],
|
|
68
|
-
'createdAt': value['createdAt'],
|
|
69
|
-
'startedAt': value['startedAt'],
|
|
70
|
-
'endedAt': value['endedAt'],
|
|
71
|
-
'persistResult': value['persistResult'],
|
|
72
|
-
'resultDataPoolId': value['resultDataPoolId'],
|
|
73
|
-
'serviceDefinition': ServiceDefinitionOverviewDtoToJSON(value['serviceDefinition']),
|
|
74
|
-
};
|
|
75
|
-
}
|
|
@@ -1,74 +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 { ServiceDefinitionOverviewDto } from './ServiceDefinitionOverviewDto.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface JobOverviewDto
|
|
17
|
-
*/
|
|
18
|
-
export interface JobOverviewDto {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof JobOverviewDto
|
|
23
|
-
*/
|
|
24
|
-
id?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof JobOverviewDto
|
|
29
|
-
*/
|
|
30
|
-
status?: JobOverviewDtoStatusEnum;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof JobOverviewDto
|
|
35
|
-
*/
|
|
36
|
-
createdAt?: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof JobOverviewDto
|
|
41
|
-
*/
|
|
42
|
-
startedAt?: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof JobOverviewDto
|
|
47
|
-
*/
|
|
48
|
-
endedAt?: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {ServiceDefinitionOverviewDto}
|
|
52
|
-
* @memberof JobOverviewDto
|
|
53
|
-
*/
|
|
54
|
-
serviceDefinition?: ServiceDefinitionOverviewDto;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* @export
|
|
58
|
-
*/
|
|
59
|
-
export declare const JobOverviewDtoStatusEnum: {
|
|
60
|
-
readonly Unknown: "UNKNOWN";
|
|
61
|
-
readonly Pending: "PENDING";
|
|
62
|
-
readonly Running: "RUNNING";
|
|
63
|
-
readonly Succeeded: "SUCCEEDED";
|
|
64
|
-
readonly Failed: "FAILED";
|
|
65
|
-
readonly Cancelled: "CANCELLED";
|
|
66
|
-
};
|
|
67
|
-
export type JobOverviewDtoStatusEnum = typeof JobOverviewDtoStatusEnum[keyof typeof JobOverviewDtoStatusEnum];
|
|
68
|
-
/**
|
|
69
|
-
* Check if a given object implements the JobOverviewDto interface.
|
|
70
|
-
*/
|
|
71
|
-
export declare function instanceOfJobOverviewDto(value: object): value is JobOverviewDto;
|
|
72
|
-
export declare function JobOverviewDtoFromJSON(json: any): JobOverviewDto;
|
|
73
|
-
export declare function JobOverviewDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobOverviewDto;
|
|
74
|
-
export declare function JobOverviewDtoToJSON(value?: JobOverviewDto | null): any;
|
|
@@ -1,60 +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 { ServiceDefinitionOverviewDtoFromJSON, ServiceDefinitionOverviewDtoToJSON, } from './ServiceDefinitionOverviewDto.js';
|
|
15
|
-
/**
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const JobOverviewDtoStatusEnum = {
|
|
19
|
-
Unknown: 'UNKNOWN',
|
|
20
|
-
Pending: 'PENDING',
|
|
21
|
-
Running: 'RUNNING',
|
|
22
|
-
Succeeded: 'SUCCEEDED',
|
|
23
|
-
Failed: 'FAILED',
|
|
24
|
-
Cancelled: 'CANCELLED'
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the JobOverviewDto interface.
|
|
28
|
-
*/
|
|
29
|
-
export function instanceOfJobOverviewDto(value) {
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
export function JobOverviewDtoFromJSON(json) {
|
|
33
|
-
return JobOverviewDtoFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
export function JobOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (json == null) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
41
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
42
|
-
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
43
|
-
'startedAt': json['startedAt'] == null ? undefined : json['startedAt'],
|
|
44
|
-
'endedAt': json['endedAt'] == null ? undefined : json['endedAt'],
|
|
45
|
-
'serviceDefinition': json['serviceDefinition'] == null ? undefined : ServiceDefinitionOverviewDtoFromJSON(json['serviceDefinition']),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
export function JobOverviewDtoToJSON(value) {
|
|
49
|
-
if (value == null) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'id': value['id'],
|
|
54
|
-
'status': value['status'],
|
|
55
|
-
'createdAt': value['createdAt'],
|
|
56
|
-
'startedAt': value['startedAt'],
|
|
57
|
-
'endedAt': value['endedAt'],
|
|
58
|
-
'serviceDefinition': ServiceDefinitionOverviewDtoToJSON(value['serviceDefinition']),
|
|
59
|
-
};
|
|
60
|
-
}
|
|
@@ -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 MemoryConfiguration
|
|
17
|
-
*/
|
|
18
|
-
export interface MemoryConfiguration extends ResourceConfiguration {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof MemoryConfiguration
|
|
23
|
-
*/
|
|
24
|
-
amount?: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof MemoryConfiguration
|
|
29
|
-
*/
|
|
30
|
-
unit?: string;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the MemoryConfiguration interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfMemoryConfiguration(value: object): value is MemoryConfiguration;
|
|
36
|
-
export declare function MemoryConfigurationFromJSON(json: any): MemoryConfiguration;
|
|
37
|
-
export declare function MemoryConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): MemoryConfiguration;
|
|
38
|
-
export declare function MemoryConfigurationToJSON(value?: MemoryConfiguration | 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 MemoryConfiguration interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfMemoryConfiguration(value) {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
export function MemoryConfigurationFromJSON(json) {
|
|
22
|
-
return MemoryConfigurationFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function MemoryConfigurationFromJSONTyped(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 MemoryConfigurationToJSON(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,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 MeteringRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface MeteringRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MeteringRequest
|
|
22
|
-
*/
|
|
23
|
-
correlationId?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof MeteringRequest
|
|
28
|
-
*/
|
|
29
|
-
productId?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof MeteringRequest
|
|
34
|
-
*/
|
|
35
|
-
count?: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the MeteringRequest interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfMeteringRequest(value: object): value is MeteringRequest;
|
|
41
|
-
export declare function MeteringRequestFromJSON(json: any): MeteringRequest;
|
|
42
|
-
export declare function MeteringRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MeteringRequest;
|
|
43
|
-
export declare function MeteringRequestToJSON(value?: MeteringRequest | 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 MeteringRequest interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfMeteringRequest(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function MeteringRequestFromJSON(json) {
|
|
21
|
-
return MeteringRequestFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function MeteringRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'correlationId': json['correlationId'] == null ? undefined : json['correlationId'],
|
|
29
|
-
'productId': json['productId'] == null ? undefined : json['productId'],
|
|
30
|
-
'count': json['count'] == null ? undefined : json['count'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function MeteringRequestToJSON(value) {
|
|
34
|
-
if (value == null) {
|
|
35
|
-
return value;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'correlationId': value['correlationId'],
|
|
39
|
-
'productId': value['productId'],
|
|
40
|
-
'count': value['count'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
@@ -1,49 +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 MeteringResponse
|
|
16
|
-
*/
|
|
17
|
-
export interface MeteringResponse {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof MeteringResponse
|
|
22
|
-
*/
|
|
23
|
-
testMode?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof MeteringResponse
|
|
28
|
-
*/
|
|
29
|
-
productId?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof MeteringResponse
|
|
34
|
-
*/
|
|
35
|
-
count?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof MeteringResponse
|
|
40
|
-
*/
|
|
41
|
-
correlationId?: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the MeteringResponse interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfMeteringResponse(value: object): value is MeteringResponse;
|
|
47
|
-
export declare function MeteringResponseFromJSON(json: any): MeteringResponse;
|
|
48
|
-
export declare function MeteringResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MeteringResponse;
|
|
49
|
-
export declare function MeteringResponseToJSON(value?: MeteringResponse | null): any;
|
|
@@ -1,44 +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 MeteringResponse interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfMeteringResponse(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function MeteringResponseFromJSON(json) {
|
|
21
|
-
return MeteringResponseFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function MeteringResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'testMode': json['testMode'] == null ? undefined : json['testMode'],
|
|
29
|
-
'productId': json['productId'] == null ? undefined : json['productId'],
|
|
30
|
-
'count': json['count'] == null ? undefined : json['count'],
|
|
31
|
-
'correlationId': json['correlationId'] == null ? undefined : json['correlationId'],
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export function MeteringResponseToJSON(value) {
|
|
35
|
-
if (value == null) {
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'testMode': value['testMode'],
|
|
40
|
-
'productId': value['productId'],
|
|
41
|
-
'count': value['count'],
|
|
42
|
-
'correlationId': value['correlationId'],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
@@ -1,51 +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 { AmountMajorDto } from './AmountMajorDto.js';
|
|
13
|
-
import type { ProductGroupDto } from './ProductGroupDto.js';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface MonthAmountDto
|
|
18
|
-
*/
|
|
19
|
-
export interface MonthAmountDto {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof MonthAmountDto
|
|
24
|
-
*/
|
|
25
|
-
year?: number;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof MonthAmountDto
|
|
30
|
-
*/
|
|
31
|
-
month?: number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {AmountMajorDto}
|
|
35
|
-
* @memberof MonthAmountDto
|
|
36
|
-
*/
|
|
37
|
-
amountMajor?: AmountMajorDto;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {Array<ProductGroupDto>}
|
|
41
|
-
* @memberof MonthAmountDto
|
|
42
|
-
*/
|
|
43
|
-
groups?: Array<ProductGroupDto>;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the MonthAmountDto interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfMonthAmountDto(value: object): value is MonthAmountDto;
|
|
49
|
-
export declare function MonthAmountDtoFromJSON(json: any): MonthAmountDto;
|
|
50
|
-
export declare function MonthAmountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MonthAmountDto;
|
|
51
|
-
export declare function MonthAmountDtoToJSON(value?: MonthAmountDto | null): any;
|
|
@@ -1,46 +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 { AmountMajorDtoFromJSON, AmountMajorDtoToJSON, } from './AmountMajorDto.js';
|
|
15
|
-
import { ProductGroupDtoFromJSON, ProductGroupDtoToJSON, } from './ProductGroupDto.js';
|
|
16
|
-
/**
|
|
17
|
-
* Check if a given object implements the MonthAmountDto interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfMonthAmountDto(value) {
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
export function MonthAmountDtoFromJSON(json) {
|
|
23
|
-
return MonthAmountDtoFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function MonthAmountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json == null) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'year': json['year'] == null ? undefined : json['year'],
|
|
31
|
-
'month': json['month'] == null ? undefined : json['month'],
|
|
32
|
-
'amountMajor': json['amountMajor'] == null ? undefined : AmountMajorDtoFromJSON(json['amountMajor']),
|
|
33
|
-
'groups': json['groups'] == null ? undefined : (json['groups'].map(ProductGroupDtoFromJSON)),
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function MonthAmountDtoToJSON(value) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'year': value['year'],
|
|
42
|
-
'month': value['month'],
|
|
43
|
-
'amountMajor': AmountMajorDtoToJSON(value['amountMajor']),
|
|
44
|
-
'groups': value['groups'] == null ? undefined : (value['groups'].map(ProductGroupDtoToJSON)),
|
|
45
|
-
};
|
|
46
|
-
}
|