@openshift-migration-advisor/planner-sdk 0.20.3 → 0.21.0-515d930cc594

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 (191) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +16 -3
  4. package/dist/apis/AccountApi.js +1 -1
  5. package/dist/apis/AssessmentApi.d.ts +81 -0
  6. package/dist/apis/AssessmentApi.js +84 -0
  7. package/dist/esm/apis/AccountApi.js +1 -1
  8. package/dist/esm/apis/AssessmentApi.d.ts +81 -0
  9. package/dist/esm/apis/AssessmentApi.js +84 -0
  10. package/dist/esm/models/ActiveEnvironmentsInput.d.ts +41 -0
  11. package/dist/esm/models/ActiveEnvironmentsInput.js +51 -0
  12. package/dist/esm/models/Agent.js +6 -5
  13. package/dist/esm/models/AriaAutomationInput.d.ts +51 -0
  14. package/dist/esm/models/AriaAutomationInput.js +61 -0
  15. package/dist/esm/models/AriaOpsInput.d.ts +49 -0
  16. package/dist/esm/models/AriaOpsInput.js +59 -0
  17. package/dist/esm/models/AriaSecureInput.d.ts +41 -0
  18. package/dist/esm/models/AriaSecureInput.js +51 -0
  19. package/dist/esm/models/Assessment.js +5 -4
  20. package/dist/esm/models/AssessmentSubsetInventory.js +3 -2
  21. package/dist/esm/models/ClusterFeatures.d.ts +2 -2
  22. package/dist/esm/models/ClusterFeatures.js +3 -3
  23. package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
  24. package/dist/esm/models/ClusterRequirementsStoredInput.js +3 -3
  25. package/dist/esm/models/CpuOverCommitRatio.js +1 -1
  26. package/dist/esm/models/CustomerDetailsInput.d.ts +34 -0
  27. package/dist/esm/models/CustomerDetailsInput.js +43 -0
  28. package/dist/esm/models/DeployedEnvironmentInput.d.ts +40 -0
  29. package/dist/esm/models/DeployedEnvironmentInput.js +50 -0
  30. package/dist/esm/models/EnhancementData.d.ts +76 -0
  31. package/dist/esm/models/EnhancementData.js +69 -0
  32. package/dist/esm/models/Group.js +6 -5
  33. package/dist/esm/models/GroupCreate.js +1 -1
  34. package/dist/esm/models/Host.d.ts +8 -0
  35. package/dist/esm/models/Host.js +4 -0
  36. package/dist/esm/models/Identity.js +1 -1
  37. package/dist/esm/models/Infra.d.ts +4 -0
  38. package/dist/esm/models/Infra.js +2 -0
  39. package/dist/esm/models/Inventory.d.ts +4 -0
  40. package/dist/esm/models/Inventory.js +3 -1
  41. package/dist/esm/models/JobStatus.js +1 -1
  42. package/dist/esm/models/Member.js +5 -4
  43. package/dist/esm/models/MemoryOverCommitRatio.js +1 -1
  44. package/dist/esm/models/Network.js +1 -1
  45. package/dist/esm/models/NsxInput.d.ts +46 -0
  46. package/dist/esm/models/NsxInput.js +56 -0
  47. package/dist/esm/models/OptimizationStatus.js +1 -1
  48. package/dist/esm/models/OsInfo.js +1 -1
  49. package/dist/esm/models/PartnerRequest.js +7 -6
  50. package/dist/esm/models/PartnerRequestStatus.js +1 -1
  51. package/dist/esm/models/PresignedUrl.js +3 -2
  52. package/dist/esm/models/Snapshot.js +3 -2
  53. package/dist/esm/models/Source.js +6 -5
  54. package/dist/esm/models/SourceCreate.js +1 -1
  55. package/dist/esm/models/SourceUpdate.js +1 -1
  56. package/dist/esm/models/StandaloneClusterRequirementsRequest.js +1 -1
  57. package/dist/esm/models/StorageIoConfiguration.js +1 -1
  58. package/dist/esm/models/VMs.d.ts +4 -0
  59. package/dist/esm/models/VMs.js +2 -0
  60. package/dist/esm/models/VMwareSubscriptionInput.d.ts +42 -0
  61. package/dist/esm/models/VMwareSubscriptionInput.js +52 -0
  62. package/dist/esm/models/VMwareVersionCountsInput.d.ts +42 -0
  63. package/dist/esm/models/VMwareVersionCountsInput.js +47 -0
  64. package/dist/esm/models/VsphereCoreInput.d.ts +38 -0
  65. package/dist/esm/models/VsphereCoreInput.js +45 -0
  66. package/dist/esm/models/index.d.ts +11 -0
  67. package/dist/esm/models/index.js +11 -0
  68. package/dist/esm/runtime.d.ts +11 -0
  69. package/dist/esm/runtime.js +47 -1
  70. package/dist/models/ActiveEnvironmentsInput.d.ts +41 -0
  71. package/dist/models/ActiveEnvironmentsInput.js +59 -0
  72. package/dist/models/Agent.js +6 -5
  73. package/dist/models/AriaAutomationInput.d.ts +51 -0
  74. package/dist/models/AriaAutomationInput.js +69 -0
  75. package/dist/models/AriaOpsInput.d.ts +49 -0
  76. package/dist/models/AriaOpsInput.js +67 -0
  77. package/dist/models/AriaSecureInput.d.ts +41 -0
  78. package/dist/models/AriaSecureInput.js +59 -0
  79. package/dist/models/Assessment.js +5 -4
  80. package/dist/models/AssessmentSubsetInventory.js +3 -2
  81. package/dist/models/ClusterFeatures.d.ts +2 -2
  82. package/dist/models/ClusterFeatures.js +3 -3
  83. package/dist/models/ClusterRequirementsRequest.js +1 -1
  84. package/dist/models/ClusterRequirementsStoredInput.js +3 -3
  85. package/dist/models/CpuOverCommitRatio.js +1 -1
  86. package/dist/models/CustomerDetailsInput.d.ts +34 -0
  87. package/dist/models/CustomerDetailsInput.js +50 -0
  88. package/dist/models/DeployedEnvironmentInput.d.ts +40 -0
  89. package/dist/models/DeployedEnvironmentInput.js +58 -0
  90. package/dist/models/EnhancementData.d.ts +76 -0
  91. package/dist/models/EnhancementData.js +76 -0
  92. package/dist/models/Group.js +6 -5
  93. package/dist/models/GroupCreate.js +1 -1
  94. package/dist/models/Host.d.ts +8 -0
  95. package/dist/models/Host.js +4 -0
  96. package/dist/models/Identity.js +1 -1
  97. package/dist/models/Infra.d.ts +4 -0
  98. package/dist/models/Infra.js +2 -0
  99. package/dist/models/Inventory.d.ts +4 -0
  100. package/dist/models/Inventory.js +2 -0
  101. package/dist/models/JobStatus.js +1 -1
  102. package/dist/models/Member.js +5 -4
  103. package/dist/models/MemoryOverCommitRatio.js +1 -1
  104. package/dist/models/Network.js +1 -1
  105. package/dist/models/NsxInput.d.ts +46 -0
  106. package/dist/models/NsxInput.js +64 -0
  107. package/dist/models/OptimizationStatus.js +1 -1
  108. package/dist/models/OsInfo.js +1 -1
  109. package/dist/models/PartnerRequest.js +7 -6
  110. package/dist/models/PartnerRequestStatus.js +1 -1
  111. package/dist/models/PresignedUrl.js +3 -2
  112. package/dist/models/Snapshot.js +3 -2
  113. package/dist/models/Source.js +6 -5
  114. package/dist/models/SourceCreate.js +1 -1
  115. package/dist/models/SourceUpdate.js +1 -1
  116. package/dist/models/StandaloneClusterRequirementsRequest.js +1 -1
  117. package/dist/models/StorageIoConfiguration.js +1 -1
  118. package/dist/models/VMs.d.ts +4 -0
  119. package/dist/models/VMs.js +2 -0
  120. package/dist/models/VMwareSubscriptionInput.d.ts +42 -0
  121. package/dist/models/VMwareSubscriptionInput.js +60 -0
  122. package/dist/models/VMwareVersionCountsInput.d.ts +42 -0
  123. package/dist/models/VMwareVersionCountsInput.js +54 -0
  124. package/dist/models/VsphereCoreInput.d.ts +38 -0
  125. package/dist/models/VsphereCoreInput.js +52 -0
  126. package/dist/models/index.d.ts +11 -0
  127. package/dist/models/index.js +11 -0
  128. package/dist/runtime.d.ts +11 -0
  129. package/dist/runtime.js +51 -1
  130. package/docs/ActiveEnvironmentsInput.md +34 -0
  131. package/docs/AriaAutomationInput.md +34 -0
  132. package/docs/AriaOpsInput.md +34 -0
  133. package/docs/AriaSecureInput.md +34 -0
  134. package/docs/AssessmentApi.md +148 -0
  135. package/docs/ClusterFeatures.md +2 -2
  136. package/docs/CustomerDetailsInput.md +36 -0
  137. package/docs/DeployedEnvironmentInput.md +34 -0
  138. package/docs/EnhancementData.md +53 -0
  139. package/docs/Host.md +4 -0
  140. package/docs/Infra.md +2 -0
  141. package/docs/Inventory.md +2 -0
  142. package/docs/NsxInput.md +34 -0
  143. package/docs/VMs.md +2 -0
  144. package/docs/VMwareSubscriptionInput.md +34 -0
  145. package/docs/VMwareVersionCountsInput.md +40 -0
  146. package/docs/VsphereCoreInput.md +38 -0
  147. package/package.json +1 -1
  148. package/src/apis/AccountApi.ts +1 -1
  149. package/src/apis/AssessmentApi.ts +169 -0
  150. package/src/models/ActiveEnvironmentsInput.ts +77 -0
  151. package/src/models/Agent.ts +6 -6
  152. package/src/models/AriaAutomationInput.ts +87 -0
  153. package/src/models/AriaOpsInput.ts +85 -0
  154. package/src/models/AriaSecureInput.ts +77 -0
  155. package/src/models/Assessment.ts +5 -5
  156. package/src/models/AssessmentSubsetInventory.ts +3 -3
  157. package/src/models/ClusterFeatures.ts +5 -5
  158. package/src/models/ClusterRequirementsRequest.ts +1 -1
  159. package/src/models/ClusterRequirementsStoredInput.ts +3 -3
  160. package/src/models/CpuOverCommitRatio.ts +1 -1
  161. package/src/models/CustomerDetailsInput.ts +69 -0
  162. package/src/models/DeployedEnvironmentInput.ts +76 -0
  163. package/src/models/EnhancementData.ts +188 -0
  164. package/src/models/Group.ts +6 -6
  165. package/src/models/GroupCreate.ts +1 -1
  166. package/src/models/Host.ts +12 -0
  167. package/src/models/Identity.ts +1 -1
  168. package/src/models/Infra.ts +6 -0
  169. package/src/models/Inventory.ts +7 -1
  170. package/src/models/JobStatus.ts +1 -1
  171. package/src/models/Member.ts +5 -5
  172. package/src/models/MemoryOverCommitRatio.ts +1 -1
  173. package/src/models/Network.ts +1 -1
  174. package/src/models/NsxInput.ts +82 -0
  175. package/src/models/OptimizationStatus.ts +1 -1
  176. package/src/models/OsInfo.ts +1 -1
  177. package/src/models/PartnerRequest.ts +7 -7
  178. package/src/models/PartnerRequestStatus.ts +1 -1
  179. package/src/models/PresignedUrl.ts +3 -3
  180. package/src/models/Snapshot.ts +3 -3
  181. package/src/models/Source.ts +6 -6
  182. package/src/models/SourceCreate.ts +1 -1
  183. package/src/models/SourceUpdate.ts +1 -1
  184. package/src/models/StandaloneClusterRequirementsRequest.ts +1 -1
  185. package/src/models/StorageIoConfiguration.ts +1 -1
  186. package/src/models/VMs.ts +6 -0
  187. package/src/models/VMwareSubscriptionInput.ts +78 -0
  188. package/src/models/VMwareVersionCountsInput.ts +81 -0
  189. package/src/models/VsphereCoreInput.ts +75 -0
  190. package/src/models/index.ts +11 -0
  191. package/src/runtime.ts +52 -1
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime.js';
15
+ import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -65,8 +65,8 @@ export function MemberFromJSONTyped(json: any, ignoreDiscriminator: boolean): Me
65
65
  'username': json['username'],
