@openshift-migration-advisor/planner-sdk 0.20.2 → 0.20.3-7b7fa251be69

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.
Files changed (116) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/README.md +15 -2
  3. package/dist/apis/AssessmentApi.d.ts +81 -0
  4. package/dist/apis/AssessmentApi.js +84 -0
  5. package/dist/esm/apis/AssessmentApi.d.ts +81 -0
  6. package/dist/esm/apis/AssessmentApi.js +84 -0
  7. package/dist/esm/models/ActiveEnvironmentsInput.d.ts +41 -0
  8. package/dist/esm/models/ActiveEnvironmentsInput.js +51 -0
  9. package/dist/esm/models/Agent.js +4 -4
  10. package/dist/esm/models/AriaAutomationInput.d.ts +51 -0
  11. package/dist/esm/models/AriaAutomationInput.js +61 -0
  12. package/dist/esm/models/AriaOpsInput.d.ts +49 -0
  13. package/dist/esm/models/AriaOpsInput.js +59 -0
  14. package/dist/esm/models/AriaSecureInput.d.ts +41 -0
  15. package/dist/esm/models/AriaSecureInput.js +51 -0
  16. package/dist/esm/models/Assessment.js +2 -2
  17. package/dist/esm/models/AssessmentSubsetInventory.js +2 -2
  18. package/dist/esm/models/CustomerDetailsInput.d.ts +34 -0
  19. package/dist/esm/models/CustomerDetailsInput.js +43 -0
  20. package/dist/esm/models/DeployedEnvironmentInput.d.ts +40 -0
  21. package/dist/esm/models/DeployedEnvironmentInput.js +50 -0
  22. package/dist/esm/models/EnhancementData.d.ts +76 -0
  23. package/dist/esm/models/EnhancementData.js +69 -0
  24. package/dist/esm/models/Group.js +4 -4
  25. package/dist/esm/models/Host.d.ts +8 -0
  26. package/dist/esm/models/Host.js +4 -0
  27. package/dist/esm/models/Inventory.d.ts +4 -0
  28. package/dist/esm/models/Inventory.js +2 -0
  29. package/dist/esm/models/Member.js +2 -2
  30. package/dist/esm/models/NsxInput.d.ts +46 -0
  31. package/dist/esm/models/NsxInput.js +56 -0
  32. package/dist/esm/models/PartnerRequest.js +2 -2
  33. package/dist/esm/models/Snapshot.js +2 -2
  34. package/dist/esm/models/Source.js +4 -4
  35. package/dist/esm/models/VMwareSubscriptionInput.d.ts +42 -0
  36. package/dist/esm/models/VMwareSubscriptionInput.js +52 -0
  37. package/dist/esm/models/VMwareVersionCountsInput.d.ts +42 -0
  38. package/dist/esm/models/VMwareVersionCountsInput.js +47 -0
  39. package/dist/esm/models/VsphereCoreInput.d.ts +38 -0
  40. package/dist/esm/models/VsphereCoreInput.js +45 -0
  41. package/dist/esm/models/index.d.ts +11 -0
  42. package/dist/esm/models/index.js +11 -0
  43. package/dist/models/ActiveEnvironmentsInput.d.ts +41 -0
  44. package/dist/models/ActiveEnvironmentsInput.js +59 -0
  45. package/dist/models/Agent.js +4 -4
  46. package/dist/models/AriaAutomationInput.d.ts +51 -0
  47. package/dist/models/AriaAutomationInput.js +69 -0
  48. package/dist/models/AriaOpsInput.d.ts +49 -0
  49. package/dist/models/AriaOpsInput.js +67 -0
  50. package/dist/models/AriaSecureInput.d.ts +41 -0
  51. package/dist/models/AriaSecureInput.js +59 -0
  52. package/dist/models/Assessment.js +2 -2
  53. package/dist/models/AssessmentSubsetInventory.js +2 -2
  54. package/dist/models/CustomerDetailsInput.d.ts +34 -0
  55. package/dist/models/CustomerDetailsInput.js +50 -0
  56. package/dist/models/DeployedEnvironmentInput.d.ts +40 -0
  57. package/dist/models/DeployedEnvironmentInput.js +58 -0
  58. package/dist/models/EnhancementData.d.ts +76 -0
  59. package/dist/models/EnhancementData.js +76 -0
  60. package/dist/models/Group.js +4 -4
  61. package/dist/models/Host.d.ts +8 -0
  62. package/dist/models/Host.js +4 -0
  63. package/dist/models/Inventory.d.ts +4 -0
  64. package/dist/models/Inventory.js +2 -0
  65. package/dist/models/Member.js +2 -2
  66. package/dist/models/NsxInput.d.ts +46 -0
  67. package/dist/models/NsxInput.js +64 -0
  68. package/dist/models/PartnerRequest.js +2 -2
  69. package/dist/models/Snapshot.js +2 -2
  70. package/dist/models/Source.js +4 -4
  71. package/dist/models/VMwareSubscriptionInput.d.ts +42 -0
  72. package/dist/models/VMwareSubscriptionInput.js +60 -0
  73. package/dist/models/VMwareVersionCountsInput.d.ts +42 -0
  74. package/dist/models/VMwareVersionCountsInput.js +54 -0
  75. package/dist/models/VsphereCoreInput.d.ts +38 -0
  76. package/dist/models/VsphereCoreInput.js +52 -0
  77. package/dist/models/index.d.ts +11 -0
  78. package/dist/models/index.js +11 -0
  79. package/docs/ActiveEnvironmentsInput.md +34 -0
  80. package/docs/AriaAutomationInput.md +34 -0
  81. package/docs/AriaOpsInput.md +34 -0
  82. package/docs/AriaSecureInput.md +34 -0
  83. package/docs/AssessmentApi.md +148 -0
  84. package/docs/CustomerDetailsInput.md +36 -0
  85. package/docs/DeployedEnvironmentInput.md +34 -0
  86. package/docs/EnhancementData.md +53 -0
  87. package/docs/Host.md +4 -0
  88. package/docs/Inventory.md +2 -0
  89. package/docs/NsxInput.md +34 -0
  90. package/docs/VMwareSubscriptionInput.md +34 -0
  91. package/docs/VMwareVersionCountsInput.md +40 -0
  92. package/docs/VsphereCoreInput.md +38 -0
  93. package/package.json +1 -1
  94. package/src/apis/AssessmentApi.ts +169 -0
  95. package/src/models/ActiveEnvironmentsInput.ts +77 -0
  96. package/src/models/Agent.ts +4 -4
  97. package/src/models/AriaAutomationInput.ts +87 -0
  98. package/src/models/AriaOpsInput.ts +85 -0
  99. package/src/models/AriaSecureInput.ts +77 -0
  100. package/src/models/Assessment.ts +2 -2
  101. package/src/models/AssessmentSubsetInventory.ts +2 -2
  102. package/src/models/CustomerDetailsInput.ts +69 -0
  103. package/src/models/DeployedEnvironmentInput.ts +76 -0
  104. package/src/models/EnhancementData.ts +188 -0
  105. package/src/models/Group.ts +4 -4
  106. package/src/models/Host.ts +12 -0
  107. package/src/models/Inventory.ts +6 -0
  108. package/src/models/Member.ts +2 -2
  109. package/src/models/NsxInput.ts +82 -0
  110. package/src/models/PartnerRequest.ts +2 -2
  111. package/src/models/Snapshot.ts +2 -2
  112. package/src/models/Source.ts +4 -4
  113. package/src/models/VMwareSubscriptionInput.ts +78 -0
  114. package/src/models/VMwareVersionCountsInput.ts +81 -0
  115. package/src/models/VsphereCoreInput.ts +75 -0
  116. package/src/models/index.ts +11 -0
