@quantum-hub/qhubctl 1.1.2 → 1.1.4
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/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 +15 -22
- 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 +46 -46
- package/package.json +4 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,21 +11,15 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
exports.ServiceDefinitionDtoToJSON = ServiceDefinitionDtoToJSON;
|
|
21
|
-
const ServiceDefinitionDtoSource_1 = require("./ServiceDefinitionDtoSource");
|
|
22
|
-
const UpdateResourceConfigurationRequest_1 = require("./UpdateResourceConfigurationRequest");
|
|
23
|
-
const PricingPlanDto_1 = require("./PricingPlanDto");
|
|
24
|
-
const RuntimeConfiguration_1 = require("./RuntimeConfiguration");
|
|
25
|
-
const TaxonomyElement_1 = require("./TaxonomyElement");
|
|
14
|
+
import { ServiceDefinitionDtoSourceFromJSON, ServiceDefinitionDtoSourceToJSON, } from './ServiceDefinitionDtoSource.js';
|
|
15
|
+
import { UpdateResourceConfigurationRequestFromJSON, UpdateResourceConfigurationRequestToJSON, } from './UpdateResourceConfigurationRequest.js';
|
|
16
|
+
import { PricingPlanDtoFromJSON, PricingPlanDtoToJSON, } from './PricingPlanDto.js';
|
|
17
|
+
import { RuntimeConfigurationFromJSON, RuntimeConfigurationToJSON, } from './RuntimeConfiguration.js';
|
|
18
|
+
import { TaxonomyElementFromJSON, TaxonomyElementToJSON, } from './TaxonomyElement.js';
|
|
26
19
|
/**
|
|
27
20
|
* @export
|
|
28
21
|
*/
|
|
29
|
-
|
|
22
|
+
export const ServiceDefinitionDtoTypeEnum = {
|
|
30
23
|
Managed: 'MANAGED',
|
|
31
24
|
External: 'EXTERNAL',
|
|
32
25
|
Workflow: 'WORKFLOW'
|
|
@@ -34,7 +27,7 @@ exports.ServiceDefinitionDtoTypeEnum = {
|
|
|
34
27
|
/**
|
|
35
28
|
* @export
|
|
36
29
|
*/
|
|
37
|
-
|
|
30
|
+
export const ServiceDefinitionDtoLifecycleEnum = {
|
|
38
31
|
Created: 'CREATED',
|
|
39
32
|
Accessible: 'ACCESSIBLE',
|
|
40
33
|
Published: 'PUBLISHED'
|
|
@@ -42,13 +35,13 @@ exports.ServiceDefinitionDtoLifecycleEnum = {
|
|
|
42
35
|
/**
|
|
43
36
|
* Check if a given object implements the ServiceDefinitionDto interface.
|
|
44
37
|
*/
|
|
45
|
-
function instanceOfServiceDefinitionDto(value) {
|
|
38
|
+
export function instanceOfServiceDefinitionDto(value) {
|
|
46
39
|
return true;
|
|
47
40
|
}
|
|
48
|
-
function ServiceDefinitionDtoFromJSON(json) {
|
|
41
|
+
export function ServiceDefinitionDtoFromJSON(json) {
|
|
49
42
|
return ServiceDefinitionDtoFromJSONTyped(json, false);
|
|
50
43
|
}
|
|
51
|
-
function ServiceDefinitionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
export function ServiceDefinitionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
45
|
if (json == null) {
|
|
53
46
|
return json;
|
|
54
47
|
}
|
|
@@ -61,23 +54,23 @@ function ServiceDefinitionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
54
|
'productionEndpoint': json['productionEndpoint'] == null ? undefined : json['productionEndpoint'],
|
|
62
55
|
'gatewayEndpoint': json['gatewayEndpoint'] == null ? undefined : json['gatewayEndpoint'],
|
|
63
56
|
'type': json['type'] == null ? undefined : json['type'],
|
|
64
|
-
'pricingPlans': json['pricingPlans'] == null ? undefined : (json['pricingPlans'].map(
|
|
57
|
+
'pricingPlans': json['pricingPlans'] == null ? undefined : (json['pricingPlans'].map(PricingPlanDtoFromJSON)),
|
|
65
58
|
'lifecycle': json['lifecycle'] == null ? undefined : json['lifecycle'],
|
|
66
|
-
'industries': json['industries'] == null ? undefined : (new Set(json['industries'].map(
|
|
59
|
+
'industries': json['industries'] == null ? undefined : (new Set(json['industries'].map(TaxonomyElementFromJSON))),
|
|
67
60
|
'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
|
|
68
61
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
69
62
|
'modifiedAt': json['modifiedAt'] == null ? undefined : json['modifiedAt'],
|
|
70
63
|
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
71
64
|
'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
|
|
72
|
-
'configurations': json['configurations'] == null ? undefined : (new Set(json['configurations'].map(
|
|
73
|
-
'runtimeConfiguration': json['runtimeConfiguration'] == null ? undefined :
|
|
74
|
-
'source': json['source'] == null ? undefined :
|
|
65
|
+
'configurations': json['configurations'] == null ? undefined : (new Set(json['configurations'].map(UpdateResourceConfigurationRequestFromJSON))),
|
|
66
|
+
'runtimeConfiguration': json['runtimeConfiguration'] == null ? undefined : RuntimeConfigurationFromJSON(json['runtimeConfiguration']),
|
|
67
|
+
'source': json['source'] == null ? undefined : ServiceDefinitionDtoSourceFromJSON(json['source']),
|
|
75
68
|
'processDefinitionId': json['processDefinitionId'] == null ? undefined : json['processDefinitionId'],
|
|
76
69
|
'workflowModel': json['workflowModel'] == null ? undefined : json['workflowModel'],
|
|
77
70
|
'workflowModelPreviewImage': json['workflowModelPreviewImage'] == null ? undefined : json['workflowModelPreviewImage'],
|
|
78
71
|
};
|
|
79
72
|
}
|
|
80
|
-
function ServiceDefinitionDtoToJSON(value) {
|
|
73
|
+
export function ServiceDefinitionDtoToJSON(value) {
|
|
81
74
|
if (value == null) {
|
|
82
75
|
return value;
|
|
83
76
|
}
|
|
@@ -90,17 +83,17 @@ function ServiceDefinitionDtoToJSON(value) {
|
|
|
90
83
|
'productionEndpoint': value['productionEndpoint'],
|
|
91
84
|
'gatewayEndpoint': value['gatewayEndpoint'],
|
|
92
85
|
'type': value['type'],
|
|
93
|
-
'pricingPlans': value['pricingPlans'] == null ? undefined : (value['pricingPlans'].map(
|
|
86
|
+
'pricingPlans': value['pricingPlans'] == null ? undefined : (value['pricingPlans'].map(PricingPlanDtoToJSON)),
|
|
94
87
|
'lifecycle': value['lifecycle'],
|
|
95
|
-
'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(
|
|
88
|
+
'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(TaxonomyElementToJSON)),
|
|
96
89
|
'logoUrl': value['logoUrl'],
|
|
97
90
|
'createdAt': value['createdAt'],
|
|
98
91
|
'modifiedAt': value['modifiedAt'],
|
|
99
92
|
'createdBy': value['createdBy'],
|
|
100
93
|
'modifiedBy': value['modifiedBy'],
|
|
101
|
-
'configurations': value['configurations'] == null ? undefined : (Array.from(value['configurations']).map(
|
|
102
|
-
'runtimeConfiguration':
|
|
103
|
-
'source':
|
|
94
|
+
'configurations': value['configurations'] == null ? undefined : (Array.from(value['configurations']).map(UpdateResourceConfigurationRequestToJSON)),
|
|
95
|
+
'runtimeConfiguration': RuntimeConfigurationToJSON(value['runtimeConfiguration']),
|
|
96
|
+
'source': ServiceDefinitionDtoSourceToJSON(value['source']),
|
|
104
97
|
'processDefinitionId': value['processDefinitionId'],
|
|
105
98
|
'workflowModel': value['workflowModel'],
|
|
106
99
|
'workflowModelPreviewImage': value['workflowModelPreviewImage'],
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { FileSource } from './FileSource';
|
|
13
|
-
import type { RegistrySource } from './RegistrySource';
|
|
14
|
-
import type { RepositorySource } from './RepositorySource';
|
|
12
|
+
import type { FileSource } from './FileSource.js';
|
|
13
|
+
import type { RegistrySource } from './RegistrySource.js';
|
|
14
|
+
import type { RepositorySource } from './RepositorySource.js';
|
|
15
15
|
/**
|
|
16
16
|
* @type ServiceDefinitionDtoSource
|
|
17
17
|
*
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,43 +11,39 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const FileSource_1 = require("./FileSource");
|
|
20
|
-
const RegistrySource_1 = require("./RegistrySource");
|
|
21
|
-
const RepositorySource_1 = require("./RepositorySource");
|
|
22
|
-
function ServiceDefinitionDtoSourceFromJSON(json) {
|
|
14
|
+
import { instanceOfFileSource, FileSourceFromJSONTyped, FileSourceToJSON, } from './FileSource.js';
|
|
15
|
+
import { instanceOfRegistrySource, RegistrySourceFromJSONTyped, RegistrySourceToJSON, } from './RegistrySource.js';
|
|
16
|
+
import { instanceOfRepositorySource, RepositorySourceFromJSONTyped, RepositorySourceToJSON, } from './RepositorySource.js';
|
|
17
|
+
export function ServiceDefinitionDtoSourceFromJSON(json) {
|
|
23
18
|
return ServiceDefinitionDtoSourceFromJSONTyped(json, false);
|
|
24
19
|
}
|
|
25
20
|
// @ts-ignore
|
|
26
|
-
function ServiceDefinitionDtoSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
21
|
+
export function ServiceDefinitionDtoSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
22
|
if (json == null) {
|
|
28
23
|
return json;
|
|
29
24
|
}
|
|
30
|
-
if (
|
|
31
|
-
return
|
|
25
|
+
if (instanceOfFileSource(json)) {
|
|
26
|
+
return FileSourceFromJSONTyped(json, true);
|
|
32
27
|
}
|
|
33
|
-
if (
|
|
34
|
-
return
|
|
28
|
+
if (instanceOfRegistrySource(json)) {
|
|
29
|
+
return RegistrySourceFromJSONTyped(json, true);
|
|
35
30
|
}
|
|
36
|
-
if (
|
|
37
|
-
return
|
|
31
|
+
if (instanceOfRepositorySource(json)) {
|
|
32
|
+
return RepositorySourceFromJSONTyped(json, true);
|
|
38
33
|
}
|
|
39
34
|
}
|
|
40
|
-
function ServiceDefinitionDtoSourceToJSON(value) {
|
|
35
|
+
export function ServiceDefinitionDtoSourceToJSON(value) {
|
|
41
36
|
if (value == null) {
|
|
42
37
|
return value;
|
|
43
38
|
}
|
|
44
|
-
if (
|
|
45
|
-
return
|
|
39
|
+
if (instanceOfFileSource(value)) {
|
|
40
|
+
return FileSourceToJSON(value);
|
|
46
41
|
}
|
|
47
|
-
if (
|
|
48
|
-
return
|
|
42
|
+
if (instanceOfRegistrySource(value)) {
|
|
43
|
+
return RegistrySourceToJSON(value);
|
|
49
44
|
}
|
|
50
|
-
if (
|
|
51
|
-
return
|
|
45
|
+
if (instanceOfRepositorySource(value)) {
|
|
46
|
+
return RepositorySourceToJSON(value);
|
|
52
47
|
}
|
|
53
48
|
return {};
|
|
54
49
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,16 +11,10 @@
|
|
|
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.ServiceDefinitionOverviewDtoLifecycleEnum = exports.ServiceDefinitionOverviewDtoTypeEnum = void 0;
|
|
17
|
-
exports.instanceOfServiceDefinitionOverviewDto = instanceOfServiceDefinitionOverviewDto;
|
|
18
|
-
exports.ServiceDefinitionOverviewDtoFromJSON = ServiceDefinitionOverviewDtoFromJSON;
|
|
19
|
-
exports.ServiceDefinitionOverviewDtoFromJSONTyped = ServiceDefinitionOverviewDtoFromJSONTyped;
|
|
20
|
-
exports.ServiceDefinitionOverviewDtoToJSON = ServiceDefinitionOverviewDtoToJSON;
|
|
21
14
|
/**
|
|
22
15
|
* @export
|
|
23
16
|
*/
|
|
24
|
-
|
|
17
|
+
export const ServiceDefinitionOverviewDtoTypeEnum = {
|
|
25
18
|
Managed: 'MANAGED',
|
|
26
19
|
External: 'EXTERNAL',
|
|
27
20
|
Workflow: 'WORKFLOW'
|
|
@@ -29,7 +22,7 @@ exports.ServiceDefinitionOverviewDtoTypeEnum = {
|
|
|
29
22
|
/**
|
|
30
23
|
* @export
|
|
31
24
|
*/
|
|
32
|
-
|
|
25
|
+
export const ServiceDefinitionOverviewDtoLifecycleEnum = {
|
|
33
26
|
Created: 'CREATED',
|
|
34
27
|
Accessible: 'ACCESSIBLE',
|
|
35
28
|
Published: 'PUBLISHED'
|
|
@@ -37,13 +30,13 @@ exports.ServiceDefinitionOverviewDtoLifecycleEnum = {
|
|
|
37
30
|
/**
|
|
38
31
|
* Check if a given object implements the ServiceDefinitionOverviewDto interface.
|
|
39
32
|
*/
|
|
40
|
-
function instanceOfServiceDefinitionOverviewDto(value) {
|
|
33
|
+
export function instanceOfServiceDefinitionOverviewDto(value) {
|
|
41
34
|
return true;
|
|
42
35
|
}
|
|
43
|
-
function ServiceDefinitionOverviewDtoFromJSON(json) {
|
|
36
|
+
export function ServiceDefinitionOverviewDtoFromJSON(json) {
|
|
44
37
|
return ServiceDefinitionOverviewDtoFromJSONTyped(json, false);
|
|
45
38
|
}
|
|
46
|
-
function ServiceDefinitionOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
export function ServiceDefinitionOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
40
|
if (json == null) {
|
|
48
41
|
return json;
|
|
49
42
|
}
|
|
@@ -56,7 +49,7 @@ function ServiceDefinitionOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
49
|
'isDeleted': json['isDeleted'] == null ? undefined : json['isDeleted'],
|
|
57
50
|
};
|
|
58
51
|
}
|
|
59
|
-
function ServiceDefinitionOverviewDtoToJSON(value) {
|
|
52
|
+
export function ServiceDefinitionOverviewDtoToJSON(value) {
|
|
60
53
|
if (value == null) {
|
|
61
54
|
return value;
|
|
62
55
|
}
|
|
@@ -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.ServiceDtoCurrentUserPermissionEnum = void 0;
|
|
17
|
-
exports.instanceOfServiceDto = instanceOfServiceDto;
|
|
18
|
-
exports.ServiceDtoFromJSON = ServiceDtoFromJSON;
|
|
19
|
-
exports.ServiceDtoFromJSONTyped = ServiceDtoFromJSONTyped;
|
|
20
|
-
exports.ServiceDtoToJSON = ServiceDtoToJSON;
|
|
21
|
-
const ServiceDefinitionDto_1 = require("./ServiceDefinitionDto");
|
|
14
|
+
import { ServiceDefinitionDtoFromJSON, ServiceDefinitionDtoToJSON, } from './ServiceDefinitionDto.js';
|
|
22
15
|
/**
|
|
23
16
|
* @export
|
|
24
17
|
*/
|
|
25
|
-
|
|
18
|
+
export const ServiceDtoCurrentUserPermissionEnum = {
|
|
26
19
|
Viewer: 'VIEWER',
|
|
27
20
|
Maintainer: 'MAINTAINER',
|
|
28
21
|
Owner: 'OWNER'
|
|
@@ -30,13 +23,13 @@ exports.ServiceDtoCurrentUserPermissionEnum = {
|
|
|
30
23
|
/**
|
|
31
24
|
* Check if a given object implements the ServiceDto interface.
|
|
32
25
|
*/
|
|
33
|
-
function instanceOfServiceDto(value) {
|
|
26
|
+
export function instanceOfServiceDto(value) {
|
|
34
27
|
return true;
|
|
35
28
|
}
|
|
36
|
-
function ServiceDtoFromJSON(json) {
|
|
29
|
+
export function ServiceDtoFromJSON(json) {
|
|
37
30
|
return ServiceDtoFromJSONTyped(json, false);
|
|
38
31
|
}
|
|
39
|
-
function ServiceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
export function ServiceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
33
|
if (json == null) {
|
|
41
34
|
return json;
|
|
42
35
|
}
|
|
@@ -44,16 +37,16 @@ function ServiceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
37
|
'currentUserPermission': json['currentUserPermission'] == null ? undefined : json['currentUserPermission'],
|
|
45
38
|
'id': json['id'] == null ? undefined : json['id'],
|
|
46
39
|
'name': json['name'] == null ? undefined : json['name'],
|
|
47
|
-
'serviceDefinitions': json['serviceDefinitions'] == null ? undefined : (json['serviceDefinitions'].map(
|
|
40
|
+
'serviceDefinitions': json['serviceDefinitions'] == null ? undefined : (json['serviceDefinitions'].map(ServiceDefinitionDtoFromJSON)),
|
|
48
41
|
};
|
|
49
42
|
}
|
|
50
|
-
function ServiceDtoToJSON(value) {
|
|
43
|
+
export function ServiceDtoToJSON(value) {
|
|
51
44
|
if (value == null) {
|
|
52
45
|
return value;
|
|
53
46
|
}
|
|
54
47
|
return {
|
|
55
48
|
'id': value['id'],
|
|
56
49
|
'name': value['name'],
|
|
57
|
-
'serviceDefinitions': value['serviceDefinitions'] == null ? undefined : (value['serviceDefinitions'].map(
|
|
50
|
+
'serviceDefinitions': value['serviceDefinitions'] == null ? undefined : (value['serviceDefinitions'].map(ServiceDefinitionDtoToJSON)),
|
|
58
51
|
};
|
|
59
52
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,16 +11,10 @@
|
|
|
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.ServiceExecutionConsumerDtoStatusEnum = void 0;
|
|
17
|
-
exports.instanceOfServiceExecutionConsumerDto = instanceOfServiceExecutionConsumerDto;
|
|
18
|
-
exports.ServiceExecutionConsumerDtoFromJSON = ServiceExecutionConsumerDtoFromJSON;
|
|
19
|
-
exports.ServiceExecutionConsumerDtoFromJSONTyped = ServiceExecutionConsumerDtoFromJSONTyped;
|
|
20
|
-
exports.ServiceExecutionConsumerDtoToJSON = ServiceExecutionConsumerDtoToJSON;
|
|
21
14
|
/**
|
|
22
15
|
* @export
|
|
23
16
|
*/
|
|
24
|
-
|
|
17
|
+
export const ServiceExecutionConsumerDtoStatusEnum = {
|
|
25
18
|
Unknown: 'UNKNOWN',
|
|
26
19
|
Pending: 'PENDING',
|
|
27
20
|
Running: 'RUNNING',
|
|
@@ -32,13 +25,13 @@ exports.ServiceExecutionConsumerDtoStatusEnum = {
|
|
|
32
25
|
/**
|
|
33
26
|
* Check if a given object implements the ServiceExecutionConsumerDto interface.
|
|
34
27
|
*/
|
|
35
|
-
function instanceOfServiceExecutionConsumerDto(value) {
|
|
28
|
+
export function instanceOfServiceExecutionConsumerDto(value) {
|
|
36
29
|
return true;
|
|
37
30
|
}
|
|
38
|
-
function ServiceExecutionConsumerDtoFromJSON(json) {
|
|
31
|
+
export function ServiceExecutionConsumerDtoFromJSON(json) {
|
|
39
32
|
return ServiceExecutionConsumerDtoFromJSONTyped(json, false);
|
|
40
33
|
}
|
|
41
|
-
function ServiceExecutionConsumerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
export function ServiceExecutionConsumerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
35
|
if (json == null) {
|
|
43
36
|
return json;
|
|
44
37
|
}
|
|
@@ -50,7 +43,7 @@ function ServiceExecutionConsumerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
43
|
'status': json['status'] == null ? undefined : json['status'],
|
|
51
44
|
};
|
|
52
45
|
}
|
|
53
|
-
function ServiceExecutionConsumerDtoToJSON(value) {
|
|
46
|
+
export function ServiceExecutionConsumerDtoToJSON(value) {
|
|
54
47
|
if (value == null) {
|
|
55
48
|
return value;
|
|
56
49
|
}
|
|
@@ -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.instanceOfServiceExecutionDto = instanceOfServiceExecutionDto;
|
|
17
|
-
exports.ServiceExecutionDtoFromJSON = ServiceExecutionDtoFromJSON;
|
|
18
|
-
exports.ServiceExecutionDtoFromJSONTyped = ServiceExecutionDtoFromJSONTyped;
|
|
19
|
-
exports.ServiceExecutionDtoToJSON = ServiceExecutionDtoToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the ServiceExecutionDto interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfServiceExecutionDto(value) {
|
|
17
|
+
export function instanceOfServiceExecutionDto(value) {
|
|
24
18
|
return true;
|
|
25
19
|
}
|
|
26
|
-
function ServiceExecutionDtoFromJSON(json) {
|
|
20
|
+
export function ServiceExecutionDtoFromJSON(json) {
|
|
27
21
|
return ServiceExecutionDtoFromJSONTyped(json, false);
|
|
28
22
|
}
|
|
29
|
-
function ServiceExecutionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function ServiceExecutionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
24
|
if (json == null) {
|
|
31
25
|
return json;
|
|
32
26
|
}
|
|
@@ -37,7 +31,7 @@ function ServiceExecutionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
31
|
'endedAt': json['endedAt'] == null ? undefined : json['endedAt'],
|
|
38
32
|
};
|
|
39
33
|
}
|
|
40
|
-
function ServiceExecutionDtoToJSON(value) {
|
|
34
|
+
export function ServiceExecutionDtoToJSON(value) {
|
|
41
35
|
if (value == null) {
|
|
42
36
|
return value;
|
|
43
37
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,16 +11,10 @@
|
|
|
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.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
14
|
/**
|
|
22
15
|
* @export
|
|
23
16
|
*/
|
|
24
|
-
|
|
17
|
+
export const ServiceOverviewDtoCurrentUserPermissionEnum = {
|
|
25
18
|
Viewer: 'VIEWER',
|
|
26
19
|
Maintainer: 'MAINTAINER',
|
|
27
20
|
Owner: 'OWNER'
|
|
@@ -29,7 +22,7 @@ exports.ServiceOverviewDtoCurrentUserPermissionEnum = {
|
|
|
29
22
|
/**
|
|
30
23
|
* @export
|
|
31
24
|
*/
|
|
32
|
-
|
|
25
|
+
export const ServiceOverviewDtoTypeEnum = {
|
|
33
26
|
Managed: 'MANAGED',
|
|
34
27
|
External: 'EXTERNAL',
|
|
35
28
|
Workflow: 'WORKFLOW'
|
|
@@ -37,7 +30,7 @@ exports.ServiceOverviewDtoTypeEnum = {
|
|
|
37
30
|
/**
|
|
38
31
|
* @export
|
|
39
32
|
*/
|
|
40
|
-
|
|
33
|
+
export const ServiceOverviewDtoLifecycleEnum = {
|
|
41
34
|
Created: 'CREATED',
|
|
42
35
|
Accessible: 'ACCESSIBLE',
|
|
43
36
|
Published: 'PUBLISHED'
|
|
@@ -45,7 +38,7 @@ exports.ServiceOverviewDtoLifecycleEnum = {
|
|
|
45
38
|
/**
|
|
46
39
|
* @export
|
|
47
40
|
*/
|
|
48
|
-
|
|
41
|
+
export const ServiceOverviewDtoBuildStatusEnum = {
|
|
49
42
|
Working: 'WORKING',
|
|
50
43
|
Success: 'SUCCESS',
|
|
51
44
|
Failure: 'FAILURE'
|
|
@@ -53,13 +46,13 @@ exports.ServiceOverviewDtoBuildStatusEnum = {
|
|
|
53
46
|
/**
|
|
54
47
|
* Check if a given object implements the ServiceOverviewDto interface.
|
|
55
48
|
*/
|
|
56
|
-
function instanceOfServiceOverviewDto(value) {
|
|
49
|
+
export function instanceOfServiceOverviewDto(value) {
|
|
57
50
|
return true;
|
|
58
51
|
}
|
|
59
|
-
function ServiceOverviewDtoFromJSON(json) {
|
|
52
|
+
export function ServiceOverviewDtoFromJSON(json) {
|
|
60
53
|
return ServiceOverviewDtoFromJSONTyped(json, false);
|
|
61
54
|
}
|
|
62
|
-
function ServiceOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
export function ServiceOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
63
56
|
if (json == null) {
|
|
64
57
|
return json;
|
|
65
58
|
}
|
|
@@ -75,7 +68,7 @@ function ServiceOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
75
68
|
'buildStatus': json['buildStatus'] == null ? undefined : json['buildStatus'],
|
|
76
69
|
};
|
|
77
70
|
}
|
|
78
|
-
function ServiceOverviewDtoToJSON(value) {
|
|
71
|
+
export function ServiceOverviewDtoToJSON(value) {
|
|
79
72
|
if (value == null) {
|
|
80
73
|
return value;
|
|
81
74
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,43 +11,38 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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");
|
|
14
|
+
import { FileSourceFromJSONTyped } from './FileSource.js';
|
|
15
|
+
import { RegistrySourceFromJSONTyped } from './RegistrySource.js';
|
|
16
|
+
import { RepositorySourceFromJSONTyped } from './RepositorySource.js';
|
|
23
17
|
/**
|
|
24
18
|
* Check if a given object implements the ServiceSource interface.
|
|
25
19
|
*/
|
|
26
|
-
function instanceOfServiceSource(value) {
|
|
20
|
+
export function instanceOfServiceSource(value) {
|
|
27
21
|
return true;
|
|
28
22
|
}
|
|
29
|
-
function ServiceSourceFromJSON(json) {
|
|
23
|
+
export function ServiceSourceFromJSON(json) {
|
|
30
24
|
return ServiceSourceFromJSONTyped(json, false);
|
|
31
25
|
}
|
|
32
|
-
function ServiceSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
export function ServiceSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
27
|
if (json == null) {
|
|
34
28
|
return json;
|
|
35
29
|
}
|
|
36
30
|
if (!ignoreDiscriminator) {
|
|
37
31
|
if (json['type'] === 'FileSource') {
|
|
38
|
-
return
|
|
32
|
+
return FileSourceFromJSONTyped(json, true);
|
|
39
33
|
}
|
|
40
34
|
if (json['type'] === 'RegistrySource') {
|
|
41
|
-
return
|
|
35
|
+
return RegistrySourceFromJSONTyped(json, true);
|
|
42
36
|
}
|
|
43
37
|
if (json['type'] === 'RepositorySource') {
|
|
44
|
-
return
|
|
38
|
+
return RepositorySourceFromJSONTyped(json, true);
|
|
45
39
|
}
|
|
46
40
|
}
|
|
47
41
|
return {
|
|
48
42
|
'type': json['type'] == null ? undefined : json['type'],
|
|
49
43
|
};
|
|
50
44
|
}
|
|
51
|
-
function ServiceSourceToJSON(value) {
|
|
45
|
+
export function ServiceSourceToJSON(value) {
|
|
52
46
|
if (value == null) {
|
|
53
47
|
return value;
|
|
54
48
|
}
|
|
@@ -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.instanceOfSortObject = instanceOfSortObject;
|
|
17
|
-
exports.SortObjectFromJSON = SortObjectFromJSON;
|
|
18
|
-
exports.SortObjectFromJSONTyped = SortObjectFromJSONTyped;
|
|
19
|
-
exports.SortObjectToJSON = SortObjectToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the SortObject interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfSortObject(value) {
|
|
17
|
+
export function instanceOfSortObject(value) {
|
|
24
18
|
return true;
|
|
25
19
|
}
|
|
26
|
-
function SortObjectFromJSON(json) {
|
|
20
|
+
export function SortObjectFromJSON(json) {
|
|
27
21
|
return SortObjectFromJSONTyped(json, false);
|
|
28
22
|
}
|
|
29
|
-
function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
24
|
if (json == null) {
|
|
31
25
|
return json;
|
|
32
26
|
}
|
|
@@ -36,7 +30,7 @@ function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
30
|
'unsorted': json['unsorted'] == null ? undefined : json['unsorted'],
|
|
37
31
|
};
|
|
38
32
|
}
|
|
39
|
-
function SortObjectToJSON(value) {
|
|
33
|
+
export function SortObjectToJSON(value) {
|
|
40
34
|
if (value == null) {
|
|
41
35
|
return value;
|
|
42
36
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { ApplicationDto } from './ApplicationDto';
|
|
13
|
-
import type { ApiDto } from './ApiDto';
|
|
14
|
-
import type { PricingPlanDto } from './PricingPlanDto';
|
|
12
|
+
import type { ApplicationDto } from './ApplicationDto.js';
|
|
13
|
+
import type { ApiDto } from './ApiDto.js';
|
|
14
|
+
import type { PricingPlanDto } from './PricingPlanDto.js';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|