@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,52 +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 { ServiceDefinitionDtoFromJSON, ServiceDefinitionDtoToJSON, } from './ServiceDefinitionDto.js';
15
- /**
16
- * @export
17
- */
18
- export const ServiceDtoCurrentUserPermissionEnum = {
19
- Viewer: 'VIEWER',
20
- Maintainer: 'MAINTAINER',
21
- Owner: 'OWNER'
22
- };
23
- /**
24
- * Check if a given object implements the ServiceDto interface.
25
- */
26
- export function instanceOfServiceDto(value) {
27
- return true;
28
- }
29
- export function ServiceDtoFromJSON(json) {
30
- return ServiceDtoFromJSONTyped(json, false);
31
- }
32
- export function ServiceDtoFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'currentUserPermission': json['currentUserPermission'] == null ? undefined : json['currentUserPermission'],
38
- 'id': json['id'] == null ? undefined : json['id'],
39
- 'name': json['name'] == null ? undefined : json['name'],
40
- 'serviceDefinitions': json['serviceDefinitions'] == null ? undefined : (json['serviceDefinitions'].map(ServiceDefinitionDtoFromJSON)),
41
- };
42
- }
43
- export function ServiceDtoToJSON(value) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'id': value['id'],
49
- 'name': value['name'],
50
- 'serviceDefinitions': value['serviceDefinitions'] == null ? undefined : (value['serviceDefinitions'].map(ServiceDefinitionDtoToJSON)),
51
- };
52
- }
@@ -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 ServiceExecutionConsumerDto
16
- */
17
- export interface ServiceExecutionConsumerDto {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ServiceExecutionConsumerDto
22
- */
23
- id?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ServiceExecutionConsumerDto
28
- */
29
- createdAt?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof ServiceExecutionConsumerDto
34
- */
35
- startedAt?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof ServiceExecutionConsumerDto
40
- */
41
- endedAt?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof ServiceExecutionConsumerDto
46
- */
47
- status?: ServiceExecutionConsumerDtoStatusEnum;
48
- }
49
- /**
50
- * @export
51
- */
52
- export declare const ServiceExecutionConsumerDtoStatusEnum: {
53
- readonly Unknown: "UNKNOWN";
54
- readonly Pending: "PENDING";
55
- readonly Running: "RUNNING";
56
- readonly Succeeded: "SUCCEEDED";
57
- readonly Failed: "FAILED";
58
- readonly Cancelled: "CANCELLED";
59
- };
60
- export type ServiceExecutionConsumerDtoStatusEnum = typeof ServiceExecutionConsumerDtoStatusEnum[keyof typeof ServiceExecutionConsumerDtoStatusEnum];
61
- /**
62
- * Check if a given object implements the ServiceExecutionConsumerDto interface.
63
- */
64
- export declare function instanceOfServiceExecutionConsumerDto(value: object): value is ServiceExecutionConsumerDto;
65
- export declare function ServiceExecutionConsumerDtoFromJSON(json: any): ServiceExecutionConsumerDto;
66
- export declare function ServiceExecutionConsumerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceExecutionConsumerDto;
67
- export declare function ServiceExecutionConsumerDtoToJSON(value?: ServiceExecutionConsumerDto | null): any;
@@ -1,57 +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 ServiceExecutionConsumerDtoStatusEnum = {
18
- Unknown: 'UNKNOWN',
19
- Pending: 'PENDING',
20
- Running: 'RUNNING',
21
- Succeeded: 'SUCCEEDED',
22
- Failed: 'FAILED',
23
- Cancelled: 'CANCELLED'
24
- };
25
- /**
26
- * Check if a given object implements the ServiceExecutionConsumerDto interface.
27
- */
28
- export function instanceOfServiceExecutionConsumerDto(value) {
29
- return true;
30
- }
31
- export function ServiceExecutionConsumerDtoFromJSON(json) {
32
- return ServiceExecutionConsumerDtoFromJSONTyped(json, false);
33
- }
34
- export function ServiceExecutionConsumerDtoFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'id': json['id'] == null ? undefined : json['id'],
40
- 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
41
- 'startedAt': json['startedAt'] == null ? undefined : json['startedAt'],
42
- 'endedAt': json['endedAt'] == null ? undefined : json['endedAt'],
43
- 'status': json['status'] == null ? undefined : json['status'],
44
- };
45
- }
46
- export function ServiceExecutionConsumerDtoToJSON(value) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'id': value['id'],
52
- 'createdAt': value['createdAt'],
53
- 'startedAt': value['startedAt'],
54
- 'endedAt': value['endedAt'],
55
- 'status': value['status'],
56
- };
57
- }
@@ -1,49 +0,0 @@
1
- /**
2
- * Quantum Hub Platform API
3
- * Part of the OpenAPI specification for the Quantum Hub Platform.
4
- *
5
- * The version of the OpenAPI document: v1
6
- * Contact: info@anaqor.io
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ServiceExecutionDto
16
- */
17
- export interface ServiceExecutionDto {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ServiceExecutionDto
22
- */
23
- id?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ServiceExecutionDto
28
- */
29
- createdAt?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof ServiceExecutionDto
34
- */
35
- startedAt?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof ServiceExecutionDto
40
- */
41
- endedAt?: string;
42
- }
43
- /**
44
- * Check if a given object implements the ServiceExecutionDto interface.
45
- */
46
- export declare function instanceOfServiceExecutionDto(value: object): value is ServiceExecutionDto;
47
- export declare function ServiceExecutionDtoFromJSON(json: any): ServiceExecutionDto;
48
- export declare function ServiceExecutionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceExecutionDto;
49
- export declare function ServiceExecutionDtoToJSON(value?: ServiceExecutionDto | 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 ServiceExecutionDto interface.
16
- */
17
- export function instanceOfServiceExecutionDto(value) {
18
- return true;
19
- }
20
- export function ServiceExecutionDtoFromJSON(json) {
21
- return ServiceExecutionDtoFromJSONTyped(json, false);
22
- }
23
- export function ServiceExecutionDtoFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'id': json['id'] == null ? undefined : json['id'],
29
- 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
30
- 'startedAt': json['startedAt'] == null ? undefined : json['startedAt'],
31
- 'endedAt': json['endedAt'] == null ? undefined : json['endedAt'],
32
- };
33
- }
34
- export function ServiceExecutionDtoToJSON(value) {
35
- if (value == null) {
36
- return value;
37
- }
38
- return {
39
- 'id': value['id'],
40
- 'createdAt': value['createdAt'],
41
- 'startedAt': value['startedAt'],
42
- 'endedAt': value['endedAt'],
43
- };
44
- }
@@ -1,115 +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 ServiceOverviewDto
16
- */
17
- export interface ServiceOverviewDto {
18
- /**
19
- * The access permission role for this entity of the current user
20
- * @type {string}
21
- * @memberof ServiceOverviewDto
22
- */
23
- readonly currentUserPermission?: ServiceOverviewDtoCurrentUserPermissionEnum;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ServiceOverviewDto
28
- */
29
- id?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof ServiceOverviewDto
34
- */
35
- serviceDefinitionId?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof ServiceOverviewDto
40
- */
41
- name?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof ServiceOverviewDto
46
- */
47
- type?: ServiceOverviewDtoTypeEnum;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof ServiceOverviewDto
52
- */
53
- lifecycle?: ServiceOverviewDtoLifecycleEnum;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof ServiceOverviewDto
58
- */
59
- createdAt?: string;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof ServiceOverviewDto
64
- */
65
- logoUrl?: string;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof ServiceOverviewDto
70
- */
71
- buildStatus?: ServiceOverviewDtoBuildStatusEnum;
72
- }
73
- /**
74
- * @export
75
- */
76
- export declare const ServiceOverviewDtoCurrentUserPermissionEnum: {
77
- readonly Viewer: "VIEWER";
78
- readonly Maintainer: "MAINTAINER";
79
- readonly Owner: "OWNER";
80
- };
81
- export type ServiceOverviewDtoCurrentUserPermissionEnum = typeof ServiceOverviewDtoCurrentUserPermissionEnum[keyof typeof ServiceOverviewDtoCurrentUserPermissionEnum];
82
- /**
83
- * @export
84
- */
85
- export declare const ServiceOverviewDtoTypeEnum: {
86
- readonly Managed: "MANAGED";
87
- readonly External: "EXTERNAL";
88
- readonly Workflow: "WORKFLOW";
89
- };
90
- export type ServiceOverviewDtoTypeEnum = typeof ServiceOverviewDtoTypeEnum[keyof typeof ServiceOverviewDtoTypeEnum];
91
- /**
92
- * @export
93
- */
94
- export declare const ServiceOverviewDtoLifecycleEnum: {
95
- readonly Created: "CREATED";
96
- readonly Accessible: "ACCESSIBLE";
97
- readonly Published: "PUBLISHED";
98
- };
99
- export type ServiceOverviewDtoLifecycleEnum = typeof ServiceOverviewDtoLifecycleEnum[keyof typeof ServiceOverviewDtoLifecycleEnum];
100
- /**
101
- * @export
102
- */
103
- export declare const ServiceOverviewDtoBuildStatusEnum: {
104
- readonly Working: "WORKING";
105
- readonly Success: "SUCCESS";
106
- readonly Failure: "FAILURE";
107
- };
108
- export type ServiceOverviewDtoBuildStatusEnum = typeof ServiceOverviewDtoBuildStatusEnum[keyof typeof ServiceOverviewDtoBuildStatusEnum];
109
- /**
110
- * Check if a given object implements the ServiceOverviewDto interface.
111
- */
112
- export declare function instanceOfServiceOverviewDto(value: object): value is ServiceOverviewDto;
113
- export declare function ServiceOverviewDtoFromJSON(json: any): ServiceOverviewDto;
114
- export declare function ServiceOverviewDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceOverviewDto;
115
- export declare function ServiceOverviewDtoToJSON(value?: Omit<ServiceOverviewDto, 'currentUserPermission'> | null): any;
@@ -1,85 +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 ServiceOverviewDtoCurrentUserPermissionEnum = {
18
- Viewer: 'VIEWER',
19
- Maintainer: 'MAINTAINER',
20
- Owner: 'OWNER'
21
- };
22
- /**
23
- * @export
24
- */
25
- export const ServiceOverviewDtoTypeEnum = {
26
- Managed: 'MANAGED',
27
- External: 'EXTERNAL',
28
- Workflow: 'WORKFLOW'
29
- };
30
- /**
31
- * @export
32
- */
33
- export const ServiceOverviewDtoLifecycleEnum = {
34
- Created: 'CREATED',
35
- Accessible: 'ACCESSIBLE',
36
- Published: 'PUBLISHED'
37
- };
38
- /**
39
- * @export
40
- */
41
- export const ServiceOverviewDtoBuildStatusEnum = {
42
- Working: 'WORKING',
43
- Success: 'SUCCESS',
44
- Failure: 'FAILURE'
45
- };
46
- /**
47
- * Check if a given object implements the ServiceOverviewDto interface.
48
- */
49
- export function instanceOfServiceOverviewDto(value) {
50
- return true;
51
- }
52
- export function ServiceOverviewDtoFromJSON(json) {
53
- return ServiceOverviewDtoFromJSONTyped(json, false);
54
- }
55
- export function ServiceOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
56
- if (json == null) {
57
- return json;
58
- }
59
- return {
60
- 'currentUserPermission': json['currentUserPermission'] == null ? undefined : json['currentUserPermission'],
61
- 'id': json['id'] == null ? undefined : json['id'],
62
- 'serviceDefinitionId': json['serviceDefinitionId'] == null ? undefined : json['serviceDefinitionId'],
63
- 'name': json['name'] == null ? undefined : json['name'],
64
- 'type': json['type'] == null ? undefined : json['type'],
65
- 'lifecycle': json['lifecycle'] == null ? undefined : json['lifecycle'],
66
- 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
67
- 'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
68
- 'buildStatus': json['buildStatus'] == null ? undefined : json['buildStatus'],
69
- };
70
- }
71
- export function ServiceOverviewDtoToJSON(value) {
72
- if (value == null) {
73
- return value;
74
- }
75
- return {
76
- 'id': value['id'],
77
- 'serviceDefinitionId': value['serviceDefinitionId'],
78
- 'name': value['name'],
79
- 'type': value['type'],
80
- 'lifecycle': value['lifecycle'],
81
- 'createdAt': value['createdAt'],
82
- 'logoUrl': value['logoUrl'],
83
- 'buildStatus': value['buildStatus'],
84
- };
85
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * Quantum Hub Platform API
3
- * Part of the OpenAPI specification for the Quantum Hub Platform.
4
- *
5
- * The version of the OpenAPI document: v1
6
- * Contact: info@anaqor.io
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ServiceSource
16
- */
17
- export interface ServiceSource {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ServiceSource
22
- */
23
- type?: string;
24
- }
25
- /**
26
- * Check if a given object implements the ServiceSource interface.
27
- */
28
- export declare function instanceOfServiceSource(value: object): value is ServiceSource;
29
- export declare function ServiceSourceFromJSON(json: any): ServiceSource;
30
- export declare function ServiceSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceSource;
31
- export declare function ServiceSourceToJSON(value?: ServiceSource | null): any;
@@ -1,52 +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 { FileSourceFromJSONTyped } from './FileSource.js';
15
- import { RegistrySourceFromJSONTyped } from './RegistrySource.js';
16
- import { RepositorySourceFromJSONTyped } from './RepositorySource.js';
17
- /**
18
- * Check if a given object implements the ServiceSource interface.
19
- */
20
- export function instanceOfServiceSource(value) {
21
- return true;
22
- }
23
- export function ServiceSourceFromJSON(json) {
24
- return ServiceSourceFromJSONTyped(json, false);
25
- }
26
- export function ServiceSourceFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- if (!ignoreDiscriminator) {
31
- if (json['type'] === 'FileSource') {
32
- return FileSourceFromJSONTyped(json, true);
33
- }
34
- if (json['type'] === 'RegistrySource') {
35
- return RegistrySourceFromJSONTyped(json, true);
36
- }
37
- if (json['type'] === 'RepositorySource') {
38
- return RepositorySourceFromJSONTyped(json, true);
39
- }
40
- }
41
- return {
42
- 'type': json['type'] == null ? undefined : json['type'],
43
- };
44
- }
45
- export function ServiceSourceToJSON(value) {
46
- if (value == null) {
47
- return value;
48
- }
49
- return {
50
- 'type': value['type'],
51
- };
52
- }
@@ -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 SortObject
16
- */
17
- export interface SortObject {
18
- /**
19
- *
20
- * @type {boolean}
21
- * @memberof SortObject
22
- */
23
- empty?: boolean;
24
- /**
25
- *
26
- * @type {boolean}
27
- * @memberof SortObject
28
- */
29
- sorted?: boolean;
30
- /**
31
- *
32
- * @type {boolean}
33
- * @memberof SortObject
34
- */
35
- unsorted?: boolean;
36
- }
37
- /**
38
- * Check if a given object implements the SortObject interface.
39
- */
40
- export declare function instanceOfSortObject(value: object): value is SortObject;
41
- export declare function SortObjectFromJSON(json: any): SortObject;
42
- export declare function SortObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): SortObject;
43
- export declare function SortObjectToJSON(value?: SortObject | 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 SortObject interface.
16
- */
17
- export function instanceOfSortObject(value) {
18
- return true;
19
- }
20
- export function SortObjectFromJSON(json) {
21
- return SortObjectFromJSONTyped(json, false);
22
- }
23
- export function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'empty': json['empty'] == null ? undefined : json['empty'],
29
- 'sorted': json['sorted'] == null ? undefined : json['sorted'],
30
- 'unsorted': json['unsorted'] == null ? undefined : json['unsorted'],
31
- };
32
- }
33
- export function SortObjectToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'empty': value['empty'],
39
- 'sorted': value['sorted'],
40
- 'unsorted': value['unsorted'],
41
- };
42
- }