@@ -0,0 +1,69 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { NsxInputFromJSON, NsxInputToJSON, } from './NsxInput.js';
15
+ import { AriaSecureInputFromJSON, AriaSecureInputToJSON, } from './AriaSecureInput.js';
16
+ import { DeployedEnvironmentInputFromJSON, DeployedEnvironmentInputToJSON, } from './DeployedEnvironmentInput.js';
17
+ import { VMwareSubscriptionInputFromJSON, VMwareSubscriptionInputToJSON, } from './VMwareSubscriptionInput.js';
18
+ import { CustomerDetailsInputFromJSON, CustomerDetailsInputToJSON, } from './CustomerDetailsInput.js';
19
+ import { VMwareVersionCountsInputFromJSON, VMwareVersionCountsInputToJSON, } from './VMwareVersionCountsInput.js';
20
+ import { VsphereCoreInputFromJSON, VsphereCoreInputToJSON, } from './VsphereCoreInput.js';
21
+ import { AriaAutomationInputFromJSON, AriaAutomationInputToJSON, } from './AriaAutomationInput.js';
22
+ import { AriaOpsInputFromJSON, AriaOpsInputToJSON, } from './AriaOpsInput.js';
23
+ import { ActiveEnvironmentsInputFromJSON, ActiveEnvironmentsInputToJSON, } from './ActiveEnvironmentsInput.js';
24
+ /**
25
+ * Check if a given object implements the EnhancementData interface.
26
+ */
27
+ export function instanceOfEnhancementData(value) {
28
+ return true;
29
+ }
30
+ export function EnhancementDataFromJSON(json) {
31
+ return EnhancementDataFromJSONTyped(json, false);
32
+ }
33
+ export function EnhancementDataFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'deployedEnvironment': json['deployedEnvironment'] == null ? undefined : DeployedEnvironmentInputFromJSON(json['deployedEnvironment']),
39
+ 'vmwareVersionCounts': json['vmwareVersionCounts'] == null ? undefined : VMwareVersionCountsInputFromJSON(json['vmwareVersionCounts']),
40
+ 'activeEnvironments': json['activeEnvironments'] == null ? undefined : ActiveEnvironmentsInputFromJSON(json['activeEnvironments']),
41
+ 'vmwareSubscription': json['vmwareSubscription'] == null ? undefined : VMwareSubscriptionInputFromJSON(json['vmwareSubscription']),
42
+ 'vsphereCore': json['vsphereCore'] == null ? undefined : VsphereCoreInputFromJSON(json['vsphereCore']),
43
+ 'nsx': json['nsx'] == null ? undefined : NsxInputFromJSON(json['nsx']),
44
+ 'ariaOps': json['ariaOps'] == null ? undefined : AriaOpsInputFromJSON(json['ariaOps']),
45
+ 'ariaAutomation': json['ariaAutomation'] == null ? undefined : AriaAutomationInputFromJSON(json['ariaAutomation']),
46
+ 'ariaSecure': json['ariaSecure'] == null ? undefined : AriaSecureInputFromJSON(json['ariaSecure']),
47
+ 'customerDetails': json['customerDetails'] == null ? undefined : CustomerDetailsInputFromJSON(json['customerDetails']),
48
+ };
49
+ }
50
+ export function EnhancementDataToJSON(json) {
51
+ return EnhancementDataToJSONTyped(json, false);
52
+ }
53
+ export function EnhancementDataToJSONTyped(value, ignoreDiscriminator = false) {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'deployedEnvironment': DeployedEnvironmentInputToJSON(value['deployedEnvironment']),
59
+ 'vmwareVersionCounts': VMwareVersionCountsInputToJSON(value['vmwareVersionCounts']),
60
+ 'activeEnvironments': ActiveEnvironmentsInputToJSON(value['activeEnvironments']),
61
+ 'vmwareSubscription': VMwareSubscriptionInputToJSON(value['vmwareSubscription']),
62
+ 'vsphereCore': VsphereCoreInputToJSON(value['vsphereCore']),
63
+ 'nsx': NsxInputToJSON(value['nsx']),
64
+ 'ariaOps': AriaOpsInputToJSON(value['ariaOps']),
65
+ 'ariaAutomation': AriaAutomationInputToJSON(value['ariaAutomation']),
66
+ 'ariaSecure': AriaSecureInputToJSON(value['ariaSecure']),
67
+ 'customerDetails': CustomerDetailsInputToJSON(value['customerDetails']),
68
+ };
69
+ }
@@ -52,8 +52,8 @@ export function GroupFromJSONTyped(json, ignoreDiscriminator) {
52
52
  'kind': json['kind'],
53
53
  'icon': json['icon'],
54
54
  'company': json['company'],
55
- 'createdAt': (new Date(json['createdAt'])),
56
- 'updatedAt': (new Date(json['updatedAt'])),
55
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
56
+ 'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : new Date(json['updatedAt'])),
57
57
  };
