@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,51 @@
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 ActiveEnvironmentsInputEnvironmentsEnum = {
18
+ Production: 'production',
19
+ Qa: 'qa',
20
+ Dev: 'dev',
21
+ Other: 'other',
22
+ NotAssessed: 'not_assessed'
23
+ };
24
+ /**
25
+ * Check if a given object implements the ActiveEnvironmentsInput interface.
26
+ */
27
+ export function instanceOfActiveEnvironmentsInput(value) {
28
+ return true;
29
+ }
30
+ export function ActiveEnvironmentsInputFromJSON(json) {
31
+ return ActiveEnvironmentsInputFromJSONTyped(json, false);
32
+ }
33
+ export function ActiveEnvironmentsInputFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'environments': json['environments'] == null ? undefined : new Set(json['environments']),
39
+ };
40
+ }
41
+ export function ActiveEnvironmentsInputToJSON(json) {
42
+ return ActiveEnvironmentsInputToJSONTyped(json, false);
43
+ }
44
+ export function ActiveEnvironmentsInputToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'environments': value['environments'] == null ? undefined : Array.from(value['environments']),
50
+ };
51
+ }
@@ -54,8 +54,8 @@ export function AgentFromJSONTyped(json, ignoreDiscriminator) {
54
54
  'status': json['status'],
55
55
  'statusInfo': json['statusInfo'],
56
56
  'credentialUrl': json['credentialUrl'],
57
- 'createdAt': (new Date(json['createdAt'])),
58
- 'updatedAt': (new Date(json['updatedAt'])),
57
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
58
+ 'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : new Date(json['updatedAt'])),
59
59
  'version': json['version'],
60
60
  };
61
61
  }
@@ -71,8 +71,8 @@ export function AgentToJSONTyped(value, ignoreDiscriminator = false) {
71
71
  'status': value['status'],
72
72
  'statusInfo': value['statusInfo'],
73
73
  'credentialUrl': value['credentialUrl'],
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
  'version': value['version'],
77
77
  };
78
78
  }
