@quantum-hub/qhubctl 1.8.1 → 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 (153) hide show
  1. package/README.md +6 -35
  2. package/dist/commands/datapool-upload.js +7 -3
  3. package/dist/commands/init.js +26 -5
  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/service/quantum-hub-service.d.ts +9 -13
  10. package/dist/service/quantum-hub-service.js +67 -139
  11. package/package.json +2 -2
  12. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.d.ts +0 -89
  13. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.js +0 -222
  14. package/dist/client/kqh/apis/ServicePlatformDashboardApi.d.ts +0 -44
  15. package/dist/client/kqh/apis/ServicePlatformDashboardApi.js +0 -106
  16. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.d.ts +0 -133
  17. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.js +0 -373
  18. package/dist/client/kqh/apis/ServicePlatformJobsApi.d.ts +0 -101
  19. package/dist/client/kqh/apis/ServicePlatformJobsApi.js +0 -261
  20. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.d.ts +0 -48
  21. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.js +0 -115
  22. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.d.ts +0 -29
  23. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.js +0 -53
  24. package/dist/client/kqh/apis/ServicePlatformServicesApi.d.ts +0 -501
  25. package/dist/client/kqh/apis/ServicePlatformServicesApi.js +0 -1472
  26. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.d.ts +0 -66
  27. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.js +0 -157
  28. package/dist/client/kqh/apis/TaxonomiesApi.d.ts +0 -90
  29. package/dist/client/kqh/apis/TaxonomiesApi.js +0 -272
  30. package/dist/client/kqh/apis/index.d.ts +0 -9
  31. package/dist/client/kqh/apis/index.js +0 -11
  32. package/dist/client/kqh/index.d.ts +0 -3
  33. package/dist/client/kqh/index.js +0 -5
  34. package/dist/client/kqh/models/AccessTokenDto.d.ts +0 -81
  35. package/dist/client/kqh/models/AccessTokenDto.js +0 -59
  36. package/dist/client/kqh/models/AmountMajorDto.d.ts +0 -37
  37. package/dist/client/kqh/models/AmountMajorDto.js +0 -40
  38. package/dist/client/kqh/models/ApiDto.d.ts +0 -144
  39. package/dist/client/kqh/models/ApiDto.js +0 -92
  40. package/dist/client/kqh/models/ApiOverviewDto.d.ts +0 -119
  41. package/dist/client/kqh/models/ApiOverviewDto.js +0 -83
  42. package/dist/client/kqh/models/ApplicationDto.d.ts +0 -64
  43. package/dist/client/kqh/models/ApplicationDto.js +0 -53
  44. package/dist/client/kqh/models/BuildJobDto.d.ts +0 -75
  45. package/dist/client/kqh/models/BuildJobDto.js +0 -64
  46. package/dist/client/kqh/models/CpuConfiguration.d.ts +0 -38
  47. package/dist/client/kqh/models/CpuConfiguration.js +0 -43
  48. package/dist/client/kqh/models/CreateApplicationRequest.d.ts +0 -31
  49. package/dist/client/kqh/models/CreateApplicationRequest.js +0 -38
  50. package/dist/client/kqh/models/CreateDataPoolRequest.d.ts +0 -31
  51. package/dist/client/kqh/models/CreateDataPoolRequest.js +0 -40
  52. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.d.ts +0 -46
  53. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.js +0 -50
  54. package/dist/client/kqh/models/CreateJobRequest.d.ts +0 -62
  55. package/dist/client/kqh/models/CreateJobRequest.js +0 -51
  56. package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.d.ts +0 -73
  57. package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.js +0 -72
  58. package/dist/client/kqh/models/CreateProductRequest.d.ts +0 -43
  59. package/dist/client/kqh/models/CreateProductRequest.js +0 -46
  60. package/dist/client/kqh/models/CreateSubscriptionRequest.d.ts +0 -37
  61. package/dist/client/kqh/models/CreateSubscriptionRequest.js +0 -44
  62. package/dist/client/kqh/models/CreateWorkflowServiceRequest.d.ts +0 -37
  63. package/dist/client/kqh/models/CreateWorkflowServiceRequest.js +0 -42
  64. package/dist/client/kqh/models/DataPoolDto.d.ts +0 -166
  65. package/dist/client/kqh/models/DataPoolDto.js +0 -98
  66. package/dist/client/kqh/models/DataPoolRef.d.ts +0 -43
  67. package/dist/client/kqh/models/DataPoolRef.js +0 -42
  68. package/dist/client/kqh/models/DataSourceDescriptorDto.d.ts +0 -89
  69. package/dist/client/kqh/models/DataSourceDescriptorDto.js +0 -62
  70. package/dist/client/kqh/models/FileDto.d.ts +0 -73
  71. package/dist/client/kqh/models/FileDto.js +0 -45
  72. package/dist/client/kqh/models/FileSource.d.ts +0 -26
  73. package/dist/client/kqh/models/FileSource.js +0 -28
  74. package/dist/client/kqh/models/GpuConfiguration.d.ts +0 -49
  75. package/dist/client/kqh/models/GpuConfiguration.js +0 -53
  76. package/dist/client/kqh/models/JobDto.d.ts +0 -117
  77. package/dist/client/kqh/models/JobDto.js +0 -75
  78. package/dist/client/kqh/models/JobOverviewDto.d.ts +0 -74
  79. package/dist/client/kqh/models/JobOverviewDto.js +0 -60
  80. package/dist/client/kqh/models/MemoryConfiguration.d.ts +0 -38
  81. package/dist/client/kqh/models/MemoryConfiguration.js +0 -43
  82. package/dist/client/kqh/models/MeteringRequest.d.ts +0 -43
  83. package/dist/client/kqh/models/MeteringRequest.js +0 -42
  84. package/dist/client/kqh/models/MeteringResponse.d.ts +0 -49
  85. package/dist/client/kqh/models/MeteringResponse.js +0 -44
  86. package/dist/client/kqh/models/MonthAmountDto.d.ts +0 -51
  87. package/dist/client/kqh/models/MonthAmountDto.js +0 -46
  88. package/dist/client/kqh/models/OwnerDto.d.ts +0 -67
  89. package/dist/client/kqh/models/OwnerDto.js +0 -50
  90. package/dist/client/kqh/models/PageDataPoolDto.d.ts +0 -94
  91. package/dist/client/kqh/models/PageDataPoolDto.js +0 -61
  92. package/dist/client/kqh/models/PageableObject.d.ts +0 -62
  93. package/dist/client/kqh/models/PageableObject.js +0 -49
  94. package/dist/client/kqh/models/PricingPlanDto.d.ts +0 -52
  95. package/dist/client/kqh/models/PricingPlanDto.js +0 -50
  96. package/dist/client/kqh/models/ProductAmountDto.d.ts +0 -38
  97. package/dist/client/kqh/models/ProductAmountDto.js +0 -41
  98. package/dist/client/kqh/models/ProductDto.d.ts +0 -83
  99. package/dist/client/kqh/models/ProductDto.js +0 -69
  100. package/dist/client/kqh/models/ProductGroupDto.d.ts +0 -45
  101. package/dist/client/kqh/models/ProductGroupDto.js +0 -44
  102. package/dist/client/kqh/models/ProductUsageDto.d.ts +0 -61
  103. package/dist/client/kqh/models/ProductUsageDto.js +0 -48
  104. package/dist/client/kqh/models/RegistrySource.d.ts +0 -52
  105. package/dist/client/kqh/models/RegistrySource.js +0 -49
  106. package/dist/client/kqh/models/RepositorySource.d.ts +0 -32
  107. package/dist/client/kqh/models/RepositorySource.js +0 -41
  108. package/dist/client/kqh/models/ResourceConfiguration.d.ts +0 -31
  109. package/dist/client/kqh/models/ResourceConfiguration.js +0 -52
  110. package/dist/client/kqh/models/ReviewDto.d.ts +0 -51
  111. package/dist/client/kqh/models/ReviewDto.js +0 -49
  112. package/dist/client/kqh/models/RuntimeConfiguration.d.ts +0 -53
  113. package/dist/client/kqh/models/RuntimeConfiguration.js +0 -49
  114. package/dist/client/kqh/models/ServiceDefinitionCommand.d.ts +0 -39
  115. package/dist/client/kqh/models/ServiceDefinitionCommand.js +0 -45
  116. package/dist/client/kqh/models/ServiceDefinitionDto.d.ts +0 -180
  117. package/dist/client/kqh/models/ServiceDefinitionDto.js +0 -101
  118. package/dist/client/kqh/models/ServiceDefinitionDtoSource.d.ts +0 -23
  119. package/dist/client/kqh/models/ServiceDefinitionDtoSource.js +0 -49
  120. package/dist/client/kqh/models/ServiceDefinitionOverviewDto.d.ts +0 -79
  121. package/dist/client/kqh/models/ServiceDefinitionOverviewDto.js +0 -64
  122. package/dist/client/kqh/models/ServiceDto.d.ts +0 -59
  123. package/dist/client/kqh/models/ServiceDto.js +0 -52
  124. package/dist/client/kqh/models/ServiceExecutionConsumerDto.d.ts +0 -67
  125. package/dist/client/kqh/models/ServiceExecutionConsumerDto.js +0 -57
  126. package/dist/client/kqh/models/ServiceExecutionDto.d.ts +0 -49
  127. package/dist/client/kqh/models/ServiceExecutionDto.js +0 -44
  128. package/dist/client/kqh/models/ServiceOverviewDto.d.ts +0 -115
  129. package/dist/client/kqh/models/ServiceOverviewDto.js +0 -85
  130. package/dist/client/kqh/models/ServiceSource.d.ts +0 -31
  131. package/dist/client/kqh/models/ServiceSource.js +0 -52
  132. package/dist/client/kqh/models/SortObject.d.ts +0 -43
  133. package/dist/client/kqh/models/SortObject.js +0 -42
  134. package/dist/client/kqh/models/SubscriptionDto.d.ts +0 -58
  135. package/dist/client/kqh/models/SubscriptionDto.js +0 -49
  136. package/dist/client/kqh/models/TaxonomyElement.d.ts +0 -43
  137. package/dist/client/kqh/models/TaxonomyElement.js +0 -42
  138. package/dist/client/kqh/models/UpdateDataPoolRequest.d.ts +0 -109
  139. package/dist/client/kqh/models/UpdateDataPoolRequest.js +0 -66
  140. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.d.ts +0 -23
  141. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.js +0 -49
  142. package/dist/client/kqh/models/UpdateVersionRequest.d.ts +0 -44
  143. package/dist/client/kqh/models/UpdateVersionRequest.js +0 -43
  144. package/dist/client/kqh/models/UpdateWorkflowServiceRequest.d.ts +0 -31
  145. package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +0 -27
  146. package/dist/client/kqh/models/ValidationResult.d.ts +0 -52
  147. package/dist/client/kqh/models/ValidationResult.js +0 -50
  148. package/dist/client/kqh/models/index.d.ts +0 -57
  149. package/dist/client/kqh/models/index.js +0 -59
  150. package/dist/client/kqh/runtime.d.ts +0 -181
  151. package/dist/client/kqh/runtime.js +0 -325
  152. package/dist/model/account.d.ts +0 -5
  153. package/dist/model/account.js +0 -1