58
58
  }
59
59
  export function GroupToJSON(json) {
@@ -70,7 +70,7 @@ export function GroupToJSONTyped(value, ignoreDiscriminator = false) {
70
70
  'kind': value['kind'],
71
71
  'icon': value['icon'],
72
72
  'company': value['company'],
73
- 'createdAt': value['createdAt'].toISOString(),
74
- 'updatedAt': value['updatedAt'].toISOString(),
73
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
74
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
75
75
  };
76
76
  }
@@ -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.
@@ -35,6 +35,8 @@ export function HostFromJSONTyped(json, ignoreDiscriminator) {
35
35
  'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
36
36
  'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
37
37
  'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
38
+ 'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
39
+ 'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
38
40
  };
39
41
  }
40
42
  export function HostToJSON(json) {
@@ -51,5 +53,7 @@ export function HostToJSONTyped(value, ignoreDiscriminator = false) {
51
53
  'cpuCores': value['cpuCores'],
52
54
  'cpuSockets': value['cpuSockets'],
53
55
  'memoryMB': value['memoryMB'],
56
+ 'vmotionSupported': value['vmotionSupported'],
57
+ 'storageVmotionSupported': value['storageVmotionSupported'],
54
58
  };
55
59
  }
@@ -34,6 +34,10 @@ export interface Inventory {
34
34
  *
35
35
  */
36
36
  vcenter?: InventoryData;
37
+ /**
38
+ * Timestamp when the inventory data was created or collected
39
+ */
40
+ createdAt?: Date;
37
41
  }