66
66
  'email': json['email'],
67
67
  'groupId': json['groupId'],
68
- 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
69
- 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
68
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
69
+ 'updatedAt': json['updatedAt'] == null ? undefined : (parseDateTime(json['updatedAt'])),
70
70
  };
71
71
  }
72
72
 
@@ -84,8 +84,8 @@ export function MemberToJSONTyped(value?: Member | null, ignoreDiscriminator: bo
84
84
  'username': value['username'],
85
85
  'email': value['email'],
86
86
  'groupId': value['groupId'],
87
- 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
88
- 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
87
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
88
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : serializeDateTime(value['updatedAt']),
89
89
  };
90
90
  }
91
91
 
@@ -20,7 +20,7 @@
20
20
  export const MemoryOverCommitRatio = {
21
21
  MemoryOneToOne: '1:1',
22
22
  MemoryOneToTwo: '1:2',
23
- MemoryOneToFour: '1:4'
23
+ MemoryOneToFour: '1:4',
24
24
  } as const;
25
25
  export type MemoryOverCommitRatio = typeof MemoryOverCommitRatio[keyof typeof MemoryOverCommitRatio];
26
26
 
@@ -49,7 +49,7 @@ export const NetworkTypeEnum = {
49
49
  Standard: 'standard',
50
50
  Distributed: 'distributed',
51
51
  Dvswitch: 'dvswitch',
52
- Unsupported: 'unsupported'
52
+ Unsupported: 'unsupported',
53
53
  } as const;
