@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
package/dist/client/kqh/index.js
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
1
|
/* tslint:disable */
|
|
18
2
|
/* eslint-disable */
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
3
|
+
export * from './runtime.js';
|
|
4
|
+
export * from './apis/index.js';
|
|
5
|
+
export * from './models/index.js';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,29 +11,23 @@
|
|
|
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.AccessTokenDtoScopesEnum = void 0;
|
|
17
|
-
exports.instanceOfAccessTokenDto = instanceOfAccessTokenDto;
|
|
18
|
-
exports.AccessTokenDtoFromJSON = AccessTokenDtoFromJSON;
|
|
19
|
-
exports.AccessTokenDtoFromJSONTyped = AccessTokenDtoFromJSONTyped;
|
|
20
|
-
exports.AccessTokenDtoToJSON = AccessTokenDtoToJSON;
|
|
21
14
|
/**
|
|
22
15
|
* @export
|
|
23
16
|
*/
|
|
24
|
-
|
|
17
|
+
export const AccessTokenDtoScopesEnum = {
|
|
25
18
|
Api: 'API',
|
|
26
19
|
QuantumTokens: 'QUANTUM_TOKENS'
|
|
27
20
|
};
|
|
28
21
|
/**
|
|
29
22
|
* Check if a given object implements the AccessTokenDto interface.
|
|
30
23
|
*/
|
|
31
|
-
function instanceOfAccessTokenDto(value) {
|
|
24
|
+
export function instanceOfAccessTokenDto(value) {
|
|
32
25
|
return true;
|
|
33
26
|
}
|
|
34
|
-
function AccessTokenDtoFromJSON(json) {
|
|
27
|
+
export function AccessTokenDtoFromJSON(json) {
|
|
35
28
|
return AccessTokenDtoFromJSONTyped(json, false);
|
|
36
29
|
}
|
|
37
|
-
function AccessTokenDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
export function AccessTokenDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
31
|
if (json == null) {
|
|
39
32
|
return json;
|
|
40
33
|
}
|
|
@@ -49,7 +42,7 @@ function AccessTokenDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
42
|
'token': json['token'] == null ? undefined : json['token'],
|
|
50
43
|
};
|
|
51
44
|
}
|
|
52
|
-
function AccessTokenDtoToJSON(value) {
|
|
45
|
+
export function AccessTokenDtoToJSON(value) {
|
|
53
46
|
if (value == null) {
|
|
54
47
|
return value;
|
|
55
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.instanceOfAmountMajorDto = instanceOfAmountMajorDto;
|
|
17
|
-
exports.AmountMajorDtoFromJSON = AmountMajorDtoFromJSON;
|
|
18
|
-
exports.AmountMajorDtoFromJSONTyped = AmountMajorDtoFromJSONTyped;
|
|
19
|
-
exports.AmountMajorDtoToJSON = AmountMajorDtoToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the AmountMajorDto interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfAmountMajorDto(value) {
|
|
17
|
+
export function instanceOfAmountMajorDto(value) {
|
|
24
18
|
return true;
|
|
25
19
|
}
|
|
26
|
-
function AmountMajorDtoFromJSON(json) {
|
|
20
|
+
export function AmountMajorDtoFromJSON(json) {
|
|
27
21
|
return AmountMajorDtoFromJSONTyped(json, false);
|
|
28
22
|
}
|
|
29
|
-
function AmountMajorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function AmountMajorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
24
|
if (json == null) {
|
|
31
25
|
return json;
|
|
32
26
|
}
|
|
@@ -35,7 +29,7 @@ function AmountMajorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
29
|
'currency': json['currency'] == null ? undefined : json['currency'],
|
|
36
30
|
};
|
|
37
31
|
}
|
|
38
|
-
function AmountMajorDtoToJSON(value) {
|
|
32
|
+
export function AmountMajorDtoToJSON(value) {
|
|
39
33
|
if (value == null) {
|
|
40
34
|
return value;
|
|
41
35
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { PricingPlanDto } from './PricingPlanDto';
|
|
13
|
-
import type { TaxonomyElement } from './TaxonomyElement';
|
|
12
|
+
import type { PricingPlanDto } from './PricingPlanDto.js';
|
|
13
|
+
import type { TaxonomyElement } from './TaxonomyElement.js';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,18 +11,12 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
exports.instanceOfApiDto = instanceOfApiDto;
|
|
18
|
-
exports.ApiDtoFromJSON = ApiDtoFromJSON;
|
|
19
|
-
exports.ApiDtoFromJSONTyped = ApiDtoFromJSONTyped;
|
|
20
|
-
exports.ApiDtoToJSON = ApiDtoToJSON;
|
|
21
|
-
const PricingPlanDto_1 = require("./PricingPlanDto");
|
|
22
|
-
const TaxonomyElement_1 = require("./TaxonomyElement");
|
|
14
|
+
import { PricingPlanDtoFromJSON, PricingPlanDtoToJSON, } from './PricingPlanDto.js';
|
|
15
|
+
import { TaxonomyElementFromJSON, TaxonomyElementToJSON, } from './TaxonomyElement.js';
|
|
23
16
|
/**
|
|
24
17
|
* @export
|
|
25
18
|
*/
|
|
26
|
-
|
|
19
|
+
export const ApiDtoPricingCategoryEnum = {
|
|
27
20
|
Free: 'FREE',
|
|
28
21
|
Freemium: 'FREEMIUM',
|
|
29
22
|
Commercial: 'COMMERCIAL'
|
|
@@ -31,7 +24,7 @@ exports.ApiDtoPricingCategoryEnum = {
|
|
|
31
24
|
/**
|
|
32
25
|
* @export
|
|
33
26
|
*/
|
|
34
|
-
|
|
27
|
+
export const ApiDtoLifecycleEnum = {
|
|
35
28
|
Created: 'CREATED',
|
|
36
29
|
Accessible: 'ACCESSIBLE',
|
|
37
30
|
Published: 'PUBLISHED'
|
|
@@ -39,7 +32,7 @@ exports.ApiDtoLifecycleEnum = {
|
|
|
39
32
|
/**
|
|
40
33
|
* @export
|
|
41
34
|
*/
|
|
42
|
-
|
|
35
|
+
export const ApiDtoServiceTypeEnum = {
|
|
43
36
|
Managed: 'MANAGED',
|
|
44
37
|
External: 'EXTERNAL',
|
|
45
38
|
Workflow: 'WORKFLOW'
|
|
@@ -47,13 +40,13 @@ exports.ApiDtoServiceTypeEnum = {
|
|
|
47
40
|
/**
|
|
48
41
|
* Check if a given object implements the ApiDto interface.
|
|
49
42
|
*/
|
|
50
|
-
function instanceOfApiDto(value) {
|
|
43
|
+
export function instanceOfApiDto(value) {
|
|
51
44
|
return true;
|
|
52
45
|
}
|
|
53
|
-
function ApiDtoFromJSON(json) {
|
|
46
|
+
export function ApiDtoFromJSON(json) {
|
|
54
47
|
return ApiDtoFromJSONTyped(json, false);
|
|
55
48
|
}
|
|
56
|
-
function ApiDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
export function ApiDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
57
50
|
if (json == null) {
|
|
58
51
|
return json;
|
|
59
52
|
}
|
|
@@ -65,9 +58,9 @@ function ApiDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
58
|
'version': json['version'] == null ? undefined : json['version'],
|
|
66
59
|
'description': json['description'] == null ? undefined : json['description'],
|
|
67
60
|
'gatewayEndpoint': json['gatewayEndpoint'] == null ? undefined : json['gatewayEndpoint'],
|
|
68
|
-
'pricingPlans': json['pricingPlans'] == null ? undefined : (json['pricingPlans'].map(
|
|
61
|
+
'pricingPlans': json['pricingPlans'] == null ? undefined : (json['pricingPlans'].map(PricingPlanDtoFromJSON)),
|
|
69
62
|
'pricingCategory': json['pricingCategory'] == null ? undefined : json['pricingCategory'],
|
|
70
|
-
'industries': json['industries'] == null ? undefined : (new Set(json['industries'].map(
|
|
63
|
+
'industries': json['industries'] == null ? undefined : (new Set(json['industries'].map(TaxonomyElementFromJSON))),
|
|
71
64
|
'provider': json['provider'] == null ? undefined : json['provider'],
|
|
72
65
|
'lifecycle': json['lifecycle'] == null ? undefined : json['lifecycle'],
|
|
73
66
|
'serviceType': json['serviceType'] == null ? undefined : json['serviceType'],
|
|
@@ -75,7 +68,7 @@ function ApiDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
75
68
|
'isFeatured': json['isFeatured'] == null ? undefined : json['isFeatured'],
|
|
76
69
|
};
|
|
77
70
|
}
|
|
78
|
-
function ApiDtoToJSON(value) {
|
|
71
|
+
export function ApiDtoToJSON(value) {
|
|
79
72
|
if (value == null) {
|
|
80
73
|
return value;
|
|
81
74
|
}
|
|
@@ -87,9 +80,9 @@ function ApiDtoToJSON(value) {
|
|
|
87
80
|
'version': value['version'],
|
|
88
81
|
'description': value['description'],
|
|
89
82
|
'gatewayEndpoint': value['gatewayEndpoint'],
|
|
90
|
-
'pricingPlans': value['pricingPlans'] == null ? undefined : (value['pricingPlans'].map(
|
|
83
|
+
'pricingPlans': value['pricingPlans'] == null ? undefined : (value['pricingPlans'].map(PricingPlanDtoToJSON)),
|
|
91
84
|
'pricingCategory': value['pricingCategory'],
|
|
92
|
-
'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(
|
|
85
|
+
'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(TaxonomyElementToJSON)),
|
|
93
86
|
'provider': value['provider'],
|
|
94
87
|
'lifecycle': value['lifecycle'],
|
|
95
88
|
'serviceType': value['serviceType'],
|
|
@@ -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.ApiOverviewDtoPricingCategoryEnum = exports.ApiOverviewDtoLifecycleEnum = exports.ApiOverviewDtoTypeEnum = void 0;
|
|
17
|
-
exports.instanceOfApiOverviewDto = instanceOfApiOverviewDto;
|
|
18
|
-
exports.ApiOverviewDtoFromJSON = ApiOverviewDtoFromJSON;
|
|
19
|
-
exports.ApiOverviewDtoFromJSONTyped = ApiOverviewDtoFromJSONTyped;
|
|
20
|
-
exports.ApiOverviewDtoToJSON = ApiOverviewDtoToJSON;
|
|
21
|
-
const TaxonomyElement_1 = require("./TaxonomyElement");
|
|
14
|
+
import { TaxonomyElementFromJSON, TaxonomyElementToJSON, } from './TaxonomyElement.js';
|
|
22
15
|
/**
|
|
23
16
|
* @export
|
|
24
17
|
*/
|
|
25
|
-
|
|
18
|
+
export const ApiOverviewDtoTypeEnum = {
|
|
26
19
|
Managed: 'MANAGED',
|
|
27
20
|
External: 'EXTERNAL',
|
|
28
21
|
Workflow: 'WORKFLOW'
|
|
@@ -30,7 +23,7 @@ exports.ApiOverviewDtoTypeEnum = {
|
|
|
30
23
|
/**
|
|
31
24
|
* @export
|
|
32
25
|
*/
|
|
33
|
-
|
|
26
|
+
export const ApiOverviewDtoLifecycleEnum = {
|
|
34
27
|
Created: 'CREATED',
|
|
35
28
|
Accessible: 'ACCESSIBLE',
|
|
36
29
|
Published: 'PUBLISHED'
|
|
@@ -38,7 +31,7 @@ exports.ApiOverviewDtoLifecycleEnum = {
|
|
|
38
31
|
/**
|
|
39
32
|
* @export
|
|
40
33
|
*/
|
|
41
|
-
|
|
34
|
+
export const ApiOverviewDtoPricingCategoryEnum = {
|
|
42
35
|
Free: 'FREE',
|
|
43
36
|
Freemium: 'FREEMIUM',
|
|
44
37
|
Commercial: 'COMMERCIAL'
|
|
@@ -46,13 +39,13 @@ exports.ApiOverviewDtoPricingCategoryEnum = {
|
|
|
46
39
|
/**
|
|
47
40
|
* Check if a given object implements the ApiOverviewDto interface.
|
|
48
41
|
*/
|
|
49
|
-
function instanceOfApiOverviewDto(value) {
|
|
42
|
+
export function instanceOfApiOverviewDto(value) {
|
|
50
43
|
return true;
|
|
51
44
|
}
|
|
52
|
-
function ApiOverviewDtoFromJSON(json) {
|
|
45
|
+
export function ApiOverviewDtoFromJSON(json) {
|
|
53
46
|
return ApiOverviewDtoFromJSONTyped(json, false);
|
|
54
47
|
}
|
|
55
|
-
function ApiOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
export function ApiOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
49
|
if (json == null) {
|
|
57
50
|
return json;
|
|
58
51
|
}
|
|
@@ -63,14 +56,14 @@ function ApiOverviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
56
|
'provider': json['provider'] == null ? undefined : json['provider'],
|
|
64
57
|
'type': json['type'] == null ? undefined : json['type'],
|
|
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
|
'pricingCategory': json['pricingCategory'] == null ? undefined : json['pricingCategory'],
|
|
68
61
|
'rating': json['rating'] == null ? undefined : json['rating'],
|
|
69
62
|
'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
|
|
70
63
|
'isFeatured': json['isFeatured'] == null ? undefined : json['isFeatured'],
|
|
71
64
|
};
|
|
72
65
|
}
|
|
73
|
-
function ApiOverviewDtoToJSON(value) {
|
|
66
|
+
export function ApiOverviewDtoToJSON(value) {
|
|
74
67
|
if (value == null) {
|
|
75
68
|
return value;
|
|
76
69
|
}
|
|
@@ -81,7 +74,7 @@ function ApiOverviewDtoToJSON(value) {
|
|
|
81
74
|
'provider': value['provider'],
|
|
82
75
|
'type': value['type'],
|
|
83
76
|
'lifecycle': value['lifecycle'],
|
|
84
|
-
'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(
|
|
77
|
+
'industries': value['industries'] == null ? undefined : (Array.from(value['industries']).map(TaxonomyElementToJSON)),
|
|
85
78
|
'pricingCategory': value['pricingCategory'],
|
|
86
79
|
'rating': value['rating'],
|
|
87
80
|
'logoUrl': value['logoUrl'],
|
|
@@ -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.ApplicationDtoCurrentUserPermissionEnum = void 0;
|
|
17
|
-
exports.instanceOfApplicationDto = instanceOfApplicationDto;
|
|
18
|
-
exports.ApplicationDtoFromJSON = ApplicationDtoFromJSON;
|
|
19
|
-
exports.ApplicationDtoFromJSONTyped = ApplicationDtoFromJSONTyped;
|
|
20
|
-
exports.ApplicationDtoToJSON = ApplicationDtoToJSON;
|
|
21
14
|
/**
|
|
22
15
|
* @export
|
|
23
16
|
*/
|
|
24
|
-
|
|
17
|
+
export const ApplicationDtoCurrentUserPermissionEnum = {
|
|
25
18
|
Viewer: 'VIEWER',
|
|
26
19
|
Maintainer: 'MAINTAINER',
|
|
27
20
|
Owner: 'OWNER'
|
|
@@ -29,13 +22,13 @@ exports.ApplicationDtoCurrentUserPermissionEnum = {
|
|
|
29
22
|
/**
|
|
30
23
|
* Check if a given object implements the ApplicationDto interface.
|
|
31
24
|
*/
|
|
32
|
-
function instanceOfApplicationDto(value) {
|
|
25
|
+
export function instanceOfApplicationDto(value) {
|
|
33
26
|
return true;
|
|
34
27
|
}
|
|
35
|
-
function ApplicationDtoFromJSON(json) {
|
|
28
|
+
export function ApplicationDtoFromJSON(json) {
|
|
36
29
|
return ApplicationDtoFromJSONTyped(json, false);
|
|
37
30
|
}
|
|
38
|
-
function ApplicationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
export function ApplicationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
32
|
if (json == null) {
|
|
40
33
|
return json;
|
|
41
34
|
}
|
|
@@ -47,7 +40,7 @@ function ApplicationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
40
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
48
41
|
};
|
|
49
42
|
}
|
|
50
|
-
function ApplicationDtoToJSON(value) {
|
|
43
|
+
export function ApplicationDtoToJSON(value) {
|
|
51
44
|
if (value == null) {
|
|
52
45
|
return value;
|
|
53
46
|
}
|
|
@@ -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.BuildJobDtoStepEnum = exports.BuildJobDtoStatusEnum = void 0;
|
|
17
|
-
exports.instanceOfBuildJobDto = instanceOfBuildJobDto;
|
|
18
|
-
exports.BuildJobDtoFromJSON = BuildJobDtoFromJSON;
|
|
19
|
-
exports.BuildJobDtoFromJSONTyped = BuildJobDtoFromJSONTyped;
|
|
20
|
-
exports.BuildJobDtoToJSON = BuildJobDtoToJSON;
|
|
21
|
-
const ValidationResult_1 = require("./ValidationResult");
|
|
14
|
+
import { ValidationResultFromJSON, ValidationResultToJSON, } from './ValidationResult.js';
|
|
22
15
|
/**
|
|
23
16
|
* @export
|
|
24
17
|
*/
|
|
25
|
-
|
|
18
|
+
export const BuildJobDtoStatusEnum = {
|
|
26
19
|
Working: 'WORKING',
|
|
27
20
|
Success: 'SUCCESS',
|
|
28
21
|
Failure: 'FAILURE'
|
|
@@ -30,7 +23,7 @@ exports.BuildJobDtoStatusEnum = {
|
|
|
30
23
|
/**
|
|
31
24
|
* @export
|
|
32
25
|
*/
|
|
33
|
-
|
|
26
|
+
export const BuildJobDtoStepEnum = {
|
|
34
27
|
Init: 'INIT',
|
|
35
28
|
BuildImage: 'BUILD_IMAGE',
|
|
36
29
|
PushImage: 'PUSH_IMAGE',
|
|
@@ -39,13 +32,13 @@ exports.BuildJobDtoStepEnum = {
|
|
|
39
32
|
/**
|
|
40
33
|
* Check if a given object implements the BuildJobDto interface.
|
|
41
34
|
*/
|
|
42
|
-
function instanceOfBuildJobDto(value) {
|
|
35
|
+
export function instanceOfBuildJobDto(value) {
|
|
43
36
|
return true;
|
|
44
37
|
}
|
|
45
|
-
function BuildJobDtoFromJSON(json) {
|
|
38
|
+
export function BuildJobDtoFromJSON(json) {
|
|
46
39
|
return BuildJobDtoFromJSONTyped(json, false);
|
|
47
40
|
}
|
|
48
|
-
function BuildJobDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
export function BuildJobDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
42
|
if (json == null) {
|
|
50
43
|
return json;
|
|
51
44
|
}
|
|
@@ -54,10 +47,10 @@ function BuildJobDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
47
|
'step': json['step'] == null ? undefined : json['step'],
|
|
55
48
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
56
49
|
'finishedAt': json['finishedAt'] == null ? undefined : json['finishedAt'],
|
|
57
|
-
'validationResult': json['validationResult'] == null ? undefined :
|
|
50
|
+
'validationResult': json['validationResult'] == null ? undefined : ValidationResultFromJSON(json['validationResult']),
|
|
58
51
|
};
|
|
59
52
|
}
|
|
60
|
-
function BuildJobDtoToJSON(value) {
|
|
53
|
+
export function BuildJobDtoToJSON(value) {
|
|
61
54
|
if (value == null) {
|
|
62
55
|
return value;
|
|
63
56
|
}
|
|
@@ -66,6 +59,6 @@ function BuildJobDtoToJSON(value) {
|
|
|
66
59
|
'step': value['step'],
|
|
67
60
|
'createdAt': value['createdAt'],
|
|
68
61
|
'finishedAt': value['finishedAt'],
|
|
69
|
-
'validationResult':
|
|
62
|
+
'validationResult': ValidationResultToJSON(value['validationResult']),
|
|
70
63
|
};
|
|
71
64
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,37 +11,32 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
exports.instanceOfCpuConfiguration = instanceOfCpuConfiguration;
|
|
17
|
-
exports.CpuConfigurationFromJSON = CpuConfigurationFromJSON;
|
|
18
|
-
exports.CpuConfigurationFromJSONTyped = CpuConfigurationFromJSONTyped;
|
|
19
|
-
exports.CpuConfigurationToJSON = CpuConfigurationToJSON;
|
|
20
|
-
const ResourceConfiguration_1 = require("./ResourceConfiguration");
|
|
14
|
+
import { ResourceConfigurationFromJSONTyped, ResourceConfigurationToJSON, } from './ResourceConfiguration.js';
|
|
21
15
|
/**
|
|
22
16
|
* Check if a given object implements the CpuConfiguration interface.
|
|
23
17
|
*/
|
|
24
|
-
function instanceOfCpuConfiguration(value) {
|
|
18
|
+
export function instanceOfCpuConfiguration(value) {
|
|
25
19
|
return true;
|
|
26
20
|
}
|
|
27
|
-
function CpuConfigurationFromJSON(json) {
|
|
21
|
+
export function CpuConfigurationFromJSON(json) {
|
|
28
22
|
return CpuConfigurationFromJSONTyped(json, false);
|
|
29
23
|
}
|
|
30
|
-
function CpuConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
export function CpuConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
25
|
if (json == null) {
|
|
32
26
|
return json;
|
|
33
27
|
}
|
|
34
28
|
return {
|
|
35
|
-
...
|
|
29
|
+
...ResourceConfigurationFromJSONTyped(json, ignoreDiscriminator),
|
|
36
30
|
'amount': json['amount'] == null ? undefined : json['amount'],
|
|
37
31
|
'unit': json['unit'] == null ? undefined : json['unit'],
|
|
38
32
|
};
|
|
39
33
|
}
|
|
40
|
-
function CpuConfigurationToJSON(value) {
|
|
34
|
+
export function CpuConfigurationToJSON(value) {
|
|
41
35
|
if (value == null) {
|
|
42
36
|
return value;
|
|
43
37
|
}
|
|
44
38
|
return {
|
|
45
|
-
...
|
|
39
|
+
...ResourceConfigurationToJSON(value),
|
|
46
40
|
'amount': value['amount'],
|
|
47
41
|
'unit': value['unit'],
|
|
48
42
|
};
|
|
@@ -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.instanceOfCreateApplicationRequest = instanceOfCreateApplicationRequest;
|
|
17
|
-
exports.CreateApplicationRequestFromJSON = CreateApplicationRequestFromJSON;
|
|
18
|
-
exports.CreateApplicationRequestFromJSONTyped = CreateApplicationRequestFromJSONTyped;
|
|
19
|
-
exports.CreateApplicationRequestToJSON = CreateApplicationRequestToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the CreateApplicationRequest interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfCreateApplicationRequest(value) {
|
|
17
|
+
export function instanceOfCreateApplicationRequest(value) {
|
|
24
18
|
return true;
|
|
25
19
|
}
|
|
26
|
-
function CreateApplicationRequestFromJSON(json) {
|
|
20
|
+
export function CreateApplicationRequestFromJSON(json) {
|
|
27
21
|
return CreateApplicationRequestFromJSONTyped(json, false);
|
|
28
22
|
}
|
|
29
|
-
function CreateApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function CreateApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
24
|
if (json == null) {
|
|
31
25
|
return json;
|
|
32
26
|
}
|
|
@@ -34,7 +28,7 @@ function CreateApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
28
|
'name': json['name'] == null ? undefined : json['name'],
|
|
35
29
|
};
|
|
36
30
|
}
|
|
37
|
-
function CreateApplicationRequestToJSON(value) {
|
|
31
|
+
export function CreateApplicationRequestToJSON(value) {
|
|
38
32
|
if (value == null) {
|
|
39
33
|
return value;
|
|
40
34
|
}
|
|
@@ -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.instanceOfCreateDataPoolRequest = instanceOfCreateDataPoolRequest;
|
|
17
|
-
exports.CreateDataPoolRequestFromJSON = CreateDataPoolRequestFromJSON;
|
|
18
|
-
exports.CreateDataPoolRequestFromJSONTyped = CreateDataPoolRequestFromJSONTyped;
|
|
19
|
-
exports.CreateDataPoolRequestToJSON = CreateDataPoolRequestToJSON;
|
|
20
14
|
/**
|
|
21
15
|
* Check if a given object implements the CreateDataPoolRequest interface.
|
|
22
16
|
*/
|
|
23
|
-
function instanceOfCreateDataPoolRequest(value) {
|
|
17
|
+
export function instanceOfCreateDataPoolRequest(value) {
|
|
24
18
|
if (!('name' in value) || value['name'] === undefined)
|
|
25
19
|
return false;
|
|
26
20
|
return true;
|
|
27
21
|
}
|
|
28
|
-
function CreateDataPoolRequestFromJSON(json) {
|
|
22
|
+
export function CreateDataPoolRequestFromJSON(json) {
|
|
29
23
|
return CreateDataPoolRequestFromJSONTyped(json, false);
|
|
30
24
|
}
|
|
31
|
-
function CreateDataPoolRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
export function CreateDataPoolRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
26
|
if (json == null) {
|
|
33
27
|
return json;
|
|
34
28
|
}
|
|
@@ -36,7 +30,7 @@ function CreateDataPoolRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
30
|
'name': json['name'],
|
|
37
31
|
};
|
|
38
32
|
}
|
|
39
|
-
function CreateDataPoolRequestToJSON(value) {
|
|
33
|
+
export function CreateDataPoolRequestToJSON(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,46 +11,40 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
exports.CreateExternalServicePricingPlanRequestTypeEnum = void 0;
|
|
17
|
-
exports.instanceOfCreateExternalServicePricingPlanRequest = instanceOfCreateExternalServicePricingPlanRequest;
|
|
18
|
-
exports.CreateExternalServicePricingPlanRequestFromJSON = CreateExternalServicePricingPlanRequestFromJSON;
|
|
19
|
-
exports.CreateExternalServicePricingPlanRequestFromJSONTyped = CreateExternalServicePricingPlanRequestFromJSONTyped;
|
|
20
|
-
exports.CreateExternalServicePricingPlanRequestToJSON = CreateExternalServicePricingPlanRequestToJSON;
|
|
21
|
-
const CreateProductRequest_1 = require("./CreateProductRequest");
|
|
14
|
+
import { CreateProductRequestFromJSON, CreateProductRequestToJSON, } from './CreateProductRequest.js';
|
|
22
15
|
/**
|
|
23
16
|
* @export
|
|
24
17
|
*/
|
|
25
|
-
|
|
18
|
+
export const CreateExternalServicePricingPlanRequestTypeEnum = {
|
|
26
19
|
Free: 'FREE',
|
|
27
20
|
Commercial: 'COMMERCIAL'
|
|
28
21
|
};
|
|
29
22
|
/**
|
|
30
23
|
* Check if a given object implements the CreateExternalServicePricingPlanRequest interface.
|
|
31
24
|
*/
|
|
32
|
-
function instanceOfCreateExternalServicePricingPlanRequest(value) {
|
|
25
|
+
export function instanceOfCreateExternalServicePricingPlanRequest(value) {
|
|
33
26
|
if (!('type' in value) || value['type'] === undefined)
|
|
34
27
|
return false;
|
|
35
28
|
return true;
|
|
36
29
|
}
|
|
37
|
-
function CreateExternalServicePricingPlanRequestFromJSON(json) {
|
|
30
|
+
export function CreateExternalServicePricingPlanRequestFromJSON(json) {
|
|
38
31
|
return CreateExternalServicePricingPlanRequestFromJSONTyped(json, false);
|
|
39
32
|
}
|
|
40
|
-
function CreateExternalServicePricingPlanRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
export function CreateExternalServicePricingPlanRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
34
|
if (json == null) {
|
|
42
35
|
return json;
|
|
43
36
|
}
|
|
44
37
|
return {
|
|
45
38
|
'type': json['type'],
|
|
46
|
-
'products': json['products'] == null ? undefined : (json['products'].map(
|
|
39
|
+
'products': json['products'] == null ? undefined : (json['products'].map(CreateProductRequestFromJSON)),
|
|
47
40
|
};
|
|
48
41
|
}
|
|
49
|
-
function CreateExternalServicePricingPlanRequestToJSON(value) {
|
|
42
|
+
export function CreateExternalServicePricingPlanRequestToJSON(value) {
|
|
50
43
|
if (value == null) {
|
|
51
44
|
return value;
|
|
52
45
|
}
|
|
53
46
|
return {
|
|
54
47
|
'type': value['type'],
|
|
55
|
-
'products': value['products'] == null ? undefined : (value['products'].map(
|
|
48
|
+
'products': value['products'] == null ? undefined : (value['products'].map(CreateProductRequestToJSON)),
|
|
56
49
|
};
|
|
57
50
|
}
|