@@ -1,66 +0,0 @@
1
- /**
2
- * Quantum Platform API
3
- * Part of the OpenAPI specification for the Quantum 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 * as runtime from '../runtime.js';
13
- import type { CreateSubscriptionRequest, ServiceExecutionConsumerDto, SubscriptionDto } from '../models/index.js';
14
- export interface CreateSubscriptionOperationRequest {
15
- createSubscriptionRequest: CreateSubscriptionRequest;
16
- xOrganizationId?: string;
17
- }
18
- export interface DeleteSubscriptionRequest {
19
- id: string;
20
- xOrganizationId?: string;
21
- }
22
- export interface GetSubscriptionRequest {
23
- id: string;
24
- xOrganizationId?: string;
25
- }
26
- export interface GetSubscriptionServiceExecutionsRequest {
27
- id: string;
28
- xOrganizationId?: string;
29
- }
30
- /**
31
- *
32
- */
33
- export declare class ServicePlatformSubscriptionsApi extends runtime.BaseAPI {
34
- /**
35
- * Creates a subscription to an internally or publicly published service. To subscribe a service, you must only supply the id of the service and the application.
36
- */
37
- createSubscriptionRaw(requestParameters: CreateSubscriptionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SubscriptionDto>>;
38
- /**
39
- * Creates a subscription to an internally or publicly published service. To subscribe a service, you must only supply the id of the service and the application.
40
- */
41
- createSubscription(requestParameters: CreateSubscriptionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SubscriptionDto>;
42
- /**
43
- * Removes a specific subscription.
44
- */
45
- deleteSubscriptionRaw(requestParameters: DeleteSubscriptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
46
- /**
47
- * Removes a specific subscription.
48
- */
49
- deleteSubscription(requestParameters: DeleteSubscriptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
50
- /**
51
- * Retrieves a specific subscription.
52
- */
53
- getSubscriptionRaw(requestParameters: GetSubscriptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SubscriptionDto>>;
54
- /**
55
- * Retrieves a specific subscription.
56
- */
57
- getSubscription(requestParameters: GetSubscriptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SubscriptionDto>;
58
- /**
59
- * Retrieves the service executions of a subscription.
60
- */
61
- getSubscriptionServiceExecutionsRaw(requestParameters: GetSubscriptionServiceExecutionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ServiceExecutionConsumerDto>>>;
62
- /**
63
- * Retrieves the service executions of a subscription.
64
- */
65
- getSubscriptionServiceExecutions(requestParameters: GetSubscriptionServiceExecutionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ServiceExecutionConsumerDto>>;
66
- }
@@ -1,157 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Platform API
5
- * Part of the OpenAPI specification for the Quantum 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 * as runtime from '../runtime.js';
15
- import { CreateSubscriptionRequestToJSON, ServiceExecutionConsumerDtoFromJSON, SubscriptionDtoFromJSON, } from '../models/index.js';
16
- /**
17
- *
18
- */
19
- export class ServicePlatformSubscriptionsApi extends runtime.BaseAPI {
20
- /**
21
- * Creates a subscription to an internally or publicly published service. To subscribe a service, you must only supply the id of the service and the application.
22
- */
23
- async createSubscriptionRaw(requestParameters, initOverrides) {
24
- if (requestParameters['createSubscriptionRequest'] == null) {
25
- throw new runtime.RequiredError('createSubscriptionRequest', 'Required parameter "createSubscriptionRequest" was null or undefined when calling createSubscription().');
26
- }
27
- const queryParameters = {};
28
- const headerParameters = {};
29
- headerParameters['Content-Type'] = 'application/json';
30
- if (requestParameters['xOrganizationId'] != null) {
31
- headerParameters['X-OrganizationId'] = String(requestParameters['xOrganizationId']);
32
- }
33
- if (this.configuration && this.configuration.apiKey) {
34
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
35
- }
36
- if (this.configuration && this.configuration.accessToken) {
37
- // oauth required
38
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
39
- }
40
- const response = await this.request({
41
- path: `/subscriptions`,
42
- method: 'POST',
43
- headers: headerParameters,
44
- query: queryParameters,
45
- body: CreateSubscriptionRequestToJSON(requestParameters['createSubscriptionRequest']),
46
- }, initOverrides);
47
- return new runtime.JSONApiResponse(response, (jsonValue) => SubscriptionDtoFromJSON(jsonValue));
48
- }
49
- /**
50
- * Creates a subscription to an internally or publicly published service. To subscribe a service, you must only supply the id of the service and the application.
51
- */
52
- async createSubscription(requestParameters, initOverrides) {
53
- const response = await this.createSubscriptionRaw(requestParameters, initOverrides);
54
- return await response.value();
55
- }
56
- /**
57
- * Removes a specific subscription.
58
- */
59
- async deleteSubscriptionRaw(requestParameters, initOverrides) {
60
- if (requestParameters['id'] == null) {
61
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteSubscription().');
62
- }
63
- const queryParameters = {};
64
- const headerParameters = {};
65
- if (requestParameters['xOrganizationId'] != null) {
66
- headerParameters['X-OrganizationId'] = String(requestParameters['xOrganizationId']);
67
- }
68
- if (this.configuration && this.configuration.apiKey) {
69
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
70
- }
71
- if (this.configuration && this.configuration.accessToken) {
72
- // oauth required
73
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
74
- }
75
- const response = await this.request({
76
- path: `/subscriptions/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
77
- method: 'DELETE',
78
- headers: headerParameters,
79
- query: queryParameters,
80
- }, initOverrides);
81
- return new runtime.VoidApiResponse(response);
82
- }
83
- /**
84
- * Removes a specific subscription.
85
- */
86
- async deleteSubscription(requestParameters, initOverrides) {
87
- await this.deleteSubscriptionRaw(requestParameters, initOverrides);
88
- }
89
- /**
90
- * Retrieves a specific subscription.
91
- */
92
- async getSubscriptionRaw(requestParameters, initOverrides) {
93
- if (requestParameters['id'] == null) {
94
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getSubscription().');
95
- }
96
- const queryParameters = {};
97
- const headerParameters = {};
98
- if (requestParameters['xOrganizationId'] != null) {
99
- headerParameters['X-OrganizationId'] = String(requestParameters['xOrganizationId']);
100
- }
101
- if (this.configuration && this.configuration.apiKey) {
102
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
103
- }
104
- if (this.configuration && this.configuration.accessToken) {
105
- // oauth required
106
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
107
- }
108
- const response = await this.request({
109
- path: `/subscriptions/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
110
- method: 'GET',
111
- headers: headerParameters,
112
- query: queryParameters,
113
- }, initOverrides);
114
- return new runtime.JSONApiResponse(response, (jsonValue) => SubscriptionDtoFromJSON(jsonValue));
115
- }
116
- /**
117
- * Retrieves a specific subscription.
118
- */
119
- async getSubscription(requestParameters, initOverrides) {
120
- const response = await this.getSubscriptionRaw(requestParameters, initOverrides);
121
- return await response.value();
122
- }
123
- /**
124
- * Retrieves the service executions of a subscription.
125
- */
126
- async getSubscriptionServiceExecutionsRaw(requestParameters, initOverrides) {
127
- if (requestParameters['id'] == null) {
128
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getSubscriptionServiceExecutions().');
129
- }
130
- const queryParameters = {};
131
- const headerParameters = {};
132
- if (requestParameters['xOrganizationId'] != null) {
133
- headerParameters['X-OrganizationId'] = String(requestParameters['xOrganizationId']);
134
- }
135
- if (this.configuration && this.configuration.apiKey) {
136
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
137
- }
138
- if (this.configuration && this.configuration.accessToken) {
139
- // oauth required
140
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
141
- }
142
- const response = await this.request({
143
- path: `/subscriptions/{id}/service-executions`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
144
- method: 'GET',
145
- headers: headerParameters,
146
- query: queryParameters,
147
- }, initOverrides);
148
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ServiceExecutionConsumerDtoFromJSON));
149
- }
150
- /**
151
- * Retrieves the service executions of a subscription.
152
- */
153
- async getSubscriptionServiceExecutions(requestParameters, initOverrides) {
154
- const response = await this.getSubscriptionServiceExecutionsRaw(requestParameters, initOverrides);
155
- return await response.value();
156
- }
157
- }
@@ -1,90 +0,0 @@
1
- /**
2
- * Quantum Platform API
3
- * Part of the OpenAPI specification for the Quantum 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 * as runtime from '../runtime.js';
13
- import type { TaxonomyElement } from '../models/index.js';
14
- /**
15
- *
16
- */
17
- export declare class TaxonomiesApi extends runtime.BaseAPI {
18
- /**
19
- * Returns the taxonomy about application areas of algorithms and implementations.
20
- */
21
- getApplicationAreasRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
22
- /**
23
- * Returns the taxonomy about application areas of algorithms and implementations.
24
- */
25
- getApplicationAreas(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
26
- /**
27
- * Returns the taxonomy of certain file formats for data pools.
28
- */
29
- getDatapoolFormatsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
30
- /**
31
- * Returns the taxonomy of certain file formats for data pools.
32
- */
33
- getDatapoolFormats(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
34
- /**
35
- * Returns the industry taxonomy.
36
- */
37
- getIndustriesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
38
- /**
39
- * Returns the industry taxonomy.
40
- */
41
- getIndustries(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
42
- /**
43
- * Returns the taxonomy about learning methods of algorithms.
44
- */
45
- getLearningMethodsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
46
- /**
47
- * Returns the taxonomy about learning methods of algorithms.
48
- */
49
- getLearningMethods(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
50
- /**
51
- * Returns the taxonomy about software licenses.
52
- */
53
- getLicensesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
54
- /**
55
- * Returns the taxonomy about software licenses.
56
- */
57
- getLicenses(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
58
- /**
59
- * Returns the taxonomy about problem types of algorithms and implementations.
60
- */
61
- getProblemTypesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
62
- /**
63
- * Returns the taxonomy about problem types of algorithms and implementations.
64
- */
65
- getProblemTypes(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
66
- /**
67
- * Returns the taxonomy about programming languages.
68
- */
69
- getProgrammingLanguagesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
70
- /**
71
- * Returns the taxonomy about programming languages.
72
- */
73
- getProgrammingLanguages(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
74
- /**
75
- * Returns the taxonomy about quantum computation models.
76
- */
77
- getQuantumComputationModelsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
78
- /**
79
- * Returns the taxonomy about quantum computation models.
80
- */
81
- getQuantumComputationModels(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
82
- /**
83
- * Returns the taxonomy about software tools.
84
- */
85
- getSoftwareToolsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaxonomyElement>>>;
86
- /**
87
- * Returns the taxonomy about software tools.
88
- */
89
- getSoftwareTools(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaxonomyElement>>;
90
- }
@@ -1,272 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Platform API
5
- * Part of the OpenAPI specification for the Quantum 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 * as runtime from '../runtime.js';
15
- import { TaxonomyElementFromJSON, } from '../models/index.js';
16
- /**
17
- *
18
- */
19
- export class TaxonomiesApi extends runtime.BaseAPI {
20
- /**
21
- * Returns the taxonomy about application areas of algorithms and implementations.
22
- */
23
- async getApplicationAreasRaw(initOverrides) {
24
- const queryParameters = {};
25
- const headerParameters = {};
26
- if (this.configuration && this.configuration.apiKey) {
27
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
28
- }
29
- if (this.configuration && this.configuration.accessToken) {
30
- // oauth required
31
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
32
- }
33
- const response = await this.request({
34
- path: `/taxonomies/application-areas`,
35
- method: 'GET',
36
- headers: headerParameters,
37
- query: queryParameters,
38
- }, initOverrides);
39
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TaxonomyElementFromJSON));
40
- }
41
- /**
42
- * Returns the taxonomy about application areas of algorithms and implementations.
43
- */
44
- async getApplicationAreas(initOverrides) {
45
- const response = await this.getApplicationAreasRaw(initOverrides);
46
- return await response.value();
47
- }
48
- /**
49
- * Returns the taxonomy of certain file formats for data pools.
50
- */
51
- async getDatapoolFormatsRaw(initOverrides) {
52
- const queryParameters = {};
53
- const headerParameters = {};
54
- if (this.configuration && this.configuration.apiKey) {
55
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
56
- }
57
- if (this.configuration && this.configuration.accessToken) {
58
- // oauth required
59
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
60
- }
61
- const response = await this.request({
62
- path: `/taxonomies/data-pool-formats`,
63
- method: 'GET',
64
- headers: headerParameters,
65
- query: queryParameters,
66
- }, initOverrides);
67
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TaxonomyElementFromJSON));
68
- }
69
- /**
70
- * Returns the taxonomy of certain file formats for data pools.
71
- */
72
- async getDatapoolFormats(initOverrides) {
73
- const response = await this.getDatapoolFormatsRaw(initOverrides);
74
- return await response.value();
75
- }
76
- /**
77
- * Returns the industry taxonomy.
78
- */
79
- async getIndustriesRaw(initOverrides) {
80
- const queryParameters = {};
81
- const headerParameters = {};
82
- if (this.configuration && this.configuration.apiKey) {
83
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
84
- }
85
- if (this.configuration && this.configuration.accessToken) {
86
- // oauth required
87
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
88
- }
89
- const response = await this.request({
90
- path: `/taxonomies/industries`,
91
- method: 'GET',
92
- headers: headerParameters,
93
- query: queryParameters,
94
- }, initOverrides);
95
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TaxonomyElementFromJSON));
96
- }
97
- /**
98
- * Returns the industry taxonomy.
99
- */
100
- async getIndustries(initOverrides) {
101
- const response = await this.getIndustriesRaw(initOverrides);
102
- return await response.value();
103
- }
104
- /**
105
- * Returns the taxonomy about learning methods of algorithms.
106
- */
107
- async getLearningMethodsRaw(initOverrides) {
108
- const queryParameters = {};
109
- const headerParameters = {};
110
- if (this.configuration && this.configuration.apiKey) {
111
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
112
- }
113
- if (this.configuration && this.configuration.accessToken) {
114
- // oauth required
115
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
116
- }
117
- const response = await this.request({
118
- path: `/taxonomies/learning-methods`,
119
- method: 'GET',
120
- headers: headerParameters,
121
- query: queryParameters,
122
- }, initOverrides);
123
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TaxonomyElementFromJSON));
124
- }
125
- /**
126
- * Returns the taxonomy about learning methods of algorithms.
127
- */
128
- async getLearningMethods(initOverrides) {
129
- const response = await this.getLearningMethodsRaw(initOverrides);
130
- return await response.value();
131
- }
132
- /**
133
- * Returns the taxonomy about software licenses.
134
- */
135
- async getLicensesRaw(initOverrides) {
136
- const queryParameters = {};
137
- const headerParameters = {};
138
- if (this.configuration && this.configuration.apiKey) {
139
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
140
- }
141
- if (this.configuration && this.configuration.accessToken) {
142
- // oauth required
143
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
144
- }
145
- const response = await this.request({
146
- path: `/taxonomies/licenses`,
147
- method: 'GET',
148
- headers: headerParameters,
149
- query: queryParameters,
150
- }, initOverrides);
151
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TaxonomyElementFromJSON));
152
- }
153
- /**
154
- * Returns the taxonomy about software licenses.
155
- */
156
- async getLicenses(initOverrides) {
157
- const response = await this.getLicensesRaw(initOverrides);
158
- return await response.value();
159
- }
160
- /**
161
- * Returns the taxonomy about problem types of algorithms and implementations.
162
- */
163
- async getProblemTypesRaw(initOverrides) {
164
- const queryParameters = {};
165
- const headerParameters = {};
166
- if (this.configuration && this.configuration.apiKey) {
167
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
168
- }
169
- if (this.configuration && this.configuration.accessToken) {
170
- // oauth required
171
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
172
- }
173
- const response = await this.request({
174
- path: `/taxonomies/problem-types`,
175
- method: 'GET',
176
- headers: headerParameters,
177
- query: queryParameters,
178
- }, initOverrides);
179
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TaxonomyElementFromJSON));
180
- }
181
- /**
182
- * Returns the taxonomy about problem types of algorithms and implementations.
183
- */
184
- async getProblemTypes(initOverrides) {
185
- const response = await this.getProblemTypesRaw(initOverrides);
186
- return await response.value();
187
- }
188
- /**
189
- * Returns the taxonomy about programming languages.
190
- */
191
- async getProgrammingLanguagesRaw(initOverrides) {
192
- const queryParameters = {};
193
- const headerParameters = {};
194
- if (this.configuration && this.configuration.apiKey) {
195
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
196
- }
197
- if (this.configuration && this.configuration.accessToken) {
198
- // oauth required
199
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
200
- }
201
- const response = await this.request({
202
- path: `/taxonomies/programming-languages`,
203
- method: 'GET',
204
- headers: headerParameters,
205
- query: queryParameters,
206
- }, initOverrides);
207
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TaxonomyElementFromJSON));
208
- }
209
- /**
210
- * Returns the taxonomy about programming languages.
211
- */
212
- async getProgrammingLanguages(initOverrides) {
213
- const response = await this.getProgrammingLanguagesRaw(initOverrides);
214
- return await response.value();
215
- }
216
- /**
217
- * Returns the taxonomy about quantum computation models.
218
- */
219
- async getQuantumComputationModelsRaw(initOverrides) {
220
- const queryParameters = {};
221
- const headerParameters = {};
222
- if (this.configuration && this.configuration.apiKey) {
223
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
224
- }
225
- if (this.configuration && this.configuration.accessToken) {
226
- // oauth required
227
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
228
- }
229
- const response = await this.request({
230
- path: `/taxonomies/quantum-computation-models`,
231
- method: 'GET',
232
- headers: headerParameters,
233
- query: queryParameters,
234
- }, initOverrides);
235
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TaxonomyElementFromJSON));
236
- }
237
- /**
238
- * Returns the taxonomy about quantum computation models.
239
- */
240
- async getQuantumComputationModels(initOverrides) {
241
- const response = await this.getQuantumComputationModelsRaw(initOverrides);
242
- return await response.value();
243
- }
244
- /**
245
- * Returns the taxonomy about software tools.
246
- */
247
- async getSoftwareToolsRaw(initOverrides) {
248
- const queryParameters = {};
249
- const headerParameters = {};
250
- if (this.configuration && this.configuration.apiKey) {
251
- headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
252
- }
253
- if (this.configuration && this.configuration.accessToken) {
254
- // oauth required
255
- headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
256
- }
257
- const response = await this.request({
258
- path: `/taxonomies/software-tools`,
259
- method: 'GET',
260
- headers: headerParameters,
261
- query: queryParameters,
262
- }, initOverrides);
263
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TaxonomyElementFromJSON));
264
- }
265
- /**
266
- * Returns the taxonomy about software tools.
267
- */
268
- async getSoftwareTools(initOverrides) {
269
- const response = await this.getSoftwareToolsRaw(initOverrides);
270
- return await response.value();
271
- }
272
- }
@@ -1,9 +0,0 @@
1
- export * from './ServicePlatformApplicationsApi.js';
2
- export * from './ServicePlatformDashboardApi.js';
3
- export * from './ServicePlatformDataPoolsApi.js';
4
- export * from './ServicePlatformJobsApi.js';
5
- export * from './ServicePlatformMarketplaceApi.js';
6
- export * from './ServicePlatformMeteringAPIApi.js';
7
- export * from './ServicePlatformServicesApi.js';
8
- export * from './ServicePlatformSubscriptionsApi.js';
9
- export * from './TaxonomiesApi.js';
@@ -1,11 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- export * from './ServicePlatformApplicationsApi.js';
4
- export * from './ServicePlatformDashboardApi.js';
5
- export * from './ServicePlatformDataPoolsApi.js';
6
- export * from './ServicePlatformJobsApi.js';
7
- export * from './ServicePlatformMarketplaceApi.js';
8
- export * from './ServicePlatformMeteringAPIApi.js';
9
- export * from './ServicePlatformServicesApi.js';
10
- export * from './ServicePlatformSubscriptionsApi.js';
11
- export * from './TaxonomiesApi.js';
@@ -1,3 +0,0 @@
1
- export * from './runtime.js';
2
- export * from './apis/index.js';
3
- export * from './models/index.js';
@@ -1,5 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- export * from './runtime.js';
4
- export * from './apis/index.js';
5
- export * from './models/index.js';