54
54
  export type NetworkTypeEnum = typeof NetworkTypeEnum[keyof typeof NetworkTypeEnum];
55
55
 
@@ -0,0 +1,82 @@
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
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface NsxInput
20
+ */
21
+ export interface NsxInput {
22
+ /**
23
+ *
24
+ */
25
+ features?: Set<NsxInputFeaturesEnum>;
26
+ }
27
+
28
+
29
+ /**
30
+ * @export
31
+ */
32
+ export const NsxInputFeaturesEnum = {
33
+ Microsegmentation: 'microsegmentation',
34
+ MultiCloud: 'multi_cloud',
35
+ Tunnels: 'tunnels',
36
+ DynamicRouting: 'dynamic_routing',
37
+ CentralMgmt: 'central_mgmt',
38
+ Mpls: 'mpls',
39
+ Qos: 'qos',
40
+ NotAssessed: 'not_assessed',
41
+ NotAvailable: 'not_available',
42
+ NotInUse: 'not_in_use',
43
+ } as const;
44
+ export type NsxInputFeaturesEnum = typeof NsxInputFeaturesEnum[keyof typeof NsxInputFeaturesEnum];
45
+
46
+
47
+ /**
48
+ * Check if a given object implements the NsxInput interface.
49
+ */
50
+ export function instanceOfNsxInput(value: object): value is NsxInput {
51
+ return true;
52
+ }
53
+
54
+ export function NsxInputFromJSON(json: any): NsxInput {
55
+ return NsxInputFromJSONTyped(json, false);
56
+ }
57
+
58
+ export function NsxInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NsxInput {
59
+ if (json == null) {
60
+ return json;
61
+ }
62
+ return {
63
+
64
+ 'features': json['features'] == null ? undefined : new Set(json['features']),
65
+ };
66
+ }
67
+
68
+ export function NsxInputToJSON(json: any): NsxInput {
69
+ return NsxInputToJSONTyped(json, false);
70
+ }
71
+
72
+ export function NsxInputToJSONTyped(value?: NsxInput | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'features': value['features'] == null ? undefined : Array.from(value['features'] as Set<any>),
80
+ };
81
+ }
82
+
@@ -37,7 +37,7 @@ export const OptimizationStatusReasonEnum = {
37
37
  NoUtilizationData: 'no_utilization_data',
38
38
  LowConfidence: 'low_confidence',
39
39
  CalculationError: 'calculation_error',
40
- Success: 'success'
40
+ Success: 'success',
41
41
  } as const;