38
42
  /**
39
43
  * Check if a given object implements the Inventory interface.
@@ -35,6 +35,7 @@ export function InventoryFromJSONTyped(json, ignoreDiscriminator) {
35
35
  'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
36
36
  'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
37
37
  'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
38
+ 'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
38
39
  };
39
40
  }
40
41
  export function InventoryToJSON(json) {
@@ -49,5 +50,6 @@ export function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
49
50
  'vcenter_version': value['vcenterVersion'],
50
51
  'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
51
52
  'vcenter': InventoryDataToJSON(value['vcenter']),
53
+ 'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
52
54
  };
53
55
  }
@@ -36,7 +36,7 @@ export function MemberFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'username': json['username'],
37
37
  'email': json['email'],
38
38
  'groupId': json['groupId'],
39
- 'createdAt': (new Date(json['createdAt'])),
39
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
40
40
  'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
41
41
  };
42
42
  }
@@ -51,7 +51,7 @@ export function MemberToJSONTyped(value, ignoreDiscriminator = false) {
51
51
  'username': value['username'],
52
52
  'email': value['email'],
53
53
  'groupId': value['groupId'],
54
- 'createdAt': value['createdAt'].toISOString(),
54
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
55
55
  'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
56
56
  };
57
57
  }
@@ -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,56 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const NsxInputFeaturesEnum = {
18
+ Microsegmentation: 'microsegmentation',
19
+ MultiCloud: 'multi_cloud',
20
+ Tunnels: 'tunnels',
21
+ DynamicRouting: 'dynamic_routing',
22
+ CentralMgmt: 'central_mgmt',
23
+ Mpls: 'mpls',
24
+ Qos: 'qos',
25
+ NotAssessed: 'not_assessed',
26
+ NotAvailable: 'not_available',
27
+ NotInUse: 'not_in_use'
28
+ };
29
+ /**
30
+ * Check if a given object implements the NsxInput interface.
31
+ */
32
+ export function instanceOfNsxInput(value) {
33
+ return true;
34
+ }
35
+ export function NsxInputFromJSON(json) {
36
+ return NsxInputFromJSONTyped(json, false);
37
+ }
38
+ export function NsxInputFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'features': json['features'] == null ? undefined : new Set(json['features']),
44
+ };
45
+ }
46
+ export function NsxInputToJSON(json) {
47
+ return NsxInputToJSONTyped(json, false);
48
+ }
49
+ export function NsxInputToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'features': value['features'] == null ? undefined : Array.from(value['features']),
55
+ };
56
+ }
@@ -59,7 +59,7 @@ export function PartnerRequestFromJSONTyped(json, ignoreDiscriminator) {
59
59
  'reason': json['reason'] === undefined ? undefined : json['reason'] === null ? null : json['reason'],
60
60
  'acceptedAt': json['acceptedAt'] === undefined ? undefined : json['acceptedAt'] === null ? null : (new Date(json['acceptedAt'])),
61
61
  'terminatedAt': json['terminatedAt'] === undefined ? undefined : json['terminatedAt'] === null ? null : (new Date(json['terminatedAt'])),
62
- 'createdAt': (new Date(json['createdAt'])),
62
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
63
63
  };
