@migration-planner-ui/api-client 0.0.31 → 0.0.33
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/README.md +145 -28
- package/dist/apis/AssessmentApi.d.ts +5 -4
- package/dist/apis/AssessmentApi.d.ts.map +1 -0
- package/dist/apis/AssessmentApi.js +17 -9
- package/dist/apis/HealthApi.d.ts +4 -3
- package/dist/apis/HealthApi.d.ts.map +1 -0
- package/dist/apis/HealthApi.js +5 -4
- package/dist/apis/ImageApi.d.ts +5 -4
- package/dist/apis/ImageApi.d.ts.map +1 -0
- package/dist/apis/ImageApi.js +10 -6
- package/dist/apis/InfoApi.d.ts +5 -4
- package/dist/apis/InfoApi.d.ts.map +1 -0
- package/dist/apis/InfoApi.js +6 -5
- package/dist/apis/JobApi.d.ts +5 -4
- package/dist/apis/JobApi.d.ts.map +1 -0
- package/dist/apis/JobApi.js +12 -7
- package/dist/apis/SourceApi.d.ts +5 -4
- package/dist/apis/SourceApi.d.ts.map +1 -0
- package/dist/apis/SourceApi.js +22 -11
- package/dist/apis/index.d.ts +7 -7
- package/dist/apis/index.d.ts.map +1 -0
- package/dist/apis/index.js +6 -7
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -3
- package/dist/models/Agent.d.ts +5 -3
- package/dist/models/Agent.d.ts.map +1 -0
- package/dist/models/Agent.js +8 -5
- package/dist/models/AgentProxy.d.ts +5 -3
- package/dist/models/AgentProxy.d.ts.map +1 -0
- package/dist/models/AgentProxy.js +6 -3
- package/dist/models/Assessment.d.ts +7 -5
- package/dist/models/Assessment.d.ts.map +1 -0
- package/dist/models/Assessment.js +10 -7
- package/dist/models/AssessmentForm.d.ts +6 -4
- package/dist/models/AssessmentForm.d.ts.map +1 -0
- package/dist/models/AssessmentForm.js +7 -4
- package/dist/models/AssessmentUpdate.d.ts +5 -3
- package/dist/models/AssessmentUpdate.d.ts.map +1 -0
- package/dist/models/AssessmentUpdate.js +6 -3
- package/dist/models/Datastore.d.ts +5 -3
- package/dist/models/Datastore.d.ts.map +1 -0
- package/dist/models/Datastore.js +6 -3
- package/dist/models/DiskSizeTierSummary.d.ts +5 -3
- package/dist/models/DiskSizeTierSummary.d.ts.map +1 -0
- package/dist/models/DiskSizeTierSummary.js +6 -3
- package/dist/models/DiskTypeSummary.d.ts +5 -3
- package/dist/models/DiskTypeSummary.d.ts.map +1 -0
- package/dist/models/DiskTypeSummary.js +6 -3
- package/dist/models/Histogram.d.ts +5 -3
- package/dist/models/Histogram.d.ts.map +1 -0
- package/dist/models/Histogram.js +6 -3
- package/dist/models/Host.d.ts +5 -3
- package/dist/models/Host.d.ts.map +1 -0
- package/dist/models/Host.js +6 -3
- package/dist/models/Info.d.ts +5 -3
- package/dist/models/Info.d.ts.map +1 -0
- package/dist/models/Info.js +6 -3
- package/dist/models/Infra.d.ts +11 -9
- package/dist/models/Infra.d.ts.map +1 -0
- package/dist/models/Infra.js +13 -10
- package/dist/models/Inventory.d.ts +7 -5
- package/dist/models/Inventory.d.ts.map +1 -0
- package/dist/models/Inventory.js +10 -7
- package/dist/models/InventoryData.d.ts +8 -6
- package/dist/models/InventoryData.d.ts.map +1 -0
- package/dist/models/InventoryData.js +9 -6
- package/dist/models/Ipv4Config.d.ts +5 -3
- package/dist/models/Ipv4Config.d.ts.map +1 -0
- package/dist/models/Ipv4Config.js +6 -3
- package/dist/models/Job.d.ts +6 -4
- package/dist/models/Job.d.ts.map +1 -0
- package/dist/models/Job.js +7 -4
- package/dist/models/JobStatus.d.ts +4 -2
- package/dist/models/JobStatus.d.ts.map +1 -0
- package/dist/models/JobStatus.js +5 -2
- package/dist/models/Label.d.ts +5 -3
- package/dist/models/Label.d.ts.map +1 -0
- package/dist/models/Label.js +6 -3
- package/dist/models/MigrationIssue.d.ts +5 -3
- package/dist/models/MigrationIssue.d.ts.map +1 -0
- package/dist/models/MigrationIssue.js +6 -3
- package/dist/models/ModelError.d.ts +5 -3
- package/dist/models/ModelError.d.ts.map +1 -0
- package/dist/models/ModelError.js +6 -3
- package/dist/models/Network.d.ts +5 -3
- package/dist/models/Network.d.ts.map +1 -0
- package/dist/models/Network.js +6 -3
- package/dist/models/OsInfo.d.ts +5 -3
- package/dist/models/OsInfo.d.ts.map +1 -0
- package/dist/models/OsInfo.js +6 -3
- package/dist/models/PresignedUrl.d.ts +5 -3
- package/dist/models/PresignedUrl.d.ts.map +1 -0
- package/dist/models/PresignedUrl.js +7 -4
- package/dist/models/Snapshot.d.ts +6 -4
- package/dist/models/Snapshot.d.ts.map +1 -0
- package/dist/models/Snapshot.js +8 -5
- package/dist/models/Source.d.ts +9 -7
- package/dist/models/Source.d.ts.map +1 -0
- package/dist/models/Source.js +12 -9
- package/dist/models/SourceCreate.d.ts +8 -6
- package/dist/models/SourceCreate.d.ts.map +1 -0
- package/dist/models/SourceCreate.js +9 -6
- package/dist/models/SourceInfra.d.ts +7 -5
- package/dist/models/SourceInfra.d.ts.map +1 -0
- package/dist/models/SourceInfra.js +8 -5
- package/dist/models/SourceUpdate.d.ts +8 -6
- package/dist/models/SourceUpdate.d.ts.map +1 -0
- package/dist/models/SourceUpdate.js +9 -6
- package/dist/models/Status.d.ts +5 -3
- package/dist/models/Status.d.ts.map +1 -0
- package/dist/models/Status.js +6 -3
- package/dist/models/UpdateInventory.d.ts +6 -4
- package/dist/models/UpdateInventory.d.ts.map +1 -0
- package/dist/models/UpdateInventory.js +7 -4
- package/dist/models/VCenter.d.ts +5 -3
- package/dist/models/VCenter.d.ts.map +1 -0
- package/dist/models/VCenter.js +6 -3
- package/dist/models/VMResourceBreakdown.d.ts +6 -4
- package/dist/models/VMResourceBreakdown.d.ts.map +1 -0
- package/dist/models/VMResourceBreakdown.js +7 -4
- package/dist/models/VMs.d.ts +13 -11
- package/dist/models/VMs.d.ts.map +1 -0
- package/dist/models/VMs.js +16 -13
- package/dist/models/VmNetwork.d.ts +6 -4
- package/dist/models/VmNetwork.d.ts.map +1 -0
- package/dist/models/VmNetwork.js +7 -4
- package/dist/models/index.d.ts +35 -34
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +34 -34
- package/dist/runtime.d.ts +7 -3
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +11 -3
- package/package.json +19 -9
- package/.openapi-generator/FILES +0 -44
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -30
- package/dist/apis/AgentApi.d.ts +0 -69
- package/dist/apis/AgentApi.js +0 -82
- package/dist/models/Event.d.ts +0 -38
- package/dist/models/Event.js +0 -45
- package/dist/models/EventData.d.ts +0 -37
- package/dist/models/EventData.js +0 -44
- package/dist/models/InfraDatastoresInner.d.ts +0 -43
- package/dist/models/InfraDatastoresInner.js +0 -48
- package/dist/models/InfraNetworksInner.d.ts +0 -59
- package/dist/models/InfraNetworksInner.js +0 -57
- package/dist/models/MigrationIssuesInner.d.ts +0 -43
- package/dist/models/MigrationIssuesInner.js +0 -48
- package/dist/models/SourceAgentItem.d.ts +0 -37
- package/dist/models/SourceAgentItem.js +0 -44
- package/dist/models/SourceUpdateOnPrem.d.ts +0 -38
- package/dist/models/SourceUpdateOnPrem.js +0 -45
- package/dist/models/UploadRvtoolsFile200Response.d.ts +0 -31
- package/dist/models/UploadRvtoolsFile200Response.js +0 -38
- package/dist/models/VMResourceBreakdownHistogram.d.ts +0 -43
- package/dist/models/VMResourceBreakdownHistogram.js +0 -48
- package/src/apis/AgentApi.ts +0 -131
- package/src/apis/AssessmentApi.ts +0 -303
- package/src/apis/HealthApi.ts +0 -70
- package/src/apis/ImageApi.ts +0 -140
- package/src/apis/InfoApi.ts +0 -78
- package/src/apis/JobApi.ts +0 -226
- package/src/apis/SourceApi.ts +0 -411
- package/src/apis/index.ts +0 -50
- package/src/index.ts +0 -5
- package/src/models/Agent.ts +0 -130
- package/src/models/AgentProxy.ts +0 -76
- package/src/models/Assessment.ts +0 -140
- package/src/models/AssessmentForm.ts +0 -96
- package/src/models/AssessmentUpdate.ts +0 -60
- package/src/models/Datastore.ts +0 -132
- package/src/models/DiskSizeTierSummary.ts +0 -70
- package/src/models/DiskTypeSummary.ts +0 -70
- package/src/models/Event.ts +0 -77
- package/src/models/EventData.ts +0 -70
- package/src/models/Histogram.ts +0 -79
- package/src/models/Host.ts +0 -102
- package/src/models/Info.ts +0 -70
- package/src/models/Infra.ts +0 -174
- package/src/models/InfraDatastoresInner.ts +0 -79
- package/src/models/InfraNetworksInner.ts +0 -99
- package/src/models/Inventory.ts +0 -83
- package/src/models/InventoryData.ts +0 -97
- package/src/models/Ipv4Config.ts +0 -88
- package/src/models/Job.ts +0 -95
- package/src/models/JobStatus.ts +0 -60
- package/src/models/Label.ts +0 -70
- package/src/models/MigrationIssue.ts +0 -87
- package/src/models/MigrationIssuesInner.ts +0 -79
- package/src/models/ModelError.ts +0 -69
- package/src/models/Network.ts +0 -107
- package/src/models/OsInfo.ts +0 -78
- package/src/models/PresignedUrl.ts +0 -69
- package/src/models/Snapshot.ts +0 -77
- package/src/models/Source.ts +0 -154
- package/src/models/SourceAgentItem.ts +0 -70
- package/src/models/SourceCreate.ts +0 -120
- package/src/models/SourceInfra.ts +0 -89
- package/src/models/SourceUpdate.ts +0 -119
- package/src/models/SourceUpdateOnPrem.ts +0 -77
- package/src/models/Status.ts +0 -76
- package/src/models/UpdateInventory.ts +0 -77
- package/src/models/UploadRvtoolsFile200Response.ts +0 -60
- package/src/models/VCenter.ts +0 -61
- package/src/models/VMResourceBreakdown.ts +0 -104
- package/src/models/VMResourceBreakdownHistogram.ts +0 -79
- package/src/models/VMs.ts +0 -229
- package/src/models/VmNetwork.ts +0 -67
- package/src/models/index.ts +0 -36
- package/src/runtime.ts +0 -426
- package/tsconfig.json +0 -14
package/dist/apis/SourceApi.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
|
-
import * as runtime from '../runtime';
|
|
24
|
-
import { SourceFromJSON, SourceCreateToJSON, SourceUpdateToJSON, StatusFromJSON, UpdateInventoryToJSON, } from '../models/index';
|
|
23
|
+
import * as runtime from '../runtime.js';
|
|
24
|
+
import { SourceFromJSON, SourceCreateToJSON, SourceUpdateToJSON, StatusFromJSON, UpdateInventoryToJSON, } from '../models/index.js';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -37,8 +37,9 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
37
37
|
const queryParameters = {};
|
|
38
38
|
const headerParameters = {};
|
|
39
39
|
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
+
let urlPath = `/api/v1/sources`;
|
|
40
41
|
const response = yield this.request({
|
|
41
|
-
path:
|
|
42
|
+
path: urlPath,
|
|
42
43
|
method: 'POST',
|
|
43
44
|
headers: headerParameters,
|
|
44
45
|
query: queryParameters,
|
|
@@ -66,8 +67,10 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
66
67
|
}
|
|
67
68
|
const queryParameters = {};
|
|
68
69
|
const headerParameters = {};
|
|
70
|
+
let urlPath = `/api/v1/sources/{id}`;
|
|
71
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
69
72
|
const response = yield this.request({
|
|
70
|
-
path:
|
|
73
|
+
path: urlPath,
|
|
71
74
|
method: 'DELETE',
|
|
72
75
|
headers: headerParameters,
|
|
73
76
|
query: queryParameters,
|
|
@@ -91,8 +94,9 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
91
94
|
return __awaiter(this, void 0, void 0, function* () {
|
|
92
95
|
const queryParameters = {};
|
|
93
96
|
const headerParameters = {};
|
|
97
|
+
let urlPath = `/api/v1/sources`;
|
|
94
98
|
const response = yield this.request({
|
|
95
|
-
path:
|
|
99
|
+
path: urlPath,
|
|
96
100
|
method: 'DELETE',
|
|
97
101
|
headers: headerParameters,
|
|
98
102
|
query: queryParameters,
|
|
@@ -119,8 +123,10 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
119
123
|
}
|
|
120
124
|
const queryParameters = {};
|
|
121
125
|
const headerParameters = {};
|
|
126
|
+
let urlPath = `/api/v1/sources/{id}`;
|
|
127
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
122
128
|
const response = yield this.request({
|
|
123
|
-
path:
|
|
129
|
+
path: urlPath,
|
|
124
130
|
method: 'GET',
|
|
125
131
|
headers: headerParameters,
|
|
126
132
|
query: queryParameters,
|
|
@@ -144,8 +150,9 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
144
150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
145
151
|
const queryParameters = {};
|
|
146
152
|
const headerParameters = {};
|
|
153
|
+
let urlPath = `/api/v1/sources`;
|
|
147
154
|
const response = yield this.request({
|
|
148
|
-
path:
|
|
155
|
+
path: urlPath,
|
|
149
156
|
method: 'GET',
|
|
150
157
|
headers: headerParameters,
|
|
151
158
|
query: queryParameters,
|
|
@@ -176,8 +183,10 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
176
183
|
const queryParameters = {};
|
|
177
184
|
const headerParameters = {};
|
|
178
185
|
headerParameters['Content-Type'] = 'application/json';
|
|
186
|
+
let urlPath = `/api/v1/sources/{id}/inventory`;
|
|
187
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
179
188
|
const response = yield this.request({
|
|
180
|
-
path:
|
|
189
|
+
path: urlPath,
|
|
181
190
|
method: 'PUT',
|
|
182
191
|
headers: headerParameters,
|
|
183
192
|
query: queryParameters,
|
|
@@ -209,8 +218,10 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
209
218
|
const queryParameters = {};
|
|
210
219
|
const headerParameters = {};
|
|
211
220
|
headerParameters['Content-Type'] = 'application/json';
|
|
221
|
+
let urlPath = `/api/v1/sources/{id}`;
|
|
222
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
212
223
|
const response = yield this.request({
|
|
213
|
-
path:
|
|
224
|
+
path: urlPath,
|
|
214
225
|
method: 'PUT',
|
|
215
226
|
headers: headerParameters,
|
|
216
227
|
query: queryParameters,
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
|
|
1
|
+
export * from './AssessmentApi.js';
|
|
2
|
+
export * from './HealthApi.js';
|
|
3
|
+
export * from './ImageApi.js';
|
|
4
|
+
export * from './InfoApi.js';
|
|
5
|
+
export * from './JobApi.js';
|
|
6
|
+
export * from './SourceApi.js';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC"}
|
package/dist/apis/index.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export { InfoApi } from "./InfoApi";
|
|
3
|
+
export * from './AssessmentApi.js';
|
|
4
|
+
export * from './HealthApi.js';
|
|
5
|
+
export * from './ImageApi.js';
|
|
6
|
+
export * from './InfoApi.js';
|
|
7
|
+
export * from './JobApi.js';
|
|
8
|
+
export * from './SourceApi.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export * from './runtime';
|
|
2
|
-
export * from './apis/index';
|
|
3
|
-
export * from './models/index';
|
|
1
|
+
export * from './runtime.js';
|
|
2
|
+
export * from './apis/index.js';
|
|
3
|
+
export * from './models/index.js';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/models/Agent.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -76,4 +76,6 @@ export type AgentStatusEnum = typeof AgentStatusEnum[keyof typeof AgentStatusEnu
|
|
|
76
76
|
export declare function instanceOfAgent(value: object): value is Agent;
|
|
77
77
|
export declare function AgentFromJSON(json: any): Agent;
|
|
78
78
|
export declare function AgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Agent;
|
|
79
|
-
export declare function AgentToJSON(
|
|
79
|
+
export declare function AgentToJSON(json: any): Agent;
|
|
80
|
+
export declare function AgentToJSONTyped(value?: Agent | null, ignoreDiscriminator?: boolean): any;
|
|
81
|
+
//# sourceMappingURL=Agent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Agent.d.ts","sourceRoot":"","sources":["../../src/models/Agent.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,eAAe,CAAC;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAGD;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;CAOlB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAGnF;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,KAAK,CAS7D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE9C;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,KAAK,CAcjF;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE5C;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAehG"}
|
package/dist/models/Agent.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -59,7 +59,10 @@ export function AgentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
59
|
'version': json['version'],
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
export function AgentToJSON(
|
|
62
|
+
export function AgentToJSON(json) {
|
|
63
|
+
return AgentToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
export function AgentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
66
|
if (value == null) {
|
|
64
67
|
return value;
|
|
65
68
|
}
|
|
@@ -68,8 +71,8 @@ export function AgentToJSON(value) {
|
|
|
68
71
|
'status': value['status'],
|
|
69
72
|
'statusInfo': value['statusInfo'],
|
|
70
73
|
'credentialUrl': value['credentialUrl'],
|
|
71
|
-
'createdAt':
|
|
72
|
-
'updatedAt':
|
|
74
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
75
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
73
76
|
'version': value['version'],
|
|
74
77
|
};
|
|
75
78
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -40,4 +40,6 @@ export interface AgentProxy {
|
|
|
40
40
|
export declare function instanceOfAgentProxy(value: object): value is AgentProxy;
|
|
41
41
|
export declare function AgentProxyFromJSON(json: any): AgentProxy;
|
|
42
42
|
export declare function AgentProxyFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentProxy;
|
|
43
|
-
export declare function AgentProxyToJSON(
|
|
43
|
+
export declare function AgentProxyToJSON(json: any): AgentProxy;
|
|
44
|
+
export declare function AgentProxyToJSONTyped(value?: AgentProxy | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=AgentProxy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentProxy.d.ts","sourceRoot":"","sources":["../../src/models/AgentProxy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAEvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAU3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAEtD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW1G"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,7 +30,10 @@ export function AgentProxyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'noProxy': json['noProxy'] == null ? undefined : json['noProxy'],
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
export function AgentProxyToJSON(
|
|
33
|
+
export function AgentProxyToJSON(json) {
|
|
34
|
+
return AgentProxyToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function AgentProxyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
34
37
|
if (value == null) {
|
|
35
38
|
return value;
|
|
36
39
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Snapshot } from './Snapshot';
|
|
12
|
+
import type { Snapshot } from './Snapshot.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -63,7 +63,7 @@ export interface Assessment {
|
|
|
63
63
|
* @type {Array<Snapshot>}
|
|
64
64
|
* @memberof Assessment
|
|
65
65
|
*/
|
|
66
|
-
snapshots: Array<Snapshot
|
|
66
|
+
snapshots: Array<Snapshot> | null;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* @export
|
|
@@ -80,4 +80,6 @@ export type AssessmentSourceTypeEnum = typeof AssessmentSourceTypeEnum[keyof typ
|
|
|
80
80
|
export declare function instanceOfAssessment(value: object): value is Assessment;
|
|
81
81
|
export declare function AssessmentFromJSON(json: any): Assessment;
|
|
82
82
|
export declare function AssessmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Assessment;
|
|
83
|
-
export declare function AssessmentToJSON(
|
|
83
|
+
export declare function AssessmentToJSON(json: any): Assessment;
|
|
84
|
+
export declare function AssessmentToJSONTyped(value?: Assessment | null, ignoreDiscriminator?: boolean): any;
|
|
85
|
+
//# sourceMappingURL=Assessment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Assessment.d.ts","sourceRoot":"","sources":["../../src/models/Assessment.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAQ9C;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,EAAE,wBAAwB,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;CACrC;AAGD;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAG9G;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAOvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAe3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAEtD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgB1G"}
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { SnapshotFromJSON, SnapshotToJSON, } from './Snapshot';
|
|
14
|
+
import { SnapshotFromJSON, SnapshotToJSON, } from './Snapshot.js';
|
|
15
15
|
/**
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
@@ -51,10 +51,13 @@ export function AssessmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
'sourceType': json['sourceType'],
|
|
52
52
|
'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
|
|
53
53
|
'createdAt': (new Date(json['createdAt'])),
|
|
54
|
-
'snapshots': json['snapshots'] == null ?
|
|
54
|
+
'snapshots': (json['snapshots'] == null ? null : json['snapshots'].map(SnapshotFromJSON)),
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
export function AssessmentToJSON(
|
|
57
|
+
export function AssessmentToJSON(json) {
|
|
58
|
+
return AssessmentToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
export function AssessmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
61
|
if (value == null) {
|
|
59
62
|
return value;
|
|
60
63
|
}
|
|
@@ -65,7 +68,7 @@ export function AssessmentToJSON(value) {
|
|
|
65
68
|
'ownerLastName': value['ownerLastName'],
|
|
66
69
|
'sourceType': value['sourceType'],
|
|
67
70
|
'sourceId': value['sourceId'],
|
|
68
|
-
'createdAt':
|
|
69
|
-
'snapshots': (value['snapshots'].map(SnapshotToJSON)),
|
|
71
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
72
|
+
'snapshots': (value['snapshots'] == null ? null : value['snapshots'].map(SnapshotToJSON)),
|
|
70
73
|
};
|
|
71
74
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Inventory } from './Inventory';
|
|
12
|
+
import type { Inventory } from './Inventory.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -50,4 +50,6 @@ export interface AssessmentForm {
|
|
|
50
50
|
export declare function instanceOfAssessmentForm(value: object): value is AssessmentForm;
|
|
51
51
|
export declare function AssessmentFormFromJSON(json: any): AssessmentForm;
|
|
52
52
|
export declare function AssessmentFormFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssessmentForm;
|
|
53
|
-
export declare function AssessmentFormToJSON(
|
|
53
|
+
export declare function AssessmentFormToJSON(json: any): AssessmentForm;
|
|
54
|
+
export declare function AssessmentFormToJSONTyped(value?: AssessmentForm | null, ignoreDiscriminator?: boolean): any;
|
|
55
|
+
//# sourceMappingURL=AssessmentForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssessmentForm.d.ts","sourceRoot":"","sources":["../../src/models/AssessmentForm.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;;OAOG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAI/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAWnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYlH"}
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { InventoryFromJSON, InventoryToJSON, } from './Inventory';
|
|
14
|
+
import { InventoryFromJSON, InventoryToJSON, } from './Inventory.js';
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the AssessmentForm interface.
|
|
17
17
|
*/
|
|
@@ -36,7 +36,10 @@ export function AssessmentFormFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'inventory': json['inventory'] == null ? undefined : InventoryFromJSON(json['inventory']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function AssessmentFormToJSON(
|
|
39
|
+
export function AssessmentFormToJSON(json) {
|
|
40
|
+
return AssessmentFormToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AssessmentFormToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
43
|
if (value == null) {
|
|
41
44
|
return value;
|
|
42
45
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,4 +28,6 @@ export interface AssessmentUpdate {
|
|
|
28
28
|
export declare function instanceOfAssessmentUpdate(value: object): value is AssessmentUpdate;
|
|
29
29
|
export declare function AssessmentUpdateFromJSON(json: any): AssessmentUpdate;
|
|
30
30
|
export declare function AssessmentUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssessmentUpdate;
|
|
31
|
-
export declare function AssessmentUpdateToJSON(
|
|
31
|
+
export declare function AssessmentUpdateToJSON(json: any): AssessmentUpdate;
|
|
32
|
+
export declare function AssessmentUpdateToJSONTyped(value?: AssessmentUpdate | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
+
//# sourceMappingURL=AssessmentUpdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssessmentUpdate.d.ts","sourceRoot":"","sources":["../../src/models/AssessmentUpdate.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAQvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAStH"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,10 @@ export function AssessmentUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'name': json['name'] == null ? undefined : json['name'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
export function AssessmentUpdateToJSON(
|
|
31
|
+
export function AssessmentUpdateToJSON(json) {
|
|
32
|
+
return AssessmentUpdateToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function AssessmentUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
32
35
|
if (value == null) {
|
|
33
36
|
return value;
|
|
34
37
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -76,4 +76,6 @@ export interface Datastore {
|
|
|
76
76
|
export declare function instanceOfDatastore(value: object): value is Datastore;
|
|
77
77
|
export declare function DatastoreFromJSON(json: any): Datastore;
|
|
78
78
|
export declare function DatastoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): Datastore;
|
|
79
|
-
export declare function DatastoreToJSON(
|
|
79
|
+
export declare function DatastoreToJSON(json: any): Datastore;
|
|
80
|
+
export declare function DatastoreToJSONTyped(value?: Datastore | null, ignoreDiscriminator?: boolean): any;
|
|
81
|
+
//# sourceMappingURL=Datastore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Datastore.d.ts","sourceRoot":"","sources":["../../src/models/Datastore.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,uBAAuB,EAAE,OAAO,CAAC;IACjC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAUrE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAgBzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEpD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBxG"}
|
package/dist/models/Datastore.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -52,7 +52,10 @@ export function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'hostId': json['hostId'] == null ? undefined : json['hostId'],
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
export function DatastoreToJSON(
|
|
55
|
+
export function DatastoreToJSON(json) {
|
|
56
|
+
return DatastoreToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
export function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
59
|
if (value == null) {
|
|
57
60
|
return value;
|
|
58
61
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,4 +34,6 @@ export interface DiskSizeTierSummary {
|
|
|
34
34
|
export declare function instanceOfDiskSizeTierSummary(value: object): value is DiskSizeTierSummary;
|
|
35
35
|
export declare function DiskSizeTierSummaryFromJSON(json: any): DiskSizeTierSummary;
|
|
36
36
|
export declare function DiskSizeTierSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): DiskSizeTierSummary;
|
|
37
|
-
export declare function DiskSizeTierSummaryToJSON(
|
|
37
|
+
export declare function DiskSizeTierSummaryToJSON(json: any): DiskSizeTierSummary;
|
|
38
|
+
export declare function DiskSizeTierSummaryToJSONTyped(value?: DiskSizeTierSummary | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=DiskSizeTierSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiskSizeTierSummary.d.ts","sourceRoot":"","sources":["../../src/models/DiskSizeTierSummary.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAIzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAS7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5H"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,7 +33,10 @@ export function DiskSizeTierSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'vmCount': json['vmCount'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
export function DiskSizeTierSummaryToJSON(
|
|
36
|
+
export function DiskSizeTierSummaryToJSON(json) {
|
|
37
|
+
return DiskSizeTierSummaryToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function DiskSizeTierSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
40
|
if (value == null) {
|
|
38
41
|
return value;
|
|
39
42
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,4 +34,6 @@ export interface DiskTypeSummary {
|
|
|
34
34
|
export declare function instanceOfDiskTypeSummary(value: object): value is DiskTypeSummary;
|
|
35
35
|
export declare function DiskTypeSummaryFromJSON(json: any): DiskTypeSummary;
|
|
36
36
|
export declare function DiskTypeSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): DiskTypeSummary;
|
|
37
|
-
export declare function DiskTypeSummaryToJSON(
|
|
37
|
+
export declare function DiskTypeSummaryToJSON(json: any): DiskTypeSummary;
|
|
38
|
+
export declare function DiskTypeSummaryToJSONTyped(value?: DiskTypeSummary | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=DiskTypeSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiskTypeSummary.d.ts","sourceRoot":"","sources":["../../src/models/DiskTypeSummary.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAIjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CASrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpH"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0-e8c0ddb1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,7 +33,10 @@ export function DiskTypeSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'totalSizeTB': json['totalSizeTB'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
export function DiskTypeSummaryToJSON(
|
|
36
|
+
export function DiskTypeSummaryToJSON(json) {
|
|
37
|
+
return DiskTypeSummaryToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function DiskTypeSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
40
|
if (value == null) {
|
|
38
41
|
return value;
|
|
39
42
|
}
|