42
42
  export type OptimizationStatusReasonEnum = typeof OptimizationStatusReasonEnum[keyof typeof OptimizationStatusReasonEnum];
43
43
 
@@ -45,7 +45,7 @@ export const OsInfoSupportTierEnum = {
45
45
  Certified: 'certified',
46
46
  VendorSupported: 'vendor_supported',
47
47
  CommunitySupported: 'community_supported',
48
- SpecialHandling: 'special_handling'
48
+ SpecialHandling: 'special_handling',
49
49
  } as const;
50
50
  export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
51
51
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime.js';
15
+ import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
16
16
  import type { PartnerRequestStatus } from './PartnerRequestStatus.js';
17
17
  import {
18
18
  PartnerRequestStatusFromJSON,
@@ -127,9 +127,9 @@ export function PartnerRequestFromJSONTyped(json: any, ignoreDiscriminator: bool
127
127
  'email': json['email'],
128
128
  'location': json['location'],
129
129
  'reason': json['reason'] === undefined ? undefined : json['reason'] === null ? null : json['reason'],
130
- 'acceptedAt': json['acceptedAt'] === undefined ? undefined : json['acceptedAt'] === null ? null : (new Date(json['acceptedAt'])),
131
- 'terminatedAt': json['terminatedAt'] === undefined ? undefined : json['terminatedAt'] === null ? null : (new Date(json['terminatedAt'])),
132
- 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
130
+ 'acceptedAt': json['acceptedAt'] === undefined ? undefined : json['acceptedAt'] === null ? null : (parseDateTime(json['acceptedAt'])),
131
+ 'terminatedAt': json['terminatedAt'] === undefined ? undefined : json['terminatedAt'] === null ? null : (parseDateTime(json['terminatedAt'])),
132
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
133
133
  };
134
134
  }