64
64
  }
65
65
  export function PartnerRequestToJSON(json) {
@@ -82,6 +82,6 @@ export function PartnerRequestToJSONTyped(value, ignoreDiscriminator = false) {
82
82
  'reason': value['reason'],
83
83
  'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : value['acceptedAt'].toISOString(),
84
84
  'terminatedAt': value['terminatedAt'] == null ? value['terminatedAt'] : value['terminatedAt'].toISOString(),
85
- 'createdAt': value['createdAt'].toISOString(),
85
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
86
86
  };
87
87
  }
@@ -32,7 +32,7 @@ export function SnapshotFromJSONTyped(json, ignoreDiscriminator) {
32
32
  }
33
33
  return {
34
34
  'inventory': InventoryFromJSON(json['inventory']),
35
- 'createdAt': (new Date(json['createdAt'])),
35
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
36
36
  'subsetInventories': json['subsetInventories'] === undefined ? undefined : json['subsetInventories'] === null ? null : (json['subsetInventories'].map(AssessmentSubsetInventoryFromJSON)),
37
37
  };
38
38
  }
@@ -45,7 +45,7 @@ export function SnapshotToJSONTyped(value, ignoreDiscriminator = false) {
45
45
  }
46
46
  return {
47
47
  'inventory': InventoryToJSON(value['inventory']),
48
- 'createdAt': value['createdAt'].toISOString(),
48
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
49
49
  'subsetInventories': value['subsetInventories'] == null ? undefined : (value['subsetInventories'].map(AssessmentSubsetInventoryToJSON)),
50
50
  };
51
51
  }
@@ -49,8 +49,8 @@ export function SourceFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'id': json['id'],
50
50
  'name': json['name'],
51
51
  'inventory': json['inventory'] == null ? undefined : InventoryFromJSON(json['inventory']),
52
- 'createdAt': (new Date(json['createdAt'])),
53
- 'updatedAt': (new Date(json['updatedAt'])),
52
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
53
+ 'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : new Date(json['updatedAt'])),
54
54
  'onPremises': json['onPremises'],
55
55
  'agent': json['agent'] == null ? undefined : AgentFromJSON(json['agent']),
56
56
  'labels': json['labels'] == null ? undefined : (json['labels'].map(LabelFromJSON)),
