@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
@@ -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': (new Date(json['createdAt'])),
138
- 'updatedAt': (new Date(json['updatedAt'])),
137
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
138
+ 'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : new Date(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'].toISOString(),
164
- 'updatedAt': value['updatedAt'].toISOString(),
163
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
164
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
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)),
@@ -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';