135
135
 
@@ -154,9 +154,9 @@ export function PartnerRequestToJSONTyped(value?: PartnerRequest | null, ignoreD
154
154
  'email': value['email'],
155
155
  'location': value['location'],
156
156
  'reason': value['reason'],
157
- 'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : value['acceptedAt'].toISOString(),
158
- 'terminatedAt': value['terminatedAt'] == null ? value['terminatedAt'] : value['terminatedAt'].toISOString(),
159
- 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
157
+ 'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : serializeDateTime(value['acceptedAt']),
158
+ 'terminatedAt': value['terminatedAt'] == null ? value['terminatedAt'] : serializeDateTime(value['terminatedAt']),
159
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
160
160
  };
161
161
  }
162
162
 
@@ -21,7 +21,7 @@ export const PartnerRequestStatus = {
21
21
  Pending: 'pending',
22
22
  Accepted: 'accepted',
23
23
  Rejected: 'rejected',
24
- Cancelled: 'cancelled'
24
+ Cancelled: 'cancelled',
25
25
  } as const;
26
26
  export type PartnerRequestStatus = typeof PartnerRequestStatus[keyof typeof PartnerRequestStatus];
27
27
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime.js';
15
+ import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -48,7 +48,7 @@ export function PresignedUrlFromJSONTyped(json: any, ignoreDiscriminator: boolea
48
48
  return {
49
49
 
50
50
  'url': json['url'],
51
- 'expiresAt': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
51
+ 'expiresAt': json['expires_at'] == null ? undefined : (parseDateTime(json['expires_at'])),
52
52
  };
53
53
  }
54
54
 
@@ -64,7 +64,7 @@ export function PresignedUrlToJSONTyped(value?: PresignedUrl | null, ignoreDiscr
64
64
  return {
65
65
 
66
66
  'url': value['url'],
67
- 'expires_at': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
67
+ 'expires_at': value['expiresAt'] == null ? value['expiresAt'] : serializeDateTime(value['expiresAt']),
68
68
  };
69
69
  }
70
70
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime.js';
15
+ import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
16
16
  import type { AssessmentSubsetInventory } from './AssessmentSubsetInventory.js';
17
17
  import {
18
18
  AssessmentSubsetInventoryFromJSON,
@@ -68,7 +68,7 @@ export function SnapshotFromJSONTyped(json: any, ignoreDiscriminator: boolean):
68
68
  return {
69
69
 
70
70
  'inventory': InventoryFromJSON(json['inventory']),
71
- 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
71
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
72
72
  'subsetInventories': json['subsetInventories'] === undefined ? undefined : json['subsetInventories'] === null ? null : ((json['subsetInventories'] as Array<any>).map(AssessmentSubsetInventoryFromJSON)),
73
73
  };
74
74
  }
@@ -85,7 +85,7 @@ export function SnapshotToJSONTyped(value?: Snapshot | null, ignoreDiscriminator
85
85
  return {
86
86
 
87
87
  'inventory': InventoryToJSON(value['inventory']),
88
- 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
88
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
89
89
  'subsetInventories': value['subsetInventories'] == null ? undefined : ((value['subsetInventories'] as Array<any>).map(AssessmentSubsetInventoryToJSON)),
90
90
  };
91
91
  }
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { mapValues } from '../runtime.js';
15
+ import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
16
16
  import type { SourceInfra } from './SourceInfra.js';