@@ -71,8 +71,8 @@ export function SourceToJSONTyped(value, ignoreDiscriminator = false) {
71
71
  'id': value['id'],
72
72
  'name': value['name'],
73
73
  'inventory': InventoryToJSON(value['inventory']),
74
- 'createdAt': value['createdAt'].toISOString(),
75
- 'updatedAt': value['updatedAt'].toISOString(),
74
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
75
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
76
76
  'onPremises': value['onPremises'],
77
77
  'agent': AgentToJSON(value['agent']),
78
78
  'labels': value['labels'] == null ? undefined : (value['labels'].map(LabelToJSON)),
@@ -0,0 +1,42 @@
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 VMwareSubscriptionInput
16
+ */
17
+ export interface VMwareSubscriptionInput {
18
+ /**
19
+ *
20
+ */
21
+ level?: Set<VMwareSubscriptionInputLevelEnum>;
22
+ }
23
+ /**
24
+ * @export
25
+ */
26
+ export declare const VMwareSubscriptionInputLevelEnum: {
27
+ readonly Vcf: "vcf";
28
+ readonly Vvf: "vvf";
29
+ readonly Vvs: "vvs";
30
+ readonly Vvep: "vvep";
31
+ readonly Vsphere: "vsphere";
32
+ readonly NotAssessed: "not_assessed";
33
+ };
34
+ export type VMwareSubscriptionInputLevelEnum = typeof VMwareSubscriptionInputLevelEnum[keyof typeof VMwareSubscriptionInputLevelEnum];
35
+ /**
36
+ * Check if a given object implements the VMwareSubscriptionInput interface.
37
+ */
38
+ export declare function instanceOfVMwareSubscriptionInput(value: object): value is VMwareSubscriptionInput;
39
+ export declare function VMwareSubscriptionInputFromJSON(json: any): VMwareSubscriptionInput;
40
+ export declare function VMwareSubscriptionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMwareSubscriptionInput;
41
+ export declare function VMwareSubscriptionInputToJSON(json: any): VMwareSubscriptionInput;
42
+ export declare function VMwareSubscriptionInputToJSONTyped(value?: VMwareSubscriptionInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const VMwareSubscriptionInputLevelEnum = {
18
+ Vcf: 'vcf',
19
+ Vvf: 'vvf',
20
+ Vvs: 'vvs',
21
+ Vvep: 'vvep',
22
+ Vsphere: 'vsphere',
23
+ NotAssessed: 'not_assessed'
24
+ };
25
+ /**
26
+ * Check if a given object implements the VMwareSubscriptionInput interface.
27
+ */
28
+ export function instanceOfVMwareSubscriptionInput(value) {
29
+ return true;
30
+ }
31
+ export function VMwareSubscriptionInputFromJSON(json) {
32
+ return VMwareSubscriptionInputFromJSONTyped(json, false);
33
+ }
34
+ export function VMwareSubscriptionInputFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'level': json['level'] == null ? undefined : new Set(json['level']),
40
+ };
41
+ }
42
+ export function VMwareSubscriptionInputToJSON(json) {
43
+ return VMwareSubscriptionInputToJSONTyped(json, false);
44
+ }
45
+ export function VMwareSubscriptionInputToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'level': value['level'] == null ? undefined : Array.from(value['level']),
51
+ };
52
+ }
@@ -0,0 +1,42 @@
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 VMwareVersionCountsInput
16
+ */
17
+ export interface VMwareVersionCountsInput {
18
+ /**
19
+ *
20
+ */
21
+ perpetualLicensesCount?: number;
22
+ /**
23
+ *
24
+ */
25
+ coresLicensingCount?: number;
26
+ /**
27
+ *
28
+ */
29
+ environmentCount?: number;
30
+ /**
31
+ *
32
+ */
33
+ otherNodesCount?: number;
34
+ }
35
+ /**
36
+ * Check if a given object implements the VMwareVersionCountsInput interface.
37
+ */
38
+ export declare function instanceOfVMwareVersionCountsInput(value: object): value is VMwareVersionCountsInput;
39
+ export declare function VMwareVersionCountsInputFromJSON(json: any): VMwareVersionCountsInput;
40
+ export declare function VMwareVersionCountsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMwareVersionCountsInput;
41
+ export declare function VMwareVersionCountsInputToJSON(json: any): VMwareVersionCountsInput;
42
+ export declare function VMwareVersionCountsInputToJSONTyped(value?: VMwareVersionCountsInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the VMwareVersionCountsInput interface.
16
+ */
17
+ export function instanceOfVMwareVersionCountsInput(value) {
18
+ return true;
19
+ }
20
+ export function VMwareVersionCountsInputFromJSON(json) {
21
+ return VMwareVersionCountsInputFromJSONTyped(json, false);
22
+ }
23
+ export function VMwareVersionCountsInputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'perpetualLicensesCount': json['perpetualLicensesCount'] == null ? undefined : json['perpetualLicensesCount'],
29
+ 'coresLicensingCount': json['coresLicensingCount'] == null ? undefined : json['coresLicensingCount'],
30
+ 'environmentCount': json['environmentCount'] == null ? undefined : json['environmentCount'],
31
+ 'otherNodesCount': json['otherNodesCount'] == null ? undefined : json['otherNodesCount'],
32
+ };
33
+ }
34
+ export function VMwareVersionCountsInputToJSON(json) {
35
+ return VMwareVersionCountsInputToJSONTyped(json, false);
36
+ }
37
+ export function VMwareVersionCountsInputToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'perpetualLicensesCount': value['perpetualLicensesCount'],
43
+ 'coresLicensingCount': value['coresLicensingCount'],
44
+ 'environmentCount': value['environmentCount'],
45
+ 'otherNodesCount': value['otherNodesCount'],
46
+ };
47
+ }
@@ -0,0 +1,38 @@
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 VsphereCoreInput
16
+ */
17
+ export interface VsphereCoreInput {
18
+ /**
19
+ *
20
+ */
21
+ vmEncryptionEnabled?: boolean;
22
+ /**
23
+ *
24
+ */
25
+ vmEncryptionPolicy?: string;
26
+ /**
27
+ *
28
+ */
29
+ srmEnabled?: boolean;
30
+ }
31
+ /**
32
+ * Check if a given object implements the VsphereCoreInput interface.
33
+ */
34
+ export declare function instanceOfVsphereCoreInput(value: object): value is VsphereCoreInput;
35
+ export declare function VsphereCoreInputFromJSON(json: any): VsphereCoreInput;
36
+ export declare function VsphereCoreInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VsphereCoreInput;
37
+ export declare function VsphereCoreInputToJSON(json: any): VsphereCoreInput;
38
+ export declare function VsphereCoreInputToJSONTyped(value?: VsphereCoreInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1alpha1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the VsphereCoreInput interface.
16
+ */
17
+ export function instanceOfVsphereCoreInput(value) {
18
+ return true;
19
+ }
20
+ export function VsphereCoreInputFromJSON(json) {
21
+ return VsphereCoreInputFromJSONTyped(json, false);
22
+ }
23
+ export function VsphereCoreInputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'vmEncryptionEnabled': json['vmEncryptionEnabled'] == null ? undefined : json['vmEncryptionEnabled'],
29
+ 'vmEncryptionPolicy': json['vmEncryptionPolicy'] == null ? undefined : json['vmEncryptionPolicy'],
30
+ 'srmEnabled': json['srmEnabled'] == null ? undefined : json['srmEnabled'],
31
+ };
32
+ }
33
+ export function VsphereCoreInputToJSON(json) {
34
+ return VsphereCoreInputToJSONTyped(json, false);
35
+ }
36
+ export function VsphereCoreInputToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'vmEncryptionEnabled': value['vmEncryptionEnabled'],
42
+ 'vmEncryptionPolicy': value['vmEncryptionPolicy'],
43
+ 'srmEnabled': value['srmEnabled'],
44
+ };
45
+ }
@@ -1,5 +1,9 @@
1
+ export * from './ActiveEnvironmentsInput.js';
1
2
  export * from './Agent.js';
