@openshift-migration-advisor/planner-sdk 0.12.0 → 0.13.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 +4 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +5 -3
- package/dist/apis/AccountApi.d.ts +7 -1
- package/dist/apis/AccountApi.js +20 -14
- package/dist/apis/AssessmentApi.d.ts +12 -1
- package/dist/apis/AssessmentApi.js +30 -19
- package/dist/apis/ImageApi.d.ts +1 -1
- package/dist/apis/ImageApi.js +2 -2
- package/dist/apis/InfoApi.d.ts +1 -1
- package/dist/apis/InfoApi.js +2 -2
- package/dist/apis/JobApi.d.ts +1 -1
- package/dist/apis/JobApi.js +4 -4
- package/dist/apis/PartnerApi.d.ts +5 -1
- package/dist/apis/PartnerApi.js +13 -9
- package/dist/apis/SourceApi.d.ts +5 -1
- package/dist/apis/SourceApi.js +15 -11
- package/dist/esm/apis/AccountApi.d.ts +7 -1
- package/dist/esm/apis/AccountApi.js +7 -1
- package/dist/esm/apis/AssessmentApi.d.ts +12 -1
- package/dist/esm/apis/AssessmentApi.js +12 -1
- package/dist/esm/apis/ImageApi.d.ts +1 -1
- package/dist/esm/apis/ImageApi.js +1 -1
- package/dist/esm/apis/InfoApi.d.ts +1 -1
- package/dist/esm/apis/InfoApi.js +1 -1
- package/dist/esm/apis/JobApi.d.ts +1 -1
- package/dist/esm/apis/JobApi.js +1 -1
- package/dist/esm/apis/PartnerApi.d.ts +5 -1
- package/dist/esm/apis/PartnerApi.js +5 -1
- package/dist/esm/apis/SourceApi.d.ts +5 -1
- package/dist/esm/apis/SourceApi.js +5 -1
- package/dist/esm/models/Assessment.d.ts +22 -0
- package/dist/esm/models/Assessment.js +13 -0
- package/dist/esm/models/AssessmentSharing.d.ts +45 -0
- package/dist/esm/models/AssessmentSharing.js +50 -0
- package/dist/esm/models/SharingSubject.d.ts +38 -0
- package/dist/esm/models/SharingSubject.js +47 -0
- package/dist/esm/models/SourceCreate.d.ts +26 -0
- package/dist/esm/models/SourceCreate.js +13 -0
- package/dist/esm/models/SourceUpdate.d.ts +26 -0
- package/dist/esm/models/SourceUpdate.js +13 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/models/Assessment.d.ts +22 -0
- package/dist/models/Assessment.js +14 -1
- package/dist/models/AssessmentSharing.d.ts +45 -0
- package/dist/models/AssessmentSharing.js +57 -0
- package/dist/models/SharingSubject.d.ts +38 -0
- package/dist/models/SharingSubject.js +54 -0
- package/dist/models/SourceCreate.d.ts +26 -0
- package/dist/models/SourceCreate.js +14 -0
- package/dist/models/SourceUpdate.d.ts +26 -0
- package/dist/models/SourceUpdate.js +14 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/docs/Assessment.md +4 -0
- package/docs/AssessmentSharing.md +38 -0
- package/docs/SharingSubject.md +36 -0
- package/docs/SourceCreate.md +6 -0
- package/docs/SourceUpdate.md +6 -0
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +20 -11
- package/src/apis/AssessmentApi.ts +35 -16
- package/src/apis/HealthApi.ts +0 -1
- package/src/apis/ImageApi.ts +2 -5
- package/src/apis/InfoApi.ts +2 -5
- package/src/apis/JobApi.ts +2 -5
- package/src/apis/PartnerApi.ts +14 -9
- package/src/apis/SourceApi.ts +14 -9
- package/src/models/Assessment.ts +33 -0
- package/src/models/AssessmentSharing.ts +91 -0
- package/src/models/SharingSubject.ts +75 -0
- package/src/models/SourceCreate.ts +35 -0
- package/src/models/SourceUpdate.ts +35 -0
- package/src/models/index.ts +2 -0
- package/src/runtime.ts +0 -1
|
@@ -77,8 +77,37 @@ export interface SourceUpdate {
|
|
|
77
77
|
* @memberof SourceUpdate
|
|
78
78
|
*/
|
|
79
79
|
network?: VmNetwork;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {VmNetwork}
|
|
83
|
+
* @memberof SourceUpdate
|
|
84
|
+
*/
|
|
85
|
+
vmNetwork?: VmNetwork;
|
|
86
|
+
/**
|
|
87
|
+
* Set to false to clear all proxy fields. When true or omitted, proxy fields are preserved or updated normally.
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof SourceUpdate
|
|
90
|
+
*/
|
|
91
|
+
enableProxy?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Set to dhcp to clear all network fields. Set to static when providing vmNetwork/network data. When omitted, network fields are preserved or updated normally.
|
|
94
|
+
* @type {SourceUpdateNetworkConfigTypeEnum}
|
|
95
|
+
* @memberof SourceUpdate
|
|
96
|
+
*/
|
|
97
|
+
networkConfigType?: SourceUpdateNetworkConfigTypeEnum;
|
|
80
98
|
}
|
|
81
99
|
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @export
|
|
103
|
+
*/
|
|
104
|
+
export const SourceUpdateNetworkConfigTypeEnum = {
|
|
105
|
+
Dhcp: 'dhcp',
|
|
106
|
+
Static: 'static'
|
|
107
|
+
} as const;
|
|
108
|
+
export type SourceUpdateNetworkConfigTypeEnum = typeof SourceUpdateNetworkConfigTypeEnum[keyof typeof SourceUpdateNetworkConfigTypeEnum];
|
|
109
|
+
|
|
110
|
+
|
|
82
111
|
/**
|
|
83
112
|
* Check if a given object implements the SourceUpdate interface.
|
|
84
113
|
*/
|
|
@@ -102,6 +131,9 @@ export function SourceUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
102
131
|
'certificateChain': json['certificateChain'] == null ? undefined : json['certificateChain'],
|
|
103
132
|
'proxy': json['proxy'] == null ? undefined : AgentProxyFromJSON(json['proxy']),
|
|
104
133
|
'network': json['network'] == null ? undefined : VmNetworkFromJSON(json['network']),
|
|
134
|
+
'vmNetwork': json['vmNetwork'] == null ? undefined : VmNetworkFromJSON(json['vmNetwork']),
|
|
135
|
+
'enableProxy': json['enableProxy'] == null ? undefined : json['enableProxy'],
|
|
136
|
+
'networkConfigType': json['networkConfigType'] == null ? undefined : json['networkConfigType'],
|
|
105
137
|
};
|
|
106
138
|
}
|
|
107
139
|
|
|
@@ -122,6 +154,9 @@ export function SourceUpdateToJSONTyped(value?: SourceUpdate | null, ignoreDiscr
|
|
|
122
154
|
'certificateChain': value['certificateChain'],
|
|
123
155
|
'proxy': AgentProxyToJSON(value['proxy']),
|
|
124
156
|
'network': VmNetworkToJSON(value['network']),
|
|
157
|
+
'vmNetwork': VmNetworkToJSON(value['vmNetwork']),
|
|
158
|
+
'enableProxy': value['enableProxy'],
|
|
159
|
+
'networkConfigType': value['networkConfigType'],
|
|
125
160
|
};
|
|
126
161
|
}
|
|
127
162
|
|
package/src/models/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './Agent.js';
|
|
|
4
4
|
export * from './AgentProxy.js';
|
|
5
5
|
export * from './Assessment.js';
|
|
6
6
|
export * from './AssessmentForm.js';
|
|
7
|
+
export * from './AssessmentSharing.js';
|
|
7
8
|
export * from './AssessmentUpdate.js';
|
|
8
9
|
export * from './ClusterRequirementsRequest.js';
|
|
9
10
|
export * from './ClusterRequirementsResponse.js';
|
|
@@ -53,6 +54,7 @@ export * from './PartnerRequestUpdate.js';
|
|
|
53
54
|
export * from './PartnerSummary.js';
|
|
54
55
|
export * from './PresignedUrl.js';
|
|
55
56
|
export * from './SchemaEstimationResult.js';
|
|
57
|
+
export * from './SharingSubject.js';
|
|
56
58
|
export * from './SizingOverCommitRatio.js';
|
|
57
59
|
export * from './SizingResourceConsumption.js';
|
|
58
60
|
export * from './SizingResourceLimits.js';
|