@openshift-migration-advisor/planner-sdk 0.20.2-cdd9e28947f3 → 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 (80) 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/AriaAutomationInput.d.ts +51 -0
  10. package/dist/esm/models/AriaAutomationInput.js +61 -0
  11. package/dist/esm/models/AriaOpsInput.d.ts +49 -0
  12. package/dist/esm/models/AriaOpsInput.js +59 -0
  13. package/dist/esm/models/AriaSecureInput.d.ts +41 -0
  14. package/dist/esm/models/AriaSecureInput.js +51 -0
  15. package/dist/esm/models/CustomerDetailsInput.d.ts +34 -0
  16. package/dist/esm/models/CustomerDetailsInput.js +43 -0
  17. package/dist/esm/models/DeployedEnvironmentInput.d.ts +40 -0
  18. package/dist/esm/models/DeployedEnvironmentInput.js +50 -0
  19. package/dist/esm/models/EnhancementData.d.ts +76 -0
  20. package/dist/esm/models/EnhancementData.js +69 -0
  21. package/dist/esm/models/NsxInput.d.ts +46 -0
  22. package/dist/esm/models/NsxInput.js +56 -0
  23. package/dist/esm/models/VMwareSubscriptionInput.d.ts +42 -0
  24. package/dist/esm/models/VMwareSubscriptionInput.js +52 -0
  25. package/dist/esm/models/VMwareVersionCountsInput.d.ts +42 -0
  26. package/dist/esm/models/VMwareVersionCountsInput.js +47 -0
  27. package/dist/esm/models/VsphereCoreInput.d.ts +38 -0
  28. package/dist/esm/models/VsphereCoreInput.js +45 -0
  29. package/dist/esm/models/index.d.ts +11 -0
  30. package/dist/esm/models/index.js +11 -0
  31. package/dist/models/ActiveEnvironmentsInput.d.ts +41 -0
  32. package/dist/models/ActiveEnvironmentsInput.js +59 -0
  33. package/dist/models/AriaAutomationInput.d.ts +51 -0
  34. package/dist/models/AriaAutomationInput.js +69 -0
  35. package/dist/models/AriaOpsInput.d.ts +49 -0
  36. package/dist/models/AriaOpsInput.js +67 -0
  37. package/dist/models/AriaSecureInput.d.ts +41 -0
  38. package/dist/models/AriaSecureInput.js +59 -0
  39. package/dist/models/CustomerDetailsInput.d.ts +34 -0
  40. package/dist/models/CustomerDetailsInput.js +50 -0
  41. package/dist/models/DeployedEnvironmentInput.d.ts +40 -0
  42. package/dist/models/DeployedEnvironmentInput.js +58 -0
  43. package/dist/models/EnhancementData.d.ts +76 -0
  44. package/dist/models/EnhancementData.js +76 -0
  45. package/dist/models/NsxInput.d.ts +46 -0
  46. package/dist/models/NsxInput.js +64 -0
  47. package/dist/models/VMwareSubscriptionInput.d.ts +42 -0
  48. package/dist/models/VMwareSubscriptionInput.js +60 -0
  49. package/dist/models/VMwareVersionCountsInput.d.ts +42 -0
  50. package/dist/models/VMwareVersionCountsInput.js +54 -0
  51. package/dist/models/VsphereCoreInput.d.ts +38 -0
  52. package/dist/models/VsphereCoreInput.js +52 -0
  53. package/dist/models/index.d.ts +11 -0
  54. package/dist/models/index.js +11 -0
  55. package/docs/ActiveEnvironmentsInput.md +34 -0
  56. package/docs/AriaAutomationInput.md +34 -0
  57. package/docs/AriaOpsInput.md +34 -0
  58. package/docs/AriaSecureInput.md +34 -0
  59. package/docs/AssessmentApi.md +148 -0
  60. package/docs/CustomerDetailsInput.md +36 -0
  61. package/docs/DeployedEnvironmentInput.md +34 -0
  62. package/docs/EnhancementData.md +53 -0
  63. package/docs/NsxInput.md +34 -0
  64. package/docs/VMwareSubscriptionInput.md +34 -0
  65. package/docs/VMwareVersionCountsInput.md +40 -0
  66. package/docs/VsphereCoreInput.md +38 -0
  67. package/package.json +1 -1
  68. package/src/apis/AssessmentApi.ts +169 -0
  69. package/src/models/ActiveEnvironmentsInput.ts +77 -0
  70. package/src/models/AriaAutomationInput.ts +87 -0
  71. package/src/models/AriaOpsInput.ts +85 -0
  72. package/src/models/AriaSecureInput.ts +77 -0
  73. package/src/models/CustomerDetailsInput.ts +69 -0
  74. package/src/models/DeployedEnvironmentInput.ts +76 -0
  75. package/src/models/EnhancementData.ts +188 -0
  76. package/src/models/NsxInput.ts +82 -0
  77. package/src/models/VMwareSubscriptionInput.ts +78 -0
  78. package/src/models/VMwareVersionCountsInput.ts +81 -0
  79. package/src/models/VsphereCoreInput.ts +75 -0
  80. package/src/models/index.ts +11 -0
@@ -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
+
@@ -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';