@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,34 @@
|
|
|
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.instanceOfFileSource = instanceOfFileSource;
|
|
17
|
+
exports.FileSourceFromJSON = FileSourceFromJSON;
|
|
18
|
+
exports.FileSourceFromJSONTyped = FileSourceFromJSONTyped;
|
|
19
|
+
exports.FileSourceToJSON = FileSourceToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the FileSource interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfFileSource(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function FileSourceFromJSON(json) {
|
|
27
|
+
return FileSourceFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function FileSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
function FileSourceToJSON(value) {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
@@ -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
|
+
import type { ResourceConfiguration } from './ResourceConfiguration';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GpuConfiguration
|
|
17
|
+
*/
|
|
18
|
+
export interface GpuConfiguration extends ResourceConfiguration {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof GpuConfiguration
|
|
23
|
+
*/
|
|
24
|
+
amount?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GpuConfiguration
|
|
29
|
+
*/
|
|
30
|
+
accelerator?: GpuConfigurationAcceleratorEnum;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const GpuConfigurationAcceleratorEnum: {
|
|
36
|
+
readonly NvidiaTeslaT4: "NVIDIA_TESLA_T4";
|
|
37
|
+
readonly NvidiaTeslaV100: "NVIDIA_TESLA_V100";
|
|
38
|
+
readonly NvidiaTeslaA100: "NVIDIA_TESLA_A100";
|
|
39
|
+
readonly NvidiaTeslaP100: "NVIDIA_TESLA_P100";
|
|
40
|
+
readonly None: "NONE";
|
|
41
|
+
};
|
|
42
|
+
export type GpuConfigurationAcceleratorEnum = typeof GpuConfigurationAcceleratorEnum[keyof typeof GpuConfigurationAcceleratorEnum];
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GpuConfiguration interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGpuConfiguration(value: object): value is GpuConfiguration;
|
|
47
|
+
export declare function GpuConfigurationFromJSON(json: any): GpuConfiguration;
|
|
48
|
+
export declare function GpuConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): GpuConfiguration;
|
|
49
|
+
export declare function GpuConfigurationToJSON(value?: GpuConfiguration | 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.GpuConfigurationAcceleratorEnum = void 0;
|
|
17
|
+
exports.instanceOfGpuConfiguration = instanceOfGpuConfiguration;
|
|
18
|
+
exports.GpuConfigurationFromJSON = GpuConfigurationFromJSON;
|
|
19
|
+
exports.GpuConfigurationFromJSONTyped = GpuConfigurationFromJSONTyped;
|
|
20
|
+
exports.GpuConfigurationToJSON = GpuConfigurationToJSON;
|
|
21
|
+
const ResourceConfiguration_1 = require("./ResourceConfiguration");
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GpuConfigurationAcceleratorEnum = {
|
|
26
|
+
NvidiaTeslaT4: 'NVIDIA_TESLA_T4',
|
|
27
|
+
NvidiaTeslaV100: 'NVIDIA_TESLA_V100',
|
|
28
|
+
NvidiaTeslaA100: 'NVIDIA_TESLA_A100',
|
|
29
|
+
NvidiaTeslaP100: 'NVIDIA_TESLA_P100',
|
|
30
|
+
None: 'NONE'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the GpuConfiguration interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfGpuConfiguration(value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function GpuConfigurationFromJSON(json) {
|
|
39
|
+
return GpuConfigurationFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function GpuConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
...(0, ResourceConfiguration_1.ResourceConfigurationFromJSONTyped)(json, ignoreDiscriminator),
|
|
47
|
+
'amount': json['amount'] == null ? undefined : json['amount'],
|
|
48
|
+
'accelerator': json['accelerator'] == null ? undefined : json['accelerator'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function GpuConfigurationToJSON(value) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
...(0, ResourceConfiguration_1.ResourceConfigurationToJSON)(value),
|
|
57
|
+
'amount': value['amount'],
|
|
58
|
+
'accelerator': value['accelerator'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
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 { ServiceDefinitionOverviewDto } from './ServiceDefinitionOverviewDto';
|
|
13
|
+
import type { DataPoolRef } from './DataPoolRef';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface JobDto
|
|
18
|
+
*/
|
|
19
|
+
export interface JobDto {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof JobDto
|
|
24
|
+
*/
|
|
25
|
+
id?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof JobDto
|
|
30
|
+
*/
|
|
31
|
+
status?: JobDtoStatusEnum;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof JobDto
|
|
36
|
+
*/
|
|
37
|
+
inputData?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {DataPoolRef}
|
|
41
|
+
* @memberof JobDto
|
|
42
|
+
*/
|
|
43
|
+
inputDataRef?: DataPoolRef;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof JobDto
|
|
48
|
+
*/
|
|
49
|
+
parameters?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {DataPoolRef}
|
|
53
|
+
* @memberof JobDto
|
|
54
|
+
*/
|
|
55
|
+
parametersRef?: DataPoolRef;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof JobDto
|
|
60
|
+
*/
|
|
61
|
+
result?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof JobDto
|
|
66
|
+
*/
|
|
67
|
+
createdAt?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof JobDto
|
|
72
|
+
*/
|
|
73
|
+
startedAt?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof JobDto
|
|
78
|
+
*/
|
|
79
|
+
endedAt?: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {boolean}
|
|
83
|
+
* @memberof JobDto
|
|
84
|
+
*/
|
|
85
|
+
persistResult?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof JobDto
|
|
90
|
+
*/
|
|
91
|
+
resultDataPoolId?: string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {ServiceDefinitionOverviewDto}
|
|
95
|
+
* @memberof JobDto
|
|
96
|
+
*/
|
|
97
|
+
serviceDefinition?: ServiceDefinitionOverviewDto;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @export
|
|
101
|
+
*/
|
|
102
|
+
export declare const JobDtoStatusEnum: {
|
|
103
|
+
readonly Unknown: "UNKNOWN";
|
|
104
|
+
readonly Pending: "PENDING";
|
|
105
|
+
readonly Running: "RUNNING";
|
|
106
|
+
readonly Succeeded: "SUCCEEDED";
|
|
107
|
+
readonly Failed: "FAILED";
|
|
108
|
+
readonly Cancelled: "CANCELLED";
|
|
109
|
+
};
|
|
110
|
+
export type JobDtoStatusEnum = typeof JobDtoStatusEnum[keyof typeof JobDtoStatusEnum];
|
|
111
|
+
/**
|
|
112
|
+
* Check if a given object implements the JobDto interface.
|
|
113
|
+
*/
|
|
114
|
+
export declare function instanceOfJobDto(value: object): value is JobDto;
|
|
115
|
+
export declare function JobDtoFromJSON(json: any): JobDto;
|
|
116
|
+
export declare function JobDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobDto;
|
|
117
|
+
export declare function JobDtoToJSON(value?: JobDto | null): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
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.JobDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfJobDto = instanceOfJobDto;
|
|
18
|
+
exports.JobDtoFromJSON = JobDtoFromJSON;
|
|
19
|
+
exports.JobDtoFromJSONTyped = JobDtoFromJSONTyped;
|
|
20
|
+
exports.JobDtoToJSON = JobDtoToJSON;
|
|
21
|
+
const ServiceDefinitionOverviewDto_1 = require("./ServiceDefinitionOverviewDto");
|
|
22
|
+
const DataPoolRef_1 = require("./DataPoolRef");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.JobDtoStatusEnum = {
|
|
27
|
+
Unknown: 'UNKNOWN',
|
|
28
|
+
Pending: 'PENDING',
|
|
29
|
+
Running: 'RUNNING',
|
|
30
|
+
Succeeded: 'SUCCEEDED',
|
|
31
|
+
Failed: 'FAILED',
|
|
32
|
+
Cancelled: 'CANCELLED'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the JobDto interface.
|
|
36
|
+
*/
|
|
37
|
+
function instanceOfJobDto(value) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function JobDtoFromJSON(json) {
|
|
41
|
+
return JobDtoFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function JobDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
49
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
50
|
+
'inputData': json['inputData'] == null ? undefined : json['inputData'],
|
|
51
|
+
'inputDataRef': json['inputDataRef'] == null ? undefined : (0, DataPoolRef_1.DataPoolRefFromJSON)(json['inputDataRef']),
|
|
52
|
+
'parameters': json['parameters'] == null ? undefined : json['parameters'],
|
|
53
|
+
'parametersRef': json['parametersRef'] == null ? undefined : (0, DataPoolRef_1.DataPoolRefFromJSON)(json['parametersRef']),
|
|
54
|
+
'result': json['result'] == null ? undefined : json['result'],
|
|
55
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
56
|
+
'startedAt': json['startedAt'] == null ? undefined : json['startedAt'],
|
|
57
|
+
'endedAt': json['endedAt'] == null ? undefined : json['endedAt'],
|
|
58
|
+
'persistResult': json['persistResult'] == null ? undefined : json['persistResult'],
|
|
59
|
+
'resultDataPoolId': json['resultDataPoolId'] == null ? undefined : json['resultDataPoolId'],
|
|
60
|
+
'serviceDefinition': json['serviceDefinition'] == null ? undefined : (0, ServiceDefinitionOverviewDto_1.ServiceDefinitionOverviewDtoFromJSON)(json['serviceDefinition']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function JobDtoToJSON(value) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'id': value['id'],
|
|
69
|
+
'status': value['status'],
|
|
70
|
+
'inputData': value['inputData'],
|
|
71
|
+
'inputDataRef': (0, DataPoolRef_1.DataPoolRefToJSON)(value['inputDataRef']),
|
|
72
|
+
'parameters': value['parameters'],
|
|
73
|
+
'parametersRef': (0, DataPoolRef_1.DataPoolRefToJSON)(value['parametersRef']),
|
|
74
|
+
'result': value['result'],
|
|
75
|
+
'createdAt': value['createdAt'],
|
|
76
|
+
'startedAt': value['startedAt'],
|
|
77
|
+
'endedAt': value['endedAt'],
|
|
78
|
+
'persistResult': value['persistResult'],
|
|
79
|
+
'resultDataPoolId': value['resultDataPoolId'],
|
|
80
|
+
'serviceDefinition': (0, ServiceDefinitionOverviewDto_1.ServiceDefinitionOverviewDtoToJSON)(value['serviceDefinition']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 { ServiceDefinitionOverviewDto } from './ServiceDefinitionOverviewDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface JobOverviewDto
|
|
17
|
+
*/
|
|
18
|
+
export interface JobOverviewDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof JobOverviewDto
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof JobOverviewDto
|
|
29
|
+
*/
|
|
30
|
+
status?: JobOverviewDtoStatusEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof JobOverviewDto
|
|
35
|
+
*/
|
|
36
|
+
createdAt?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof JobOverviewDto
|
|
41
|
+
*/
|
|
42
|
+
startedAt?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof JobOverviewDto
|
|
47
|
+
*/
|
|
48
|
+
endedAt?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {ServiceDefinitionOverviewDto}
|
|
52
|
+
* @memberof JobOverviewDto
|
|
53
|
+
*/
|
|
54
|
+
serviceDefinition?: ServiceDefinitionOverviewDto;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export declare const JobOverviewDtoStatusEnum: {
|
|
60
|
+
readonly Unknown: "UNKNOWN";
|
|
61
|
+
readonly Pending: "PENDING";
|
|
62
|
+
readonly Running: "RUNNING";
|
|
63
|
+
readonly Succeeded: "SUCCEEDED";
|
|
64
|
+
readonly Failed: "FAILED";
|
|
65
|
+
readonly Cancelled: "CANCELLED";
|
|
66
|
+
};
|
|
67
|
+
export type JobOverviewDtoStatusEnum = typeof JobOverviewDtoStatusEnum[keyof typeof JobOverviewDtoStatusEnum];
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the JobOverviewDto interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfJobOverviewDto(value: object): value is JobOverviewDto;
|
|
72
|
+
export declare function JobOverviewDtoFromJSON(json: any): JobOverviewDto;
|
|
73
|
+
export declare function JobOverviewDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobOverviewDto;
|
|
74
|
+
export declare function JobOverviewDtoToJSON(value?: JobOverviewDto | null): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.JobOverviewDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfJobOverviewDto = instanceOfJobOverviewDto;
|
|
18
|
+
exports.JobOverviewDtoFromJSON = JobOverviewDtoFromJSON;
|
|
19
|
+
exports.JobOverviewDtoFromJSONTyped = JobOverviewDtoFromJSONTyped;
|
|
20
|
+
exports.JobOverviewDtoToJSON = JobOverviewDtoToJSON;
|
|
21
|
+
const ServiceDefinitionOverviewDto_1 = require("./ServiceDefinitionOverviewDto");
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.JobOverviewDtoStatusEnum = {
|
|
26
|
+
Unknown: 'UNKNOWN',
|
|
27
|
+
Pending: 'PENDING',
|
|
28
|
+
Running: 'RUNNING',
|
|
29
|
+
Succeeded: 'SUCCEEDED',
|
|
30
|
+
Failed: 'FAILED',
|
|
31
|
+
Cancelled: 'CANCELLED'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the JobOverviewDto interface.
|
|
35
|
+
*/
|
|
36
|
+
function instanceOfJobOverviewDto(value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function JobOverviewDtoFromJSON(json) {
|
|
40
|
+
return JobOverviewDtoFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function JobOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
48
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
49
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
50
|
+
'startedAt': json['startedAt'] == null ? undefined : json['startedAt'],
|
|
51
|
+
'endedAt': json['endedAt'] == null ? undefined : json['endedAt'],
|
|
52
|
+
'serviceDefinition': json['serviceDefinition'] == null ? undefined : (0, ServiceDefinitionOverviewDto_1.ServiceDefinitionOverviewDtoFromJSON)(json['serviceDefinition']),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function JobOverviewDtoToJSON(value) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'id': value['id'],
|
|
61
|
+
'status': value['status'],
|
|
62
|
+
'createdAt': value['createdAt'],
|
|
63
|
+
'startedAt': value['startedAt'],
|
|
64
|
+
'endedAt': value['endedAt'],
|
|
65
|
+
'serviceDefinition': (0, ServiceDefinitionOverviewDto_1.ServiceDefinitionOverviewDtoToJSON)(value['serviceDefinition']),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -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 MemoryConfiguration
|
|
17
|
+
*/
|
|
18
|
+
export interface MemoryConfiguration extends ResourceConfiguration {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof MemoryConfiguration
|
|
23
|
+
*/
|
|
24
|
+
amount?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof MemoryConfiguration
|
|
29
|
+
*/
|
|
30
|
+
unit?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the MemoryConfiguration interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfMemoryConfiguration(value: object): value is MemoryConfiguration;
|
|
36
|
+
export declare function MemoryConfigurationFromJSON(json: any): MemoryConfiguration;
|
|
37
|
+
export declare function MemoryConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): MemoryConfiguration;
|
|
38
|
+
export declare function MemoryConfigurationToJSON(value?: MemoryConfiguration | 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.instanceOfMemoryConfiguration = instanceOfMemoryConfiguration;
|
|
17
|
+
exports.MemoryConfigurationFromJSON = MemoryConfigurationFromJSON;
|
|
18
|
+
exports.MemoryConfigurationFromJSONTyped = MemoryConfigurationFromJSONTyped;
|
|
19
|
+
exports.MemoryConfigurationToJSON = MemoryConfigurationToJSON;
|
|
20
|
+
const ResourceConfiguration_1 = require("./ResourceConfiguration");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MemoryConfiguration interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMemoryConfiguration(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function MemoryConfigurationFromJSON(json) {
|
|
28
|
+
return MemoryConfigurationFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function MemoryConfigurationFromJSONTyped(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 MemoryConfigurationToJSON(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,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 MeteringRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface MeteringRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MeteringRequest
|
|
22
|
+
*/
|
|
23
|
+
correlationId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MeteringRequest
|
|
28
|
+
*/
|
|
29
|
+
productId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof MeteringRequest
|
|
34
|
+
*/
|
|
35
|
+
count?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the MeteringRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfMeteringRequest(value: object): value is MeteringRequest;
|
|
41
|
+
export declare function MeteringRequestFromJSON(json: any): MeteringRequest;
|
|
42
|
+
export declare function MeteringRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MeteringRequest;
|
|
43
|
+
export declare function MeteringRequestToJSON(value?: MeteringRequest | 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.instanceOfMeteringRequest = instanceOfMeteringRequest;
|
|
17
|
+
exports.MeteringRequestFromJSON = MeteringRequestFromJSON;
|
|
18
|
+
exports.MeteringRequestFromJSONTyped = MeteringRequestFromJSONTyped;
|
|
19
|
+
exports.MeteringRequestToJSON = MeteringRequestToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the MeteringRequest interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfMeteringRequest(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function MeteringRequestFromJSON(json) {
|
|
27
|
+
return MeteringRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function MeteringRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'correlationId': json['correlationId'] == null ? undefined : json['correlationId'],
|
|
35
|
+
'productId': json['productId'] == null ? undefined : json['productId'],
|
|
36
|
+
'count': json['count'] == null ? undefined : json['count'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function MeteringRequestToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'correlationId': value['correlationId'],
|
|
45
|
+
'productId': value['productId'],
|
|
46
|
+
'count': value['count'],
|
|
47
|
+
};
|
|
48
|
+
}
|