@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,51 +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 { DataPoolRefFromJSON, DataPoolRefToJSON, } from './DataPoolRef.js';
15
- /**
16
- * Check if a given object implements the CreateJobRequest interface.
17
- */
18
- export function instanceOfCreateJobRequest(value) {
19
- if (!('serviceDefinitionId' in value) || value['serviceDefinitionId'] === undefined)
20
- return false;
21
- return true;
22
- }
23
- export function CreateJobRequestFromJSON(json) {
24
- return CreateJobRequestFromJSONTyped(json, false);
25
- }
26
- export function CreateJobRequestFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'inputData': json['inputData'] == null ? undefined : json['inputData'],
32
- 'inputDataRef': json['inputDataRef'] == null ? undefined : DataPoolRefFromJSON(json['inputDataRef']),
33
- 'parameters': json['parameters'] == null ? undefined : json['parameters'],
34
- 'parametersRef': json['parametersRef'] == null ? undefined : DataPoolRefFromJSON(json['parametersRef']),
35
- 'persistResult': json['persistResult'] == null ? undefined : json['persistResult'],
36
- 'serviceDefinitionId': json['serviceDefinitionId'],
37
- };
38
- }
39
- export function CreateJobRequestToJSON(value) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'inputData': value['inputData'],
45
- 'inputDataRef': DataPoolRefToJSON(value['inputDataRef']),
46
- 'parameters': value['parameters'],
47
- 'parametersRef': DataPoolRefToJSON(value['parametersRef']),
48
- 'persistResult': value['persistResult'],
49
- 'serviceDefinitionId': value['serviceDefinitionId'],
50
- };
51
- }
@@ -1,73 +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 CreateManagedServicePricingPlanRequest
16
- */
17
- export interface CreateManagedServicePricingPlanRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof CreateManagedServicePricingPlanRequest
22
- */
23
- type: CreateManagedServicePricingPlanRequestTypeEnum;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof CreateManagedServicePricingPlanRequest
28
- */
29
- profitPercentage?: number;
30
- /**
31
- *
32
- * @type {Array<string>}
33
- * @memberof CreateManagedServicePricingPlanRequest
34
- */
35
- chargedProducts?: Array<CreateManagedServicePricingPlanRequestChargedProductsEnum>;
36
- }
37
- /**
38
- * @export
39
- */
40
- export declare const CreateManagedServicePricingPlanRequestTypeEnum: {
41
- readonly Free: "FREE";
42
- readonly Commercial: "COMMERCIAL";
43
- };
44
- export type CreateManagedServicePricingPlanRequestTypeEnum = typeof CreateManagedServicePricingPlanRequestTypeEnum[keyof typeof CreateManagedServicePricingPlanRequestTypeEnum];
45
- /**
46
- * @export
47
- */
48
- export declare const CreateManagedServicePricingPlanRequestChargedProductsEnum: {
49
- readonly Api: "API";
50
- readonly Cpu: "CPU";
51
- readonly Memory: "MEMORY";
52
- readonly Ionq1GateShot: "IONQ_1_GATE_SHOT";
53
- readonly Ionq2GateShot: "IONQ_2_GATE_SHOT";
54
- readonly AwsSv1: "AWS_SV1";
55
- readonly AwsDm1: "AWS_DM1";
56
- readonly AwsTn1: "AWS_TN1";
57
- readonly AwsQuantumTask: "AWS_QUANTUM_TASK";
58
- readonly AwsIonqHarmony: "AWS_IONQ_HARMONY";
59
- readonly AwsIonqAria: "AWS_IONQ_ARIA";
60
- readonly AwsOqcLucy: "AWS_OQC_LUCY";
61
- readonly AwsRigettiAspenm: "AWS_RIGETTI_ASPENM";
62
- readonly Custom: "CUSTOM";
63
- readonly GpuNvidiaT4: "GPU_NVIDIA_T4";
64
- readonly GpuNvidiaV100: "GPU_NVIDIA_V100";
65
- };
66
- export type CreateManagedServicePricingPlanRequestChargedProductsEnum = typeof CreateManagedServicePricingPlanRequestChargedProductsEnum[keyof typeof CreateManagedServicePricingPlanRequestChargedProductsEnum];
67
- /**
68
- * Check if a given object implements the CreateManagedServicePricingPlanRequest interface.
69
- */
70
- export declare function instanceOfCreateManagedServicePricingPlanRequest(value: object): value is CreateManagedServicePricingPlanRequest;
71
- export declare function CreateManagedServicePricingPlanRequestFromJSON(json: any): CreateManagedServicePricingPlanRequest;
72
- export declare function CreateManagedServicePricingPlanRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateManagedServicePricingPlanRequest;
73
- export declare function CreateManagedServicePricingPlanRequestToJSON(value?: CreateManagedServicePricingPlanRequest | null): any;
@@ -1,72 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Hub Platform API
5
- * Part of the OpenAPI specification for the Quantum Hub Platform.
6
- *
7
- * The version of the OpenAPI document: v1
8
- * Contact: info@anaqor.io
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * @export
16
- */
17
- export const CreateManagedServicePricingPlanRequestTypeEnum = {
18
- Free: 'FREE',
19
- Commercial: 'COMMERCIAL'
20
- };
21
- /**
22
- * @export
23
- */
24
- export const CreateManagedServicePricingPlanRequestChargedProductsEnum = {
25
- Api: 'API',
26
- Cpu: 'CPU',
27
- Memory: 'MEMORY',
28
- Ionq1GateShot: 'IONQ_1_GATE_SHOT',
29
- Ionq2GateShot: 'IONQ_2_GATE_SHOT',
30
- AwsSv1: 'AWS_SV1',
31
- AwsDm1: 'AWS_DM1',
32
- AwsTn1: 'AWS_TN1',
33
- AwsQuantumTask: 'AWS_QUANTUM_TASK',
34
- AwsIonqHarmony: 'AWS_IONQ_HARMONY',
35
- AwsIonqAria: 'AWS_IONQ_ARIA',
36
- AwsOqcLucy: 'AWS_OQC_LUCY',
37
- AwsRigettiAspenm: 'AWS_RIGETTI_ASPENM',
38
- Custom: 'CUSTOM',
39
- GpuNvidiaT4: 'GPU_NVIDIA_T4',
40
- GpuNvidiaV100: 'GPU_NVIDIA_V100'
41
- };
42
- /**
43
- * Check if a given object implements the CreateManagedServicePricingPlanRequest interface.
44
- */
45
- export function instanceOfCreateManagedServicePricingPlanRequest(value) {
46
- if (!('type' in value) || value['type'] === undefined)
47
- return false;
48
- return true;
49
- }
50
- export function CreateManagedServicePricingPlanRequestFromJSON(json) {
51
- return CreateManagedServicePricingPlanRequestFromJSONTyped(json, false);
52
- }
53
- export function CreateManagedServicePricingPlanRequestFromJSONTyped(json, ignoreDiscriminator) {
54
- if (json == null) {
55
- return json;
56
- }
57
- return {
58
- 'type': json['type'],
59
- 'profitPercentage': json['profitPercentage'] == null ? undefined : json['profitPercentage'],
60
- 'chargedProducts': json['chargedProducts'] == null ? undefined : json['chargedProducts'],
61
- };
62
- }
63
- export function CreateManagedServicePricingPlanRequestToJSON(value) {
64
- if (value == null) {
65
- return value;
66
- }
67
- return {
68
- 'type': value['type'],
69
- 'profitPercentage': value['profitPercentage'],
70
- 'chargedProducts': value['chargedProducts'],
71
- };
72
- }
@@ -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 CreateProductRequest
16
- */
17
- export interface CreateProductRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof CreateProductRequest
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof CreateProductRequest
28
- */
29
- unitLabel?: string;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof CreateProductRequest
34
- */
35
- amountMajor: number;
36
- }
37
- /**
38
- * Check if a given object implements the CreateProductRequest interface.
39
- */
40
- export declare function instanceOfCreateProductRequest(value: object): value is CreateProductRequest;
41
- export declare function CreateProductRequestFromJSON(json: any): CreateProductRequest;
42
- export declare function CreateProductRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProductRequest;
43
- export declare function CreateProductRequestToJSON(value?: CreateProductRequest | 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
- /**
15
- * Check if a given object implements the CreateProductRequest interface.
16
- */
17
- export function instanceOfCreateProductRequest(value) {
18
- if (!('name' in value) || value['name'] === undefined)
19
- return false;
20
- if (!('amountMajor' in value) || value['amountMajor'] === undefined)
21
- return false;
22
- return true;
23
- }
24
- export function CreateProductRequestFromJSON(json) {
25
- return CreateProductRequestFromJSONTyped(json, false);
26
- }
27
- export function CreateProductRequestFromJSONTyped(json, ignoreDiscriminator) {
28
- if (json == null) {
29
- return json;
30
- }
31
- return {
32
- 'name': json['name'],
33
- 'unitLabel': json['unitLabel'] == null ? undefined : json['unitLabel'],
34
- 'amountMajor': json['amountMajor'],
35
- };
36
- }
37
- export function CreateProductRequestToJSON(value) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'name': value['name'],
43
- 'unitLabel': value['unitLabel'],
44
- 'amountMajor': value['amountMajor'],
45
- };
46
- }
@@ -1,37 +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 CreateSubscriptionRequest
16
- */
17
- export interface CreateSubscriptionRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof CreateSubscriptionRequest
22
- */
23
- serviceId: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof CreateSubscriptionRequest
28
- */
29
- applicationId: string;
30
- }
31
- /**
32
- * Check if a given object implements the CreateSubscriptionRequest interface.
33
- */
34
- export declare function instanceOfCreateSubscriptionRequest(value: object): value is CreateSubscriptionRequest;
35
- export declare function CreateSubscriptionRequestFromJSON(json: any): CreateSubscriptionRequest;
36
- export declare function CreateSubscriptionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSubscriptionRequest;
37
- export declare function CreateSubscriptionRequestToJSON(value?: CreateSubscriptionRequest | 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 CreateSubscriptionRequest interface.
16
- */
17
- export function instanceOfCreateSubscriptionRequest(value) {
18
- if (!('serviceId' in value) || value['serviceId'] === undefined)
19
- return false;
20
- if (!('applicationId' in value) || value['applicationId'] === undefined)
21
- return false;
22
- return true;
23
- }
24
- export function CreateSubscriptionRequestFromJSON(json) {
25
- return CreateSubscriptionRequestFromJSONTyped(json, false);
26
- }
27
- export function CreateSubscriptionRequestFromJSONTyped(json, ignoreDiscriminator) {
28
- if (json == null) {
29
- return json;
30
- }
31
- return {
32
- 'serviceId': json['serviceId'],
33
- 'applicationId': json['applicationId'],
34
- };
35
- }
36
- export function CreateSubscriptionRequestToJSON(value) {
37
- if (value == null) {
38
- return value;
39
- }
40
- return {
41
- 'serviceId': value['serviceId'],
42
- 'applicationId': value['applicationId'],
43
- };
44
- }
@@ -1,37 +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 CreateWorkflowServiceRequest
16
- */
17
- export interface CreateWorkflowServiceRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof CreateWorkflowServiceRequest
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof CreateWorkflowServiceRequest
28
- */
29
- description?: string;
30
- }
31
- /**
32
- * Check if a given object implements the CreateWorkflowServiceRequest interface.
33
- */
34
- export declare function instanceOfCreateWorkflowServiceRequest(value: object): value is CreateWorkflowServiceRequest;
35
- export declare function CreateWorkflowServiceRequestFromJSON(json: any): CreateWorkflowServiceRequest;
36
- export declare function CreateWorkflowServiceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWorkflowServiceRequest;
37
- export declare function CreateWorkflowServiceRequestToJSON(value?: CreateWorkflowServiceRequest | 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 CreateWorkflowServiceRequest interface.
16
- */
17
- export function instanceOfCreateWorkflowServiceRequest(value) {
18
- if (!('name' in value) || value['name'] === undefined)
19
- return false;
20
- return true;
21
- }
22
- export function CreateWorkflowServiceRequestFromJSON(json) {
23
- return CreateWorkflowServiceRequestFromJSONTyped(json, false);
24
- }
25
- export function CreateWorkflowServiceRequestFromJSONTyped(json, ignoreDiscriminator) {
26
- if (json == null) {
27
- return json;
28
- }
29
- return {
30
- 'name': json['name'],
31
- 'description': json['description'] == null ? undefined : json['description'],
32
- };
33
- }
34
- export function CreateWorkflowServiceRequestToJSON(value) {
35
- if (value == null) {
36
- return value;
37
- }
38
- return {
39
- 'name': value['name'],
40
- 'description': value['description'],
41
- };
42
- }
@@ -1,166 +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 { ReviewDto } from './ReviewDto.js';
13
- import type { OwnerDto } from './OwnerDto.js';
14
- import type { TaxonomyElement } from './TaxonomyElement.js';
15
- /**
16
- *
17
- * @export
18
- * @interface DataPoolDto
19
- */
20
- export interface DataPoolDto {
21
- /**
22
- * The access permission role for this entity of the current user
23
- * @type {string}
24
- * @memberof DataPoolDto
25
- */
26
- readonly currentUserPermission?: DataPoolDtoCurrentUserPermissionEnum;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof DataPoolDto
31
- */
32
- id: string;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof DataPoolDto
37
- */
38
- name: string;
39
- /**
40
- *
41
- * @type {string}
42
- * @memberof DataPoolDto
43
- */
44
- shortDescription?: string;
45
- /**
46
- *
47
- * @type {string}
48
- * @memberof DataPoolDto
49
- */
50
- description?: string;
51
- /**
52
- *
53
- * @type {string}
54
- * @memberof DataPoolDto
55
- */
56
- metadata?: string;
57
- /**
58
- *
59
- * @type {string}
60
- * @memberof DataPoolDto
61
- */
62
- createdBy?: string;
63
- /**
64
- *
65
- * @type {Date}
66
- * @memberof DataPoolDto
67
- */
68
- createdAt?: Date;
69
- /**
70
- *
71
- * @type {string}
72
- * @memberof DataPoolDto
73
- */
74
- modifiedBy?: string;
75
- /**
76
- *
77
- * @type {boolean}
78
- * @memberof DataPoolDto
79
- */
80
- labelled?: boolean;
81
- /**
82
- *
83
- * @type {Date}
84
- * @memberof DataPoolDto
85
- */
86
- modifiedAt?: Date;
87
- /**
88
- *
89
- * @type {string}
90
- * @memberof DataPoolDto
91
- */
92
- entityMaturity?: DataPoolDtoEntityMaturityEnum;
93
- /**
94
- *
95
- * @type {Set<TaxonomyElement>}
96
- * @memberof DataPoolDto
97
- */
98
- licenses?: Set<TaxonomyElement>;
99
- /**
100
- *
101
- * @type {Set<TaxonomyElement>}
102
- * @memberof DataPoolDto
103
- */
104
- formats?: Set<TaxonomyElement>;
105
- /**
106
- *
107
- * @type {Set<TaxonomyElement>}
108
- * @memberof DataPoolDto
109
- */
110
- problemTypes?: Set<TaxonomyElement>;
111
- /**
112
- *
113
- * @type {Set<TaxonomyElement>}
114
- * @memberof DataPoolDto
115
- */
116
- industries?: Set<TaxonomyElement>;
117
- /**
118
- *
119
- * @type {Set<ReviewDto>}
120
- * @memberof DataPoolDto
121
- */
122
- reviews?: Set<ReviewDto>;
123
- /**
124
- *
125
- * @type {Array<OwnerDto>}
126
- * @memberof DataPoolDto
127
- */
128
- owners?: Array<OwnerDto>;
129
- /**
130
- *
131
- * @type {boolean}
132
- * @memberof DataPoolDto
133
- */
134
- bookmarked?: boolean;
135
- /**
136
- *
137
- * @type {boolean}
138
- * @memberof DataPoolDto
139
- */
140
- _public?: boolean;
141
- }
142
- /**
143
- * @export
144
- */
145
- export declare const DataPoolDtoCurrentUserPermissionEnum: {
146
- readonly Viewer: "VIEWER";
147
- readonly Maintainer: "MAINTAINER";
148
- readonly Owner: "OWNER";
149
- };
150
- export type DataPoolDtoCurrentUserPermissionEnum = typeof DataPoolDtoCurrentUserPermissionEnum[keyof typeof DataPoolDtoCurrentUserPermissionEnum];
151
- /**
152
- * @export
153
- */
154
- export declare const DataPoolDtoEntityMaturityEnum: {
155
- readonly Initial: "INITIAL";
156
- readonly UnderReview: "UNDER_REVIEW";
157
- readonly Approved: "APPROVED";
158
- };
159
- export type DataPoolDtoEntityMaturityEnum = typeof DataPoolDtoEntityMaturityEnum[keyof typeof DataPoolDtoEntityMaturityEnum];
160
- /**
161
- * Check if a given object implements the DataPoolDto interface.
162
- */
163
- export declare function instanceOfDataPoolDto(value: object): value is DataPoolDto;
164
- export declare function DataPoolDtoFromJSON(json: any): DataPoolDto;
165
- export declare function DataPoolDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataPoolDto;
166
- export declare function DataPoolDtoToJSON(value?: Omit<DataPoolDto, 'currentUserPermission'> | null): any;