@quantum-hub/qhubctl 1.0.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.
- package/LICENSE +201 -0
- package/README.md +41 -0
- package/bin/dev.cmd +3 -0
- package/bin/dev.js +15 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +12 -0
- package/dist/client/kqh/apis/ServicePlatformApplicationsApi.d.ts +89 -0
- package/dist/client/kqh/apis/ServicePlatformApplicationsApi.js +259 -0
- package/dist/client/kqh/apis/ServicePlatformDashboardApi.d.ts +44 -0
- package/dist/client/kqh/apis/ServicePlatformDashboardApi.js +143 -0
- package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.d.ts +133 -0
- package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.js +410 -0
- package/dist/client/kqh/apis/ServicePlatformJobsApi.d.ts +101 -0
- package/dist/client/kqh/apis/ServicePlatformJobsApi.js +298 -0
- package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.d.ts +48 -0
- package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.js +152 -0
- package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.d.ts +29 -0
- package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.js +90 -0
- package/dist/client/kqh/apis/ServicePlatformServicesApi.d.ts +501 -0
- package/dist/client/kqh/apis/ServicePlatformServicesApi.js +1509 -0
- package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.d.ts +66 -0
- package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.js +194 -0
- package/dist/client/kqh/apis/TaxonomiesApi.d.ts +90 -0
- package/dist/client/kqh/apis/TaxonomiesApi.js +309 -0
- package/dist/client/kqh/apis/index.d.ts +9 -0
- package/dist/client/kqh/apis/index.js +27 -0
- package/dist/client/kqh/index.d.ts +3 -0
- package/dist/client/kqh/index.js +21 -0
- package/dist/client/kqh/models/AccessTokenDto.d.ts +81 -0
- package/dist/client/kqh/models/AccessTokenDto.js +66 -0
- package/dist/client/kqh/models/AmountMajorDto.d.ts +37 -0
- package/dist/client/kqh/models/AmountMajorDto.js +46 -0
- package/dist/client/kqh/models/ApiDto.d.ts +144 -0
- package/dist/client/kqh/models/ApiDto.js +99 -0
- package/dist/client/kqh/models/ApiOverviewDto.d.ts +119 -0
- package/dist/client/kqh/models/ApiOverviewDto.js +90 -0
- package/dist/client/kqh/models/ApplicationDto.d.ts +64 -0
- package/dist/client/kqh/models/ApplicationDto.js +60 -0
- package/dist/client/kqh/models/BuildJobDto.d.ts +75 -0
- package/dist/client/kqh/models/BuildJobDto.js +71 -0
- package/dist/client/kqh/models/CpuConfiguration.d.ts +38 -0
- package/dist/client/kqh/models/CpuConfiguration.js +49 -0
- package/dist/client/kqh/models/CreateApplicationRequest.d.ts +31 -0
- package/dist/client/kqh/models/CreateApplicationRequest.js +44 -0
- package/dist/client/kqh/models/CreateDataPoolRequest.d.ts +31 -0
- package/dist/client/kqh/models/CreateDataPoolRequest.js +46 -0
- package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.d.ts +46 -0
- package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.js +57 -0
- package/dist/client/kqh/models/CreateJobRequest.d.ts +62 -0
- package/dist/client/kqh/models/CreateJobRequest.js +57 -0
- package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.d.ts +73 -0
- package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.js +79 -0
- package/dist/client/kqh/models/CreateProductRequest.d.ts +43 -0
- package/dist/client/kqh/models/CreateProductRequest.js +52 -0
- package/dist/client/kqh/models/CreateSubscriptionRequest.d.ts +37 -0
- package/dist/client/kqh/models/CreateSubscriptionRequest.js +50 -0
- package/dist/client/kqh/models/CreateWorkflowServiceRequest.d.ts +37 -0
- package/dist/client/kqh/models/CreateWorkflowServiceRequest.js +48 -0
- package/dist/client/kqh/models/DataPoolDto.d.ts +166 -0
- package/dist/client/kqh/models/DataPoolDto.js +105 -0
- package/dist/client/kqh/models/DataPoolRef.d.ts +43 -0
- package/dist/client/kqh/models/DataPoolRef.js +48 -0
- package/dist/client/kqh/models/DataSourceDescriptorDto.d.ts +89 -0
- package/dist/client/kqh/models/DataSourceDescriptorDto.js +69 -0
- package/dist/client/kqh/models/FileDto.d.ts +73 -0
- package/dist/client/kqh/models/FileDto.js +51 -0
- package/dist/client/kqh/models/FileSource.d.ts +26 -0
- package/dist/client/kqh/models/FileSource.js +34 -0
- package/dist/client/kqh/models/GpuConfiguration.d.ts +49 -0
- package/dist/client/kqh/models/GpuConfiguration.js +60 -0
- package/dist/client/kqh/models/JobDto.d.ts +117 -0
- package/dist/client/kqh/models/JobDto.js +82 -0
- package/dist/client/kqh/models/JobOverviewDto.d.ts +74 -0
- package/dist/client/kqh/models/JobOverviewDto.js +67 -0
- package/dist/client/kqh/models/MemoryConfiguration.d.ts +38 -0
- package/dist/client/kqh/models/MemoryConfiguration.js +49 -0
- package/dist/client/kqh/models/MeteringRequest.d.ts +43 -0
- package/dist/client/kqh/models/MeteringRequest.js +48 -0
- package/dist/client/kqh/models/MeteringResponse.d.ts +49 -0
- package/dist/client/kqh/models/MeteringResponse.js +50 -0
- package/dist/client/kqh/models/MonthAmountDto.d.ts +51 -0
- package/dist/client/kqh/models/MonthAmountDto.js +52 -0
- package/dist/client/kqh/models/OwnerDto.d.ts +67 -0
- package/dist/client/kqh/models/OwnerDto.js +56 -0
- package/dist/client/kqh/models/PageDataPoolDto.d.ts +94 -0
- package/dist/client/kqh/models/PageDataPoolDto.js +67 -0
- package/dist/client/kqh/models/PageableObject.d.ts +62 -0
- package/dist/client/kqh/models/PageableObject.js +55 -0
- package/dist/client/kqh/models/PricingPlanDto.d.ts +52 -0
- package/dist/client/kqh/models/PricingPlanDto.js +57 -0
- package/dist/client/kqh/models/ProductAmountDto.d.ts +38 -0
- package/dist/client/kqh/models/ProductAmountDto.js +47 -0
- package/dist/client/kqh/models/ProductDto.d.ts +83 -0
- package/dist/client/kqh/models/ProductDto.js +76 -0
- package/dist/client/kqh/models/ProductGroupDto.d.ts +45 -0
- package/dist/client/kqh/models/ProductGroupDto.js +50 -0
- package/dist/client/kqh/models/ProductUsageDto.d.ts +61 -0
- package/dist/client/kqh/models/ProductUsageDto.js +54 -0
- package/dist/client/kqh/models/RegistrySource.d.ts +52 -0
- package/dist/client/kqh/models/RegistrySource.js +55 -0
- package/dist/client/kqh/models/RepositorySource.d.ts +32 -0
- package/dist/client/kqh/models/RepositorySource.js +47 -0
- package/dist/client/kqh/models/ResourceConfiguration.d.ts +31 -0
- package/dist/client/kqh/models/ResourceConfiguration.js +58 -0
- package/dist/client/kqh/models/ReviewDto.d.ts +51 -0
- package/dist/client/kqh/models/ReviewDto.js +56 -0
- package/dist/client/kqh/models/RuntimeConfiguration.d.ts +53 -0
- package/dist/client/kqh/models/RuntimeConfiguration.js +56 -0
- package/dist/client/kqh/models/ServiceDefinitionCommand.d.ts +39 -0
- package/dist/client/kqh/models/ServiceDefinitionCommand.js +52 -0
- package/dist/client/kqh/models/ServiceDefinitionDto.d.ts +180 -0
- package/dist/client/kqh/models/ServiceDefinitionDto.js +108 -0
- package/dist/client/kqh/models/ServiceDefinitionDtoSource.d.ts +23 -0
- package/dist/client/kqh/models/ServiceDefinitionDtoSource.js +54 -0
- package/dist/client/kqh/models/ServiceDefinitionOverviewDto.d.ts +79 -0
- package/dist/client/kqh/models/ServiceDefinitionOverviewDto.js +71 -0
- package/dist/client/kqh/models/ServiceDto.d.ts +59 -0
- package/dist/client/kqh/models/ServiceDto.js +59 -0
- package/dist/client/kqh/models/ServiceExecutionConsumerDto.d.ts +67 -0
- package/dist/client/kqh/models/ServiceExecutionConsumerDto.js +64 -0
- package/dist/client/kqh/models/ServiceExecutionDto.d.ts +49 -0
- package/dist/client/kqh/models/ServiceExecutionDto.js +50 -0
- package/dist/client/kqh/models/ServiceOverviewDto.d.ts +115 -0
- package/dist/client/kqh/models/ServiceOverviewDto.js +92 -0
- package/dist/client/kqh/models/ServiceSource.d.ts +31 -0
- package/dist/client/kqh/models/ServiceSource.js +58 -0
- package/dist/client/kqh/models/SortObject.d.ts +43 -0
- package/dist/client/kqh/models/SortObject.js +48 -0
- package/dist/client/kqh/models/SubscriptionDto.d.ts +58 -0
- package/dist/client/kqh/models/SubscriptionDto.js +55 -0
- package/dist/client/kqh/models/TaxonomyElement.d.ts +43 -0
- package/dist/client/kqh/models/TaxonomyElement.js +48 -0
- package/dist/client/kqh/models/UpdateDataPoolRequest.d.ts +109 -0
- package/dist/client/kqh/models/UpdateDataPoolRequest.js +72 -0
- package/dist/client/kqh/models/UpdateResourceConfigurationRequest.d.ts +23 -0
- package/dist/client/kqh/models/UpdateResourceConfigurationRequest.js +54 -0
- package/dist/client/kqh/models/UpdateVersionRequest.d.ts +44 -0
- package/dist/client/kqh/models/UpdateVersionRequest.js +49 -0
- package/dist/client/kqh/models/UpdateWorkflowServiceRequest.d.ts +31 -0
- package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +44 -0
- package/dist/client/kqh/models/ValidationResult.d.ts +52 -0
- package/dist/client/kqh/models/ValidationResult.js +57 -0
- package/dist/client/kqh/models/index.d.ts +57 -0
- package/dist/client/kqh/models/index.js +75 -0
- package/dist/client/kqh/runtime.d.ts +181 -0
- package/dist/client/kqh/runtime.js +340 -0
- package/dist/client/users/apis/AuthenticationApi.d.ts +31 -0
- package/dist/client/users/apis/AuthenticationApi.js +83 -0
- package/dist/client/users/apis/ExpertsApi.d.ts +44 -0
- package/dist/client/users/apis/ExpertsApi.js +112 -0
- package/dist/client/users/apis/SearchApi.d.ts +46 -0
- package/dist/client/users/apis/SearchApi.js +134 -0
- package/dist/client/users/apis/UserSettingsApi.d.ts +139 -0
- package/dist/client/users/apis/UserSettingsApi.js +417 -0
- package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.d.ts +64 -0
- package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.js +184 -0
- package/dist/client/users/apis/UsersApi.d.ts +70 -0
- package/dist/client/users/apis/UsersApi.js +170 -0
- package/dist/client/users/apis/index.d.ts +6 -0
- package/dist/client/users/apis/index.js +24 -0
- package/dist/client/users/index.d.ts +3 -0
- package/dist/client/users/index.js +21 -0
- package/dist/client/users/models/AccessTokenCreateRequest.d.ts +51 -0
- package/dist/client/users/models/AccessTokenCreateRequest.js +60 -0
- package/dist/client/users/models/AccessTokenDto.d.ts +75 -0
- package/dist/client/users/models/AccessTokenDto.js +68 -0
- package/dist/client/users/models/AccessTokensResponse.d.ts +38 -0
- package/dist/client/users/models/AccessTokensResponse.js +47 -0
- package/dist/client/users/models/DefaultAccessTokenResponse.d.ts +31 -0
- package/dist/client/users/models/DefaultAccessTokenResponse.js +44 -0
- package/dist/client/users/models/Language.d.ts +31 -0
- package/dist/client/users/models/Language.js +44 -0
- package/dist/client/users/models/PageUserDto.d.ts +94 -0
- package/dist/client/users/models/PageUserDto.js +67 -0
- package/dist/client/users/models/Pageable.d.ts +43 -0
- package/dist/client/users/models/Pageable.js +48 -0
- package/dist/client/users/models/PageableObject.d.ts +62 -0
- package/dist/client/users/models/PageableObject.js +55 -0
- package/dist/client/users/models/PersonalAccessTokenPrincipal.d.ts +38 -0
- package/dist/client/users/models/PersonalAccessTokenPrincipal.js +47 -0
- package/dist/client/users/models/Skill.d.ts +31 -0
- package/dist/client/users/models/Skill.js +44 -0
- package/dist/client/users/models/SortObject.d.ts +43 -0
- package/dist/client/users/models/SortObject.js +48 -0
- package/dist/client/users/models/UpdateUserRequest.d.ts +61 -0
- package/dist/client/users/models/UpdateUserRequest.js +54 -0
- package/dist/client/users/models/UserDto.d.ts +111 -0
- package/dist/client/users/models/UserDto.js +72 -0
- package/dist/client/users/models/UserOverviewDto.d.ts +67 -0
- package/dist/client/users/models/UserOverviewDto.js +56 -0
- package/dist/client/users/models/index.d.ts +14 -0
- package/dist/client/users/models/index.js +32 -0
- package/dist/client/users/runtime.d.ts +181 -0
- package/dist/client/users/runtime.js +340 -0
- package/dist/commands/compress/index.d.ts +6 -0
- package/dist/commands/compress/index.js +31 -0
- package/dist/commands/datapool/upload.d.ts +23 -0
- package/dist/commands/datapool/upload.js +266 -0
- package/dist/commands/get-context/index.d.ts +6 -0
- package/dist/commands/get-context/index.js +13 -0
- package/dist/commands/init/index.d.ts +10 -0
- package/dist/commands/init/index.js +81 -0
- package/dist/commands/list-contexts/index.d.ts +9 -0
- package/dist/commands/list-contexts/index.js +36 -0
- package/dist/commands/login/index.d.ts +10 -0
- package/dist/commands/login/index.js +68 -0
- package/dist/commands/logout/index.d.ts +6 -0
- package/dist/commands/logout/index.js +21 -0
- package/dist/commands/openapi/index.d.ts +26 -0
- package/dist/commands/openapi/index.js +313 -0
- package/dist/commands/run/index.d.ts +18 -0
- package/dist/commands/run/index.js +155 -0
- package/dist/commands/serve/index.d.ts +13 -0
- package/dist/commands/serve/index.js +93 -0
- package/dist/commands/services/index.d.ts +14 -0
- package/dist/commands/services/index.js +71 -0
- package/dist/commands/set-context/index.d.ts +17 -0
- package/dist/commands/set-context/index.js +69 -0
- package/dist/commands/up/index.d.ts +19 -0
- package/dist/commands/up/index.js +196 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -0
- package/dist/lib/command.d.ts +6 -0
- package/dist/lib/command.js +21 -0
- package/dist/lib/debug.d.ts +1 -0
- package/dist/lib/debug.js +5 -0
- package/dist/lib/entrypoint-resolver.d.ts +52 -0
- package/dist/lib/entrypoint-resolver.js +125 -0
- package/dist/lib/error.d.ts +1 -0
- package/dist/lib/error.js +20 -0
- package/dist/lib/fetch.d.ts +7 -0
- package/dist/lib/fetch.js +43 -0
- package/dist/lib/init-user-input.d.ts +18 -0
- package/dist/lib/init-user-input.js +87 -0
- package/dist/lib/random-name.d.ts +1 -0
- package/dist/lib/random-name.js +161 -0
- package/dist/lib/random-string.d.ts +1 -0
- package/dist/lib/random-string.js +12 -0
- package/dist/lib/repository.d.ts +3 -0
- package/dist/lib/repository.js +51 -0
- package/dist/lib/stream-to-blob.d.ts +2 -0
- package/dist/lib/stream-to-blob.js +27 -0
- package/dist/lib/up/get-description.d.ts +1 -0
- package/dist/lib/up/get-description.js +29 -0
- package/dist/lib/up/ignore.d.ts +1 -0
- package/dist/lib/up/ignore.js +21 -0
- package/dist/lib/up/zip.d.ts +1 -0
- package/dist/lib/up/zip.js +40 -0
- package/dist/model/account.d.ts +5 -0
- package/dist/model/account.js +2 -0
- package/dist/model/command.d.ts +12 -0
- package/dist/model/command.js +55 -0
- package/dist/model/managed-service-config.d.ts +28 -0
- package/dist/model/managed-service-config.js +16 -0
- package/dist/model/user-config.d.ts +22 -0
- package/dist/model/user-config.js +8 -0
- package/dist/service/auth-service.d.ts +9 -0
- package/dist/service/auth-service.js +38 -0
- package/dist/service/command-service.d.ts +9 -0
- package/dist/service/command-service.js +14 -0
- package/dist/service/quantum-hub-service.d.ts +24 -0
- package/dist/service/quantum-hub-service.js +222 -0
- package/dist/service/service-config-service.d.ts +3 -0
- package/dist/service/service-config-service.js +26 -0
- package/dist/service/user-config-service.d.ts +3 -0
- package/dist/service/user-config-service.js +26 -0
- package/dist/service/user-service.d.ts +9 -0
- package/dist/service/user-service.js +35 -0
- package/oclif.manifest.json +530 -0
- package/package.json +107 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Quantum Hub Platform API
|
|
6
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
* Contact: info@anaqor.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ServiceDefinitionDtoLifecycleEnum = exports.ServiceDefinitionDtoTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfServiceDefinitionDto = instanceOfServiceDefinitionDto;
|
|
18
|
+
exports.ServiceDefinitionDtoFromJSON = ServiceDefinitionDtoFromJSON;
|
|
19
|
+
exports.ServiceDefinitionDtoFromJSONTyped = ServiceDefinitionDtoFromJSONTyped;
|
|
20
|
+
exports.ServiceDefinitionDtoToJSON = ServiceDefinitionDtoToJSON;
|
|
21
|
+
const ServiceDefinitionDtoSource_1 = require("./ServiceDefinitionDtoSource");
|
|
22
|
+
const UpdateResourceConfigurationRequest_1 = require("./UpdateResourceConfigurationRequest");
|
|
23
|
+
const PricingPlanDto_1 = require("./PricingPlanDto");
|
|
24
|
+
const RuntimeConfiguration_1 = require("./RuntimeConfiguration");
|
|
25
|
+
const TaxonomyElement_1 = require("./TaxonomyElement");
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.ServiceDefinitionDtoTypeEnum = {
|
|
30
|
+
Managed: 'MANAGED',
|
|
31
|
+
External: 'EXTERNAL',
|
|
32
|
+
Workflow: 'WORKFLOW'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
exports.ServiceDefinitionDtoLifecycleEnum = {
|
|
38
|
+
Created: 'CREATED',
|
|
39
|
+
Accessible: 'ACCESSIBLE',
|
|
40
|
+
Published: 'PUBLISHED'
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ServiceDefinitionDto interface.
|
|
44
|
+
*/
|
|
45
|
+
function instanceOfServiceDefinitionDto(value) {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
function ServiceDefinitionDtoFromJSON(json) {
|
|
49
|
+
return ServiceDefinitionDtoFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function ServiceDefinitionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
57
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
58
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
59
|
+
'context': json['context'] == null ? undefined : json['context'],
|
|
60
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
61
|
+
'productionEndpoint': json['productionEndpoint'] == null ? undefined : json['productionEndpoint'],
|
|
62
|
+
'gatewayEndpoint': json['gatewayEndpoint'] == null ? undefined : json['gatewayEndpoint'],
|
|
63
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
64
|
+
'pricingPlans': json['pricingPlans'] == null ? undefined : (json['pricingPlans'].map(PricingPlanDto_1.PricingPlanDtoFromJSON)),
|
|
65
|
+
'lifecycle': json['lifecycle'] == null ? undefined : json['lifecycle'],
|
|
66
|
+
'industries': json['industries'] == null ? undefined : (new Set(json['industries'].map(TaxonomyElement_1.TaxonomyElementFromJSON))),
|
|
67
|
+
'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
|
|
68
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
69
|
+
'modifiedAt': json['modifiedAt'] == null ? undefined : json['modifiedAt'],
|
|
70
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
71
|
+
'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
|
|
72
|
+
'configurations': json['configurations'] == null ? undefined : (new Set(json['configurations'].map(UpdateResourceConfigurationRequest_1.UpdateResourceConfigurationRequestFromJSON))),
|
|
73
|
+
'runtimeConfiguration': json['runtimeConfiguration'] == null ? undefined : (0, RuntimeConfiguration_1.RuntimeConfigurationFromJSON)(json['runtimeConfiguration']),
|
|
74
|
+
'source': json['source'] == null ? undefined : (0, ServiceDefinitionDtoSource_1.ServiceDefinitionDtoSourceFromJSON)(json['source']),
|
|
75
|
+
'processDefinitionId': json['processDefinitionId'] == null ? undefined : json['processDefinitionId'],
|
|
76
|
+
'workflowModel': json['workflowModel'] == null ? undefined : json['workflowModel'],
|
|
77
|
+
'workflowModelPreviewImage': json['workflowModelPreviewImage'] == null ? undefined : json['workflowModelPreviewImage'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function ServiceDefinitionDtoToJSON(value) {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
'id': value['id'],
|
|
86
|
+
'version': value['version'],
|
|
87
|
+
'name': value['name'],
|
|
88
|
+
'context': value['context'],
|
|
89
|
+
'description': value['description'],
|
|
90
|
+
'productionEndpoint': value['productionEndpoint'],
|
|
91
|
+
'gatewayEndpoint': value['gatewayEndpoint'],
|
|
92
|
+
'type': value['type'],
|
|
93
|
+
'pricingPlans': value['pricingPlans'] == null ? undefined : (value['pricingPlans'].map(PricingPlanDto_1.PricingPlanDtoToJSON)),
|
|
94
|
+
'lifecycle': value['lifecycle'],
|
|
95
|
+
'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(TaxonomyElement_1.TaxonomyElementToJSON)),
|
|
96
|
+
'logoUrl': value['logoUrl'],
|
|
97
|
+
'createdAt': value['createdAt'],
|
|
98
|
+
'modifiedAt': value['modifiedAt'],
|
|
99
|
+
'createdBy': value['createdBy'],
|
|
100
|
+
'modifiedBy': value['modifiedBy'],
|
|
101
|
+
'configurations': value['configurations'] == null ? undefined : (Array.from(value['configurations']).map(UpdateResourceConfigurationRequest_1.UpdateResourceConfigurationRequestToJSON)),
|
|
102
|
+
'runtimeConfiguration': (0, RuntimeConfiguration_1.RuntimeConfigurationToJSON)(value['runtimeConfiguration']),
|
|
103
|
+
'source': (0, ServiceDefinitionDtoSource_1.ServiceDefinitionDtoSourceToJSON)(value['source']),
|
|
104
|
+
'processDefinitionId': value['processDefinitionId'],
|
|
105
|
+
'workflowModel': value['workflowModel'],
|
|
106
|
+
'workflowModelPreviewImage': value['workflowModelPreviewImage'],
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { FileSource } from './FileSource';
|
|
13
|
+
import type { RegistrySource } from './RegistrySource';
|
|
14
|
+
import type { RepositorySource } from './RepositorySource';
|
|
15
|
+
/**
|
|
16
|
+
* @type ServiceDefinitionDtoSource
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type ServiceDefinitionDtoSource = FileSource | RegistrySource | RepositorySource;
|
|
21
|
+
export declare function ServiceDefinitionDtoSourceFromJSON(json: any): ServiceDefinitionDtoSource;
|
|
22
|
+
export declare function ServiceDefinitionDtoSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceDefinitionDtoSource;
|
|
23
|
+
export declare function ServiceDefinitionDtoSourceToJSON(value?: ServiceDefinitionDtoSource | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Quantum Hub Platform API
|
|
6
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
* Contact: info@anaqor.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ServiceDefinitionDtoSourceFromJSON = ServiceDefinitionDtoSourceFromJSON;
|
|
17
|
+
exports.ServiceDefinitionDtoSourceFromJSONTyped = ServiceDefinitionDtoSourceFromJSONTyped;
|
|
18
|
+
exports.ServiceDefinitionDtoSourceToJSON = ServiceDefinitionDtoSourceToJSON;
|
|
19
|
+
const FileSource_1 = require("./FileSource");
|
|
20
|
+
const RegistrySource_1 = require("./RegistrySource");
|
|
21
|
+
const RepositorySource_1 = require("./RepositorySource");
|
|
22
|
+
function ServiceDefinitionDtoSourceFromJSON(json) {
|
|
23
|
+
return ServiceDefinitionDtoSourceFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
function ServiceDefinitionDtoSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if ((0, FileSource_1.instanceOfFileSource)(json)) {
|
|
31
|
+
return (0, FileSource_1.FileSourceFromJSONTyped)(json, true);
|
|
32
|
+
}
|
|
33
|
+
if ((0, RegistrySource_1.instanceOfRegistrySource)(json)) {
|
|
34
|
+
return (0, RegistrySource_1.RegistrySourceFromJSONTyped)(json, true);
|
|
35
|
+
}
|
|
36
|
+
if ((0, RepositorySource_1.instanceOfRepositorySource)(json)) {
|
|
37
|
+
return (0, RepositorySource_1.RepositorySourceFromJSONTyped)(json, true);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function ServiceDefinitionDtoSourceToJSON(value) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
if ((0, FileSource_1.instanceOfFileSource)(value)) {
|
|
45
|
+
return (0, FileSource_1.FileSourceToJSON)(value);
|
|
46
|
+
}
|
|
47
|
+
if ((0, RegistrySource_1.instanceOfRegistrySource)(value)) {
|
|
48
|
+
return (0, RegistrySource_1.RegistrySourceToJSON)(value);
|
|
49
|
+
}
|
|
50
|
+
if ((0, RepositorySource_1.instanceOfRepositorySource)(value)) {
|
|
51
|
+
return (0, RepositorySource_1.RepositorySourceToJSON)(value);
|
|
52
|
+
}
|
|
53
|
+
return {};
|
|
54
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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 ServiceDefinitionOverviewDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ServiceDefinitionOverviewDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ServiceDefinitionOverviewDto
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ServiceDefinitionOverviewDto
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ServiceDefinitionOverviewDto
|
|
34
|
+
*/
|
|
35
|
+
serviceId?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ServiceDefinitionOverviewDto
|
|
40
|
+
*/
|
|
41
|
+
type?: ServiceDefinitionOverviewDtoTypeEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ServiceDefinitionOverviewDto
|
|
46
|
+
*/
|
|
47
|
+
lifecycle?: ServiceDefinitionOverviewDtoLifecycleEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof ServiceDefinitionOverviewDto
|
|
52
|
+
*/
|
|
53
|
+
isDeleted?: boolean;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const ServiceDefinitionOverviewDtoTypeEnum: {
|
|
59
|
+
readonly Managed: "MANAGED";
|
|
60
|
+
readonly External: "EXTERNAL";
|
|
61
|
+
readonly Workflow: "WORKFLOW";
|
|
62
|
+
};
|
|
63
|
+
export type ServiceDefinitionOverviewDtoTypeEnum = typeof ServiceDefinitionOverviewDtoTypeEnum[keyof typeof ServiceDefinitionOverviewDtoTypeEnum];
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export declare const ServiceDefinitionOverviewDtoLifecycleEnum: {
|
|
68
|
+
readonly Created: "CREATED";
|
|
69
|
+
readonly Accessible: "ACCESSIBLE";
|
|
70
|
+
readonly Published: "PUBLISHED";
|
|
71
|
+
};
|
|
72
|
+
export type ServiceDefinitionOverviewDtoLifecycleEnum = typeof ServiceDefinitionOverviewDtoLifecycleEnum[keyof typeof ServiceDefinitionOverviewDtoLifecycleEnum];
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the ServiceDefinitionOverviewDto interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfServiceDefinitionOverviewDto(value: object): value is ServiceDefinitionOverviewDto;
|
|
77
|
+
export declare function ServiceDefinitionOverviewDtoFromJSON(json: any): ServiceDefinitionOverviewDto;
|
|
78
|
+
export declare function ServiceDefinitionOverviewDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceDefinitionOverviewDto;
|
|
79
|
+
export declare function ServiceDefinitionOverviewDtoToJSON(value?: ServiceDefinitionOverviewDto | null): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Quantum Hub Platform API
|
|
6
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
* Contact: info@anaqor.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ServiceDefinitionOverviewDtoLifecycleEnum = exports.ServiceDefinitionOverviewDtoTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfServiceDefinitionOverviewDto = instanceOfServiceDefinitionOverviewDto;
|
|
18
|
+
exports.ServiceDefinitionOverviewDtoFromJSON = ServiceDefinitionOverviewDtoFromJSON;
|
|
19
|
+
exports.ServiceDefinitionOverviewDtoFromJSONTyped = ServiceDefinitionOverviewDtoFromJSONTyped;
|
|
20
|
+
exports.ServiceDefinitionOverviewDtoToJSON = ServiceDefinitionOverviewDtoToJSON;
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
exports.ServiceDefinitionOverviewDtoTypeEnum = {
|
|
25
|
+
Managed: 'MANAGED',
|
|
26
|
+
External: 'EXTERNAL',
|
|
27
|
+
Workflow: 'WORKFLOW'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
exports.ServiceDefinitionOverviewDtoLifecycleEnum = {
|
|
33
|
+
Created: 'CREATED',
|
|
34
|
+
Accessible: 'ACCESSIBLE',
|
|
35
|
+
Published: 'PUBLISHED'
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ServiceDefinitionOverviewDto interface.
|
|
39
|
+
*/
|
|
40
|
+
function instanceOfServiceDefinitionOverviewDto(value) {
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function ServiceDefinitionOverviewDtoFromJSON(json) {
|
|
44
|
+
return ServiceDefinitionOverviewDtoFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ServiceDefinitionOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
52
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
53
|
+
'serviceId': json['serviceId'] == null ? undefined : json['serviceId'],
|
|
54
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
55
|
+
'lifecycle': json['lifecycle'] == null ? undefined : json['lifecycle'],
|
|
56
|
+
'isDeleted': json['isDeleted'] == null ? undefined : json['isDeleted'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function ServiceDefinitionOverviewDtoToJSON(value) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value['id'],
|
|
65
|
+
'name': value['name'],
|
|
66
|
+
'serviceId': value['serviceId'],
|
|
67
|
+
'type': value['type'],
|
|
68
|
+
'lifecycle': value['lifecycle'],
|
|
69
|
+
'isDeleted': value['isDeleted'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { ServiceDefinitionDto } from './ServiceDefinitionDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ServiceDto
|
|
17
|
+
*/
|
|
18
|
+
export interface ServiceDto {
|
|
19
|
+
/**
|
|
20
|
+
* The access permission role for this entity of the current user
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ServiceDto
|
|
23
|
+
*/
|
|
24
|
+
readonly currentUserPermission?: ServiceDtoCurrentUserPermissionEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ServiceDto
|
|
29
|
+
*/
|
|
30
|
+
id?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ServiceDto
|
|
35
|
+
*/
|
|
36
|
+
name?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<ServiceDefinitionDto>}
|
|
40
|
+
* @memberof ServiceDto
|
|
41
|
+
*/
|
|
42
|
+
serviceDefinitions?: Array<ServiceDefinitionDto>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const ServiceDtoCurrentUserPermissionEnum: {
|
|
48
|
+
readonly Viewer: "VIEWER";
|
|
49
|
+
readonly Maintainer: "MAINTAINER";
|
|
50
|
+
readonly Owner: "OWNER";
|
|
51
|
+
};
|
|
52
|
+
export type ServiceDtoCurrentUserPermissionEnum = typeof ServiceDtoCurrentUserPermissionEnum[keyof typeof ServiceDtoCurrentUserPermissionEnum];
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the ServiceDto interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfServiceDto(value: object): value is ServiceDto;
|
|
57
|
+
export declare function ServiceDtoFromJSON(json: any): ServiceDto;
|
|
58
|
+
export declare function ServiceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceDto;
|
|
59
|
+
export declare function ServiceDtoToJSON(value?: Omit<ServiceDto, 'currentUserPermission'> | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Quantum Hub Platform API
|
|
6
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
* Contact: info@anaqor.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ServiceDtoCurrentUserPermissionEnum = void 0;
|
|
17
|
+
exports.instanceOfServiceDto = instanceOfServiceDto;
|
|
18
|
+
exports.ServiceDtoFromJSON = ServiceDtoFromJSON;
|
|
19
|
+
exports.ServiceDtoFromJSONTyped = ServiceDtoFromJSONTyped;
|
|
20
|
+
exports.ServiceDtoToJSON = ServiceDtoToJSON;
|
|
21
|
+
const ServiceDefinitionDto_1 = require("./ServiceDefinitionDto");
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ServiceDtoCurrentUserPermissionEnum = {
|
|
26
|
+
Viewer: 'VIEWER',
|
|
27
|
+
Maintainer: 'MAINTAINER',
|
|
28
|
+
Owner: 'OWNER'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ServiceDto interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfServiceDto(value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function ServiceDtoFromJSON(json) {
|
|
37
|
+
return ServiceDtoFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ServiceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'currentUserPermission': json['currentUserPermission'] == null ? undefined : json['currentUserPermission'],
|
|
45
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
46
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
47
|
+
'serviceDefinitions': json['serviceDefinitions'] == null ? undefined : (json['serviceDefinitions'].map(ServiceDefinitionDto_1.ServiceDefinitionDtoFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function ServiceDtoToJSON(value) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'serviceDefinitions': value['serviceDefinitions'] == null ? undefined : (value['serviceDefinitions'].map(ServiceDefinitionDto_1.ServiceDefinitionDtoToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Quantum Hub Platform API
|
|
6
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
* Contact: info@anaqor.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ServiceExecutionConsumerDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfServiceExecutionConsumerDto = instanceOfServiceExecutionConsumerDto;
|
|
18
|
+
exports.ServiceExecutionConsumerDtoFromJSON = ServiceExecutionConsumerDtoFromJSON;
|
|
19
|
+
exports.ServiceExecutionConsumerDtoFromJSONTyped = ServiceExecutionConsumerDtoFromJSONTyped;
|
|
20
|
+
exports.ServiceExecutionConsumerDtoToJSON = ServiceExecutionConsumerDtoToJSON;
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
exports.ServiceExecutionConsumerDtoStatusEnum = {
|
|
25
|
+
Unknown: 'UNKNOWN',
|
|
26
|
+
Pending: 'PENDING',
|
|
27
|
+
Running: 'RUNNING',
|
|
28
|
+
Succeeded: 'SUCCEEDED',
|
|
29
|
+
Failed: 'FAILED',
|
|
30
|
+
Cancelled: 'CANCELLED'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ServiceExecutionConsumerDto interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfServiceExecutionConsumerDto(value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function ServiceExecutionConsumerDtoFromJSON(json) {
|
|
39
|
+
return ServiceExecutionConsumerDtoFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function ServiceExecutionConsumerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
47
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
48
|
+
'startedAt': json['startedAt'] == null ? undefined : json['startedAt'],
|
|
49
|
+
'endedAt': json['endedAt'] == null ? undefined : json['endedAt'],
|
|
50
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function ServiceExecutionConsumerDtoToJSON(value) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'createdAt': value['createdAt'],
|
|
60
|
+
'startedAt': value['startedAt'],
|
|
61
|
+
'endedAt': value['endedAt'],
|
|
62
|
+
'status': value['status'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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;
|