@quantum-hub/qhubctl 1.9.0 → 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 (152) hide show
  1. package/README.md +6 -35
  2. package/dist/commands/datapool-upload.js +7 -3
  3. package/dist/commands/list-contexts.js +1 -1
  4. package/dist/commands/services-build-status.js +1 -1
  5. package/dist/commands/set-context.js +6 -2
  6. package/dist/commands/up.js +11 -15
  7. package/dist/lib/error.js +25 -8
  8. package/dist/service/quantum-hub-service.d.ts +9 -13
  9. package/dist/service/quantum-hub-service.js +67 -139
  10. package/package.json +2 -2
  11. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.d.ts +0 -89
  12. package/dist/client/kqh/apis/ServicePlatformApplicationsApi.js +0 -222
  13. package/dist/client/kqh/apis/ServicePlatformDashboardApi.d.ts +0 -44
  14. package/dist/client/kqh/apis/ServicePlatformDashboardApi.js +0 -106
  15. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.d.ts +0 -133
  16. package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.js +0 -373
  17. package/dist/client/kqh/apis/ServicePlatformJobsApi.d.ts +0 -101
  18. package/dist/client/kqh/apis/ServicePlatformJobsApi.js +0 -261
  19. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.d.ts +0 -48
  20. package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.js +0 -115
  21. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.d.ts +0 -29
  22. package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.js +0 -53
  23. package/dist/client/kqh/apis/ServicePlatformServicesApi.d.ts +0 -501
  24. package/dist/client/kqh/apis/ServicePlatformServicesApi.js +0 -1472
  25. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.d.ts +0 -66
  26. package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.js +0 -157
  27. package/dist/client/kqh/apis/TaxonomiesApi.d.ts +0 -90
  28. package/dist/client/kqh/apis/TaxonomiesApi.js +0 -272
  29. package/dist/client/kqh/apis/index.d.ts +0 -9
  30. package/dist/client/kqh/apis/index.js +0 -11
  31. package/dist/client/kqh/index.d.ts +0 -3
  32. package/dist/client/kqh/index.js +0 -5
  33. package/dist/client/kqh/models/AccessTokenDto.d.ts +0 -81
  34. package/dist/client/kqh/models/AccessTokenDto.js +0 -59
  35. package/dist/client/kqh/models/AmountMajorDto.d.ts +0 -37
  36. package/dist/client/kqh/models/AmountMajorDto.js +0 -40
  37. package/dist/client/kqh/models/ApiDto.d.ts +0 -144
  38. package/dist/client/kqh/models/ApiDto.js +0 -92
  39. package/dist/client/kqh/models/ApiOverviewDto.d.ts +0 -119
  40. package/dist/client/kqh/models/ApiOverviewDto.js +0 -83
  41. package/dist/client/kqh/models/ApplicationDto.d.ts +0 -64
  42. package/dist/client/kqh/models/ApplicationDto.js +0 -53
  43. package/dist/client/kqh/models/BuildJobDto.d.ts +0 -75
  44. package/dist/client/kqh/models/BuildJobDto.js +0 -64
  45. package/dist/client/kqh/models/CpuConfiguration.d.ts +0 -38
  46. package/dist/client/kqh/models/CpuConfiguration.js +0 -43
  47. package/dist/client/kqh/models/CreateApplicationRequest.d.ts +0 -31
  48. package/dist/client/kqh/models/CreateApplicationRequest.js +0 -38
  49. package/dist/client/kqh/models/CreateDataPoolRequest.d.ts +0 -31
  50. package/dist/client/kqh/models/CreateDataPoolRequest.js +0 -40
  51. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.d.ts +0 -46
  52. package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.js +0 -50
  53. package/dist/client/kqh/models/CreateJobRequest.d.ts +0 -62
  54. package/dist/client/kqh/models/CreateJobRequest.js +0 -51
  55. package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.d.ts +0 -73
  56. package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.js +0 -72
  57. package/dist/client/kqh/models/CreateProductRequest.d.ts +0 -43
  58. package/dist/client/kqh/models/CreateProductRequest.js +0 -46
  59. package/dist/client/kqh/models/CreateSubscriptionRequest.d.ts +0 -37
  60. package/dist/client/kqh/models/CreateSubscriptionRequest.js +0 -44
  61. package/dist/client/kqh/models/CreateWorkflowServiceRequest.d.ts +0 -37
  62. package/dist/client/kqh/models/CreateWorkflowServiceRequest.js +0 -42
  63. package/dist/client/kqh/models/DataPoolDto.d.ts +0 -166
  64. package/dist/client/kqh/models/DataPoolDto.js +0 -98
  65. package/dist/client/kqh/models/DataPoolRef.d.ts +0 -43
  66. package/dist/client/kqh/models/DataPoolRef.js +0 -42
  67. package/dist/client/kqh/models/DataSourceDescriptorDto.d.ts +0 -89
  68. package/dist/client/kqh/models/DataSourceDescriptorDto.js +0 -62
  69. package/dist/client/kqh/models/FileDto.d.ts +0 -73
  70. package/dist/client/kqh/models/FileDto.js +0 -45
  71. package/dist/client/kqh/models/FileSource.d.ts +0 -26
  72. package/dist/client/kqh/models/FileSource.js +0 -28
  73. package/dist/client/kqh/models/GpuConfiguration.d.ts +0 -49
  74. package/dist/client/kqh/models/GpuConfiguration.js +0 -53
  75. package/dist/client/kqh/models/JobDto.d.ts +0 -117
  76. package/dist/client/kqh/models/JobDto.js +0 -75
  77. package/dist/client/kqh/models/JobOverviewDto.d.ts +0 -74
  78. package/dist/client/kqh/models/JobOverviewDto.js +0 -60
  79. package/dist/client/kqh/models/MemoryConfiguration.d.ts +0 -38
  80. package/dist/client/kqh/models/MemoryConfiguration.js +0 -43
  81. package/dist/client/kqh/models/MeteringRequest.d.ts +0 -43
  82. package/dist/client/kqh/models/MeteringRequest.js +0 -42
  83. package/dist/client/kqh/models/MeteringResponse.d.ts +0 -49
  84. package/dist/client/kqh/models/MeteringResponse.js +0 -44
  85. package/dist/client/kqh/models/MonthAmountDto.d.ts +0 -51
  86. package/dist/client/kqh/models/MonthAmountDto.js +0 -46
  87. package/dist/client/kqh/models/OwnerDto.d.ts +0 -67
  88. package/dist/client/kqh/models/OwnerDto.js +0 -50
  89. package/dist/client/kqh/models/PageDataPoolDto.d.ts +0 -94
  90. package/dist/client/kqh/models/PageDataPoolDto.js +0 -61
  91. package/dist/client/kqh/models/PageableObject.d.ts +0 -62
  92. package/dist/client/kqh/models/PageableObject.js +0 -49
  93. package/dist/client/kqh/models/PricingPlanDto.d.ts +0 -52
  94. package/dist/client/kqh/models/PricingPlanDto.js +0 -50
  95. package/dist/client/kqh/models/ProductAmountDto.d.ts +0 -38
  96. package/dist/client/kqh/models/ProductAmountDto.js +0 -41
  97. package/dist/client/kqh/models/ProductDto.d.ts +0 -83
  98. package/dist/client/kqh/models/ProductDto.js +0 -69
  99. package/dist/client/kqh/models/ProductGroupDto.d.ts +0 -45
  100. package/dist/client/kqh/models/ProductGroupDto.js +0 -44
  101. package/dist/client/kqh/models/ProductUsageDto.d.ts +0 -61
  102. package/dist/client/kqh/models/ProductUsageDto.js +0 -48
  103. package/dist/client/kqh/models/RegistrySource.d.ts +0 -52
  104. package/dist/client/kqh/models/RegistrySource.js +0 -49
  105. package/dist/client/kqh/models/RepositorySource.d.ts +0 -32
  106. package/dist/client/kqh/models/RepositorySource.js +0 -41
  107. package/dist/client/kqh/models/ResourceConfiguration.d.ts +0 -31
  108. package/dist/client/kqh/models/ResourceConfiguration.js +0 -52
  109. package/dist/client/kqh/models/ReviewDto.d.ts +0 -51
  110. package/dist/client/kqh/models/ReviewDto.js +0 -49
  111. package/dist/client/kqh/models/RuntimeConfiguration.d.ts +0 -53
  112. package/dist/client/kqh/models/RuntimeConfiguration.js +0 -49
  113. package/dist/client/kqh/models/ServiceDefinitionCommand.d.ts +0 -39
  114. package/dist/client/kqh/models/ServiceDefinitionCommand.js +0 -45
  115. package/dist/client/kqh/models/ServiceDefinitionDto.d.ts +0 -180
  116. package/dist/client/kqh/models/ServiceDefinitionDto.js +0 -101
  117. package/dist/client/kqh/models/ServiceDefinitionDtoSource.d.ts +0 -23
  118. package/dist/client/kqh/models/ServiceDefinitionDtoSource.js +0 -49
  119. package/dist/client/kqh/models/ServiceDefinitionOverviewDto.d.ts +0 -79
  120. package/dist/client/kqh/models/ServiceDefinitionOverviewDto.js +0 -64
  121. package/dist/client/kqh/models/ServiceDto.d.ts +0 -59
  122. package/dist/client/kqh/models/ServiceDto.js +0 -52
  123. package/dist/client/kqh/models/ServiceExecutionConsumerDto.d.ts +0 -67
  124. package/dist/client/kqh/models/ServiceExecutionConsumerDto.js +0 -57
  125. package/dist/client/kqh/models/ServiceExecutionDto.d.ts +0 -49
  126. package/dist/client/kqh/models/ServiceExecutionDto.js +0 -44
  127. package/dist/client/kqh/models/ServiceOverviewDto.d.ts +0 -115
  128. package/dist/client/kqh/models/ServiceOverviewDto.js +0 -85
  129. package/dist/client/kqh/models/ServiceSource.d.ts +0 -31
  130. package/dist/client/kqh/models/ServiceSource.js +0 -52
  131. package/dist/client/kqh/models/SortObject.d.ts +0 -43
  132. package/dist/client/kqh/models/SortObject.js +0 -42
  133. package/dist/client/kqh/models/SubscriptionDto.d.ts +0 -58
  134. package/dist/client/kqh/models/SubscriptionDto.js +0 -49
  135. package/dist/client/kqh/models/TaxonomyElement.d.ts +0 -43
  136. package/dist/client/kqh/models/TaxonomyElement.js +0 -42
  137. package/dist/client/kqh/models/UpdateDataPoolRequest.d.ts +0 -109
  138. package/dist/client/kqh/models/UpdateDataPoolRequest.js +0 -66
  139. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.d.ts +0 -23
  140. package/dist/client/kqh/models/UpdateResourceConfigurationRequest.js +0 -49
  141. package/dist/client/kqh/models/UpdateVersionRequest.d.ts +0 -44
  142. package/dist/client/kqh/models/UpdateVersionRequest.js +0 -43
  143. package/dist/client/kqh/models/UpdateWorkflowServiceRequest.d.ts +0 -31
  144. package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +0 -27
  145. package/dist/client/kqh/models/ValidationResult.d.ts +0 -52
  146. package/dist/client/kqh/models/ValidationResult.js +0 -50
  147. package/dist/client/kqh/models/index.d.ts +0 -57
  148. package/dist/client/kqh/models/index.js +0 -59
  149. package/dist/client/kqh/runtime.d.ts +0 -181
  150. package/dist/client/kqh/runtime.js +0 -325
  151. package/dist/model/account.d.ts +0 -5
  152. package/dist/model/account.js +0 -1
