@quantum-hub/qhubctl 1.1.1 → 1.1.3
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/README.md +1 -1
- package/bin/dev.js +3 -1
- package/bin/run.js +1 -1
- package/dist/client/kqh/apis/ServicePlatformApplicationsApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformApplicationsApi.js +9 -46
- package/dist/client/kqh/apis/ServicePlatformDashboardApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformDashboardApi.js +5 -42
- package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.js +11 -48
- package/dist/client/kqh/apis/ServicePlatformJobsApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformJobsApi.js +9 -46
- package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.js +5 -42
- package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.js +5 -42
- package/dist/client/kqh/apis/ServicePlatformServicesApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformServicesApi.js +34 -71
- package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.d.ts +2 -2
- package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.js +7 -44
- package/dist/client/kqh/apis/TaxonomiesApi.d.ts +2 -2
- package/dist/client/kqh/apis/TaxonomiesApi.js +12 -49
- package/dist/client/kqh/apis/index.d.ts +9 -9
- package/dist/client/kqh/apis/index.js +9 -25
- package/dist/client/kqh/index.d.ts +3 -3
- package/dist/client/kqh/index.js +3 -19
- package/dist/client/kqh/models/AccessTokenDto.js +5 -12
- package/dist/client/kqh/models/AmountMajorDto.js +4 -10
- package/dist/client/kqh/models/ApiDto.d.ts +2 -2
- package/dist/client/kqh/models/ApiDto.js +13 -20
- package/dist/client/kqh/models/ApiOverviewDto.d.ts +1 -1
- package/dist/client/kqh/models/ApiOverviewDto.js +10 -17
- package/dist/client/kqh/models/ApplicationDto.js +5 -12
- package/dist/client/kqh/models/BuildJobDto.d.ts +1 -1
- package/dist/client/kqh/models/BuildJobDto.js +9 -16
- package/dist/client/kqh/models/CpuConfiguration.d.ts +1 -1
- package/dist/client/kqh/models/CpuConfiguration.js +7 -13
- package/dist/client/kqh/models/CreateApplicationRequest.js +4 -10
- package/dist/client/kqh/models/CreateDataPoolRequest.js +4 -10
- package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.d.ts +1 -1
- package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.js +8 -15
- package/dist/client/kqh/models/CreateJobRequest.d.ts +1 -1
- package/dist/client/kqh/models/CreateJobRequest.js +9 -15
- package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.js +6 -13
- package/dist/client/kqh/models/CreateProductRequest.js +4 -10
- package/dist/client/kqh/models/CreateSubscriptionRequest.js +4 -10
- package/dist/client/kqh/models/CreateWorkflowServiceRequest.js +4 -10
- package/dist/client/kqh/models/DataPoolDto.d.ts +3 -3
- package/dist/client/kqh/models/DataPoolDto.js +21 -28
- package/dist/client/kqh/models/DataPoolRef.js +4 -10
- package/dist/client/kqh/models/DataSourceDescriptorDto.d.ts +1 -1
- package/dist/client/kqh/models/DataSourceDescriptorDto.js +8 -15
- package/dist/client/kqh/models/FileDto.js +4 -10
- package/dist/client/kqh/models/FileSource.d.ts +1 -1
- package/dist/client/kqh/models/FileSource.js +4 -10
- package/dist/client/kqh/models/GpuConfiguration.d.ts +1 -1
- package/dist/client/kqh/models/GpuConfiguration.js +8 -15
- package/dist/client/kqh/models/JobDto.d.ts +2 -2
- package/dist/client/kqh/models/JobDto.js +13 -20
- package/dist/client/kqh/models/JobOverviewDto.d.ts +1 -1
- package/dist/client/kqh/models/JobOverviewDto.js +8 -15
- package/dist/client/kqh/models/MemoryConfiguration.d.ts +1 -1
- package/dist/client/kqh/models/MemoryConfiguration.js +7 -13
- package/dist/client/kqh/models/MeteringRequest.js +4 -10
- package/dist/client/kqh/models/MeteringResponse.js +4 -10
- package/dist/client/kqh/models/MonthAmountDto.d.ts +2 -2
- package/dist/client/kqh/models/MonthAmountDto.js +10 -16
- package/dist/client/kqh/models/OwnerDto.js +4 -10
- package/dist/client/kqh/models/PageDataPoolDto.d.ts +3 -3
- package/dist/client/kqh/models/PageDataPoolDto.js +13 -19
- package/dist/client/kqh/models/PageableObject.d.ts +1 -1
- package/dist/client/kqh/models/PageableObject.js +7 -13
- package/dist/client/kqh/models/PricingPlanDto.d.ts +1 -1
- package/dist/client/kqh/models/PricingPlanDto.js +8 -15
- package/dist/client/kqh/models/ProductAmountDto.d.ts +1 -1
- package/dist/client/kqh/models/ProductAmountDto.js +7 -13
- package/dist/client/kqh/models/ProductDto.js +5 -12
- package/dist/client/kqh/models/ProductGroupDto.d.ts +2 -2
- package/dist/client/kqh/models/ProductGroupDto.js +10 -16
- package/dist/client/kqh/models/ProductUsageDto.js +4 -10
- package/dist/client/kqh/models/RegistrySource.d.ts +1 -1
- package/dist/client/kqh/models/RegistrySource.js +7 -13
- package/dist/client/kqh/models/RepositorySource.d.ts +1 -1
- package/dist/client/kqh/models/RepositorySource.js +7 -13
- package/dist/client/kqh/models/ResourceConfiguration.js +10 -16
- package/dist/client/kqh/models/ReviewDto.js +5 -12
- package/dist/client/kqh/models/RuntimeConfiguration.js +5 -12
- package/dist/client/kqh/models/ServiceDefinitionCommand.js +5 -12
- package/dist/client/kqh/models/ServiceDefinitionDto.d.ts +5 -5
- package/dist/client/kqh/models/ServiceDefinitionDto.js +21 -28
- package/dist/client/kqh/models/ServiceDefinitionDtoSource.d.ts +3 -3
- package/dist/client/kqh/models/ServiceDefinitionDtoSource.js +18 -23
- package/dist/client/kqh/models/ServiceDefinitionOverviewDto.js +6 -13
- package/dist/client/kqh/models/ServiceDto.d.ts +1 -1
- package/dist/client/kqh/models/ServiceDto.js +8 -15
- package/dist/client/kqh/models/ServiceExecutionConsumerDto.js +5 -12
- package/dist/client/kqh/models/ServiceExecutionDto.js +4 -10
- package/dist/client/kqh/models/ServiceOverviewDto.js +8 -15
- package/dist/client/kqh/models/ServiceSource.js +10 -16
- package/dist/client/kqh/models/SortObject.js +4 -10
- package/dist/client/kqh/models/SubscriptionDto.d.ts +3 -3
- package/dist/client/kqh/models/SubscriptionDto.js +13 -19
- package/dist/client/kqh/models/TaxonomyElement.js +4 -10
- package/dist/client/kqh/models/UpdateDataPoolRequest.js +4 -10
- package/dist/client/kqh/models/UpdateResourceConfigurationRequest.d.ts +3 -3
- package/dist/client/kqh/models/UpdateResourceConfigurationRequest.js +18 -23
- package/dist/client/kqh/models/UpdateVersionRequest.d.ts +1 -1
- package/dist/client/kqh/models/UpdateVersionRequest.js +7 -13
- package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +4 -10
- package/dist/client/kqh/models/ValidationResult.js +5 -12
- package/dist/client/kqh/models/index.d.ts +57 -57
- package/dist/client/kqh/models/index.js +57 -73
- package/dist/client/kqh/runtime.js +17 -32
- package/dist/client/users/apis/AuthenticationApi.d.ts +2 -2
- package/dist/client/users/apis/AuthenticationApi.js +4 -41
- package/dist/client/users/apis/ExpertsApi.d.ts +2 -2
- package/dist/client/users/apis/ExpertsApi.js +5 -42
- package/dist/client/users/apis/SearchApi.d.ts +2 -2
- package/dist/client/users/apis/SearchApi.js +5 -42
- package/dist/client/users/apis/UserSettingsApi.d.ts +2 -2
- package/dist/client/users/apis/UserSettingsApi.js +11 -48
- package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.d.ts +2 -2
- package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.js +7 -44
- package/dist/client/users/apis/UsersApi.d.ts +2 -2
- package/dist/client/users/apis/UsersApi.js +4 -41
- package/dist/client/users/apis/index.d.ts +6 -6
- package/dist/client/users/apis/index.js +6 -22
- package/dist/client/users/index.d.ts +3 -3
- package/dist/client/users/index.js +3 -19
- package/dist/client/users/models/AccessTokenCreateRequest.js +5 -12
- package/dist/client/users/models/AccessTokenDto.js +5 -12
- package/dist/client/users/models/AccessTokensResponse.d.ts +1 -1
- package/dist/client/users/models/AccessTokensResponse.js +7 -13
- package/dist/client/users/models/DefaultAccessTokenResponse.js +4 -10
- package/dist/client/users/models/Language.js +4 -10
- package/dist/client/users/models/PageUserDto.d.ts +3 -3
- package/dist/client/users/models/PageUserDto.js +13 -19
- package/dist/client/users/models/Pageable.js +4 -10
- package/dist/client/users/models/PageableObject.d.ts +1 -1
- package/dist/client/users/models/PageableObject.js +7 -13
- package/dist/client/users/models/PersonalAccessTokenPrincipal.d.ts +1 -1
- package/dist/client/users/models/PersonalAccessTokenPrincipal.js +7 -13
- package/dist/client/users/models/Skill.js +4 -10
- package/dist/client/users/models/SortObject.js +4 -10
- package/dist/client/users/models/UpdateUserRequest.js +4 -10
- package/dist/client/users/models/UserDto.d.ts +2 -2
- package/dist/client/users/models/UserDto.js +10 -16
- package/dist/client/users/models/UserOverviewDto.js +4 -10
- package/dist/client/users/models/index.d.ts +14 -14
- package/dist/client/users/models/index.js +14 -30
- package/dist/client/users/runtime.js +17 -32
- package/dist/commands/compress/index.d.ts +1 -1
- package/dist/commands/compress/index.js +13 -19
- package/dist/commands/datapool/upload.d.ts +4 -4
- package/dist/commands/datapool/upload.js +24 -30
- package/dist/commands/get-context/index.d.ts +1 -1
- package/dist/commands/get-context/index.js +2 -5
- package/dist/commands/init/index.d.ts +3 -3
- package/dist/commands/init/index.js +30 -36
- package/dist/commands/list-contexts/index.d.ts +2 -2
- package/dist/commands/list-contexts/index.js +11 -17
- package/dist/commands/login/index.d.ts +3 -3
- package/dist/commands/login/index.js +16 -22
- package/dist/commands/logout/index.d.ts +1 -1
- package/dist/commands/logout/index.js +7 -10
- package/dist/commands/openapi/index.d.ts +7 -7
- package/dist/commands/openapi/index.js +81 -87
- package/dist/commands/run/index.d.ts +6 -6
- package/dist/commands/run/index.js +43 -48
- package/dist/commands/serve/index.d.ts +3 -3
- package/dist/commands/serve/index.js +31 -37
- package/dist/commands/services/index.d.ts +5 -5
- package/dist/commands/services/index.js +17 -23
- package/dist/commands/set-context/index.d.ts +4 -4
- package/dist/commands/set-context/index.js +13 -19
- package/dist/commands/up/index.d.ts +5 -5
- package/dist/commands/up/index.js +51 -57
- package/dist/index.js +1 -4
- package/dist/lib/command.js +5 -10
- package/dist/lib/debug.js +1 -5
- package/dist/lib/entrypoint-resolver.js +3 -7
- package/dist/lib/error.js +8 -12
- package/dist/lib/fetch.js +4 -10
- package/dist/lib/init-user-input.d.ts +1 -1
- package/dist/lib/init-user-input.js +16 -20
- package/dist/lib/random-name.js +1 -5
- package/dist/lib/random-string.js +1 -5
- package/dist/lib/repository.js +9 -17
- package/dist/lib/stream-to-blob.d.ts +1 -1
- package/dist/lib/stream-to-blob.js +1 -5
- package/dist/lib/up/get-description.js +9 -15
- package/dist/lib/up/ignore.js +9 -15
- package/dist/lib/up/zip.js +18 -24
- package/dist/model/account.js +1 -2
- package/dist/model/command.d.ts +2 -2
- package/dist/model/command.js +11 -19
- package/dist/model/managed-service-config.js +4 -7
- package/dist/model/user-config.js +3 -6
- package/dist/service/auth-service.d.ts +3 -3
- package/dist/service/auth-service.js +8 -14
- package/dist/service/command-service.d.ts +2 -2
- package/dist/service/command-service.js +1 -5
- package/dist/service/quantum-hub-service.d.ts +10 -10
- package/dist/service/quantum-hub-service.js +21 -24
- package/dist/service/service-config-service.d.ts +1 -1
- package/dist/service/service-config-service.js +14 -21
- package/dist/service/user-config-service.d.ts +1 -1
- package/dist/service/user-config-service.js +14 -21
- package/dist/service/user-service.d.ts +2 -2
- package/dist/service/user-service.js +8 -11
- package/oclif.manifest.json +170 -170
- package/package.json +4 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,45 +11,40 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
exports.instanceOfCreateJobRequest = instanceOfCreateJobRequest;
|
|
17
|
-
exports.CreateJobRequestFromJSON = CreateJobRequestFromJSON;
|
|
18
|
-
exports.CreateJobRequestFromJSONTyped = CreateJobRequestFromJSONTyped;
|
|
19
|
-
exports.CreateJobRequestToJSON = CreateJobRequestToJSON;
|
|
20
|
-
const DataPoolRef_1 = require("./DataPoolRef");
|
|
14
|
+
import { DataPoolRefFromJSON, DataPoolRefToJSON, } from './DataPoolRef.js';
|
|
21
15
|
/**
|
|
22
16
|
* Check if a given object implements the CreateJobRequest interface.
|
|
23
17
|
*/
|
|
24
|
-
function instanceOfCreateJobRequest(value) {
|
|
18
|
+
export function instanceOfCreateJobRequest(value) {
|
|
25
19
|
if (!('serviceDefinitionId' in value) || value['serviceDefinitionId'] === undefined)
|
|
26
20
|
return false;
|
|
27
21
|
return true;
|
|
28
22
|
}
|
|
29
|
-
function CreateJobRequestFromJSON(json) {
|
|
23
|
+
export function CreateJobRequestFromJSON(json) {
|
|
30
24
|
return CreateJobRequestFromJSONTyped(json, false);
|
|
31
25
|
}
|
|
32
|
-
function CreateJobRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
export function CreateJobRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
27
|
if (json == null) {
|
|
34
28
|
return json;
|
|
35
29
|
}
|
|
36
30
|
return {
|
|
37
31
|
'inputData': json['inputData'] == null ? undefined : json['inputData'],
|
|
38
|
-
'inputDataRef': json['inputDataRef'] == null ? undefined :
|
|
32
|
+
'inputDataRef': json['inputDataRef'] == null ? undefined : DataPoolRefFromJSON(json['inputDataRef']),
|
|
39
33
|
'parameters': json['parameters'] == null ? undefined : json['parameters'],
|
|
40
|
-
'parametersRef': json['parametersRef'] == null ? undefined :
|
|
34
|
+
'parametersRef': json['parametersRef'] == null ? undefined : DataPoolRefFromJSON(json['parametersRef']),
|
|
41
35
|
'persistResult': json['persistResult'] == null ? undefined : json['persistResult'],
|
|
42
36
|
'serviceDefinitionId': json['serviceDefinitionId'],
|
|
43
37
|
};
|
|
44
38
|
}
|
|
45
|
-
function CreateJobRequestToJSON(value) {
|
|
39
|
+
export function CreateJobRequestToJSON(value) {
|
|
46
40
|
if (value == null) {
|
|
47
41
|
return value;
|
|
48
42
|
}
|
|
49
43
|
return {
|
|
50
44
|
'inputData': value['inputData'],
|
|
51
|
-
'inputDataRef':
|
|
45
|
+
'inputDataRef': DataPoolRefToJSON(value['inputDataRef']),
|
|
52
46
|
'parameters': value['parameters'],
|
|
53
|
-
'parametersRef':
|
|
47
|
+
'parametersRef': DataPoolRefToJSON(value['parametersRef']),
|
|
54
48
|
'persistResult': value['persistResult'],
|
|
55
49
|
'serviceDefinitionId': value['serviceDefinitionId'],
|
|
56
50
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,23 +11,17 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateManagedServicePricingPlanRequestChargedProductsEnum = exports.CreateManagedServicePricingPlanRequestTypeEnum = void 0;
|
|
17
|
-
exports.instanceOfCreateManagedServicePricingPlanRequest = instanceOfCreateManagedServicePricingPlanRequest;
|
|
18
|
-
exports.CreateManagedServicePricingPlanRequestFromJSON = CreateManagedServicePricingPlanRequestFromJSON;
|
|
19
|
-
exports.CreateManagedServicePricingPlanRequestFromJSONTyped = CreateManagedServicePricingPlanRequestFromJSONTyped;
|
|
20
|
-
exports.CreateManagedServicePricingPlanRequestToJSON = CreateManagedServicePricingPlanRequestToJSON;
|
|
21
14
|
/**
|
|
22
15
|
* @export
|
|
23
16
|
*/
|
|
24
|
-
|
|
17
|
+
export const CreateManagedServicePricingPlanRequestTypeEnum = {
|
|
25
18
|
Free: 'FREE',
|
|
26
19
|
Commercial: 'COMMERCIAL'
|
|
27
20
|
};
|
|
28
21
|
/**
|
|
29
22
|
* @export
|
|
30
23
|
*/
|
|
31
|
-
|
|
24
|
+
export const CreateManagedServicePricingPlanRequestChargedProductsEnum = {
|
|
32
25
|
Api: 'API',
|
|
33
26
|
Cpu: 'CPU',
|
|
34
27
|
Memory: 'MEMORY',
|
|
@@ -49,15 +42,15 @@ exports.CreateManagedServicePricingPlanRequestChargedProductsEnum = {
|
|
|
49
42
|
/**
|
|
50
43
|
* Check if a given object implements the CreateManagedServicePricingPlanRequest interface.
|
|
51
44
|
*/
|
|
52
|
-
function instanceOfCreateManagedServicePricingPlanRequest(value) {
|
|
45
|
+
export function instanceOfCreateManagedServicePricingPlanRequest(value) {
|
|
53
46
|
if (!('type' in value) || value['type'] === undefined)
|
|
54
47
|
return false;
|
|
55
48
|
return true;
|
|
56
49
|
}
|
|
57
|
-
function CreateManagedServicePricingPlanRequestFromJSON(json) {
|
|
50
|
+
export function CreateManagedServicePricingPlanRequestFromJSON(json) {
|
|
58
51
|
return CreateManagedServicePricingPlanRequestFromJSONTyped(json, false);
|
|
59
52
|
}
|
|
60
|
-
function CreateManagedServicePricingPlanRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
export function CreateManagedServicePricingPlanRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
61
54
|
if (json == null) {
|
|
62
55
|
return json;
|
|
63
56
|
}
|
|
@@ -67,7 +60,7 @@ function CreateManagedServicePricingPlanRequestFromJSONTyped(json, ignoreDiscrim
|
|
|
67
60
|
'chargedProducts': json['chargedProducts'] == null ? undefined : json['chargedProducts'],
|
|
68
61
|
};
|
|
69
62
|
}
|
|
70
|
-
function CreateManagedServicePricingPlanRequestToJSON(value) {
|
|
63
|
+
export function CreateManagedServicePricingPlanRequestToJSON(value) {
|
|
71
64
|
if (value == null) {
|
|
72
65
|
return value;
|
|
73
66
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,25 +11,20 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfCreateProductRequest = instanceOfCreateProductRequest;
|
|
17
|
-
exports.CreateProductRequestFromJSON = CreateProductRequestFromJSON;
|
|
18
|
-
exports.CreateProductRequestFromJSONTyped = CreateProductRequestFromJSONTyped;
|
|
19
|
-
exports.CreateProductRequestToJSON = CreateProductRequestToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the CreateProductRequest interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfCreateProductRequest(value) {
|
|
17
|
+
export function instanceOfCreateProductRequest(value) {
|
|
24
18
|
if (!('name' in value) || value['name'] === undefined)
|
|
25
19
|
return false;
|
|
26
20
|
if (!('amountMajor' in value) || value['amountMajor'] === undefined)
|
|
27
21
|
return false;
|
|
28
22
|
return true;
|
|
29
23
|
}
|
|
30
|
-
function CreateProductRequestFromJSON(json) {
|
|
24
|
+
export function CreateProductRequestFromJSON(json) {
|
|
31
25
|
return CreateProductRequestFromJSONTyped(json, false);
|
|
32
26
|
}
|
|
33
|
-
function CreateProductRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
export function CreateProductRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
28
|
if (json == null) {
|
|
35
29
|
return json;
|
|
36
30
|
}
|
|
@@ -40,7 +34,7 @@ function CreateProductRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
34
|
'amountMajor': json['amountMajor'],
|
|
41
35
|
};
|
|
42
36
|
}
|
|
43
|
-
function CreateProductRequestToJSON(value) {
|
|
37
|
+
export function CreateProductRequestToJSON(value) {
|
|
44
38
|
if (value == null) {
|
|
45
39
|
return value;
|
|
46
40
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,25 +11,20 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfCreateSubscriptionRequest = instanceOfCreateSubscriptionRequest;
|
|
17
|
-
exports.CreateSubscriptionRequestFromJSON = CreateSubscriptionRequestFromJSON;
|
|
18
|
-
exports.CreateSubscriptionRequestFromJSONTyped = CreateSubscriptionRequestFromJSONTyped;
|
|
19
|
-
exports.CreateSubscriptionRequestToJSON = CreateSubscriptionRequestToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the CreateSubscriptionRequest interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfCreateSubscriptionRequest(value) {
|
|
17
|
+
export function instanceOfCreateSubscriptionRequest(value) {
|
|
24
18
|
if (!('serviceId' in value) || value['serviceId'] === undefined)
|
|
25
19
|
return false;
|
|
26
20
|
if (!('applicationId' in value) || value['applicationId'] === undefined)
|
|
27
21
|
return false;
|
|
28
22
|
return true;
|
|
29
23
|
}
|
|
30
|
-
function CreateSubscriptionRequestFromJSON(json) {
|
|
24
|
+
export function CreateSubscriptionRequestFromJSON(json) {
|
|
31
25
|
return CreateSubscriptionRequestFromJSONTyped(json, false);
|
|
32
26
|
}
|
|
33
|
-
function CreateSubscriptionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
export function CreateSubscriptionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
28
|
if (json == null) {
|
|
35
29
|
return json;
|
|
36
30
|
}
|
|
@@ -39,7 +33,7 @@ function CreateSubscriptionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
33
|
'applicationId': json['applicationId'],
|
|
40
34
|
};
|
|
41
35
|
}
|
|
42
|
-
function CreateSubscriptionRequestToJSON(value) {
|
|
36
|
+
export function CreateSubscriptionRequestToJSON(value) {
|
|
43
37
|
if (value == null) {
|
|
44
38
|
return value;
|
|
45
39
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,23 +11,18 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfCreateWorkflowServiceRequest = instanceOfCreateWorkflowServiceRequest;
|
|
17
|
-
exports.CreateWorkflowServiceRequestFromJSON = CreateWorkflowServiceRequestFromJSON;
|
|
18
|
-
exports.CreateWorkflowServiceRequestFromJSONTyped = CreateWorkflowServiceRequestFromJSONTyped;
|
|
19
|
-
exports.CreateWorkflowServiceRequestToJSON = CreateWorkflowServiceRequestToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the CreateWorkflowServiceRequest interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfCreateWorkflowServiceRequest(value) {
|
|
17
|
+
export function instanceOfCreateWorkflowServiceRequest(value) {
|
|
24
18
|
if (!('name' in value) || value['name'] === undefined)
|
|
25
19
|
return false;
|
|
26
20
|
return true;
|
|
27
21
|
}
|
|
28
|
-
function CreateWorkflowServiceRequestFromJSON(json) {
|
|
22
|
+
export function CreateWorkflowServiceRequestFromJSON(json) {
|
|
29
23
|
return CreateWorkflowServiceRequestFromJSONTyped(json, false);
|
|
30
24
|
}
|
|
31
|
-
function CreateWorkflowServiceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
export function CreateWorkflowServiceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
26
|
if (json == null) {
|
|
33
27
|
return json;
|
|
34
28
|
}
|
|
@@ -37,7 +31,7 @@ function CreateWorkflowServiceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
31
|
'description': json['description'] == null ? undefined : json['description'],
|
|
38
32
|
};
|
|
39
33
|
}
|
|
40
|
-
function CreateWorkflowServiceRequestToJSON(value) {
|
|
34
|
+
export function CreateWorkflowServiceRequestToJSON(value) {
|
|
41
35
|
if (value == null) {
|
|
42
36
|
return value;
|
|
43
37
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { ReviewDto } from './ReviewDto';
|
|
13
|
-
import type { OwnerDto } from './OwnerDto';
|
|
14
|
-
import type { TaxonomyElement } from './TaxonomyElement';
|
|
12
|
+
import type { ReviewDto } from './ReviewDto.js';
|
|
13
|
+
import type { OwnerDto } from './OwnerDto.js';
|
|
14
|
+
import type { TaxonomyElement } from './TaxonomyElement.js';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,19 +11,13 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.DataPoolDtoFromJSON = DataPoolDtoFromJSON;
|
|
19
|
-
exports.DataPoolDtoFromJSONTyped = DataPoolDtoFromJSONTyped;
|
|
20
|
-
exports.DataPoolDtoToJSON = DataPoolDtoToJSON;
|
|
21
|
-
const ReviewDto_1 = require("./ReviewDto");
|
|
22
|
-
const OwnerDto_1 = require("./OwnerDto");
|
|
23
|
-
const TaxonomyElement_1 = require("./TaxonomyElement");
|
|
14
|
+
import { ReviewDtoFromJSON, ReviewDtoToJSON, } from './ReviewDto.js';
|
|
15
|
+
import { OwnerDtoFromJSON, OwnerDtoToJSON, } from './OwnerDto.js';
|
|
16
|
+
import { TaxonomyElementFromJSON, TaxonomyElementToJSON, } from './TaxonomyElement.js';
|
|
24
17
|
/**
|
|
25
18
|
* @export
|
|
26
19
|
*/
|
|
27
|
-
|
|
20
|
+
export const DataPoolDtoCurrentUserPermissionEnum = {
|
|
28
21
|
Viewer: 'VIEWER',
|
|
29
22
|
Maintainer: 'MAINTAINER',
|
|
30
23
|
Owner: 'OWNER'
|
|
@@ -32,7 +25,7 @@ exports.DataPoolDtoCurrentUserPermissionEnum = {
|
|
|
32
25
|
/**
|
|
33
26
|
* @export
|
|
34
27
|
*/
|
|
35
|
-
|
|
28
|
+
export const DataPoolDtoEntityMaturityEnum = {
|
|
36
29
|
Initial: 'INITIAL',
|
|
37
30
|
UnderReview: 'UNDER_REVIEW',
|
|
38
31
|
Approved: 'APPROVED'
|
|
@@ -40,17 +33,17 @@ exports.DataPoolDtoEntityMaturityEnum = {
|
|
|
40
33
|
/**
|
|
41
34
|
* Check if a given object implements the DataPoolDto interface.
|
|
42
35
|
*/
|
|
43
|
-
function instanceOfDataPoolDto(value) {
|
|
36
|
+
export function instanceOfDataPoolDto(value) {
|
|
44
37
|
if (!('id' in value) || value['id'] === undefined)
|
|
45
38
|
return false;
|
|
46
39
|
if (!('name' in value) || value['name'] === undefined)
|
|
47
40
|
return false;
|
|
48
41
|
return true;
|
|
49
42
|
}
|
|
50
|
-
function DataPoolDtoFromJSON(json) {
|
|
43
|
+
export function DataPoolDtoFromJSON(json) {
|
|
51
44
|
return DataPoolDtoFromJSONTyped(json, false);
|
|
52
45
|
}
|
|
53
|
-
function DataPoolDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
export function DataPoolDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
47
|
if (json == null) {
|
|
55
48
|
return json;
|
|
56
49
|
}
|
|
@@ -67,17 +60,17 @@ function DataPoolDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
67
60
|
'labelled': json['labelled'] == null ? undefined : json['labelled'],
|
|
68
61
|
'modifiedAt': json['modifiedAt'] == null ? undefined : (new Date(json['modifiedAt'])),
|
|
69
62
|
'entityMaturity': json['entityMaturity'] == null ? undefined : json['entityMaturity'],
|
|
70
|
-
'licenses': json['licenses'] == null ? undefined : (new Set(json['licenses'].map(
|
|
71
|
-
'formats': json['formats'] == null ? undefined : (new Set(json['formats'].map(
|
|
72
|
-
'problemTypes': json['problemTypes'] == null ? undefined : (new Set(json['problemTypes'].map(
|
|
73
|
-
'industries': json['industries'] == null ? undefined : (new Set(json['industries'].map(
|
|
74
|
-
'reviews': json['reviews'] == null ? undefined : (new Set(json['reviews'].map(
|
|
75
|
-
'owners': json['owners'] == null ? undefined : (json['owners'].map(
|
|
63
|
+
'licenses': json['licenses'] == null ? undefined : (new Set(json['licenses'].map(TaxonomyElementFromJSON))),
|
|
64
|
+
'formats': json['formats'] == null ? undefined : (new Set(json['formats'].map(TaxonomyElementFromJSON))),
|
|
65
|
+
'problemTypes': json['problemTypes'] == null ? undefined : (new Set(json['problemTypes'].map(TaxonomyElementFromJSON))),
|
|
66
|
+
'industries': json['industries'] == null ? undefined : (new Set(json['industries'].map(TaxonomyElementFromJSON))),
|
|
67
|
+
'reviews': json['reviews'] == null ? undefined : (new Set(json['reviews'].map(ReviewDtoFromJSON))),
|
|
68
|
+
'owners': json['owners'] == null ? undefined : (json['owners'].map(OwnerDtoFromJSON)),
|
|
76
69
|
'bookmarked': json['bookmarked'] == null ? undefined : json['bookmarked'],
|
|
77
70
|
'_public': json['public'] == null ? undefined : json['public'],
|
|
78
71
|
};
|
|
79
72
|
}
|
|
80
|
-
function DataPoolDtoToJSON(value) {
|
|
73
|
+
export function DataPoolDtoToJSON(value) {
|
|
81
74
|
if (value == null) {
|
|
82
75
|
return value;
|
|
83
76
|
}
|
|
@@ -93,12 +86,12 @@ function DataPoolDtoToJSON(value) {
|
|
|
93
86
|
'labelled': value['labelled'],
|
|
94
87
|
'modifiedAt': value['modifiedAt'] == null ? undefined : ((value['modifiedAt']).toISOString()),
|
|
95
88
|
'entityMaturity': value['entityMaturity'],
|
|
96
|
-
'licenses': value['licenses'] == null ? undefined : (Array.from(value['licenses']).map(
|
|
97
|
-
'formats': value['formats'] == null ? undefined : (Array.from(value['formats']).map(
|
|
98
|
-
'problemTypes': value['problemTypes'] == null ? undefined : (Array.from(value['problemTypes']).map(
|
|
99
|
-
'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(
|
|
100
|
-
'reviews': value['reviews'] == null ? undefined : (Array.from(value['reviews']).map(
|
|
101
|
-
'owners': value['owners'] == null ? undefined : (value['owners'].map(
|
|
89
|
+
'licenses': value['licenses'] == null ? undefined : (Array.from(value['licenses']).map(TaxonomyElementToJSON)),
|
|
90
|
+
'formats': value['formats'] == null ? undefined : (Array.from(value['formats']).map(TaxonomyElementToJSON)),
|
|
91
|
+
'problemTypes': value['problemTypes'] == null ? undefined : (Array.from(value['problemTypes']).map(TaxonomyElementToJSON)),
|
|
92
|
+
'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(TaxonomyElementToJSON)),
|
|
93
|
+
'reviews': value['reviews'] == null ? undefined : (Array.from(value['reviews']).map(ReviewDtoToJSON)),
|
|
94
|
+
'owners': value['owners'] == null ? undefined : (value['owners'].map(OwnerDtoToJSON)),
|
|
102
95
|
'bookmarked': value['bookmarked'],
|
|
103
96
|
'public': value['_public'],
|
|
104
97
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,21 +11,16 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfDataPoolRef = instanceOfDataPoolRef;
|
|
17
|
-
exports.DataPoolRefFromJSON = DataPoolRefFromJSON;
|
|
18
|
-
exports.DataPoolRefFromJSONTyped = DataPoolRefFromJSONTyped;
|
|
19
|
-
exports.DataPoolRefToJSON = DataPoolRefToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the DataPoolRef interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfDataPoolRef(value) {
|
|
17
|
+
export function instanceOfDataPoolRef(value) {
|
|
24
18
|
return true;
|
|
25
19
|
}
|
|
26
|
-
function DataPoolRefFromJSON(json) {
|
|
20
|
+
export function DataPoolRefFromJSON(json) {
|
|
27
21
|
return DataPoolRefFromJSONTyped(json, false);
|
|
28
22
|
}
|
|
29
|
-
function DataPoolRefFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function DataPoolRefFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
24
|
if (json == null) {
|
|
31
25
|
return json;
|
|
32
26
|
}
|
|
@@ -36,7 +30,7 @@ function DataPoolRefFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
30
|
'fileId': json['fileId'] == null ? undefined : json['fileId'],
|
|
37
31
|
};
|
|
38
32
|
}
|
|
39
|
-
function DataPoolRefToJSON(value) {
|
|
33
|
+
export function DataPoolRefToJSON(value) {
|
|
40
34
|
if (value == null) {
|
|
41
35
|
return value;
|
|
42
36
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,17 +11,11 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
exports.DataSourceDescriptorDtoCurrentUserPermissionEnum = void 0;
|
|
17
|
-
exports.instanceOfDataSourceDescriptorDto = instanceOfDataSourceDescriptorDto;
|
|
18
|
-
exports.DataSourceDescriptorDtoFromJSON = DataSourceDescriptorDtoFromJSON;
|
|
19
|
-
exports.DataSourceDescriptorDtoFromJSONTyped = DataSourceDescriptorDtoFromJSONTyped;
|
|
20
|
-
exports.DataSourceDescriptorDtoToJSON = DataSourceDescriptorDtoToJSON;
|
|
21
|
-
const FileDto_1 = require("./FileDto");
|
|
14
|
+
import { FileDtoFromJSON, FileDtoToJSON, } from './FileDto.js';
|
|
22
15
|
/**
|
|
23
16
|
* @export
|
|
24
17
|
*/
|
|
25
|
-
|
|
18
|
+
export const DataSourceDescriptorDtoCurrentUserPermissionEnum = {
|
|
26
19
|
Viewer: 'VIEWER',
|
|
27
20
|
Maintainer: 'MAINTAINER',
|
|
28
21
|
Owner: 'OWNER'
|
|
@@ -30,13 +23,13 @@ exports.DataSourceDescriptorDtoCurrentUserPermissionEnum = {
|
|
|
30
23
|
/**
|
|
31
24
|
* Check if a given object implements the DataSourceDescriptorDto interface.
|
|
32
25
|
*/
|
|
33
|
-
function instanceOfDataSourceDescriptorDto(value) {
|
|
26
|
+
export function instanceOfDataSourceDescriptorDto(value) {
|
|
34
27
|
return true;
|
|
35
28
|
}
|
|
36
|
-
function DataSourceDescriptorDtoFromJSON(json) {
|
|
29
|
+
export function DataSourceDescriptorDtoFromJSON(json) {
|
|
37
30
|
return DataSourceDescriptorDtoFromJSONTyped(json, false);
|
|
38
31
|
}
|
|
39
|
-
function DataSourceDescriptorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
export function DataSourceDescriptorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
33
|
if (json == null) {
|
|
41
34
|
return json;
|
|
42
35
|
}
|
|
@@ -45,14 +38,14 @@ function DataSourceDescriptorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
38
|
'id': json['id'] == null ? undefined : json['id'],
|
|
46
39
|
'name': json['name'] == null ? undefined : json['name'],
|
|
47
40
|
'description': json['description'] == null ? undefined : json['description'],
|
|
48
|
-
'files': json['files'] == null ? undefined : (new Set(json['files'].map(
|
|
41
|
+
'files': json['files'] == null ? undefined : (new Set(json['files'].map(FileDtoFromJSON))),
|
|
49
42
|
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
50
43
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
51
44
|
'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
|
|
52
45
|
'modifiedAt': json['modifiedAt'] == null ? undefined : (new Date(json['modifiedAt'])),
|
|
53
46
|
};
|
|
54
47
|
}
|
|
55
|
-
function DataSourceDescriptorDtoToJSON(value) {
|
|
48
|
+
export function DataSourceDescriptorDtoToJSON(value) {
|
|
56
49
|
if (value == null) {
|
|
57
50
|
return value;
|
|
58
51
|
}
|
|
@@ -60,7 +53,7 @@ function DataSourceDescriptorDtoToJSON(value) {
|
|
|
60
53
|
'id': value['id'],
|
|
61
54
|
'name': value['name'],
|
|
62
55
|
'description': value['description'],
|
|
63
|
-
'files': value['files'] == null ? undefined : (Array.from(value['files']).map(
|
|
56
|
+
'files': value['files'] == null ? undefined : (Array.from(value['files']).map(FileDtoToJSON)),
|
|
64
57
|
'createdBy': value['createdBy'],
|
|
65
58
|
'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
66
59
|
'modifiedBy': value['modifiedBy'],
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,21 +11,16 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfFileDto = instanceOfFileDto;
|
|
17
|
-
exports.FileDtoFromJSON = FileDtoFromJSON;
|
|
18
|
-
exports.FileDtoFromJSONTyped = FileDtoFromJSONTyped;
|
|
19
|
-
exports.FileDtoToJSON = FileDtoToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the FileDto interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfFileDto(value) {
|
|
17
|
+
export function instanceOfFileDto(value) {
|
|
24
18
|
return true;
|
|
25
19
|
}
|
|
26
|
-
function FileDtoFromJSON(json) {
|
|
20
|
+
export function FileDtoFromJSON(json) {
|
|
27
21
|
return FileDtoFromJSONTyped(json, false);
|
|
28
22
|
}
|
|
29
|
-
function FileDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function FileDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
24
|
if (json == null) {
|
|
31
25
|
return json;
|
|
32
26
|
}
|
|
@@ -41,7 +35,7 @@ function FileDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
35
|
'modifiedAt': json['modifiedAt'] == null ? undefined : json['modifiedAt'],
|
|
42
36
|
};
|
|
43
37
|
}
|
|
44
|
-
function FileDtoToJSON(value) {
|
|
38
|
+
export function FileDtoToJSON(value) {
|
|
45
39
|
if (value == null) {
|
|
46
40
|
return value;
|
|
47
41
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,23 +11,18 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfFileSource = instanceOfFileSource;
|
|
17
|
-
exports.FileSourceFromJSON = FileSourceFromJSON;
|
|
18
|
-
exports.FileSourceFromJSONTyped = FileSourceFromJSONTyped;
|
|
19
|
-
exports.FileSourceToJSON = FileSourceToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the FileSource interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfFileSource(value) {
|
|
17
|
+
export function instanceOfFileSource(value) {
|
|
24
18
|
return true;
|
|
25
19
|
}
|
|
26
|
-
function FileSourceFromJSON(json) {
|
|
20
|
+
export function FileSourceFromJSON(json) {
|
|
27
21
|
return FileSourceFromJSONTyped(json, false);
|
|
28
22
|
}
|
|
29
|
-
function FileSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function FileSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
24
|
return json;
|
|
31
25
|
}
|
|
32
|
-
function FileSourceToJSON(value) {
|
|
26
|
+
export function FileSourceToJSON(value) {
|
|
33
27
|
return value;
|
|
34
28
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,17 +11,11 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
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");
|
|
14
|
+
import { ResourceConfigurationFromJSONTyped, ResourceConfigurationToJSON, } from './ResourceConfiguration.js';
|
|
22
15
|
/**
|
|
23
16
|
* @export
|
|
24
17
|
*/
|
|
25
|
-
|
|
18
|
+
export const GpuConfigurationAcceleratorEnum = {
|
|
26
19
|
NvidiaTeslaT4: 'NVIDIA_TESLA_T4',
|
|
27
20
|
NvidiaTeslaV100: 'NVIDIA_TESLA_V100',
|
|
28
21
|
NvidiaTeslaA100: 'NVIDIA_TESLA_A100',
|
|
@@ -32,28 +25,28 @@ exports.GpuConfigurationAcceleratorEnum = {
|
|
|
32
25
|
/**
|
|
33
26
|
* Check if a given object implements the GpuConfiguration interface.
|
|
34
27
|
*/
|
|
35
|
-
function instanceOfGpuConfiguration(value) {
|
|
28
|
+
export function instanceOfGpuConfiguration(value) {
|
|
36
29
|
return true;
|
|
37
30
|
}
|
|
38
|
-
function GpuConfigurationFromJSON(json) {
|
|
31
|
+
export function GpuConfigurationFromJSON(json) {
|
|
39
32
|
return GpuConfigurationFromJSONTyped(json, false);
|
|
40
33
|
}
|
|
41
|
-
function GpuConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
export function GpuConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
35
|
if (json == null) {
|
|
43
36
|
return json;
|
|
44
37
|
}
|
|
45
38
|
return {
|
|
46
|
-
...
|
|
39
|
+
...ResourceConfigurationFromJSONTyped(json, ignoreDiscriminator),
|
|
47
40
|
'amount': json['amount'] == null ? undefined : json['amount'],
|
|
48
41
|
'accelerator': json['accelerator'] == null ? undefined : json['accelerator'],
|
|
49
42
|
};
|
|
50
43
|
}
|
|
51
|
-
function GpuConfigurationToJSON(value) {
|
|
44
|
+
export function GpuConfigurationToJSON(value) {
|
|
52
45
|
if (value == null) {
|
|
53
46
|
return value;
|
|
54
47
|
}
|
|
55
48
|
return {
|
|
56
|
-
...
|
|
49
|
+
...ResourceConfigurationToJSON(value),
|
|
57
50
|
'amount': value['amount'],
|
|
58
51
|
'accelerator': value['accelerator'],
|
|
59
52
|
};
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { ServiceDefinitionOverviewDto } from './ServiceDefinitionOverviewDto';
|
|
13
|
-
import type { DataPoolRef } from './DataPoolRef';
|
|
12
|
+
import type { ServiceDefinitionOverviewDto } from './ServiceDefinitionOverviewDto.js';
|
|
13
|
+
import type { DataPoolRef } from './DataPoolRef.js';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|