@openshift-migration-advisor/agent-sdk 0.12.0-f90a4cad59fa → 0.16.0
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.
- package/.openapi-generator/FILES +14 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +16 -3
- package/dist/apis/DefaultApi.d.ts +209 -4
- package/dist/apis/DefaultApi.js +229 -0
- package/dist/esm/apis/DefaultApi.d.ts +209 -4
- package/dist/esm/apis/DefaultApi.js +229 -0
- package/dist/esm/models/ApplicationListResponse.d.ts +33 -0
- package/dist/esm/models/ApplicationListResponse.js +44 -0
- package/dist/esm/models/ApplicationOverview.d.ts +51 -0
- package/dist/esm/models/ApplicationOverview.js +56 -0
- package/dist/esm/models/ApplicationVM.d.ts +38 -0
- package/dist/esm/models/ApplicationVM.js +47 -0
- package/dist/esm/models/CapabilityStatus.d.ts +33 -0
- package/dist/esm/models/CapabilityStatus.js +44 -0
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +45 -0
- package/dist/esm/models/CapabilityStatusCapabilities.js +52 -0
- package/dist/esm/models/CollectorStartRequest.d.ts +12 -0
- package/dist/esm/models/CollectorStartRequest.js +4 -0
- package/dist/esm/models/CredentialStatus.d.ts +44 -0
- package/dist/esm/models/CredentialStatus.js +51 -0
- package/dist/esm/models/OperationCapability.d.ts +38 -0
- package/dist/esm/models/OperationCapability.js +45 -0
- package/dist/esm/models/StartInspectionRequest.d.ts +1 -1
- package/dist/esm/models/StartInspectionRequest.js +1 -3
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +6 -0
- package/dist/esm/models/VMFilterOptionsResponse.js +4 -0
- package/dist/esm/models/VMNIC.d.ts +12 -0
- package/dist/esm/models/VMNIC.js +4 -0
- package/dist/esm/models/VcenterCredentials.d.ts +12 -0
- package/dist/esm/models/VcenterCredentials.js +4 -0
- package/dist/esm/models/VmInspectionStatus.d.ts +6 -0
- package/dist/esm/models/VmInspectionStatus.js +4 -0
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +7 -0
- package/dist/esm/runtime.js +2 -1
- package/dist/models/ApplicationListResponse.d.ts +33 -0
- package/dist/models/ApplicationListResponse.js +51 -0
- package/dist/models/ApplicationOverview.d.ts +51 -0
- package/dist/models/ApplicationOverview.js +63 -0
- package/dist/models/ApplicationVM.d.ts +38 -0
- package/dist/models/ApplicationVM.js +54 -0
- package/dist/models/CapabilityStatus.d.ts +33 -0
- package/dist/models/CapabilityStatus.js +51 -0
- package/dist/models/CapabilityStatusCapabilities.d.ts +45 -0
- package/dist/models/CapabilityStatusCapabilities.js +59 -0
- package/dist/models/CollectorStartRequest.d.ts +12 -0
- package/dist/models/CollectorStartRequest.js +4 -0
- package/dist/models/CredentialStatus.d.ts +44 -0
- package/dist/models/CredentialStatus.js +58 -0
- package/dist/models/OperationCapability.d.ts +38 -0
- package/dist/models/OperationCapability.js +52 -0
- package/dist/models/StartInspectionRequest.d.ts +1 -1
- package/dist/models/StartInspectionRequest.js +1 -3
- package/dist/models/VMFilterOptionsResponse.d.ts +6 -0
- package/dist/models/VMFilterOptionsResponse.js +4 -0
- package/dist/models/VMNIC.d.ts +12 -0
- package/dist/models/VMNIC.js +4 -0
- package/dist/models/VcenterCredentials.d.ts +12 -0
- package/dist/models/VcenterCredentials.js +4 -0
- package/dist/models/VmInspectionStatus.d.ts +6 -0
- package/dist/models/VmInspectionStatus.js +4 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/runtime.js +2 -1
- package/docs/ApplicationListResponse.md +34 -0
- package/docs/ApplicationOverview.md +40 -0
- package/docs/ApplicationVM.md +36 -0
- package/docs/CapabilityStatus.md +34 -0
- package/docs/CapabilityStatusCapabilities.md +38 -0
- package/docs/CollectorStartRequest.md +4 -0
- package/docs/CredentialStatus.md +38 -0
- package/docs/DefaultApi.md +391 -7
- package/docs/OperationCapability.md +36 -0
- package/docs/VMFilterOptionsResponse.md +2 -0
- package/docs/VMNIC.md +4 -0
- package/docs/VcenterCredentials.md +4 -0
- package/docs/VmInspectionStatus.md +2 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +408 -4
- package/src/models/ApplicationListResponse.ts +74 -0
- package/src/models/ApplicationOverview.ts +101 -0
- package/src/models/ApplicationVM.ts +75 -0
- package/src/models/CapabilityStatus.ts +74 -0
- package/src/models/CapabilityStatusCapabilities.ts +92 -0
- package/src/models/CollectorStartRequest.ts +16 -0
- package/src/models/CredentialStatus.ts +84 -0
- package/src/models/OperationCapability.ts +74 -0
- package/src/models/StartInspectionRequest.ts +2 -3
- package/src/models/VMFilterOptionsResponse.ts +9 -0
- package/src/models/VMNIC.ts +16 -0
- package/src/models/VcenterCredentials.ts +16 -0
- package/src/models/VmInspectionStatus.ts +9 -0
- package/src/models/index.ts +7 -0
- package/src/runtime.ts +1 -1
|
@@ -25,6 +25,12 @@ export interface VmInspectionStatus {
|
|
|
25
25
|
* @memberof VmInspectionStatus
|
|
26
26
|
*/
|
|
27
27
|
state: VmInspectionStatusStateEnum;
|
|
28
|
+
/**
|
|
29
|
+
* State details
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof VmInspectionStatus
|
|
32
|
+
*/
|
|
33
|
+
message: string;
|
|
28
34
|
/**
|
|
29
35
|
* Error message when state is error
|
|
30
36
|
* @type {string}
|
|
@@ -58,6 +64,7 @@ export type VmInspectionStatusStateEnum = typeof VmInspectionStatusStateEnum[key
|
|
|
58
64
|
*/
|
|
59
65
|
export function instanceOfVmInspectionStatus(value: object): value is VmInspectionStatus {
|
|
60
66
|
if (!('state' in value) || value['state'] === undefined) return false;
|
|
67
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
61
68
|
return true;
|
|
62
69
|
}
|
|
63
70
|
|
|
@@ -72,6 +79,7 @@ export function VmInspectionStatusFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
72
79
|
return {
|
|
73
80
|
|
|
74
81
|
'state': json['state'],
|
|
82
|
+
'message': json['message'],
|
|
75
83
|
'error': json['error'] == null ? undefined : json['error'],
|
|
76
84
|
'results': json['results'] == null ? undefined : json['results'],
|
|
77
85
|
};
|
|
@@ -89,6 +97,7 @@ export function VmInspectionStatusToJSONTyped(value?: VmInspectionStatus | null,
|
|
|
89
97
|
return {
|
|
90
98
|
|
|
91
99
|
'state': value['state'],
|
|
100
|
+
'message': value['message'],
|
|
92
101
|
'error': value['error'],
|
|
93
102
|
'results': value['results'],
|
|
94
103
|
};
|
package/src/models/index.ts
CHANGED
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AgentModeRequest.js';
|
|
4
4
|
export * from './AgentStatus.js';
|
|
5
|
+
export * from './ApplicationListResponse.js';
|
|
6
|
+
export * from './ApplicationOverview.js';
|
|
7
|
+
export * from './ApplicationVM.js';
|
|
5
8
|
export * from './BenchmarkRun.js';
|
|
9
|
+
export * from './CapabilityStatus.js';
|
|
10
|
+
export * from './CapabilityStatusCapabilities.js';
|
|
6
11
|
export * from './ClusterFeatures.js';
|
|
7
12
|
export * from './ClusterUtilization.js';
|
|
8
13
|
export * from './CollectorStartRequest.js';
|
|
9
14
|
export * from './CollectorStatus.js';
|
|
10
15
|
export * from './CreateGroupRequest.js';
|
|
16
|
+
export * from './CredentialStatus.js';
|
|
11
17
|
export * from './Datastore.js';
|
|
12
18
|
export * from './DatastoreDetail.js';
|
|
13
19
|
export * from './DatastorePair.js';
|
|
@@ -33,6 +39,7 @@ export * from './Inventory.js';
|
|
|
33
39
|
export * from './InventoryData.js';
|
|
34
40
|
export * from './MigrationIssue.js';
|
|
35
41
|
export * from './Network.js';
|
|
42
|
+
export * from './OperationCapability.js';
|
|
36
43
|
export * from './OsInfo.js';
|
|
37
44
|
export * from './PairCapability.js';
|
|
38
45
|
export * from './PairCapabilityRequest.js';
|
package/src/runtime.ts
CHANGED
|
@@ -369,7 +369,7 @@ export function mapValues(data: any, fn: (item: any) => any) {
|
|
|
369
369
|
|
|
370
370
|
export function canConsumeForm(consumes: Consume[]): boolean {
|
|
371
371
|
for (const consume of consumes) {
|
|
372
|
-
if ('multipart/form-data'
|
|
372
|
+
if (consume.contentType?.startsWith('multipart/form-data') == true) {
|
|
373
373
|
return true;
|
|
374
374
|
}
|
|
375
375
|
}
|