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