@@ -1,81 +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 AccessTokenDto
16
- */
17
- export interface AccessTokenDto {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AccessTokenDto
22
- */
23
- id?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AccessTokenDto
28
- */
29
- name?: string;
30
- /**
31
- *
32
- * @type {Set<string>}
33
- * @memberof AccessTokenDto
34
- */
35
- scopes?: Set<AccessTokenDtoScopesEnum>;
36
- /**
37
- *
38
- * @type {Date}
39
- * @memberof AccessTokenDto
40
- */
41
- createdAt?: Date;
42
- /**
43
- *
44
- * @type {Date}
45
- * @memberof AccessTokenDto
46
- */
47
- usedAt?: Date;
48
- /**
49
- *
50
- * @type {Date}
51
- * @memberof AccessTokenDto
52
- */
53
- expiresAt?: Date;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof AccessTokenDto
58
- */
59
- value?: string;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof AccessTokenDto
64
- */
65
- token?: string;
66
- }
67
- /**
68
- * @export
69
- */
70
- export declare const AccessTokenDtoScopesEnum: {
71
- readonly Api: "API";
72
- readonly QuantumTokens: "QUANTUM_TOKENS";
73
- };
74
- export type AccessTokenDtoScopesEnum = typeof AccessTokenDtoScopesEnum[keyof typeof AccessTokenDtoScopesEnum];
75
- /**
76
- * Check if a given object implements the AccessTokenDto interface.
77
- */
78
- export declare function instanceOfAccessTokenDto(value: object): value is AccessTokenDto;
79
- export declare function AccessTokenDtoFromJSON(json: any): AccessTokenDto;
80
- export declare function AccessTokenDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessTokenDto;
81
- export declare function AccessTokenDtoToJSON(value?: AccessTokenDto | null): any;
@@ -1,59 +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 AccessTokenDtoScopesEnum = {
18
- Api: 'API',
19
- QuantumTokens: 'QUANTUM_TOKENS'
20
- };
21
- /**
22
- * Check if a given object implements the AccessTokenDto interface.
23
- */
24
- export function instanceOfAccessTokenDto(value) {
25
- return true;
26
- }
27
- export function AccessTokenDtoFromJSON(json) {
28
- return AccessTokenDtoFromJSONTyped(json, false);
29
- }
30
- export function AccessTokenDtoFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'id': json['id'] == null ? undefined : json['id'],
36
- 'name': json['name'] == null ? undefined : json['name'],
37
- 'scopes': json['scopes'] == null ? undefined : json['scopes'],
38
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
39
- 'usedAt': json['usedAt'] == null ? undefined : (new Date(json['usedAt'])),
40
- 'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
41
- 'value': json['value'] == null ? undefined : json['value'],
42
- 'token': json['token'] == null ? undefined : json['token'],
43
- };
44
- }
45
- export function AccessTokenDtoToJSON(value) {
46
- if (value == null) {
47
- return value;
48
- }
49
- return {
50
- 'id': value['id'],
51
- 'name': value['name'],
52
- 'scopes': value['scopes'] == null ? undefined : Array.from(value['scopes']),
53
- 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
54
- 'usedAt': value['usedAt'] == null ? undefined : ((value['usedAt']).toISOString()),
55
- 'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString().substring(0, 10)),
56
- 'value': value['value'],
57
- 'token': value['token'],
58
- };
59
- }
@@ -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 AmountMajorDto
16
- */
17
- export interface AmountMajorDto {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof AmountMajorDto
22
- */
23
- value?: number;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AmountMajorDto
28
- */
29
- currency?: string;
30
- }
31
- /**
32
- * Check if a given object implements the AmountMajorDto interface.
33
- */
34
- export declare function instanceOfAmountMajorDto(value: object): value is AmountMajorDto;
35
- export declare function AmountMajorDtoFromJSON(json: any): AmountMajorDto;
36
- export declare function AmountMajorDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AmountMajorDto;
37
- export declare function AmountMajorDtoToJSON(value?: AmountMajorDto | null): any;
@@ -1,40 +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 AmountMajorDto interface.
16
- */
17
- export function instanceOfAmountMajorDto(value) {
18
- return true;
19
- }
20
- export function AmountMajorDtoFromJSON(json) {
21
- return AmountMajorDtoFromJSONTyped(json, false);
22
- }
23
- export function AmountMajorDtoFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'value': json['value'] == null ? undefined : json['value'],
29
- 'currency': json['currency'] == null ? undefined : json['currency'],
30
- };
31
- }
32
- export function AmountMajorDtoToJSON(value) {
33
- if (value == null) {
34
- return value;
35
- }
36
- return {
37
- 'value': value['value'],
38
- 'currency': value['currency'],
39
- };
40
- }
@@ -1,144 +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 { PricingPlanDto } from './PricingPlanDto.js';
13
- import type { TaxonomyElement } from './TaxonomyElement.js';
14
- /**
15
- *
16
- * @export
17
- * @interface ApiDto
18
- */
19
- export interface ApiDto {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof ApiDto
24
- */
25
- id?: string;
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof ApiDto
30
- */
31
- serviceId?: string;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof ApiDto
36
- */
37
- name?: string;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof ApiDto
42
- */
43
- context?: string;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof ApiDto
48
- */
49
- version?: string;
50
- /**
51
- *
52
- * @type {string}
53
- * @memberof ApiDto
54
- */
55
- description?: string;
56
- /**
57
- *
58
- * @type {string}
59
- * @memberof ApiDto
60
- */
61
- gatewayEndpoint?: string;
62
- /**
63
- *
64
- * @type {Array<PricingPlanDto>}
65
- * @memberof ApiDto
66
- */
67
- pricingPlans?: Array<PricingPlanDto>;
68
- /**
69
- *
70
- * @type {string}
71
- * @memberof ApiDto
72
- */
73
- pricingCategory?: ApiDtoPricingCategoryEnum;
74
- /**
75
- *
76
- * @type {Set<TaxonomyElement>}
77
- * @memberof ApiDto
78
- */
79
- industries?: Set<TaxonomyElement>;
80
- /**
81
- *
82
- * @type {string}
83
- * @memberof ApiDto
84
- */
85
- provider?: string;
86
- /**
87
- *
88
- * @type {string}
89
- * @memberof ApiDto
90
- */
91
- lifecycle?: ApiDtoLifecycleEnum;
92
- /**
93
- *
94
- * @type {string}
95
- * @memberof ApiDto
96
- */
97
- serviceType?: ApiDtoServiceTypeEnum;
98
- /**
99
- *
100
- * @type {number}
101
- * @memberof ApiDto
102
- */
103
- rating?: number;
104
- /**
105
- *
106
- * @type {boolean}
107
- * @memberof ApiDto
108
- */
109
- isFeatured?: boolean;
110
- }
111
- /**
112
- * @export
113
- */
114
- export declare const ApiDtoPricingCategoryEnum: {
115
- readonly Free: "FREE";
116
- readonly Freemium: "FREEMIUM";
117
- readonly Commercial: "COMMERCIAL";
118
- };
119
- export type ApiDtoPricingCategoryEnum = typeof ApiDtoPricingCategoryEnum[keyof typeof ApiDtoPricingCategoryEnum];
120
- /**
121
- * @export
122
- */
123
- export declare const ApiDtoLifecycleEnum: {
124
- readonly Created: "CREATED";
125
- readonly Accessible: "ACCESSIBLE";
126
- readonly Published: "PUBLISHED";
127
- };
128
- export type ApiDtoLifecycleEnum = typeof ApiDtoLifecycleEnum[keyof typeof ApiDtoLifecycleEnum];
129
- /**
130
- * @export
131
- */
132
- export declare const ApiDtoServiceTypeEnum: {
133
- readonly Managed: "MANAGED";
134
- readonly External: "EXTERNAL";
135
- readonly Workflow: "WORKFLOW";
136
- };
137
- export type ApiDtoServiceTypeEnum = typeof ApiDtoServiceTypeEnum[keyof typeof ApiDtoServiceTypeEnum];
138
- /**
139
- * Check if a given object implements the ApiDto interface.
140
- */
141
- export declare function instanceOfApiDto(value: object): value is ApiDto;
142
- export declare function ApiDtoFromJSON(json: any): ApiDto;
143
- export declare function ApiDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiDto;
144
- export declare function ApiDtoToJSON(value?: ApiDto | null): any;
@@ -1,92 +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 { PricingPlanDtoFromJSON, PricingPlanDtoToJSON, } from './PricingPlanDto.js';
15
- import { TaxonomyElementFromJSON, TaxonomyElementToJSON, } from './TaxonomyElement.js';
16
- /**
17
- * @export
18
- */
19
- export const ApiDtoPricingCategoryEnum = {
20
- Free: 'FREE',
21
- Freemium: 'FREEMIUM',
22
- Commercial: 'COMMERCIAL'
23
- };
24
- /**
25
- * @export
26
- */
27
- export const ApiDtoLifecycleEnum = {
28
- Created: 'CREATED',
29
- Accessible: 'ACCESSIBLE',
30
- Published: 'PUBLISHED'
31
- };
32
- /**
33
- * @export
34
- */
35
- export const ApiDtoServiceTypeEnum = {
36
- Managed: 'MANAGED',
37
- External: 'EXTERNAL',
38
- Workflow: 'WORKFLOW'
39
- };
40
- /**
41
- * Check if a given object implements the ApiDto interface.
42
- */
43
- export function instanceOfApiDto(value) {
44
- return true;
45
- }
46
- export function ApiDtoFromJSON(json) {
47
- return ApiDtoFromJSONTyped(json, false);
48
- }
49
- export function ApiDtoFromJSONTyped(json, ignoreDiscriminator) {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
- 'id': json['id'] == null ? undefined : json['id'],
55
- 'serviceId': json['serviceId'] == null ? undefined : json['serviceId'],
56
- 'name': json['name'] == null ? undefined : json['name'],
57
- 'context': json['context'] == null ? undefined : json['context'],
58
- 'version': json['version'] == null ? undefined : json['version'],
59
- 'description': json['description'] == null ? undefined : json['description'],
60
- 'gatewayEndpoint': json['gatewayEndpoint'] == null ? undefined : json['gatewayEndpoint'],
61
- 'pricingPlans': json['pricingPlans'] == null ? undefined : (json['pricingPlans'].map(PricingPlanDtoFromJSON)),
62
- 'pricingCategory': json['pricingCategory'] == null ? undefined : json['pricingCategory'],
63
- 'industries': json['industries'] == null ? undefined : (new Set(json['industries'].map(TaxonomyElementFromJSON))),
64
- 'provider': json['provider'] == null ? undefined : json['provider'],
65
- 'lifecycle': json['lifecycle'] == null ? undefined : json['lifecycle'],
66
- 'serviceType': json['serviceType'] == null ? undefined : json['serviceType'],
67
- 'rating': json['rating'] == null ? undefined : json['rating'],
68
- 'isFeatured': json['isFeatured'] == null ? undefined : json['isFeatured'],
69
- };
70
- }
71
- export function ApiDtoToJSON(value) {
72
- if (value == null) {
73
- return value;
74
- }
75
- return {
76
- 'id': value['id'],
77
- 'serviceId': value['serviceId'],
78
- 'name': value['name'],
79
- 'context': value['context'],
80
- 'version': value['version'],
81
- 'description': value['description'],
82
- 'gatewayEndpoint': value['gatewayEndpoint'],
83
- 'pricingPlans': value['pricingPlans'] == null ? undefined : (value['pricingPlans'].map(PricingPlanDtoToJSON)),
84
- 'pricingCategory': value['pricingCategory'],
85
- 'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(TaxonomyElementToJSON)),
86
- 'provider': value['provider'],
87
- 'lifecycle': value['lifecycle'],
88
- 'serviceType': value['serviceType'],
89
- 'rating': value['rating'],
90
- 'isFeatured': value['isFeatured'],
91
- };
92
- }
@@ -1,119 +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 { TaxonomyElement } from './TaxonomyElement.js';
13
- /**
14
- *
15
- * @export
16
- * @interface ApiOverviewDto
17
- */
18
- export interface ApiOverviewDto {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof ApiOverviewDto
23
- */
24
- id?: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof ApiOverviewDto
29
- */
30
- serviceId?: string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof ApiOverviewDto
35
- */
36
- name?: string;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof ApiOverviewDto
41
- */
42
- provider?: string;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof ApiOverviewDto
47
- */
48
- type?: ApiOverviewDtoTypeEnum;
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof ApiOverviewDto
53
- */
54
- lifecycle?: ApiOverviewDtoLifecycleEnum;
55
- /**
56
- *
57
- * @type {Set<TaxonomyElement>}
58
- * @memberof ApiOverviewDto
59
- */
60
- industries?: Set<TaxonomyElement>;
61
- /**
62
- *
63
- * @type {string}
64
- * @memberof ApiOverviewDto
65
- */
66
- pricingCategory?: ApiOverviewDtoPricingCategoryEnum;
67
- /**
68
- *
69
- * @type {number}
70
- * @memberof ApiOverviewDto
71
- */
72
- rating?: number;
73
- /**
74
- *
75
- * @type {string}
76
- * @memberof ApiOverviewDto
77
- */
78
- logoUrl?: string;
79
- /**
80
- *
81
- * @type {boolean}
82
- * @memberof ApiOverviewDto
83
- */
84
- isFeatured?: boolean;
85
- }
86
- /**
87
- * @export
88
- */
89
- export declare const ApiOverviewDtoTypeEnum: {
90
- readonly Managed: "MANAGED";
91
- readonly External: "EXTERNAL";
92
- readonly Workflow: "WORKFLOW";
93
- };
94
- export type ApiOverviewDtoTypeEnum = typeof ApiOverviewDtoTypeEnum[keyof typeof ApiOverviewDtoTypeEnum];
95
- /**
96
- * @export
97
- */
98
- export declare const ApiOverviewDtoLifecycleEnum: {
99
- readonly Created: "CREATED";
100
- readonly Accessible: "ACCESSIBLE";
101
- readonly Published: "PUBLISHED";
102
- };
103
- export type ApiOverviewDtoLifecycleEnum = typeof ApiOverviewDtoLifecycleEnum[keyof typeof ApiOverviewDtoLifecycleEnum];
104
- /**
105
- * @export
106
- */
107
- export declare const ApiOverviewDtoPricingCategoryEnum: {
108
- readonly Free: "FREE";
109
- readonly Freemium: "FREEMIUM";
110
- readonly Commercial: "COMMERCIAL";
111
- };
112
- export type ApiOverviewDtoPricingCategoryEnum = typeof ApiOverviewDtoPricingCategoryEnum[keyof typeof ApiOverviewDtoPricingCategoryEnum];
113
- /**
114
- * Check if a given object implements the ApiOverviewDto interface.
115
- */
116
- export declare function instanceOfApiOverviewDto(value: object): value is ApiOverviewDto;
117
- export declare function ApiOverviewDtoFromJSON(json: any): ApiOverviewDto;
118
- export declare function ApiOverviewDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiOverviewDto;
119
- export declare function ApiOverviewDtoToJSON(value?: ApiOverviewDto | null): any;
@@ -1,83 +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 { TaxonomyElementFromJSON, TaxonomyElementToJSON, } from './TaxonomyElement.js';
15
- /**
16
- * @export
17
- */
18
- export const ApiOverviewDtoTypeEnum = {
19
- Managed: 'MANAGED',
20
- External: 'EXTERNAL',
21
- Workflow: 'WORKFLOW'
22
- };
23
- /**
24
- * @export
25
- */
26
- export const ApiOverviewDtoLifecycleEnum = {
27
- Created: 'CREATED',
28
- Accessible: 'ACCESSIBLE',
29
- Published: 'PUBLISHED'
30
- };
31
- /**
32
- * @export
33
- */
34
- export const ApiOverviewDtoPricingCategoryEnum = {
35
- Free: 'FREE',
36
- Freemium: 'FREEMIUM',
37
- Commercial: 'COMMERCIAL'
38
- };
39
- /**
40
- * Check if a given object implements the ApiOverviewDto interface.
41
- */
42
- export function instanceOfApiOverviewDto(value) {
43
- return true;
44
- }
45
- export function ApiOverviewDtoFromJSON(json) {
46
- return ApiOverviewDtoFromJSONTyped(json, false);
47
- }
48
- export function ApiOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
49
- if (json == null) {
50
- return json;
51
- }
52
- return {
53
- 'id': json['id'] == null ? undefined : json['id'],
54
- 'serviceId': json['serviceId'] == null ? undefined : json['serviceId'],
55
- 'name': json['name'] == null ? undefined : json['name'],
56
- 'provider': json['provider'] == null ? undefined : json['provider'],
57
- 'type': json['type'] == null ? undefined : json['type'],
58
- 'lifecycle': json['lifecycle'] == null ? undefined : json['lifecycle'],
59
- 'industries': json['industries'] == null ? undefined : (new Set(json['industries'].map(TaxonomyElementFromJSON))),
60
- 'pricingCategory': json['pricingCategory'] == null ? undefined : json['pricingCategory'],
61
- 'rating': json['rating'] == null ? undefined : json['rating'],
62
- 'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
63
- 'isFeatured': json['isFeatured'] == null ? undefined : json['isFeatured'],
64
- };
65
- }
66
- export function ApiOverviewDtoToJSON(value) {
67
- if (value == null) {
68
- return value;
69
- }
70
- return {
71
- 'id': value['id'],
72
- 'serviceId': value['serviceId'],
73
- 'name': value['name'],
74
- 'provider': value['provider'],
75
- 'type': value['type'],
76
- 'lifecycle': value['lifecycle'],
77
- 'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(TaxonomyElementToJSON)),
78
- 'pricingCategory': value['pricingCategory'],
79
- 'rating': value['rating'],
80
- 'logoUrl': value['logoUrl'],
81
- 'isFeatured': value['isFeatured'],
82
- };
83
- }