@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
@@ -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';
@@ -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 ActiveEnvironmentsInput
16
+ */
17
+ export interface ActiveEnvironmentsInput {
18
+ /**
19
+ *
20
+ */
21
+ environments?: Set<ActiveEnvironmentsInputEnvironmentsEnum>;
22
+ }
23
+ /**
24
+ * @export
25
+ */
26
+ export declare const ActiveEnvironmentsInputEnvironmentsEnum: {
27
+ readonly Production: "production";
28
+ readonly Qa: "qa";
29
+ readonly Dev: "dev";
30
+ readonly Other: "other";
31
+ readonly NotAssessed: "not_assessed";
32
+ };
33
+ export type ActiveEnvironmentsInputEnvironmentsEnum = typeof ActiveEnvironmentsInputEnvironmentsEnum[keyof typeof ActiveEnvironmentsInputEnvironmentsEnum];
34
+ /**
35
+ * Check if a given object implements the ActiveEnvironmentsInput interface.
36
+ */
37
+ export declare function instanceOfActiveEnvironmentsInput(value: object): value is ActiveEnvironmentsInput;
38
+ export declare function ActiveEnvironmentsInputFromJSON(json: any): ActiveEnvironmentsInput;
39
+ export declare function ActiveEnvironmentsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActiveEnvironmentsInput;
40
+ export declare function ActiveEnvironmentsInputToJSON(json: any): ActiveEnvironmentsInput;
41
+ export declare function ActiveEnvironmentsInputToJSONTyped(value?: ActiveEnvironmentsInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenShift Migration Advisor API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1alpha1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ActiveEnvironmentsInputEnvironmentsEnum = void 0;
17
+ exports.instanceOfActiveEnvironmentsInput = instanceOfActiveEnvironmentsInput;
18
+ exports.ActiveEnvironmentsInputFromJSON = ActiveEnvironmentsInputFromJSON;
19
+ exports.ActiveEnvironmentsInputFromJSONTyped = ActiveEnvironmentsInputFromJSONTyped;
20
+ exports.ActiveEnvironmentsInputToJSON = ActiveEnvironmentsInputToJSON;
21
+ exports.ActiveEnvironmentsInputToJSONTyped = ActiveEnvironmentsInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ActiveEnvironmentsInputEnvironmentsEnum = {
26
+ Production: 'production',
27
+ Qa: 'qa',
28
+ Dev: 'dev',
29
+ Other: 'other',
30
+ NotAssessed: 'not_assessed'
31
+ };
32
+ /**
33
+ * Check if a given object implements the ActiveEnvironmentsInput interface.
34
+ */
35
+ function instanceOfActiveEnvironmentsInput(value) {
36
+ return true;
37
+ }
38
+ function ActiveEnvironmentsInputFromJSON(json) {
39
+ return ActiveEnvironmentsInputFromJSONTyped(json, false);
40
+ }
41
+ function ActiveEnvironmentsInputFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'environments': json['environments'] == null ? undefined : new Set(json['environments']),
47
+ };
48
+ }
49
+ function ActiveEnvironmentsInputToJSON(json) {
50
+ return ActiveEnvironmentsInputToJSONTyped(json, false);
51
+ }
52
+ function ActiveEnvironmentsInputToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'environments': value['environments'] == null ? undefined : Array.from(value['environments']),
58
+ };
59
+ }
@@ -62,8 +62,8 @@ function AgentFromJSONTyped(json, ignoreDiscriminator) {
62
62
  'status': json['status'],
63
63
  'statusInfo': json['statusInfo'],
64
64
  'credentialUrl': json['credentialUrl'],
65
- 'createdAt': (new Date(json['createdAt'])),
66
- 'updatedAt': (new Date(json['updatedAt'])),
65
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
66
+ 'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : new Date(json['updatedAt'])),
67
67
  'version': json['version'],
68
68
  };
69
69
  }
@@ -79,8 +79,8 @@ function AgentToJSONTyped(value, ignoreDiscriminator = false) {
79
79
  'status': value['status'],
80
80
  'statusInfo': value['statusInfo'],
81
81
  'credentialUrl': value['credentialUrl'],
82
- 'createdAt': value['createdAt'].toISOString(),
83
- 'updatedAt': value['updatedAt'].toISOString(),
82
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
83
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
84
84
  'version': value['version'],
85
85
  };
86
86
  }
