@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,67 +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 OwnerDto
16
- */
17
- export interface OwnerDto {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof OwnerDto
22
- */
23
- id?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof OwnerDto
28
- */
29
- firstname?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof OwnerDto
34
- */
35
- lastname?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof OwnerDto
40
- */
41
- academicTitle?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof OwnerDto
46
- */
47
- displayName?: string;
48
- /**
49
- *
50
- * @type {boolean}
51
- * @memberof OwnerDto
52
- */
53
- isOrganization?: boolean;
54
- /**
55
- *
56
- * @type {boolean}
57
- * @memberof OwnerDto
58
- */
59
- isExpert?: boolean;
60
- }
61
- /**
62
- * Check if a given object implements the OwnerDto interface.
63
- */
64
- export declare function instanceOfOwnerDto(value: object): value is OwnerDto;
65
- export declare function OwnerDtoFromJSON(json: any): OwnerDto;
66
- export declare function OwnerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): OwnerDto;
67
- export declare function OwnerDtoToJSON(value?: OwnerDto | 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
- /**
15
- * Check if a given object implements the OwnerDto interface.
16
- */
17
- export function instanceOfOwnerDto(value) {
18
- return true;
19
- }
20
- export function OwnerDtoFromJSON(json) {
21
- return OwnerDtoFromJSONTyped(json, false);
22
- }
23
- export function OwnerDtoFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'id': json['id'] == null ? undefined : json['id'],
29
- 'firstname': json['firstname'] == null ? undefined : json['firstname'],
30
- 'lastname': json['lastname'] == null ? undefined : json['lastname'],
31
- 'academicTitle': json['academicTitle'] == null ? undefined : json['academicTitle'],
32
- 'displayName': json['displayName'] == null ? undefined : json['displayName'],
33
- 'isOrganization': json['isOrganization'] == null ? undefined : json['isOrganization'],
34
- 'isExpert': json['isExpert'] == null ? undefined : json['isExpert'],
35
- };
36
- }
37
- export function OwnerDtoToJSON(value) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'id': value['id'],
43
- 'firstname': value['firstname'],
44
- 'lastname': value['lastname'],
45
- 'academicTitle': value['academicTitle'],
46
- 'displayName': value['displayName'],
47
- 'isOrganization': value['isOrganization'],
48
- 'isExpert': value['isExpert'],
49
- };
50
- }
@@ -1,94 +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 { PageableObject } from './PageableObject.js';
13
- import type { SortObject } from './SortObject.js';
14
- import type { DataPoolDto } from './DataPoolDto.js';
15
- /**
16
- *
17
- * @export
18
- * @interface PageDataPoolDto
19
- */
20
- export interface PageDataPoolDto {
21
- /**
22
- *
23
- * @type {number}
24
- * @memberof PageDataPoolDto
25
- */
26
- totalPages?: number;
27
- /**
28
- *
29
- * @type {number}
30
- * @memberof PageDataPoolDto
31
- */
32
- totalElements?: number;
33
- /**
34
- *
35
- * @type {boolean}
36
- * @memberof PageDataPoolDto
37
- */
38
- first?: boolean;
39
- /**
40
- *
41
- * @type {number}
42
- * @memberof PageDataPoolDto
43
- */
44
- size?: number;
45
- /**
46
- *
47
- * @type {Array<DataPoolDto>}
48
- * @memberof PageDataPoolDto
49
- */
50
- content?: Array<DataPoolDto>;
51
- /**
52
- *
53
- * @type {number}
54
- * @memberof PageDataPoolDto
55
- */
56
- number?: number;
57
- /**
58
- *
59
- * @type {SortObject}
60
- * @memberof PageDataPoolDto
61
- */
62
- sort?: SortObject;
63
- /**
64
- *
65
- * @type {number}
66
- * @memberof PageDataPoolDto
67
- */
68
- numberOfElements?: number;
69
- /**
70
- *
71
- * @type {PageableObject}
72
- * @memberof PageDataPoolDto
73
- */
74
- pageable?: PageableObject;
75
- /**
76
- *
77
- * @type {boolean}
78
- * @memberof PageDataPoolDto
79
- */
80
- last?: boolean;
81
- /**
82
- *
83
- * @type {boolean}
84
- * @memberof PageDataPoolDto
85
- */
86
- empty?: boolean;
87
- }
88
- /**
89
- * Check if a given object implements the PageDataPoolDto interface.
90
- */
91
- export declare function instanceOfPageDataPoolDto(value: object): value is PageDataPoolDto;
92
- export declare function PageDataPoolDtoFromJSON(json: any): PageDataPoolDto;
93
- export declare function PageDataPoolDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageDataPoolDto;
94
- export declare function PageDataPoolDtoToJSON(value?: PageDataPoolDto | null): any;
@@ -1,61 +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 { PageableObjectFromJSON, PageableObjectToJSON, } from './PageableObject.js';
15
- import { SortObjectFromJSON, SortObjectToJSON, } from './SortObject.js';
16
- import { DataPoolDtoFromJSON, DataPoolDtoToJSON, } from './DataPoolDto.js';
17
- /**
18
- * Check if a given object implements the PageDataPoolDto interface.
19
- */
20
- export function instanceOfPageDataPoolDto(value) {
21
- return true;
22
- }
23
- export function PageDataPoolDtoFromJSON(json) {
24
- return PageDataPoolDtoFromJSONTyped(json, false);
25
- }
26
- export function PageDataPoolDtoFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
32
- 'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
33
- 'first': json['first'] == null ? undefined : json['first'],
34
- 'size': json['size'] == null ? undefined : json['size'],
35
- 'content': json['content'] == null ? undefined : (json['content'].map(DataPoolDtoFromJSON)),
36
- 'number': json['number'] == null ? undefined : json['number'],
37
- 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
38
- 'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
39
- 'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
40
- 'last': json['last'] == null ? undefined : json['last'],
41
- 'empty': json['empty'] == null ? undefined : json['empty'],
42
- };
43
- }
44
- export function PageDataPoolDtoToJSON(value) {
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'totalPages': value['totalPages'],
50
- 'totalElements': value['totalElements'],
51
- 'first': value['first'],
52
- 'size': value['size'],
53
- 'content': value['content'] == null ? undefined : (value['content'].map(DataPoolDtoToJSON)),
54
- 'number': value['number'],
55
- 'sort': SortObjectToJSON(value['sort']),
56
- 'numberOfElements': value['numberOfElements'],
57
- 'pageable': PageableObjectToJSON(value['pageable']),
58
- 'last': value['last'],
59
- 'empty': value['empty'],
60
- };
61
- }
@@ -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 { SortObject } from './SortObject.js';
13
- /**
14
- *
15
- * @export
16
- * @interface PageableObject
17
- */
18
- export interface PageableObject {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof PageableObject
23
- */
24
- offset?: number;
25
- /**
26
- *
27
- * @type {SortObject}
28
- * @memberof PageableObject
29
- */
30
- sort?: SortObject;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof PageableObject
35
- */
36
- pageSize?: number;
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof PageableObject
41
- */
42
- pageNumber?: number;
43
- /**
44
- *
45
- * @type {boolean}
46
- * @memberof PageableObject
47
- */
48
- paged?: boolean;
49
- /**
50
- *
51
- * @type {boolean}
52
- * @memberof PageableObject
53
- */
54
- unpaged?: boolean;
55
- }
56
- /**
57
- * Check if a given object implements the PageableObject interface.
58
- */
59
- export declare function instanceOfPageableObject(value: object): value is PageableObject;
60
- export declare function PageableObjectFromJSON(json: any): PageableObject;
61
- export declare function PageableObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageableObject;
62
- export declare function PageableObjectToJSON(value?: PageableObject | 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 { SortObjectFromJSON, SortObjectToJSON, } from './SortObject.js';
15
- /**
16
- * Check if a given object implements the PageableObject interface.
17
- */
18
- export function instanceOfPageableObject(value) {
19
- return true;
20
- }
21
- export function PageableObjectFromJSON(json) {
22
- return PageableObjectFromJSONTyped(json, false);
23
- }
24
- export function PageableObjectFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'offset': json['offset'] == null ? undefined : json['offset'],
30
- 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
31
- 'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
32
- 'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
33
- 'paged': json['paged'] == null ? undefined : json['paged'],
34
- 'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
35
- };
36
- }
37
- export function PageableObjectToJSON(value) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'offset': value['offset'],
43
- 'sort': SortObjectToJSON(value['sort']),
44
- 'pageSize': value['pageSize'],
45
- 'pageNumber': value['pageNumber'],
46
- 'paged': value['paged'],
47
- 'unpaged': value['unpaged'],
48
- };
49
- }
@@ -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
- import type { ProductDto } from './ProductDto.js';
13
- /**
14
- *
15
- * @export
16
- * @interface PricingPlanDto
17
- */
18
- export interface PricingPlanDto {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof PricingPlanDto
23
- */
24
- id?: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof PricingPlanDto
29
- */
30
- type?: PricingPlanDtoTypeEnum;
31
- /**
32
- *
33
- * @type {Array<ProductDto>}
34
- * @memberof PricingPlanDto
35
- */
36
- products?: Array<ProductDto>;
37
- }
38
- /**
39
- * @export
40
- */
41
- export declare const PricingPlanDtoTypeEnum: {
42
- readonly Free: "FREE";
43
- readonly Commercial: "COMMERCIAL";
44
- };
45
- export type PricingPlanDtoTypeEnum = typeof PricingPlanDtoTypeEnum[keyof typeof PricingPlanDtoTypeEnum];
46
- /**
47
- * Check if a given object implements the PricingPlanDto interface.
48
- */
49
- export declare function instanceOfPricingPlanDto(value: object): value is PricingPlanDto;
50
- export declare function PricingPlanDtoFromJSON(json: any): PricingPlanDto;
51
- export declare function PricingPlanDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PricingPlanDto;
52
- export declare function PricingPlanDtoToJSON(value?: PricingPlanDto | 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 { ProductDtoFromJSON, ProductDtoToJSON, } from './ProductDto.js';
15
- /**
16
- * @export
17
- */
18
- export const PricingPlanDtoTypeEnum = {
19
- Free: 'FREE',
20
- Commercial: 'COMMERCIAL'
21
- };
22
- /**
23
- * Check if a given object implements the PricingPlanDto interface.
24
- */
25
- export function instanceOfPricingPlanDto(value) {
26
- return true;
27
- }
28
- export function PricingPlanDtoFromJSON(json) {
29
- return PricingPlanDtoFromJSONTyped(json, false);
30
- }
31
- export function PricingPlanDtoFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'id': json['id'] == null ? undefined : json['id'],
37
- 'type': json['type'] == null ? undefined : json['type'],
38
- 'products': json['products'] == null ? undefined : (json['products'].map(ProductDtoFromJSON)),
39
- };
40
- }
41
- export function PricingPlanDtoToJSON(value) {
42
- if (value == null) {
43
- return value;
44
- }
45
- return {
46
- 'id': value['id'],
47
- 'type': value['type'],
48
- 'products': value['products'] == null ? undefined : (value['products'].map(ProductDtoToJSON)),
49
- };
50
- }
@@ -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 { AmountMajorDto } from './AmountMajorDto.js';
13
- /**
14
- *
15
- * @export
16
- * @interface ProductAmountDto
17
- */
18
- export interface ProductAmountDto {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof ProductAmountDto
23
- */
24
- name?: string;
25
- /**
26
- *
27
- * @type {AmountMajorDto}
28
- * @memberof ProductAmountDto
29
- */
30
- amountMajor?: AmountMajorDto;
31
- }
32
- /**
33
- * Check if a given object implements the ProductAmountDto interface.
34
- */
35
- export declare function instanceOfProductAmountDto(value: object): value is ProductAmountDto;
36
- export declare function ProductAmountDtoFromJSON(json: any): ProductAmountDto;
37
- export declare function ProductAmountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductAmountDto;
38
- export declare function ProductAmountDtoToJSON(value?: ProductAmountDto | null): any;
@@ -1,41 +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
- /**
16
- * Check if a given object implements the ProductAmountDto interface.
17
- */
18
- export function instanceOfProductAmountDto(value) {
19
- return true;
20
- }
21
- export function ProductAmountDtoFromJSON(json) {
22
- return ProductAmountDtoFromJSONTyped(json, false);
23
- }
24
- export function ProductAmountDtoFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'name': json['name'] == null ? undefined : json['name'],
30
- 'amountMajor': json['amountMajor'] == null ? undefined : AmountMajorDtoFromJSON(json['amountMajor']),
31
- };
32
- }
33
- export function ProductAmountDtoToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'name': value['name'],
39
- 'amountMajor': AmountMajorDtoToJSON(value['amountMajor']),
40
- };
41
- }
@@ -1,83 +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 ProductDto
16
- */
17
- export interface ProductDto {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ProductDto
22
- */
23
- id?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ProductDto
28
- */
29
- name?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof ProductDto
34
- */
35
- unitLabel?: string;
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof ProductDto
40
- */
41
- amountMajor?: number;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof ProductDto
46
- */
47
- currency?: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof ProductDto
52
- */
53
- type?: ProductDtoTypeEnum;
54
- }
55
- /**
56
- * @export
57
- */
58
- export declare const ProductDtoTypeEnum: {
59
- readonly Api: "API";
60
- readonly Cpu: "CPU";
61
- readonly Memory: "MEMORY";
62
- readonly Ionq1GateShot: "IONQ_1_GATE_SHOT";
63
- readonly Ionq2GateShot: "IONQ_2_GATE_SHOT";
64
- readonly AwsSv1: "AWS_SV1";
65
- readonly AwsDm1: "AWS_DM1";
66
- readonly AwsTn1: "AWS_TN1";
67
- readonly AwsQuantumTask: "AWS_QUANTUM_TASK";
68
- readonly AwsIonqHarmony: "AWS_IONQ_HARMONY";
69
- readonly AwsIonqAria: "AWS_IONQ_ARIA";
70
- readonly AwsOqcLucy: "AWS_OQC_LUCY";
71
- readonly AwsRigettiAspenm: "AWS_RIGETTI_ASPENM";
72
- readonly Custom: "CUSTOM";
73
- readonly GpuNvidiaT4: "GPU_NVIDIA_T4";
74
- readonly GpuNvidiaV100: "GPU_NVIDIA_V100";
75
- };
76
- export type ProductDtoTypeEnum = typeof ProductDtoTypeEnum[keyof typeof ProductDtoTypeEnum];
77
- /**
78
- * Check if a given object implements the ProductDto interface.
79
- */
80
- export declare function instanceOfProductDto(value: object): value is ProductDto;
81
- export declare function ProductDtoFromJSON(json: any): ProductDto;
82
- export declare function ProductDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductDto;
83
- export declare function ProductDtoToJSON(value?: ProductDto | null): any;