2
3
  export * from './AgentProxy.js';
4
+ export * from './AriaAutomationInput.js';
5
+ export * from './AriaOpsInput.js';
6
+ export * from './AriaSecureInput.js';
3
7
  export * from './Assessment.js';
4
8
  export * from './AssessmentForm.js';
5
9
  export * from './AssessmentSharing.js';
@@ -16,9 +20,12 @@ export * from './ComplexityOSNameEntry.js';
16
20
  export * from './ComplexityOSScoreEntry.js';
17
21
  export * from './CpuOverCommitRatio.js';
18
22
  export * from './Customer.js';
23
+ export * from './CustomerDetailsInput.js';
19
24
  export * from './Datastore.js';
25
+ export * from './DeployedEnvironmentInput.js';
20
26
  export * from './DiskSizeTierSummary.js';
21
27
  export * from './DiskTypeSummary.js';
28
+ export * from './EnhancementData.js';
22
29
  export * from './EstimationContext.js';
23
30
  export * from './EstimationDetail.js';
24
31
  export * from './Group.js';
@@ -49,6 +56,7 @@ export * from './MigrationEstimationResponse.js';
49
56
  export * from './MigrationIssue.js';
50
57
  export * from './ModelError.js';
51
58
  export * from './Network.js';
59
+ export * from './NsxInput.js';
52
60
  export * from './OptimizationStatus.js';
53
61
  export * from './OsDiskEstimationEntry.js';
54
62
  export * from './OsInfo.js';
@@ -77,4 +85,7 @@ export * from './UpdateInventory.js';
77
85
  export * from './VCenter.js';
78
86
  export * from './VMResourceBreakdown.js';
79
87
  export * from './VMs.js';
88
+ export * from './VMwareSubscriptionInput.js';
89
+ export * from './VMwareVersionCountsInput.js';
80
90
  export * from './VmNetwork.js';
91
+ export * from './VsphereCoreInput.js';