@@ -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,69 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenShift Migration Advisor API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1alpha1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AriaAutomationInputFeaturesEnum = void 0;
17
+ exports.instanceOfAriaAutomationInput = instanceOfAriaAutomationInput;
18
+ exports.AriaAutomationInputFromJSON = AriaAutomationInputFromJSON;
19
+ exports.AriaAutomationInputFromJSONTyped = AriaAutomationInputFromJSONTyped;
20
+ exports.AriaAutomationInputToJSON = AriaAutomationInputToJSON;
21
+ exports.AriaAutomationInputToJSONTyped = AriaAutomationInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.AriaAutomationInputFeaturesEnum = {
26
+ InfraProvisioning: 'infra_provisioning',
27
+ CloudAssembly: 'cloud_assembly',
28
+ ServiceCatalog: 'service_catalog',
29
+ Blueprints: 'blueprints',
30
+ ConfigMgmt: 'config_mgmt',
31
+ Hcx: 'hcx',
32
+ Orchestrator: 'orchestrator',
33
+ Terraform: 'terraform',
34
+ Dsm: 'dsm',
35
+ TanzuK8s: 'tanzu_k8s',
36
+ TanzuApp: 'tanzu_app',
37
+ K8sNamespaces: 'k8s_namespaces',
38
+ NotAssessed: 'not_assessed',
39
+ NotAvailable: 'not_available',
40
+ NotInUse: 'not_in_use'
41
+ };
42
+ /**
43
+ * Check if a given object implements the AriaAutomationInput interface.
44
+ */
45
+ function instanceOfAriaAutomationInput(value) {
46
+ return true;
47
+ }
48
+ function AriaAutomationInputFromJSON(json) {
49
+ return AriaAutomationInputFromJSONTyped(json, false);
50
+ }
51
+ function AriaAutomationInputFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'features': json['features'] == null ? undefined : new Set(json['features']),
57
+ };
58
+ }
59
+ function AriaAutomationInputToJSON(json) {
60
+ return AriaAutomationInputToJSONTyped(json, false);
61
+ }
62
+ function AriaAutomationInputToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'features': value['features'] == null ? undefined : Array.from(value['features']),
68
+ };
69
+ }
@@ -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,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenShift Migration Advisor API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1alpha1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AriaOpsInputFeaturesEnum = void 0;
17
+ exports.instanceOfAriaOpsInput = instanceOfAriaOpsInput;
18
+ exports.AriaOpsInputFromJSON = AriaOpsInputFromJSON;
19
+ exports.AriaOpsInputFromJSONTyped = AriaOpsInputFromJSONTyped;
20
+ exports.AriaOpsInputToJSON = AriaOpsInputToJSON;
21
+ exports.AriaOpsInputToJSONTyped = AriaOpsInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.AriaOpsInputFeaturesEnum = {
26
+ PerformanceAnalytics: 'performance_analytics',
27
+ HealthScore: 'health_score',
28
+ Alerting: 'alerting',
29
+ LogInsight: 'log_insight',
30
+ ItsmIntegration: 'itsm_integration',
31
+ Rightsizing: 'rightsizing',
32
+ AutoOptimization: 'auto_optimization',
33
+ TrueVisibility: 'true_visibility',
34
+ CapacityPlanning: 'capacity_planning',
35
+ AnomalyDetection: 'anomaly_detection',
36
+ NotAssessed: 'not_assessed',
37
+ NotAvailable: 'not_available',
38
+ NotInUse: 'not_in_use'
39
+ };
40
+ /**
41
+ * Check if a given object implements the AriaOpsInput interface.
42
+ */
43
+ function instanceOfAriaOpsInput(value) {
44
+ return true;
45
+ }
46
+ function AriaOpsInputFromJSON(json) {
47
+ return AriaOpsInputFromJSONTyped(json, false);
48
+ }
49
+ function AriaOpsInputFromJSONTyped(json, ignoreDiscriminator) {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+ 'features': json['features'] == null ? undefined : new Set(json['features']),
55
+ };
56
+ }
57
+ function AriaOpsInputToJSON(json) {
58
+ return AriaOpsInputToJSONTyped(json, false);
59
+ }
60
+ function AriaOpsInputToJSONTyped(value, ignoreDiscriminator = false) {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'features': value['features'] == null ? undefined : Array.from(value['features']),
66
+ };
67
+ }
@@ -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,59 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenShift Migration Advisor API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1alpha1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AriaSecureInputFeaturesEnum = void 0;
17
+ exports.instanceOfAriaSecureInput = instanceOfAriaSecureInput;
18
+ exports.AriaSecureInputFromJSON = AriaSecureInputFromJSON;
19
+ exports.AriaSecureInputFromJSONTyped = AriaSecureInputFromJSONTyped;
20
+ exports.AriaSecureInputToJSON = AriaSecureInputToJSON;
21
+ exports.AriaSecureInputToJSONTyped = AriaSecureInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.AriaSecureInputFeaturesEnum = {
26
+ PolicyGovernance: 'policy_governance',
27
+ ComplianceMonitoring: 'compliance_monitoring',
28
+ NotAssessed: 'not_assessed',
29
+ NotAvailable: 'not_available',
30
+ NotInUse: 'not_in_use'
31
+ };
32
+ /**
33
+ * Check if a given object implements the AriaSecureInput interface.
34
+ */
35
+ function instanceOfAriaSecureInput(value) {
36
+ return true;
37
+ }
38
+ function AriaSecureInputFromJSON(json) {
39
+ return AriaSecureInputFromJSONTyped(json, false);
40
+ }
41
+ function AriaSecureInputFromJSONTyped(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
+ function AriaSecureInputToJSON(json) {
50
+ return AriaSecureInputToJSONTyped(json, false);
51
+ }
52
+ function AriaSecureInputToJSONTyped(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
+ }
@@ -67,7 +67,7 @@ function AssessmentFromJSONTyped(json, ignoreDiscriminator) {
67
67
  'ownerLastName': json['ownerLastName'] == null ? undefined : json['ownerLastName'],
68
68
  'sourceType': json['sourceType'],
69
69
  'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
70
- 'createdAt': (new Date(json['createdAt'])),
70
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
71
71
  'snapshots': (json['snapshots'].map(Snapshot_js_1.SnapshotFromJSON)),
72
72
  'permissions': json['permissions'] == null ? undefined : json['permissions'],
73
73
  'sharing': json['sharing'] == null ? undefined : (0, AssessmentSharing_js_1.AssessmentSharingFromJSON)(json['sharing']),
@@ -87,7 +87,7 @@ function AssessmentToJSONTyped(value, ignoreDiscriminator = false) {
87
87
  'ownerLastName': value['ownerLastName'],
88
88
  'sourceType': value['sourceType'],
89
89
  'sourceId': value['sourceId'],
90
- 'createdAt': value['createdAt'].toISOString(),
90
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
91
91
  'snapshots': (value['snapshots'].map(Snapshot_js_1.SnapshotToJSON)),
92
92
  'permissions': value['permissions'],
93
93
  'sharing': (0, AssessmentSharing_js_1.AssessmentSharingToJSON)(value['sharing']),
@@ -50,7 +50,7 @@ function AssessmentSubsetInventoryFromJSONTyped(json, ignoreDiscriminator) {
50
50
  'vcenterId': json['vcenterId'],
51
51
  'vmsCount': json['vmsCount'],
52
52
  'inventory': (0, Inventory_js_1.InventoryFromJSON)(json['inventory']),
53
- 'createdAt': (new Date(json['createdAt'])),
53
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
54
54
  };
55
55
  }
56
56
  function AssessmentSubsetInventoryToJSON(json) {
@@ -66,6 +66,6 @@ function AssessmentSubsetInventoryToJSONTyped(value, ignoreDiscriminator = false
66
66
  'vcenterId': value['vcenterId'],
67
67
  'vmsCount': value['vmsCount'],
68
68
  'inventory': (0, Inventory_js_1.InventoryToJSON)(value['inventory']),
69
- 'createdAt': value['createdAt'].toISOString(),
69
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
70
70
  };
71
71
  }
@@ -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,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenShift Migration Advisor API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1alpha1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCustomerDetailsInput = instanceOfCustomerDetailsInput;
17
+ exports.CustomerDetailsInputFromJSON = CustomerDetailsInputFromJSON;
18
+ exports.CustomerDetailsInputFromJSONTyped = CustomerDetailsInputFromJSONTyped;
19
+ exports.CustomerDetailsInputToJSON = CustomerDetailsInputToJSON;
20
+ exports.CustomerDetailsInputToJSONTyped = CustomerDetailsInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CustomerDetailsInput interface.
23
+ */
24
+ function instanceOfCustomerDetailsInput(value) {
25
+ return true;
26
+ }
27
+ function CustomerDetailsInputFromJSON(json) {
28
+ return CustomerDetailsInputFromJSONTyped(json, false);
29
+ }
30
+ function CustomerDetailsInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'physicalLocationsCount': json['physicalLocationsCount'] == null ? undefined : json['physicalLocationsCount'],
36
+ 'targetHardware': json['targetHardware'] == null ? undefined : json['targetHardware'],
37
+ };
38
+ }
39
+ function CustomerDetailsInputToJSON(json) {
40
+ return CustomerDetailsInputToJSONTyped(json, false);
41
+ }
42
+ function CustomerDetailsInputToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'physicalLocationsCount': value['physicalLocationsCount'],
48
+ 'targetHardware': value['targetHardware'],
49
+ };
50
+ }
@@ -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;