@openshift-migration-advisor/planner-sdk 0.20.3 → 0.21.0-dd2aa7ede360
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/.openapi-generator/FILES +22 -0
- package/README.md +15 -2
- package/dist/apis/AccountApi.js +1 -1
- package/dist/apis/AssessmentApi.d.ts +81 -0
- package/dist/apis/AssessmentApi.js +84 -0
- package/dist/esm/apis/AccountApi.js +1 -1
- package/dist/esm/apis/AssessmentApi.d.ts +81 -0
- package/dist/esm/apis/AssessmentApi.js +84 -0
- package/dist/esm/models/ActiveEnvironmentsInput.d.ts +41 -0
- package/dist/esm/models/ActiveEnvironmentsInput.js +51 -0
- package/dist/esm/models/Agent.js +6 -5
- package/dist/esm/models/AriaAutomationInput.d.ts +51 -0
- package/dist/esm/models/AriaAutomationInput.js +61 -0
- package/dist/esm/models/AriaOpsInput.d.ts +49 -0
- package/dist/esm/models/AriaOpsInput.js +59 -0
- package/dist/esm/models/AriaSecureInput.d.ts +41 -0
- package/dist/esm/models/AriaSecureInput.js +51 -0
- package/dist/esm/models/Assessment.js +5 -4
- package/dist/esm/models/AssessmentSubsetInventory.js +3 -2
- package/dist/esm/models/ClusterFeatures.d.ts +2 -2
- package/dist/esm/models/ClusterFeatures.js +3 -3
- package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/ClusterRequirementsStoredInput.js +3 -3
- package/dist/esm/models/CpuOverCommitRatio.js +1 -1
- package/dist/esm/models/CustomerDetailsInput.d.ts +34 -0
- package/dist/esm/models/CustomerDetailsInput.js +43 -0
- package/dist/esm/models/DeployedEnvironmentInput.d.ts +40 -0
- package/dist/esm/models/DeployedEnvironmentInput.js +50 -0
- package/dist/esm/models/EnhancementData.d.ts +76 -0
- package/dist/esm/models/EnhancementData.js +69 -0
- package/dist/esm/models/Group.js +6 -5
- package/dist/esm/models/GroupCreate.js +1 -1
- package/dist/esm/models/Host.d.ts +8 -0
- package/dist/esm/models/Host.js +4 -0
- package/dist/esm/models/Identity.js +1 -1
- package/dist/esm/models/Inventory.d.ts +4 -0
- package/dist/esm/models/Inventory.js +3 -1
- package/dist/esm/models/JobStatus.js +1 -1
- package/dist/esm/models/Member.js +5 -4
- package/dist/esm/models/MemoryOverCommitRatio.js +1 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/NsxInput.d.ts +46 -0
- package/dist/esm/models/NsxInput.js +56 -0
- package/dist/esm/models/OptimizationStatus.js +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PartnerRequest.js +7 -6
- package/dist/esm/models/PartnerRequestStatus.js +1 -1
- package/dist/esm/models/PresignedUrl.js +3 -2
- package/dist/esm/models/Snapshot.js +3 -2
- package/dist/esm/models/Source.js +6 -5
- package/dist/esm/models/SourceCreate.js +1 -1
- package/dist/esm/models/SourceUpdate.js +1 -1
- package/dist/esm/models/StandaloneClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- package/dist/esm/models/VMwareSubscriptionInput.d.ts +42 -0
- package/dist/esm/models/VMwareSubscriptionInput.js +52 -0
- package/dist/esm/models/VMwareVersionCountsInput.d.ts +42 -0
- package/dist/esm/models/VMwareVersionCountsInput.js +47 -0
- package/dist/esm/models/VsphereCoreInput.d.ts +38 -0
- package/dist/esm/models/VsphereCoreInput.js +45 -0
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/esm/runtime.d.ts +11 -0
- package/dist/esm/runtime.js +47 -1
- package/dist/models/ActiveEnvironmentsInput.d.ts +41 -0
- package/dist/models/ActiveEnvironmentsInput.js +59 -0
- package/dist/models/Agent.js +6 -5
- package/dist/models/AriaAutomationInput.d.ts +51 -0
- package/dist/models/AriaAutomationInput.js +69 -0
- package/dist/models/AriaOpsInput.d.ts +49 -0
- package/dist/models/AriaOpsInput.js +67 -0
- package/dist/models/AriaSecureInput.d.ts +41 -0
- package/dist/models/AriaSecureInput.js +59 -0
- package/dist/models/Assessment.js +5 -4
- package/dist/models/AssessmentSubsetInventory.js +3 -2
- package/dist/models/ClusterFeatures.d.ts +2 -2
- package/dist/models/ClusterFeatures.js +3 -3
- package/dist/models/ClusterRequirementsRequest.js +1 -1
- package/dist/models/ClusterRequirementsStoredInput.js +3 -3
- package/dist/models/CpuOverCommitRatio.js +1 -1
- package/dist/models/CustomerDetailsInput.d.ts +34 -0
- package/dist/models/CustomerDetailsInput.js +50 -0
- package/dist/models/DeployedEnvironmentInput.d.ts +40 -0
- package/dist/models/DeployedEnvironmentInput.js +58 -0
- package/dist/models/EnhancementData.d.ts +76 -0
- package/dist/models/EnhancementData.js +76 -0
- package/dist/models/Group.js +6 -5
- package/dist/models/GroupCreate.js +1 -1
- package/dist/models/Host.d.ts +8 -0
- package/dist/models/Host.js +4 -0
- package/dist/models/Identity.js +1 -1
- package/dist/models/Inventory.d.ts +4 -0
- package/dist/models/Inventory.js +2 -0
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/Member.js +5 -4
- package/dist/models/MemoryOverCommitRatio.js +1 -1
- package/dist/models/Network.js +1 -1
- package/dist/models/NsxInput.d.ts +46 -0
- package/dist/models/NsxInput.js +64 -0
- package/dist/models/OptimizationStatus.js +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PartnerRequest.js +7 -6
- package/dist/models/PartnerRequestStatus.js +1 -1
- package/dist/models/PresignedUrl.js +3 -2
- package/dist/models/Snapshot.js +3 -2
- package/dist/models/Source.js +6 -5
- package/dist/models/SourceCreate.js +1 -1
- package/dist/models/SourceUpdate.js +1 -1
- package/dist/models/StandaloneClusterRequirementsRequest.js +1 -1
- package/dist/models/StorageIoConfiguration.js +1 -1
- package/dist/models/VMwareSubscriptionInput.d.ts +42 -0
- package/dist/models/VMwareSubscriptionInput.js +60 -0
- package/dist/models/VMwareVersionCountsInput.d.ts +42 -0
- package/dist/models/VMwareVersionCountsInput.js +54 -0
- package/dist/models/VsphereCoreInput.d.ts +38 -0
- package/dist/models/VsphereCoreInput.js +52 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/runtime.d.ts +11 -0
- package/dist/runtime.js +51 -1
- package/docs/ActiveEnvironmentsInput.md +34 -0
- package/docs/AriaAutomationInput.md +34 -0
- package/docs/AriaOpsInput.md +34 -0
- package/docs/AriaSecureInput.md +34 -0
- package/docs/AssessmentApi.md +148 -0
- package/docs/ClusterFeatures.md +2 -2
- package/docs/CustomerDetailsInput.md +36 -0
- package/docs/DeployedEnvironmentInput.md +34 -0
- package/docs/EnhancementData.md +53 -0
- package/docs/Host.md +4 -0
- package/docs/Inventory.md +2 -0
- package/docs/NsxInput.md +34 -0
- package/docs/VMwareSubscriptionInput.md +34 -0
- package/docs/VMwareVersionCountsInput.md +40 -0
- package/docs/VsphereCoreInput.md +38 -0
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +1 -1
- package/src/apis/AssessmentApi.ts +169 -0
- package/src/models/ActiveEnvironmentsInput.ts +77 -0
- package/src/models/Agent.ts +6 -6
- package/src/models/AriaAutomationInput.ts +87 -0
- package/src/models/AriaOpsInput.ts +85 -0
- package/src/models/AriaSecureInput.ts +77 -0
- package/src/models/Assessment.ts +5 -5
- package/src/models/AssessmentSubsetInventory.ts +3 -3
- package/src/models/ClusterFeatures.ts +5 -5
- package/src/models/ClusterRequirementsRequest.ts +1 -1
- package/src/models/ClusterRequirementsStoredInput.ts +3 -3
- package/src/models/CpuOverCommitRatio.ts +1 -1
- package/src/models/CustomerDetailsInput.ts +69 -0
- package/src/models/DeployedEnvironmentInput.ts +76 -0
- package/src/models/EnhancementData.ts +188 -0
- package/src/models/Group.ts +6 -6
- package/src/models/GroupCreate.ts +1 -1
- package/src/models/Host.ts +12 -0
- package/src/models/Identity.ts +1 -1
- package/src/models/Inventory.ts +7 -1
- package/src/models/JobStatus.ts +1 -1
- package/src/models/Member.ts +5 -5
- package/src/models/MemoryOverCommitRatio.ts +1 -1
- package/src/models/Network.ts +1 -1
- package/src/models/NsxInput.ts +82 -0
- package/src/models/OptimizationStatus.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PartnerRequest.ts +7 -7
- package/src/models/PartnerRequestStatus.ts +1 -1
- package/src/models/PresignedUrl.ts +3 -3
- package/src/models/Snapshot.ts +3 -3
- package/src/models/Source.ts +6 -6
- package/src/models/SourceCreate.ts +1 -1
- package/src/models/SourceUpdate.ts +1 -1
- package/src/models/StandaloneClusterRequirementsRequest.ts +1 -1
- package/src/models/StorageIoConfiguration.ts +1 -1
- package/src/models/VMwareSubscriptionInput.ts +78 -0
- package/src/models/VMwareVersionCountsInput.ts +81 -0
- package/src/models/VsphereCoreInput.ts +75 -0
- package/src/models/index.ts +11 -0
- package/src/runtime.ts +52 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1alpha1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DeployedEnvironmentInputEnvironmentEnum = void 0;
|
|
17
|
+
exports.instanceOfDeployedEnvironmentInput = instanceOfDeployedEnvironmentInput;
|
|
18
|
+
exports.DeployedEnvironmentInputFromJSON = DeployedEnvironmentInputFromJSON;
|
|
19
|
+
exports.DeployedEnvironmentInputFromJSONTyped = DeployedEnvironmentInputFromJSONTyped;
|
|
20
|
+
exports.DeployedEnvironmentInputToJSON = DeployedEnvironmentInputToJSON;
|
|
21
|
+
exports.DeployedEnvironmentInputToJSONTyped = DeployedEnvironmentInputToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.DeployedEnvironmentInputEnvironmentEnum = {
|
|
26
|
+
OnPremises: 'on_premises',
|
|
27
|
+
OnCloud: 'on_cloud',
|
|
28
|
+
ManagedServices: 'managed_services',
|
|
29
|
+
NotAssessed: 'not_assessed',
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DeployedEnvironmentInput interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfDeployedEnvironmentInput(value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function DeployedEnvironmentInputFromJSON(json) {
|
|
38
|
+
return DeployedEnvironmentInputFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function DeployedEnvironmentInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'environment': json['environment'] == null ? undefined : json['environment'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function DeployedEnvironmentInputToJSON(json) {
|
|
49
|
+
return DeployedEnvironmentInputToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function DeployedEnvironmentInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'environment': value['environment'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1alpha1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { NsxInput } from './NsxInput.js';
|
|
13
|
+
import type { AriaSecureInput } from './AriaSecureInput.js';
|
|
14
|
+
import type { DeployedEnvironmentInput } from './DeployedEnvironmentInput.js';
|
|
15
|
+
import type { VMwareSubscriptionInput } from './VMwareSubscriptionInput.js';
|
|
16
|
+
import type { CustomerDetailsInput } from './CustomerDetailsInput.js';
|
|
17
|
+
import type { VMwareVersionCountsInput } from './VMwareVersionCountsInput.js';
|
|
18
|
+
import type { VsphereCoreInput } from './VsphereCoreInput.js';
|
|
19
|
+
import type { AriaAutomationInput } from './AriaAutomationInput.js';
|
|
20
|
+
import type { AriaOpsInput } from './AriaOpsInput.js';
|
|
21
|
+
import type { ActiveEnvironmentsInput } from './ActiveEnvironmentsInput.js';
|
|
22
|
+
/**
|
|
23
|
+
* VMA enhancement data — fields that cannot be auto-collected by Agent or RVTools
|
|
24
|
+
* @export
|
|
25
|
+
* @interface EnhancementData
|
|
26
|
+
*/
|
|
27
|
+
export interface EnhancementData {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
deployedEnvironment?: DeployedEnvironmentInput;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
vmwareVersionCounts?: VMwareVersionCountsInput;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
activeEnvironments?: ActiveEnvironmentsInput;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
vmwareSubscription?: VMwareSubscriptionInput;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
vsphereCore?: VsphereCoreInput;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
nsx?: NsxInput;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
ariaOps?: AriaOpsInput;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
ariaAutomation?: AriaAutomationInput;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
ariaSecure?: AriaSecureInput;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
customerDetails?: CustomerDetailsInput;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the EnhancementData interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfEnhancementData(value: object): value is EnhancementData;
|
|
73
|
+
export declare function EnhancementDataFromJSON(json: any): EnhancementData;
|
|
74
|
+
export declare function EnhancementDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnhancementData;
|
|
75
|
+
export declare function EnhancementDataToJSON(json: any): EnhancementData;
|
|
76
|
+
export declare function EnhancementDataToJSONTyped(value?: EnhancementData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1alpha1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfEnhancementData = instanceOfEnhancementData;
|
|
17
|
+
exports.EnhancementDataFromJSON = EnhancementDataFromJSON;
|
|
18
|
+
exports.EnhancementDataFromJSONTyped = EnhancementDataFromJSONTyped;
|
|
19
|
+
exports.EnhancementDataToJSON = EnhancementDataToJSON;
|
|
20
|
+
exports.EnhancementDataToJSONTyped = EnhancementDataToJSONTyped;
|
|
21
|
+
const NsxInput_js_1 = require("./NsxInput.js");
|
|
22
|
+
const AriaSecureInput_js_1 = require("./AriaSecureInput.js");
|
|
23
|
+
const DeployedEnvironmentInput_js_1 = require("./DeployedEnvironmentInput.js");
|
|
24
|
+
const VMwareSubscriptionInput_js_1 = require("./VMwareSubscriptionInput.js");
|
|
25
|
+
const CustomerDetailsInput_js_1 = require("./CustomerDetailsInput.js");
|
|
26
|
+
const VMwareVersionCountsInput_js_1 = require("./VMwareVersionCountsInput.js");
|
|
27
|
+
const VsphereCoreInput_js_1 = require("./VsphereCoreInput.js");
|
|
28
|
+
const AriaAutomationInput_js_1 = require("./AriaAutomationInput.js");
|
|
29
|
+
const AriaOpsInput_js_1 = require("./AriaOpsInput.js");
|
|
30
|
+
const ActiveEnvironmentsInput_js_1 = require("./ActiveEnvironmentsInput.js");
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the EnhancementData interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfEnhancementData(value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function EnhancementDataFromJSON(json) {
|
|
38
|
+
return EnhancementDataFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function EnhancementDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'deployedEnvironment': json['deployedEnvironment'] == null ? undefined : (0, DeployedEnvironmentInput_js_1.DeployedEnvironmentInputFromJSON)(json['deployedEnvironment']),
|
|
46
|
+
'vmwareVersionCounts': json['vmwareVersionCounts'] == null ? undefined : (0, VMwareVersionCountsInput_js_1.VMwareVersionCountsInputFromJSON)(json['vmwareVersionCounts']),
|
|
47
|
+
'activeEnvironments': json['activeEnvironments'] == null ? undefined : (0, ActiveEnvironmentsInput_js_1.ActiveEnvironmentsInputFromJSON)(json['activeEnvironments']),
|
|
48
|
+
'vmwareSubscription': json['vmwareSubscription'] == null ? undefined : (0, VMwareSubscriptionInput_js_1.VMwareSubscriptionInputFromJSON)(json['vmwareSubscription']),
|
|
49
|
+
'vsphereCore': json['vsphereCore'] == null ? undefined : (0, VsphereCoreInput_js_1.VsphereCoreInputFromJSON)(json['vsphereCore']),
|
|
50
|
+
'nsx': json['nsx'] == null ? undefined : (0, NsxInput_js_1.NsxInputFromJSON)(json['nsx']),
|
|
51
|
+
'ariaOps': json['ariaOps'] == null ? undefined : (0, AriaOpsInput_js_1.AriaOpsInputFromJSON)(json['ariaOps']),
|
|
52
|
+
'ariaAutomation': json['ariaAutomation'] == null ? undefined : (0, AriaAutomationInput_js_1.AriaAutomationInputFromJSON)(json['ariaAutomation']),
|
|
53
|
+
'ariaSecure': json['ariaSecure'] == null ? undefined : (0, AriaSecureInput_js_1.AriaSecureInputFromJSON)(json['ariaSecure']),
|
|
54
|
+
'customerDetails': json['customerDetails'] == null ? undefined : (0, CustomerDetailsInput_js_1.CustomerDetailsInputFromJSON)(json['customerDetails']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function EnhancementDataToJSON(json) {
|
|
58
|
+
return EnhancementDataToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function EnhancementDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'deployedEnvironment': (0, DeployedEnvironmentInput_js_1.DeployedEnvironmentInputToJSON)(value['deployedEnvironment']),
|
|
66
|
+
'vmwareVersionCounts': (0, VMwareVersionCountsInput_js_1.VMwareVersionCountsInputToJSON)(value['vmwareVersionCounts']),
|
|
67
|
+
'activeEnvironments': (0, ActiveEnvironmentsInput_js_1.ActiveEnvironmentsInputToJSON)(value['activeEnvironments']),
|
|
68
|
+
'vmwareSubscription': (0, VMwareSubscriptionInput_js_1.VMwareSubscriptionInputToJSON)(value['vmwareSubscription']),
|
|
69
|
+
'vsphereCore': (0, VsphereCoreInput_js_1.VsphereCoreInputToJSON)(value['vsphereCore']),
|
|
70
|
+
'nsx': (0, NsxInput_js_1.NsxInputToJSON)(value['nsx']),
|
|
71
|
+
'ariaOps': (0, AriaOpsInput_js_1.AriaOpsInputToJSON)(value['ariaOps']),
|
|
72
|
+
'ariaAutomation': (0, AriaAutomationInput_js_1.AriaAutomationInputToJSON)(value['ariaAutomation']),
|
|
73
|
+
'ariaSecure': (0, AriaSecureInput_js_1.AriaSecureInputToJSON)(value['ariaSecure']),
|
|
74
|
+
'customerDetails': (0, CustomerDetailsInput_js_1.CustomerDetailsInputToJSON)(value['customerDetails']),
|
|
75
|
+
};
|
|
76
|
+
}
|
package/dist/models/Group.js
CHANGED
|
@@ -19,12 +19,13 @@ exports.GroupFromJSON = GroupFromJSON;
|
|
|
19
19
|
exports.GroupFromJSONTyped = GroupFromJSONTyped;
|
|
20
20
|
exports.GroupToJSON = GroupToJSON;
|
|
21
21
|
exports.GroupToJSONTyped = GroupToJSONTyped;
|
|
22
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
23
|
/**
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
25
26
|
exports.GroupKindEnum = {
|
|
26
27
|
Partner: 'partner',
|
|
27
|
-
Admin: 'admin'
|
|
28
|
+
Admin: 'admin',
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
30
31
|
* Check if a given object implements the Group interface.
|
|
@@ -60,8 +61,8 @@ function GroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
61
|
'kind': json['kind'],
|
|
61
62
|
'icon': json['icon'],
|
|
62
63
|
'company': json['company'],
|
|
63
|
-
'createdAt': (json['createdAt'] == null ? json['createdAt'] :
|
|
64
|
-
'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] :
|
|
64
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : (0, runtime_js_1.parseDateTime)(json['createdAt'])),
|
|
65
|
+
'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : (0, runtime_js_1.parseDateTime)(json['updatedAt'])),
|
|
65
66
|
};
|
|
66
67
|
}
|
|
67
68
|
function GroupToJSON(json) {
|
|
@@ -78,7 +79,7 @@ function GroupToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
78
79
|
'kind': value['kind'],
|
|
79
80
|
'icon': value['icon'],
|
|
80
81
|
'company': value['company'],
|
|
81
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt']
|
|
82
|
-
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt']
|
|
82
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : (0, runtime_js_1.serializeDateTime)(value['createdAt']),
|
|
83
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : (0, runtime_js_1.serializeDateTime)(value['updatedAt']),
|
|
83
84
|
};
|
|
84
85
|
}
|
package/dist/models/Host.d.ts
CHANGED
|
@@ -39,6 +39,14 @@ export interface Host {
|
|
|
39
39
|
* Host memory in MB
|
|
40
40
|
*/
|
|
41
41
|
memoryMB?: number | null;
|
|
42
|
+
/**
|
|
43
|
+
* Whether vMotion is supported on this host (HostSystem.capability.vmotionSupported)
|
|
44
|
+
*/
|
|
45
|
+
vmotionSupported?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
|
|
48
|
+
*/
|
|
49
|
+
storageVmotionSupported?: boolean;
|
|
42
50
|
}
|
|
43
51
|
/**
|
|
44
52
|
* Check if a given object implements the Host interface.
|
package/dist/models/Host.js
CHANGED
|
@@ -42,6 +42,8 @@ function HostFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
|
|
43
43
|
'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
|
|
44
44
|
'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
|
|
45
|
+
'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
|
|
46
|
+
'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
49
|
function HostToJSON(json) {
|
|
@@ -58,5 +60,7 @@ function HostToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
58
60
|
'cpuCores': value['cpuCores'],
|
|
59
61
|
'cpuSockets': value['cpuSockets'],
|
|
60
62
|
'memoryMB': value['memoryMB'],
|
|
63
|
+
'vmotionSupported': value['vmotionSupported'],
|
|
64
|
+
'storageVmotionSupported': value['storageVmotionSupported'],
|
|
61
65
|
};
|
|
62
66
|
}
|
package/dist/models/Identity.js
CHANGED
package/dist/models/Inventory.js
CHANGED
|
@@ -42,6 +42,7 @@ function InventoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
|
|
43
43
|
'clusters': ((0, runtime_js_1.mapValues)(json['clusters'], InventoryData_js_1.InventoryDataFromJSON)),
|
|
44
44
|
'vcenter': json['vcenter'] == null ? undefined : (0, InventoryData_js_1.InventoryDataFromJSON)(json['vcenter']),
|
|
45
|
+
'createdAt': json['created_at'] == null ? undefined : ((0, runtime_js_1.parseDateTime)(json['created_at'])),
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
function InventoryToJSON(json) {
|
|
@@ -56,5 +57,6 @@ function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
56
57
|
'vcenter_version': value['vcenterVersion'],
|
|
57
58
|
'clusters': ((0, runtime_js_1.mapValues)(value['clusters'], InventoryData_js_1.InventoryDataToJSON)),
|
|
58
59
|
'vcenter': (0, InventoryData_js_1.InventoryDataToJSON)(value['vcenter']),
|
|
60
|
+
'created_at': value['createdAt'] == null ? value['createdAt'] : (0, runtime_js_1.serializeDateTime)(value['createdAt']),
|
|
59
61
|
};
|
|
60
62
|
}
|
package/dist/models/JobStatus.js
CHANGED
package/dist/models/Member.js
CHANGED
|
@@ -18,6 +18,7 @@ exports.MemberFromJSON = MemberFromJSON;
|
|
|
18
18
|
exports.MemberFromJSONTyped = MemberFromJSONTyped;
|
|
19
19
|
exports.MemberToJSON = MemberToJSON;
|
|
20
20
|
exports.MemberToJSONTyped = MemberToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the Member interface.
|
|
23
24
|
*/
|
|
@@ -43,8 +44,8 @@ function MemberFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
44
|
'username': json['username'],
|
|
44
45
|
'email': json['email'],
|
|
45
46
|
'groupId': json['groupId'],
|
|
46
|
-
'createdAt': (json['createdAt'] == null ? json['createdAt'] :
|
|
47
|
-
'updatedAt': json['updatedAt'] == null ? undefined : (
|
|
47
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : (0, runtime_js_1.parseDateTime)(json['createdAt'])),
|
|
48
|
+
'updatedAt': json['updatedAt'] == null ? undefined : ((0, runtime_js_1.parseDateTime)(json['updatedAt'])),
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
function MemberToJSON(json) {
|
|
@@ -58,7 +59,7 @@ function MemberToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
58
59
|
'username': value['username'],
|
|
59
60
|
'email': value['email'],
|
|
60
61
|
'groupId': value['groupId'],
|
|
61
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt']
|
|
62
|
-
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt']
|
|
62
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : (0, runtime_js_1.serializeDateTime)(value['createdAt']),
|
|
63
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : (0, runtime_js_1.serializeDateTime)(value['updatedAt']),
|
|
63
64
|
};
|
|
64
65
|
}
|
|
@@ -26,7 +26,7 @@ exports.MemoryOverCommitRatioToJSONTyped = MemoryOverCommitRatioToJSONTyped;
|
|
|
26
26
|
exports.MemoryOverCommitRatio = {
|
|
27
27
|
MemoryOneToOne: '1:1',
|
|
28
28
|
MemoryOneToTwo: '1:2',
|
|
29
|
-
MemoryOneToFour: '1:4'
|
|
29
|
+
MemoryOneToFour: '1:4',
|
|
30
30
|
};
|
|
31
31
|
function instanceOfMemoryOverCommitRatio(value) {
|
|
32
32
|
for (const key in exports.MemoryOverCommitRatio) {
|
package/dist/models/Network.js
CHANGED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1alpha1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface NsxInput
|
|
16
|
+
*/
|
|
17
|
+
export interface NsxInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
features?: Set<NsxInputFeaturesEnum>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const NsxInputFeaturesEnum: {
|
|
27
|
+
readonly Microsegmentation: "microsegmentation";
|
|
28
|
+
readonly MultiCloud: "multi_cloud";
|
|
29
|
+
readonly Tunnels: "tunnels";
|
|
30
|
+
readonly DynamicRouting: "dynamic_routing";
|
|
31
|
+
readonly CentralMgmt: "central_mgmt";
|
|
32
|
+
readonly Mpls: "mpls";
|
|
33
|
+
readonly Qos: "qos";
|
|
34
|
+
readonly NotAssessed: "not_assessed";
|
|
35
|
+
readonly NotAvailable: "not_available";
|
|
36
|
+
readonly NotInUse: "not_in_use";
|
|
37
|
+
};
|
|
38
|
+
export type NsxInputFeaturesEnum = typeof NsxInputFeaturesEnum[keyof typeof NsxInputFeaturesEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the NsxInput interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfNsxInput(value: object): value is NsxInput;
|
|
43
|
+
export declare function NsxInputFromJSON(json: any): NsxInput;
|
|
44
|
+
export declare function NsxInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NsxInput;
|
|
45
|
+
export declare function NsxInputToJSON(json: any): NsxInput;
|
|
46
|
+
export declare function NsxInputToJSONTyped(value?: NsxInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1alpha1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.NsxInputFeaturesEnum = void 0;
|
|
17
|
+
exports.instanceOfNsxInput = instanceOfNsxInput;
|
|
18
|
+
exports.NsxInputFromJSON = NsxInputFromJSON;
|
|
19
|
+
exports.NsxInputFromJSONTyped = NsxInputFromJSONTyped;
|
|
20
|
+
exports.NsxInputToJSON = NsxInputToJSON;
|
|
21
|
+
exports.NsxInputToJSONTyped = NsxInputToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.NsxInputFeaturesEnum = {
|
|
26
|
+
Microsegmentation: 'microsegmentation',
|
|
27
|
+
MultiCloud: 'multi_cloud',
|
|
28
|
+
Tunnels: 'tunnels',
|
|
29
|
+
DynamicRouting: 'dynamic_routing',
|
|
30
|
+
CentralMgmt: 'central_mgmt',
|
|
31
|
+
Mpls: 'mpls',
|
|
32
|
+
Qos: 'qos',
|
|
33
|
+
NotAssessed: 'not_assessed',
|
|
34
|
+
NotAvailable: 'not_available',
|
|
35
|
+
NotInUse: 'not_in_use',
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the NsxInput interface.
|
|
39
|
+
*/
|
|
40
|
+
function instanceOfNsxInput(value) {
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function NsxInputFromJSON(json) {
|
|
44
|
+
return NsxInputFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function NsxInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function NsxInputToJSON(json) {
|
|
55
|
+
return NsxInputToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function NsxInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'features': value['features'] == null ? undefined : Array.from(value['features']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -26,7 +26,7 @@ exports.OptimizationStatusReasonEnum = {
|
|
|
26
26
|
NoUtilizationData: 'no_utilization_data',
|
|
27
27
|
LowConfidence: 'low_confidence',
|
|
28
28
|
CalculationError: 'calculation_error',
|
|
29
|
-
Success: 'success'
|
|
29
|
+
Success: 'success',
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the OptimizationStatus interface.
|
package/dist/models/OsInfo.js
CHANGED
|
@@ -26,7 +26,7 @@ exports.OsInfoSupportTierEnum = {
|
|
|
26
26
|
Certified: 'certified',
|
|
27
27
|
VendorSupported: 'vendor_supported',
|
|
28
28
|
CommunitySupported: 'community_supported',
|
|
29
|
-
SpecialHandling: 'special_handling'
|
|
29
|
+
SpecialHandling: 'special_handling',
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the OsInfo interface.
|
|
@@ -18,6 +18,7 @@ exports.PartnerRequestFromJSON = PartnerRequestFromJSON;
|
|
|
18
18
|
exports.PartnerRequestFromJSONTyped = PartnerRequestFromJSONTyped;
|
|
19
19
|
exports.PartnerRequestToJSON = PartnerRequestToJSON;
|
|
20
20
|
exports.PartnerRequestToJSONTyped = PartnerRequestToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
21
22
|
const PartnerRequestStatus_js_1 = require("./PartnerRequestStatus.js");
|
|
22
23
|
const PartnerSummary_js_1 = require("./PartnerSummary.js");
|
|
23
24
|
/**
|
|
@@ -64,9 +65,9 @@ function PartnerRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
64
65
|
'email': json['email'],
|
|
65
66
|
'location': json['location'],
|
|
66
67
|
'reason': json['reason'] === undefined ? undefined : json['reason'] === null ? null : json['reason'],
|
|
67
|
-
'acceptedAt': json['acceptedAt'] === undefined ? undefined : json['acceptedAt'] === null ? null : (
|
|
68
|
-
'terminatedAt': json['terminatedAt'] === undefined ? undefined : json['terminatedAt'] === null ? null : (
|
|
69
|
-
'createdAt': (json['createdAt'] == null ? json['createdAt'] :
|
|
68
|
+
'acceptedAt': json['acceptedAt'] === undefined ? undefined : json['acceptedAt'] === null ? null : ((0, runtime_js_1.parseDateTime)(json['acceptedAt'])),
|
|
69
|
+
'terminatedAt': json['terminatedAt'] === undefined ? undefined : json['terminatedAt'] === null ? null : ((0, runtime_js_1.parseDateTime)(json['terminatedAt'])),
|
|
70
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : (0, runtime_js_1.parseDateTime)(json['createdAt'])),
|
|
70
71
|
};
|
|
71
72
|
}
|
|
72
73
|
function PartnerRequestToJSON(json) {
|
|
@@ -87,8 +88,8 @@ function PartnerRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
87
88
|
'email': value['email'],
|
|
88
89
|
'location': value['location'],
|
|
89
90
|
'reason': value['reason'],
|
|
90
|
-
'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : value['acceptedAt']
|
|
91
|
-
'terminatedAt': value['terminatedAt'] == null ? value['terminatedAt'] : value['terminatedAt']
|
|
92
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt']
|
|
91
|
+
'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : (0, runtime_js_1.serializeDateTime)(value['acceptedAt']),
|
|
92
|
+
'terminatedAt': value['terminatedAt'] == null ? value['terminatedAt'] : (0, runtime_js_1.serializeDateTime)(value['terminatedAt']),
|
|
93
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : (0, runtime_js_1.serializeDateTime)(value['createdAt']),
|
|
93
94
|
};
|
|
94
95
|
}
|
|
@@ -27,7 +27,7 @@ exports.PartnerRequestStatus = {
|
|
|
27
27
|
Pending: 'pending',
|
|
28
28
|
Accepted: 'accepted',
|
|
29
29
|
Rejected: 'rejected',
|
|
30
|
-
Cancelled: 'cancelled'
|
|
30
|
+
Cancelled: 'cancelled',
|
|
31
31
|
};
|
|
32
32
|
function instanceOfPartnerRequestStatus(value) {
|
|
33
33
|
for (const key in exports.PartnerRequestStatus) {
|
|
@@ -18,6 +18,7 @@ exports.PresignedUrlFromJSON = PresignedUrlFromJSON;
|
|
|
18
18
|
exports.PresignedUrlFromJSONTyped = PresignedUrlFromJSONTyped;
|
|
19
19
|
exports.PresignedUrlToJSON = PresignedUrlToJSON;
|
|
20
20
|
exports.PresignedUrlToJSONTyped = PresignedUrlToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the PresignedUrl interface.
|
|
23
24
|
*/
|
|
@@ -35,7 +36,7 @@ function PresignedUrlFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
}
|
|
36
37
|
return {
|
|
37
38
|
'url': json['url'],
|
|
38
|
-
'expiresAt': json['expires_at'] == null ? undefined : (
|
|
39
|
+
'expiresAt': json['expires_at'] == null ? undefined : ((0, runtime_js_1.parseDateTime)(json['expires_at'])),
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
function PresignedUrlToJSON(json) {
|
|
@@ -47,6 +48,6 @@ function PresignedUrlToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
48
|
}
|
|
48
49
|
return {
|
|
49
50
|
'url': value['url'],
|
|
50
|
-
'expires_at': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt']
|
|
51
|
+
'expires_at': value['expiresAt'] == null ? value['expiresAt'] : (0, runtime_js_1.serializeDateTime)(value['expiresAt']),
|
|
51
52
|
};
|
|
52
53
|
}
|
package/dist/models/Snapshot.js
CHANGED
|
@@ -18,6 +18,7 @@ exports.SnapshotFromJSON = SnapshotFromJSON;
|
|
|
18
18
|
exports.SnapshotFromJSONTyped = SnapshotFromJSONTyped;
|
|
19
19
|
exports.SnapshotToJSON = SnapshotToJSON;
|
|
20
20
|
exports.SnapshotToJSONTyped = SnapshotToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
21
22
|
const AssessmentSubsetInventory_js_1 = require("./AssessmentSubsetInventory.js");
|
|
22
23
|
const Inventory_js_1 = require("./Inventory.js");
|
|
23
24
|
/**
|
|
@@ -39,7 +40,7 @@ function SnapshotFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
}
|
|
40
41
|
return {
|
|
41
42
|
'inventory': (0, Inventory_js_1.InventoryFromJSON)(json['inventory']),
|
|
42
|
-
'createdAt': (json['createdAt'] == null ? json['createdAt'] :
|
|
43
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : (0, runtime_js_1.parseDateTime)(json['createdAt'])),
|
|
43
44
|
'subsetInventories': json['subsetInventories'] === undefined ? undefined : json['subsetInventories'] === null ? null : (json['subsetInventories'].map(AssessmentSubsetInventory_js_1.AssessmentSubsetInventoryFromJSON)),
|
|
44
45
|
};
|
|
45
46
|
}
|
|
@@ -52,7 +53,7 @@ function SnapshotToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
52
53
|
}
|
|
53
54
|
return {
|
|
54
55
|
'inventory': (0, Inventory_js_1.InventoryToJSON)(value['inventory']),
|
|
55
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt']
|
|
56
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : (0, runtime_js_1.serializeDateTime)(value['createdAt']),
|
|
56
57
|
'subsetInventories': value['subsetInventories'] == null ? undefined : (value['subsetInventories'].map(AssessmentSubsetInventory_js_1.AssessmentSubsetInventoryToJSON)),
|
|
57
58
|
};
|
|
58
59
|
}
|