@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,90 @@
|
|
|
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.ApiOverviewDtoPricingCategoryEnum = exports.ApiOverviewDtoLifecycleEnum = exports.ApiOverviewDtoTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfApiOverviewDto = instanceOfApiOverviewDto;
|
|
18
|
+
exports.ApiOverviewDtoFromJSON = ApiOverviewDtoFromJSON;
|
|
19
|
+
exports.ApiOverviewDtoFromJSONTyped = ApiOverviewDtoFromJSONTyped;
|
|
20
|
+
exports.ApiOverviewDtoToJSON = ApiOverviewDtoToJSON;
|
|
21
|
+
const TaxonomyElement_1 = require("./TaxonomyElement");
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ApiOverviewDtoTypeEnum = {
|
|
26
|
+
Managed: 'MANAGED',
|
|
27
|
+
External: 'EXTERNAL',
|
|
28
|
+
Workflow: 'WORKFLOW'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.ApiOverviewDtoLifecycleEnum = {
|
|
34
|
+
Created: 'CREATED',
|
|
35
|
+
Accessible: 'ACCESSIBLE',
|
|
36
|
+
Published: 'PUBLISHED'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
exports.ApiOverviewDtoPricingCategoryEnum = {
|
|
42
|
+
Free: 'FREE',
|
|
43
|
+
Freemium: 'FREEMIUM',
|
|
44
|
+
Commercial: 'COMMERCIAL'
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the ApiOverviewDto interface.
|
|
48
|
+
*/
|
|
49
|
+
function instanceOfApiOverviewDto(value) {
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function ApiOverviewDtoFromJSON(json) {
|
|
53
|
+
return ApiOverviewDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function ApiOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
61
|
+
'serviceId': json['serviceId'] == null ? undefined : json['serviceId'],
|
|
62
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
63
|
+
'provider': json['provider'] == null ? undefined : json['provider'],
|
|
64
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
65
|
+
'lifecycle': json['lifecycle'] == null ? undefined : json['lifecycle'],
|
|
66
|
+
'industries': json['industries'] == null ? undefined : (new Set(json['industries'].map(TaxonomyElement_1.TaxonomyElementFromJSON))),
|
|
67
|
+
'pricingCategory': json['pricingCategory'] == null ? undefined : json['pricingCategory'],
|
|
68
|
+
'rating': json['rating'] == null ? undefined : json['rating'],
|
|
69
|
+
'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
|
|
70
|
+
'isFeatured': json['isFeatured'] == null ? undefined : json['isFeatured'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function ApiOverviewDtoToJSON(value) {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'id': value['id'],
|
|
79
|
+
'serviceId': value['serviceId'],
|
|
80
|
+
'name': value['name'],
|
|
81
|
+
'provider': value['provider'],
|
|
82
|
+
'type': value['type'],
|
|
83
|
+
'lifecycle': value['lifecycle'],
|
|
84
|
+
'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(TaxonomyElement_1.TaxonomyElementToJSON)),
|
|
85
|
+
'pricingCategory': value['pricingCategory'],
|
|
86
|
+
'rating': value['rating'],
|
|
87
|
+
'logoUrl': value['logoUrl'],
|
|
88
|
+
'isFeatured': value['isFeatured'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 ApplicationDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ApplicationDto {
|
|
18
|
+
/**
|
|
19
|
+
* The access permission role for this entity of the current user
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApplicationDto
|
|
22
|
+
*/
|
|
23
|
+
readonly currentUserPermission?: ApplicationDtoCurrentUserPermissionEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApplicationDto
|
|
28
|
+
*/
|
|
29
|
+
id?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApplicationDto
|
|
34
|
+
*/
|
|
35
|
+
name?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ApplicationDto
|
|
40
|
+
*/
|
|
41
|
+
subscriptionCount?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ApplicationDto
|
|
46
|
+
*/
|
|
47
|
+
createdAt?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const ApplicationDtoCurrentUserPermissionEnum: {
|
|
53
|
+
readonly Viewer: "VIEWER";
|
|
54
|
+
readonly Maintainer: "MAINTAINER";
|
|
55
|
+
readonly Owner: "OWNER";
|
|
56
|
+
};
|
|
57
|
+
export type ApplicationDtoCurrentUserPermissionEnum = typeof ApplicationDtoCurrentUserPermissionEnum[keyof typeof ApplicationDtoCurrentUserPermissionEnum];
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the ApplicationDto interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfApplicationDto(value: object): value is ApplicationDto;
|
|
62
|
+
export declare function ApplicationDtoFromJSON(json: any): ApplicationDto;
|
|
63
|
+
export declare function ApplicationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationDto;
|
|
64
|
+
export declare function ApplicationDtoToJSON(value?: Omit<ApplicationDto, 'currentUserPermission'> | null): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.ApplicationDtoCurrentUserPermissionEnum = void 0;
|
|
17
|
+
exports.instanceOfApplicationDto = instanceOfApplicationDto;
|
|
18
|
+
exports.ApplicationDtoFromJSON = ApplicationDtoFromJSON;
|
|
19
|
+
exports.ApplicationDtoFromJSONTyped = ApplicationDtoFromJSONTyped;
|
|
20
|
+
exports.ApplicationDtoToJSON = ApplicationDtoToJSON;
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
exports.ApplicationDtoCurrentUserPermissionEnum = {
|
|
25
|
+
Viewer: 'VIEWER',
|
|
26
|
+
Maintainer: 'MAINTAINER',
|
|
27
|
+
Owner: 'OWNER'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the ApplicationDto interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfApplicationDto(value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ApplicationDtoFromJSON(json) {
|
|
36
|
+
return ApplicationDtoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ApplicationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'currentUserPermission': json['currentUserPermission'] == null ? undefined : json['currentUserPermission'],
|
|
44
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
45
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
46
|
+
'subscriptionCount': json['subscriptionCount'] == null ? undefined : json['subscriptionCount'],
|
|
47
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function ApplicationDtoToJSON(value) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'subscriptionCount': value['subscriptionCount'],
|
|
58
|
+
'createdAt': value['createdAt'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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 { ValidationResult } from './ValidationResult';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BuildJobDto
|
|
17
|
+
*/
|
|
18
|
+
export interface BuildJobDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BuildJobDto
|
|
23
|
+
*/
|
|
24
|
+
status?: BuildJobDtoStatusEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BuildJobDto
|
|
29
|
+
*/
|
|
30
|
+
step?: BuildJobDtoStepEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BuildJobDto
|
|
35
|
+
*/
|
|
36
|
+
createdAt?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof BuildJobDto
|
|
41
|
+
*/
|
|
42
|
+
finishedAt?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {ValidationResult}
|
|
46
|
+
* @memberof BuildJobDto
|
|
47
|
+
*/
|
|
48
|
+
validationResult?: ValidationResult;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
*/
|
|
53
|
+
export declare const BuildJobDtoStatusEnum: {
|
|
54
|
+
readonly Working: "WORKING";
|
|
55
|
+
readonly Success: "SUCCESS";
|
|
56
|
+
readonly Failure: "FAILURE";
|
|
57
|
+
};
|
|
58
|
+
export type BuildJobDtoStatusEnum = typeof BuildJobDtoStatusEnum[keyof typeof BuildJobDtoStatusEnum];
|
|
59
|
+
/**
|
|
60
|
+
* @export
|
|
61
|
+
*/
|
|
62
|
+
export declare const BuildJobDtoStepEnum: {
|
|
63
|
+
readonly Init: "INIT";
|
|
64
|
+
readonly BuildImage: "BUILD_IMAGE";
|
|
65
|
+
readonly PushImage: "PUSH_IMAGE";
|
|
66
|
+
readonly Unknown: "UNKNOWN";
|
|
67
|
+
};
|
|
68
|
+
export type BuildJobDtoStepEnum = typeof BuildJobDtoStepEnum[keyof typeof BuildJobDtoStepEnum];
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the BuildJobDto interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfBuildJobDto(value: object): value is BuildJobDto;
|
|
73
|
+
export declare function BuildJobDtoFromJSON(json: any): BuildJobDto;
|
|
74
|
+
export declare function BuildJobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuildJobDto;
|
|
75
|
+
export declare function BuildJobDtoToJSON(value?: BuildJobDto | 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.BuildJobDtoStepEnum = exports.BuildJobDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfBuildJobDto = instanceOfBuildJobDto;
|
|
18
|
+
exports.BuildJobDtoFromJSON = BuildJobDtoFromJSON;
|
|
19
|
+
exports.BuildJobDtoFromJSONTyped = BuildJobDtoFromJSONTyped;
|
|
20
|
+
exports.BuildJobDtoToJSON = BuildJobDtoToJSON;
|
|
21
|
+
const ValidationResult_1 = require("./ValidationResult");
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.BuildJobDtoStatusEnum = {
|
|
26
|
+
Working: 'WORKING',
|
|
27
|
+
Success: 'SUCCESS',
|
|
28
|
+
Failure: 'FAILURE'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.BuildJobDtoStepEnum = {
|
|
34
|
+
Init: 'INIT',
|
|
35
|
+
BuildImage: 'BUILD_IMAGE',
|
|
36
|
+
PushImage: 'PUSH_IMAGE',
|
|
37
|
+
Unknown: 'UNKNOWN'
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the BuildJobDto interface.
|
|
41
|
+
*/
|
|
42
|
+
function instanceOfBuildJobDto(value) {
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function BuildJobDtoFromJSON(json) {
|
|
46
|
+
return BuildJobDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function BuildJobDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
54
|
+
'step': json['step'] == null ? undefined : json['step'],
|
|
55
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
56
|
+
'finishedAt': json['finishedAt'] == null ? undefined : json['finishedAt'],
|
|
57
|
+
'validationResult': json['validationResult'] == null ? undefined : (0, ValidationResult_1.ValidationResultFromJSON)(json['validationResult']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function BuildJobDtoToJSON(value) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'status': value['status'],
|
|
66
|
+
'step': value['step'],
|
|
67
|
+
'createdAt': value['createdAt'],
|
|
68
|
+
'finishedAt': value['finishedAt'],
|
|
69
|
+
'validationResult': (0, ValidationResult_1.ValidationResultToJSON)(value['validationResult']),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { ResourceConfiguration } from './ResourceConfiguration';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CpuConfiguration
|
|
17
|
+
*/
|
|
18
|
+
export interface CpuConfiguration extends ResourceConfiguration {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof CpuConfiguration
|
|
23
|
+
*/
|
|
24
|
+
amount?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CpuConfiguration
|
|
29
|
+
*/
|
|
30
|
+
unit?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the CpuConfiguration interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfCpuConfiguration(value: object): value is CpuConfiguration;
|
|
36
|
+
export declare function CpuConfigurationFromJSON(json: any): CpuConfiguration;
|
|
37
|
+
export declare function CpuConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): CpuConfiguration;
|
|
38
|
+
export declare function CpuConfigurationToJSON(value?: CpuConfiguration | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.instanceOfCpuConfiguration = instanceOfCpuConfiguration;
|
|
17
|
+
exports.CpuConfigurationFromJSON = CpuConfigurationFromJSON;
|
|
18
|
+
exports.CpuConfigurationFromJSONTyped = CpuConfigurationFromJSONTyped;
|
|
19
|
+
exports.CpuConfigurationToJSON = CpuConfigurationToJSON;
|
|
20
|
+
const ResourceConfiguration_1 = require("./ResourceConfiguration");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CpuConfiguration interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCpuConfiguration(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function CpuConfigurationFromJSON(json) {
|
|
28
|
+
return CpuConfigurationFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function CpuConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
...(0, ResourceConfiguration_1.ResourceConfigurationFromJSONTyped)(json, ignoreDiscriminator),
|
|
36
|
+
'amount': json['amount'] == null ? undefined : json['amount'],
|
|
37
|
+
'unit': json['unit'] == null ? undefined : json['unit'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function CpuConfigurationToJSON(value) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
...(0, ResourceConfiguration_1.ResourceConfigurationToJSON)(value),
|
|
46
|
+
'amount': value['amount'],
|
|
47
|
+
'unit': value['unit'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 CreateApplicationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateApplicationRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateApplicationRequest
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateApplicationRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateApplicationRequest(value: object): value is CreateApplicationRequest;
|
|
29
|
+
export declare function CreateApplicationRequestFromJSON(json: any): CreateApplicationRequest;
|
|
30
|
+
export declare function CreateApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateApplicationRequest;
|
|
31
|
+
export declare function CreateApplicationRequestToJSON(value?: CreateApplicationRequest | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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.instanceOfCreateApplicationRequest = instanceOfCreateApplicationRequest;
|
|
17
|
+
exports.CreateApplicationRequestFromJSON = CreateApplicationRequestFromJSON;
|
|
18
|
+
exports.CreateApplicationRequestFromJSONTyped = CreateApplicationRequestFromJSONTyped;
|
|
19
|
+
exports.CreateApplicationRequestToJSON = CreateApplicationRequestToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the CreateApplicationRequest interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfCreateApplicationRequest(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function CreateApplicationRequestFromJSON(json) {
|
|
27
|
+
return CreateApplicationRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function CreateApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function CreateApplicationRequestToJSON(value) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'name': value['name'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 CreateDataPoolRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateDataPoolRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateDataPoolRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateDataPoolRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateDataPoolRequest(value: object): value is CreateDataPoolRequest;
|
|
29
|
+
export declare function CreateDataPoolRequestFromJSON(json: any): CreateDataPoolRequest;
|
|
30
|
+
export declare function CreateDataPoolRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateDataPoolRequest;
|
|
31
|
+
export declare function CreateDataPoolRequestToJSON(value?: CreateDataPoolRequest | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
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.instanceOfCreateDataPoolRequest = instanceOfCreateDataPoolRequest;
|
|
17
|
+
exports.CreateDataPoolRequestFromJSON = CreateDataPoolRequestFromJSON;
|
|
18
|
+
exports.CreateDataPoolRequestFromJSONTyped = CreateDataPoolRequestFromJSONTyped;
|
|
19
|
+
exports.CreateDataPoolRequestToJSON = CreateDataPoolRequestToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the CreateDataPoolRequest interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfCreateDataPoolRequest(value) {
|
|
24
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function CreateDataPoolRequestFromJSON(json) {
|
|
29
|
+
return CreateDataPoolRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function CreateDataPoolRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'name': json['name'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function CreateDataPoolRequestToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'name': value['name'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { CreateProductRequest } from './CreateProductRequest';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateExternalServicePricingPlanRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateExternalServicePricingPlanRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateExternalServicePricingPlanRequest
|
|
23
|
+
*/
|
|
24
|
+
type: CreateExternalServicePricingPlanRequestTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<CreateProductRequest>}
|
|
28
|
+
* @memberof CreateExternalServicePricingPlanRequest
|
|
29
|
+
*/
|
|
30
|
+
products?: Array<CreateProductRequest>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const CreateExternalServicePricingPlanRequestTypeEnum: {
|
|
36
|
+
readonly Free: "FREE";
|
|
37
|
+
readonly Commercial: "COMMERCIAL";
|
|
38
|
+
};
|
|
39
|
+
export type CreateExternalServicePricingPlanRequestTypeEnum = typeof CreateExternalServicePricingPlanRequestTypeEnum[keyof typeof CreateExternalServicePricingPlanRequestTypeEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the CreateExternalServicePricingPlanRequest interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfCreateExternalServicePricingPlanRequest(value: object): value is CreateExternalServicePricingPlanRequest;
|
|
44
|
+
export declare function CreateExternalServicePricingPlanRequestFromJSON(json: any): CreateExternalServicePricingPlanRequest;
|
|
45
|
+
export declare function CreateExternalServicePricingPlanRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateExternalServicePricingPlanRequest;
|
|
46
|
+
export declare function CreateExternalServicePricingPlanRequestToJSON(value?: CreateExternalServicePricingPlanRequest | null): any;
|