17
17
  import {
18
18
  SourceInfraFromJSON,
@@ -104,7 +104,7 @@ export interface Source {
104
104
  */
105
105
  export const SourceUpdateTypeEnum = {
106
106
  Auto: 'auto',
107
- Manual: 'manual'
107
+ Manual: 'manual',
108
108
  } as const;
109
109
  export type SourceUpdateTypeEnum = typeof SourceUpdateTypeEnum[keyof typeof SourceUpdateTypeEnum];
110
110
 
@@ -134,8 +134,8 @@ export function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): So
134
134
  'id': json['id'],
135
135
  'name': json['name'],
136
136
  'inventory': json['inventory'] == null ? undefined : InventoryFromJSON(json['inventory']),
137
- 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
138
- 'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : new Date(json['updatedAt'])),
137
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
138
+ 'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : parseDateTime(json['updatedAt'])),
139
139
  'onPremises': json['onPremises'],
140
140
  'agent': json['agent'] == null ? undefined : AgentFromJSON(json['agent']),
141
141
  'labels': json['labels'] == null ? undefined : ((json['labels'] as Array<any>).map(LabelFromJSON)),
@@ -160,8 +160,8 @@ export function SourceToJSONTyped(value?: Source | null, ignoreDiscriminator: bo
160
160
  'id': value['id'],
161
161
  'name': value['name'],
162
162
  'inventory': InventoryToJSON(value['inventory']),
163
- 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
164
- 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
163
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
164
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : serializeDateTime(value['updatedAt']),
165
165
  'onPremises': value['onPremises'],
166
166
  'agent': AgentToJSON(value['agent']),
167
167
  'labels': value['labels'] == null ? undefined : ((value['labels'] as Array<any>).map(LabelToJSON)),
@@ -85,7 +85,7 @@ export interface SourceCreate {
85
85
  */
86
86
  export const SourceCreateNetworkConfigTypeEnum = {
87
87
  Dhcp: 'dhcp',
88
- Static: 'static'
88
+ Static: 'static',
89
89
  } as const;
90
90
  export type SourceCreateNetworkConfigTypeEnum = typeof SourceCreateNetworkConfigTypeEnum[keyof typeof SourceCreateNetworkConfigTypeEnum];
91
91
 
@@ -85,7 +85,7 @@ export interface SourceUpdate {
85
85
  */
86
86
  export const SourceUpdateNetworkConfigTypeEnum = {
87
87
  Dhcp: 'dhcp',
88
- Static: 'static'
88
+ Static: 'static',
89
89
  } as const;
90
90
  export type SourceUpdateNetworkConfigTypeEnum = typeof SourceUpdateNetworkConfigTypeEnum[keyof typeof SourceUpdateNetworkConfigTypeEnum];
91
91
 
@@ -98,7 +98,7 @@ export interface StandaloneClusterRequirementsRequest {
98
98
  */
99
99
  export const StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum = {
100
100
  NUMBER_1: 1,
101
- NUMBER_3: 3
101
+ NUMBER_3: 3,
102
102
  } as const;
103
103
  export type StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum = typeof StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum[keyof typeof StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum];
104
104
 
@@ -43,7 +43,7 @@ export interface StorageIoConfiguration {
43
43
  */
44
44
  export const StorageIoConfigurationCongestionThresholdModeEnum = {
45
45
  Automatic: 'automatic',
46
- Manual: 'manual'
46
+ Manual: 'manual',
47
47
  } as const;
48
48
  export type StorageIoConfigurationCongestionThresholdModeEnum = typeof StorageIoConfigurationCongestionThresholdModeEnum[keyof typeof StorageIoConfigurationCongestionThresholdModeEnum];
49
49
 
package/src/models/VMs.ts CHANGED
@@ -78,6 +78,10 @@ export interface VMs {
78
78
  * Number of VMs that have at least one shared disk
79
79
  */
80
80
  totalWithSharedDisks?: number;
81
+ /**
82
+ * Number of VMs that have at least one raw device mapping (RDM) disk
83
+ */
84
+ totalWithRDM?: number;
81
85
  /**
82
86
  *
83
87
  */
@@ -189,6 +193,7 @@ export function VMsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMs {
189
193
  'totalMigratable': json['totalMigratable'],
190
194
  'totalMigratableWithWarnings': json['totalMigratableWithWarnings'] == null ? undefined : json['totalMigratableWithWarnings'],
191
195
  'totalWithSharedDisks': json['totalWithSharedDisks'] == null ? undefined : json['totalWithSharedDisks'],
196
+ 'totalWithRDM': json['totalWithRDM'] == null ? undefined : json['totalWithRDM'],
192
197
  'cpuCores': VMResourceBreakdownFromJSON(json['cpuCores']),
193
198
  'diskSizeTier': json['diskSizeTier'] == null ? undefined : (mapValues(json['diskSizeTier'], DiskSizeTierSummaryFromJSON)),
194
199
  'diskComplexityTier': json['diskComplexityTier'] == null ? undefined : (mapValues(json['diskComplexityTier'], DiskSizeTierSummaryFromJSON)),
@@ -226,6 +231,7 @@ export function VMsToJSONTyped(value?: VMs | null, ignoreDiscriminator: boolean
226
231
  'totalMigratable': value['totalMigratable'],
227
232
  'totalMigratableWithWarnings': value['totalMigratableWithWarnings'],
228
233
  'totalWithSharedDisks': value['totalWithSharedDisks'],
234
+ 'totalWithRDM': value['totalWithRDM'],
229
235
  'cpuCores': VMResourceBreakdownToJSON(value['cpuCores']),
230
236
  'diskSizeTier': value['diskSizeTier'] == null ? undefined : (mapValues(value['diskSizeTier'], DiskSizeTierSummaryToJSON)),
231
237
  'diskComplexityTier': value['diskComplexityTier'] == null ? undefined : (mapValues(value['diskComplexityTier'], DiskSizeTierSummaryToJSON)),
@@ -0,0 +1,78 @@
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
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface VMwareSubscriptionInput
20
+ */
21
+ export interface VMwareSubscriptionInput {
22
+ /**
23
+ *
24
+ */
25
+ level?: Set<VMwareSubscriptionInputLevelEnum>;
26
+ }
27
+
28
+
29
+ /**
30
+ * @export
31
+ */
32
+ export const VMwareSubscriptionInputLevelEnum = {
33
+ Vcf: 'vcf',
34
+ Vvf: 'vvf',
35
+ Vvs: 'vvs',
36
+ Vvep: 'vvep',
37
+ Vsphere: 'vsphere',
38
+ NotAssessed: 'not_assessed',
39
+ } as const;
40
+ export type VMwareSubscriptionInputLevelEnum = typeof VMwareSubscriptionInputLevelEnum[keyof typeof VMwareSubscriptionInputLevelEnum];
41
+
42
+
43
+ /**
44
+ * Check if a given object implements the VMwareSubscriptionInput interface.
45
+ */
46
+ export function instanceOfVMwareSubscriptionInput(value: object): value is VMwareSubscriptionInput {
47
+ return true;
48
+ }
49
+
50
+ export function VMwareSubscriptionInputFromJSON(json: any): VMwareSubscriptionInput {
51
+ return VMwareSubscriptionInputFromJSONTyped(json, false);
52
+ }
53
+
54
+ export function VMwareSubscriptionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMwareSubscriptionInput {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+
60
+ 'level': json['level'] == null ? undefined : new Set(json['level']),
61
+ };
62
+ }
63
+
64
+ export function VMwareSubscriptionInputToJSON(json: any): VMwareSubscriptionInput {
65
+ return VMwareSubscriptionInputToJSONTyped(json, false);
66
+ }
67
+
68
+ export function VMwareSubscriptionInputToJSONTyped(value?: VMwareSubscriptionInput | null, ignoreDiscriminator: boolean = false): any {
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+
73
+ return {
74
+
75
+ 'level': value['level'] == null ? undefined : Array.from(value['level'] as Set<any>),
76
+ };
77
+ }
78
+
@@ -0,0 +1,81 @@
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
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface VMwareVersionCountsInput
20
+ */
21
+ export interface VMwareVersionCountsInput {
22
+ /**
23
+ *
24
+ */
25
+ perpetualLicensesCount?: number;
26
+ /**
27
+ *
28
+ */
29
+ coresLicensingCount?: number;
30
+ /**
31
+ *
32
+ */
33
+ environmentCount?: number;
34
+ /**
35
+ *
36
+ */
37
+ otherNodesCount?: number;
38
+ }
39
+
40
+ /**
41
+ * Check if a given object implements the VMwareVersionCountsInput interface.
42
+ */
43
+ export function instanceOfVMwareVersionCountsInput(value: object): value is VMwareVersionCountsInput {
44
+ return true;
45
+ }
46
+
47
+ export function VMwareVersionCountsInputFromJSON(json: any): VMwareVersionCountsInput {
48
+ return VMwareVersionCountsInputFromJSONTyped(json, false);
49
+ }
50
+
51
+ export function VMwareVersionCountsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMwareVersionCountsInput {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+
57
+ 'perpetualLicensesCount': json['perpetualLicensesCount'] == null ? undefined : json['perpetualLicensesCount'],
58
+ 'coresLicensingCount': json['coresLicensingCount'] == null ? undefined : json['coresLicensingCount'],
59
+ 'environmentCount': json['environmentCount'] == null ? undefined : json['environmentCount'],
60
+ 'otherNodesCount': json['otherNodesCount'] == null ? undefined : json['otherNodesCount'],
61
+ };
62
+ }
63
+
64
+ export function VMwareVersionCountsInputToJSON(json: any): VMwareVersionCountsInput {
65
+ return VMwareVersionCountsInputToJSONTyped(json, false);
66
+ }
67
+
68
+ export function VMwareVersionCountsInputToJSONTyped(value?: VMwareVersionCountsInput | null, ignoreDiscriminator: boolean = false): any {
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+
73
+ return {
74
+
75
+ 'perpetualLicensesCount': value['perpetualLicensesCount'],
76
+ 'coresLicensingCount': value['coresLicensingCount'],
77
+ 'environmentCount': value['environmentCount'],
78
+ 'otherNodesCount': value['otherNodesCount'],
79
+ };
80
+ }
81
+
@@ -0,0 +1,75 @@
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
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface VsphereCoreInput
20
+ */
21
+ export interface VsphereCoreInput {
22
+ /**
23
+ *
24
+ */
25
+ vmEncryptionEnabled?: boolean;
26
+ /**
27
+ *
28
+ */
29
+ vmEncryptionPolicy?: string;
30
+ /**
31
+ *
32
+ */
33
+ srmEnabled?: boolean;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the VsphereCoreInput interface.
38
+ */
39
+ export function instanceOfVsphereCoreInput(value: object): value is VsphereCoreInput {
40
+ return true;
41
+ }
42
+
43
+ export function VsphereCoreInputFromJSON(json: any): VsphereCoreInput {
44
+ return VsphereCoreInputFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function VsphereCoreInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): VsphereCoreInput {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'vmEncryptionEnabled': json['vmEncryptionEnabled'] == null ? undefined : json['vmEncryptionEnabled'],
54
+ 'vmEncryptionPolicy': json['vmEncryptionPolicy'] == null ? undefined : json['vmEncryptionPolicy'],
55
+ 'srmEnabled': json['srmEnabled'] == null ? undefined : json['srmEnabled'],
56
+ };
57
+ }
58
+
59
+ export function VsphereCoreInputToJSON(json: any): VsphereCoreInput {
60
+ return VsphereCoreInputToJSONTyped(json, false);
61
+ }
62
+
63
+ export function VsphereCoreInputToJSONTyped(value?: VsphereCoreInput | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'vmEncryptionEnabled': value['vmEncryptionEnabled'],
71
+ 'vmEncryptionPolicy': value['vmEncryptionPolicy'],
72
+ 'srmEnabled': value['srmEnabled'],
73
+ };
74
+ }
75
+
@@ -1,7 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export * from './ActiveEnvironmentsInput.js';
3
4
  export * from './Agent.js';
4
5
  export * from './AgentProxy.js';
6
+ export * from './AriaAutomationInput.js';
7
+ export * from './AriaOpsInput.js';
8
+ export * from './AriaSecureInput.js';
5
9
  export * from './Assessment.js';
6
10
  export * from './AssessmentForm.js';
7
11
  export * from './AssessmentSharing.js';
@@ -18,9 +22,12 @@ export * from './ComplexityOSNameEntry.js';
18
22
  export * from './ComplexityOSScoreEntry.js';
19
23
  export * from './CpuOverCommitRatio.js';
20
24
  export * from './Customer.js';
25
+ export * from './CustomerDetailsInput.js';
21
26
  export * from './Datastore.js';
27
+ export * from './DeployedEnvironmentInput.js';
22
28
  export * from './DiskSizeTierSummary.js';
23
29
  export * from './DiskTypeSummary.js';
30
+ export * from './EnhancementData.js';
24
31
  export * from './EstimationContext.js';
25
32
  export * from './EstimationDetail.js';
26
33
  export * from './Group.js';
@@ -51,6 +58,7 @@ export * from './MigrationEstimationResponse.js';
51
58
  export * from './MigrationIssue.js';
52
59
  export * from './ModelError.js';
53
60
  export * from './Network.js';
61
+ export * from './NsxInput.js';
54
62
  export * from './OptimizationStatus.js';
55
63
  export * from './OsDiskEstimationEntry.js';
56
64
  export * from './OsInfo.js';
@@ -79,4 +87,7 @@ export * from './UpdateInventory.js';
79
87
  export * from './VCenter.js';
80
88
  export * from './VMResourceBreakdown.js';
81
89
  export * from './VMs.js';
90
+ export * from './VMwareSubscriptionInput.js';
91
+ export * from './VMwareVersionCountsInput.js';
82
92
  export * from './VmNetwork.js';
93
+ export * from './VsphereCoreInput.js';