@@ -0,0 +1,51 @@
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 AriaAutomationInput
16
+ */
17
+ export interface AriaAutomationInput {
18
+ /**
19
+ *
20
+ */
21
+ features?: Set<AriaAutomationInputFeaturesEnum>;
22
+ }
23
+ /**
24
+ * @export
25
+ */
26
+ export declare const AriaAutomationInputFeaturesEnum: {
27
+ readonly InfraProvisioning: "infra_provisioning";
28
+ readonly CloudAssembly: "cloud_assembly";
29
+ readonly ServiceCatalog: "service_catalog";
30
+ readonly Blueprints: "blueprints";
31
+ readonly ConfigMgmt: "config_mgmt";
32
+ readonly Hcx: "hcx";
33
+ readonly Orchestrator: "orchestrator";
34
+ readonly Terraform: "terraform";
35
+ readonly Dsm: "dsm";
36
+ readonly TanzuK8s: "tanzu_k8s";
37
+ readonly TanzuApp: "tanzu_app";
38
+ readonly K8sNamespaces: "k8s_namespaces";
39
+ readonly NotAssessed: "not_assessed";
40
+ readonly NotAvailable: "not_available";
41
+ readonly NotInUse: "not_in_use";
42
+ };
43
+ export type AriaAutomationInputFeaturesEnum = typeof AriaAutomationInputFeaturesEnum[keyof typeof AriaAutomationInputFeaturesEnum];
44
+ /**
45
+ * Check if a given object implements the AriaAutomationInput interface.
46
+ */
47
+ export declare function instanceOfAriaAutomationInput(value: object): value is AriaAutomationInput;
48
+ export declare function AriaAutomationInputFromJSON(json: any): AriaAutomationInput;
49
+ export declare function AriaAutomationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AriaAutomationInput;
50
+ export declare function AriaAutomationInputToJSON(json: any): AriaAutomationInput;
51
+ export declare function AriaAutomationInputToJSONTyped(value?: AriaAutomationInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
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 AriaAutomationInputFeaturesEnum = {
18
+ InfraProvisioning: 'infra_provisioning',
19
+ CloudAssembly: 'cloud_assembly',
20
+ ServiceCatalog: 'service_catalog',
21
+ Blueprints: 'blueprints',
22
+ ConfigMgmt: 'config_mgmt',
23
+ Hcx: 'hcx',
24
+ Orchestrator: 'orchestrator',
25
+ Terraform: 'terraform',
26
+ Dsm: 'dsm',
27
+ TanzuK8s: 'tanzu_k8s',
28
+ TanzuApp: 'tanzu_app',
29
+ K8sNamespaces: 'k8s_namespaces',
30
+ NotAssessed: 'not_assessed',
31
+ NotAvailable: 'not_available',
32
+ NotInUse: 'not_in_use'
33
+ };
34
+ /**
35
+ * Check if a given object implements the AriaAutomationInput interface.
36
+ */
37
+ export function instanceOfAriaAutomationInput(value) {
38
+ return true;
39
+ }
40
+ export function AriaAutomationInputFromJSON(json) {
41
+ return AriaAutomationInputFromJSONTyped(json, false);
42
+ }
43
+ export function AriaAutomationInputFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'features': json['features'] == null ? undefined : new Set(json['features']),
49
+ };
50
+ }
51
+ export function AriaAutomationInputToJSON(json) {
52
+ return AriaAutomationInputToJSONTyped(json, false);
53
+ }
54
+ export function AriaAutomationInputToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'features': value['features'] == null ? undefined : Array.from(value['features']),
60
+ };
61
+ }
@@ -0,0 +1,49 @@
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 AriaOpsInput
16
+ */
17
+ export interface AriaOpsInput {
18
+ /**
19
+ *
20
+ */
21
+ features?: Set<AriaOpsInputFeaturesEnum>;
22
+ }
23
+ /**
24
+ * @export
25
+ */
26
+ export declare const AriaOpsInputFeaturesEnum: {
27
+ readonly PerformanceAnalytics: "performance_analytics";
28
+ readonly HealthScore: "health_score";
29
+ readonly Alerting: "alerting";
30
+ readonly LogInsight: "log_insight";
31
+ readonly ItsmIntegration: "itsm_integration";
32
+ readonly Rightsizing: "rightsizing";
33
+ readonly AutoOptimization: "auto_optimization";
34
+ readonly TrueVisibility: "true_visibility";
35
+ readonly CapacityPlanning: "capacity_planning";
36
+ readonly AnomalyDetection: "anomaly_detection";
37
+ readonly NotAssessed: "not_assessed";
38
+ readonly NotAvailable: "not_available";
39
+ readonly NotInUse: "not_in_use";
40
+ };
41
+ export type AriaOpsInputFeaturesEnum = typeof AriaOpsInputFeaturesEnum[keyof typeof AriaOpsInputFeaturesEnum];
42
+ /**
43
+ * Check if a given object implements the AriaOpsInput interface.
44
+ */
45
+ export declare function instanceOfAriaOpsInput(value: object): value is AriaOpsInput;
46
+ export declare function AriaOpsInputFromJSON(json: any): AriaOpsInput;
47
+ export declare function AriaOpsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AriaOpsInput;
48
+ export declare function AriaOpsInputToJSON(json: any): AriaOpsInput;
49
+ export declare function AriaOpsInputToJSONTyped(value?: AriaOpsInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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 AriaOpsInputFeaturesEnum = {
18
+ PerformanceAnalytics: 'performance_analytics',
19
+ HealthScore: 'health_score',
20
+ Alerting: 'alerting',
21
+ LogInsight: 'log_insight',
22
+ ItsmIntegration: 'itsm_integration',
23
+ Rightsizing: 'rightsizing',
24
+ AutoOptimization: 'auto_optimization',
25
+ TrueVisibility: 'true_visibility',
26
+ CapacityPlanning: 'capacity_planning',
27
+ AnomalyDetection: 'anomaly_detection',
28
+ NotAssessed: 'not_assessed',
29
+ NotAvailable: 'not_available',
30
+ NotInUse: 'not_in_use'
31
+ };
32
+ /**
33
+ * Check if a given object implements the AriaOpsInput interface.
34
+ */
35
+ export function instanceOfAriaOpsInput(value) {
36
+ return true;
37
+ }
38
+ export function AriaOpsInputFromJSON(json) {
39
+ return AriaOpsInputFromJSONTyped(json, false);
40
+ }
41
+ export function AriaOpsInputFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'features': json['features'] == null ? undefined : new Set(json['features']),
47
+ };
48
+ }
49
+ export function AriaOpsInputToJSON(json) {
50
+ return AriaOpsInputToJSONTyped(json, false);
51
+ }
52
+ export function AriaOpsInputToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'features': value['features'] == null ? undefined : Array.from(value['features']),
58
+ };
59
+ }
@@ -0,0 +1,41 @@
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 AriaSecureInput
16
+ */
17
+ export interface AriaSecureInput {
18
+ /**
19
+ *
20
+ */
21
+ features?: Set<AriaSecureInputFeaturesEnum>;
22
+ }
23
+ /**
24
+ * @export
25
+ */
26
+ export declare const AriaSecureInputFeaturesEnum: {
27
+ readonly PolicyGovernance: "policy_governance";
28
+ readonly ComplianceMonitoring: "compliance_monitoring";
29
+ readonly NotAssessed: "not_assessed";
30
+ readonly NotAvailable: "not_available";
31
+ readonly NotInUse: "not_in_use";
32
+ };
33
+ export type AriaSecureInputFeaturesEnum = typeof AriaSecureInputFeaturesEnum[keyof typeof AriaSecureInputFeaturesEnum];
34
+ /**
35
+ * Check if a given object implements the AriaSecureInput interface.
36
+ */
37
+ export declare function instanceOfAriaSecureInput(value: object): value is AriaSecureInput;
38
+ export declare function AriaSecureInputFromJSON(json: any): AriaSecureInput;
39
+ export declare function AriaSecureInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AriaSecureInput;
40
+ export declare function AriaSecureInputToJSON(json: any): AriaSecureInput;
41
+ export declare function AriaSecureInputToJSONTyped(value?: AriaSecureInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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 AriaSecureInputFeaturesEnum = {
18
+ PolicyGovernance: 'policy_governance',
19
+ ComplianceMonitoring: 'compliance_monitoring',
20
+ NotAssessed: 'not_assessed',
21
+ NotAvailable: 'not_available',
22
+ NotInUse: 'not_in_use'
23
+ };
24
+ /**
25
+ * Check if a given object implements the AriaSecureInput interface.
26
+ */
27
+ export function instanceOfAriaSecureInput(value) {
28
+ return true;
29
+ }
30
+ export function AriaSecureInputFromJSON(json) {
31
+ return AriaSecureInputFromJSONTyped(json, false);
32
+ }
33
+ export function AriaSecureInputFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'features': json['features'] == null ? undefined : new Set(json['features']),
39
+ };
40
+ }
41
+ export function AriaSecureInputToJSON(json) {
42
+ return AriaSecureInputToJSONTyped(json, false);
43
+ }
44
+ export function AriaSecureInputToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'features': value['features'] == null ? undefined : Array.from(value['features']),
50
+ };
51
+ }
@@ -59,7 +59,7 @@ export function AssessmentFromJSONTyped(json, ignoreDiscriminator) {
59
59
  'ownerLastName': json['ownerLastName'] == null ? undefined : json['ownerLastName'],
60
60
  'sourceType': json['sourceType'],
61
61
  'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
62
- 'createdAt': (new Date(json['createdAt'])),
62
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
63
63
  'snapshots': (json['snapshots'].map(SnapshotFromJSON)),
64
64
  'permissions': json['permissions'] == null ? undefined : json['permissions'],
65
65
  'sharing': json['sharing'] == null ? undefined : AssessmentSharingFromJSON(json['sharing']),
@@ -79,7 +79,7 @@ export function AssessmentToJSONTyped(value, ignoreDiscriminator = false) {
79
79
  'ownerLastName': value['ownerLastName'],
80
80
  'sourceType': value['sourceType'],
81
81
  'sourceId': value['sourceId'],
82
- 'createdAt': value['createdAt'].toISOString(),
82
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
83
83
  'snapshots': (value['snapshots'].map(SnapshotToJSON)),
84
84
  'permissions': value['permissions'],
85
85
  'sharing': AssessmentSharingToJSON(value['sharing']),
@@ -43,7 +43,7 @@ export function AssessmentSubsetInventoryFromJSONTyped(json, ignoreDiscriminator
43
43
  'vcenterId': json['vcenterId'],
44
44
  'vmsCount': json['vmsCount'],
45
45
  'inventory': InventoryFromJSON(json['inventory']),
46
- 'createdAt': (new Date(json['createdAt'])),
46
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
47
47
  };
48
48
  }
49
49
  export function AssessmentSubsetInventoryToJSON(json) {
@@ -59,6 +59,6 @@ export function AssessmentSubsetInventoryToJSONTyped(value, ignoreDiscriminator
59
59
  'vcenterId': value['vcenterId'],
60
60
  'vmsCount': value['vmsCount'],
61
61
  'inventory': InventoryToJSON(value['inventory']),
62
- 'createdAt': value['createdAt'].toISOString(),
62
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
63
63
  };
64
64
  }
@@ -0,0 +1,34 @@
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 CustomerDetailsInput
16
+ */
17
+ export interface CustomerDetailsInput {
18
+ /**
19
+ *
20
+ */
21
+ physicalLocationsCount?: number;
22
+ /**
23
+ *
24
+ */
25
+ targetHardware?: string;
26
+ }
27
+ /**
28
+ * Check if a given object implements the CustomerDetailsInput interface.
29
+ */
30
+ export declare function instanceOfCustomerDetailsInput(value: object): value is CustomerDetailsInput;
31
+ export declare function CustomerDetailsInputFromJSON(json: any): CustomerDetailsInput;
32
+ export declare function CustomerDetailsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerDetailsInput;
33
+ export declare function CustomerDetailsInputToJSON(json: any): CustomerDetailsInput;
34
+ export declare function CustomerDetailsInputToJSONTyped(value?: CustomerDetailsInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
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 CustomerDetailsInput interface.
16
+ */
17
+ export function instanceOfCustomerDetailsInput(value) {
18
+ return true;
19
+ }
20
+ export function CustomerDetailsInputFromJSON(json) {
21
+ return CustomerDetailsInputFromJSONTyped(json, false);
22
+ }
23
+ export function CustomerDetailsInputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'physicalLocationsCount': json['physicalLocationsCount'] == null ? undefined : json['physicalLocationsCount'],
29
+ 'targetHardware': json['targetHardware'] == null ? undefined : json['targetHardware'],
30
+ };
31
+ }
32
+ export function CustomerDetailsInputToJSON(json) {
33
+ return CustomerDetailsInputToJSONTyped(json, false);
34
+ }
35
+ export function CustomerDetailsInputToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'physicalLocationsCount': value['physicalLocationsCount'],
41
+ 'targetHardware': value['targetHardware'],
42
+ };
43
+ }
@@ -0,0 +1,40 @@
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 DeployedEnvironmentInput
16
+ */
17
+ export interface DeployedEnvironmentInput {
18
+ /**
19
+ *
20
+ */
21
+ environment?: DeployedEnvironmentInputEnvironmentEnum;
22
+ }
23
+ /**
24
+ * @export
25
+ */
26
+ export declare const DeployedEnvironmentInputEnvironmentEnum: {
27
+ readonly OnPremises: "on_premises";
28
+ readonly OnCloud: "on_cloud";
29
+ readonly ManagedServices: "managed_services";
30
+ readonly NotAssessed: "not_assessed";
31
+ };
32
+ export type DeployedEnvironmentInputEnvironmentEnum = typeof DeployedEnvironmentInputEnvironmentEnum[keyof typeof DeployedEnvironmentInputEnvironmentEnum];
33
+ /**
34
+ * Check if a given object implements the DeployedEnvironmentInput interface.
35
+ */
36
+ export declare function instanceOfDeployedEnvironmentInput(value: object): value is DeployedEnvironmentInput;
37
+ export declare function DeployedEnvironmentInputFromJSON(json: any): DeployedEnvironmentInput;
38
+ export declare function DeployedEnvironmentInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeployedEnvironmentInput;
39
+ export declare function DeployedEnvironmentInputToJSON(json: any): DeployedEnvironmentInput;
40
+ export declare function DeployedEnvironmentInputToJSONTyped(value?: DeployedEnvironmentInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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 DeployedEnvironmentInputEnvironmentEnum = {
18
+ OnPremises: 'on_premises',
19
+ OnCloud: 'on_cloud',
20
+ ManagedServices: 'managed_services',
21
+ NotAssessed: 'not_assessed'
22
+ };
23
+ /**
24
+ * Check if a given object implements the DeployedEnvironmentInput interface.
25
+ */
26
+ export function instanceOfDeployedEnvironmentInput(value) {
27
+ return true;
28
+ }
29
+ export function DeployedEnvironmentInputFromJSON(json) {
30
+ return DeployedEnvironmentInputFromJSONTyped(json, false);
31
+ }
32
+ export function DeployedEnvironmentInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'environment': json['environment'] == null ? undefined : json['environment'],
38
+ };
39
+ }
40
+ export function DeployedEnvironmentInputToJSON(json) {
41
+ return DeployedEnvironmentInputToJSONTyped(json, false);
42
+ }
43
+ export function DeployedEnvironmentInputToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'environment': value['environment'],
49
+ };
50
+ }
@@ -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;