@migration-planner-ui/api-client 0.0.30 → 0.0.32
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 +3 -2
- package/dist/apis/AssessmentApi.d.ts.map +1 -0
- package/dist/apis/AssessmentApi.js +15 -7
- package/dist/apis/HealthApi.d.ts +2 -1
- package/dist/apis/HealthApi.d.ts.map +1 -0
- package/dist/apis/HealthApi.js +3 -2
- package/dist/apis/ImageApi.d.ts +3 -2
- package/dist/apis/ImageApi.d.ts.map +1 -0
- package/dist/apis/ImageApi.js +8 -4
- package/dist/apis/InfoApi.d.ts +3 -2
- package/dist/apis/InfoApi.d.ts.map +1 -0
- package/dist/apis/InfoApi.js +4 -3
- package/dist/apis/JobApi.d.ts +3 -2
- package/dist/apis/JobApi.d.ts.map +1 -0
- package/dist/apis/JobApi.js +10 -5
- package/dist/apis/SourceApi.d.ts +3 -2
- package/dist/apis/SourceApi.d.ts.map +1 -0
- package/dist/apis/SourceApi.js +20 -9
- 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 +3 -1
- package/dist/models/Agent.d.ts.map +1 -0
- package/dist/models/Agent.js +6 -3
- package/dist/models/AgentProxy.d.ts +3 -1
- package/dist/models/AgentProxy.d.ts.map +1 -0
- package/dist/models/AgentProxy.js +4 -1
- package/dist/models/Assessment.d.ts +4 -2
- package/dist/models/Assessment.d.ts.map +1 -0
- package/dist/models/Assessment.js +7 -4
- package/dist/models/AssessmentForm.d.ts +4 -2
- package/dist/models/AssessmentForm.d.ts.map +1 -0
- package/dist/models/AssessmentForm.js +5 -2
- package/dist/models/AssessmentUpdate.d.ts +3 -1
- package/dist/models/AssessmentUpdate.d.ts.map +1 -0
- package/dist/models/AssessmentUpdate.js +4 -1
- package/dist/models/Datastore.d.ts +3 -1
- package/dist/models/Datastore.d.ts.map +1 -0
- package/dist/models/Datastore.js +4 -1
- package/dist/models/DiskSizeTierSummary.d.ts +3 -1
- package/dist/models/DiskSizeTierSummary.d.ts.map +1 -0
- package/dist/models/DiskSizeTierSummary.js +4 -1
- package/dist/models/DiskTypeSummary.d.ts +3 -1
- package/dist/models/DiskTypeSummary.d.ts.map +1 -0
- package/dist/models/DiskTypeSummary.js +4 -1
- package/dist/models/Histogram.d.ts +3 -1
- package/dist/models/Histogram.d.ts.map +1 -0
- package/dist/models/Histogram.js +4 -1
- package/dist/models/Host.d.ts +3 -1
- package/dist/models/Host.d.ts.map +1 -0
- package/dist/models/Host.js +4 -1
- package/dist/models/Info.d.ts +3 -1
- package/dist/models/Info.d.ts.map +1 -0
- package/dist/models/Info.js +4 -1
- package/dist/models/Infra.d.ts +12 -4
- package/dist/models/Infra.d.ts.map +1 -0
- package/dist/models/Infra.js +11 -6
- package/dist/models/Inventory.d.ts +4 -2
- package/dist/models/Inventory.d.ts.map +1 -0
- package/dist/models/Inventory.js +8 -5
- package/dist/models/InventoryData.d.ts +6 -4
- package/dist/models/InventoryData.d.ts.map +1 -0
- package/dist/models/InventoryData.js +7 -4
- package/dist/models/Ipv4Config.d.ts +3 -1
- package/dist/models/Ipv4Config.d.ts.map +1 -0
- package/dist/models/Ipv4Config.js +4 -1
- package/dist/models/Job.d.ts +4 -2
- package/dist/models/Job.d.ts.map +1 -0
- package/dist/models/Job.js +5 -2
- package/dist/models/JobStatus.d.ts +2 -0
- package/dist/models/JobStatus.d.ts.map +1 -0
- package/dist/models/JobStatus.js +3 -0
- package/dist/models/Label.d.ts +3 -1
- package/dist/models/Label.d.ts.map +1 -0
- package/dist/models/Label.js +4 -1
- package/dist/models/MigrationIssue.d.ts +3 -1
- package/dist/models/MigrationIssue.d.ts.map +1 -0
- package/dist/models/MigrationIssue.js +4 -1
- package/dist/models/ModelError.d.ts +3 -1
- package/dist/models/ModelError.d.ts.map +1 -0
- package/dist/models/ModelError.js +4 -1
- package/dist/models/Network.d.ts +3 -1
- package/dist/models/Network.d.ts.map +1 -0
- package/dist/models/Network.js +4 -1
- package/dist/models/OsInfo.d.ts +3 -1
- package/dist/models/OsInfo.d.ts.map +1 -0
- package/dist/models/OsInfo.js +4 -1
- package/dist/models/PresignedUrl.d.ts +3 -1
- package/dist/models/PresignedUrl.d.ts.map +1 -0
- package/dist/models/PresignedUrl.js +5 -2
- package/dist/models/Snapshot.d.ts +4 -2
- package/dist/models/Snapshot.d.ts.map +1 -0
- package/dist/models/Snapshot.js +6 -3
- package/dist/models/Source.d.ts +7 -5
- package/dist/models/Source.d.ts.map +1 -0
- package/dist/models/Source.js +10 -7
- package/dist/models/SourceCreate.d.ts +6 -4
- package/dist/models/SourceCreate.d.ts.map +1 -0
- package/dist/models/SourceCreate.js +7 -4
- package/dist/models/SourceInfra.d.ts +5 -3
- package/dist/models/SourceInfra.d.ts.map +1 -0
- package/dist/models/SourceInfra.js +6 -3
- package/dist/models/SourceUpdate.d.ts +6 -4
- package/dist/models/SourceUpdate.d.ts.map +1 -0
- package/dist/models/SourceUpdate.js +7 -4
- package/dist/models/Status.d.ts +3 -1
- package/dist/models/Status.d.ts.map +1 -0
- package/dist/models/Status.js +4 -1
- package/dist/models/UpdateInventory.d.ts +4 -2
- package/dist/models/UpdateInventory.d.ts.map +1 -0
- package/dist/models/UpdateInventory.js +5 -2
- package/dist/models/VCenter.d.ts +3 -1
- package/dist/models/VCenter.d.ts.map +1 -0
- package/dist/models/VCenter.js +4 -1
- package/dist/models/VMResourceBreakdown.d.ts +6 -3
- package/dist/models/VMResourceBreakdown.d.ts.map +1 -0
- package/dist/models/VMResourceBreakdown.js +6 -5
- package/dist/models/VMs.d.ts +24 -6
- package/dist/models/VMs.d.ts.map +1 -0
- package/dist/models/VMs.js +16 -9
- package/dist/models/VmNetwork.d.ts +4 -2
- package/dist/models/VmNetwork.d.ts.map +1 -0
- package/dist/models/VmNetwork.js +5 -2
- 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 +5 -1
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +10 -2
- package/package.json +18 -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 -166
- 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 -213
- 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/AgentApi.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
import * as runtime from '../runtime';
|
|
24
|
-
import { AgentFromJSON, } from '../models/index';
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export class AgentApi extends runtime.BaseAPI {
|
|
29
|
-
/**
|
|
30
|
-
* delete an agent
|
|
31
|
-
*/
|
|
32
|
-
deleteAgentRaw(requestParameters, initOverrides) {
|
|
33
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
-
if (requestParameters['id'] == null) {
|
|
35
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteAgent().');
|
|
36
|
-
}
|
|
37
|
-
const queryParameters = {};
|
|
38
|
-
const headerParameters = {};
|
|
39
|
-
const response = yield this.request({
|
|
40
|
-
path: `/api/v1/agents/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
41
|
-
method: 'DELETE',
|
|
42
|
-
headers: headerParameters,
|
|
43
|
-
query: queryParameters,
|
|
44
|
-
}, initOverrides);
|
|
45
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => AgentFromJSON(jsonValue));
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* delete an agent
|
|
50
|
-
*/
|
|
51
|
-
deleteAgent(requestParameters, initOverrides) {
|
|
52
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
53
|
-
const response = yield this.deleteAgentRaw(requestParameters, initOverrides);
|
|
54
|
-
return yield response.value();
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* list agents
|
|
59
|
-
*/
|
|
60
|
-
listAgentsRaw(initOverrides) {
|
|
61
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
-
const queryParameters = {};
|
|
63
|
-
const headerParameters = {};
|
|
64
|
-
const response = yield this.request({
|
|
65
|
-
path: `/api/v1/agents`,
|
|
66
|
-
method: 'GET',
|
|
67
|
-
headers: headerParameters,
|
|
68
|
-
query: queryParameters,
|
|
69
|
-
}, initOverrides);
|
|
70
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(AgentFromJSON));
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* list agents
|
|
75
|
-
*/
|
|
76
|
-
listAgents(initOverrides) {
|
|
77
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
78
|
-
const response = yield this.listAgentsRaw(initOverrides);
|
|
79
|
-
return yield response.value();
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
}
|
package/dist/models/Event.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration Planner API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: undefined
|
|
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
|
-
import type { EventData } from './EventData';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Event
|
|
17
|
-
*/
|
|
18
|
-
export interface Event {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Date}
|
|
22
|
-
* @memberof Event
|
|
23
|
-
*/
|
|
24
|
-
createdAt: Date;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<EventData>}
|
|
28
|
-
* @memberof Event
|
|
29
|
-
*/
|
|
30
|
-
data: Array<EventData>;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the Event interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfEvent(value: object): value is Event;
|
|
36
|
-
export declare function EventFromJSON(json: any): Event;
|
|
37
|
-
export declare function EventFromJSONTyped(json: any, ignoreDiscriminator: boolean): Event;
|
|
38
|
-
export declare function EventToJSON(value?: Event | null): any;
|
package/dist/models/Event.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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
|
-
import { EventDataFromJSON, EventDataToJSON, } from './EventData';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the Event interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfEvent(value) {
|
|
19
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
export function EventFromJSON(json) {
|
|
26
|
-
return EventFromJSONTyped(json, false);
|
|
27
|
-
}
|
|
28
|
-
export function EventFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'createdAt': (new Date(json['createdAt'])),
|
|
34
|
-
'data': json['data'] == null ? undefined : (json['data'].map(EventDataFromJSON)),
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export function EventToJSON(value) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'createdAt': ((value['createdAt']).toISOString()),
|
|
43
|
-
'data': (value['data'].map(EventDataToJSON)),
|
|
44
|
-
};
|
|
45
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration Planner API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: undefined
|
|
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 EventData
|
|
16
|
-
*/
|
|
17
|
-
export interface EventData {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof EventData
|
|
22
|
-
*/
|
|
23
|
-
key: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof EventData
|
|
28
|
-
*/
|
|
29
|
-
value: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the EventData interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfEventData(value: object): value is EventData;
|
|
35
|
-
export declare function EventDataFromJSON(json: any): EventData;
|
|
36
|
-
export declare function EventDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventData;
|
|
37
|
-
export declare function EventDataToJSON(value?: EventData | null): any;
|
package/dist/models/EventData.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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
|
-
* Check if a given object implements the EventData interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfEventData(value) {
|
|
18
|
-
if (!('key' in value) || value['key'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('value' in value) || value['value'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function EventDataFromJSON(json) {
|
|
25
|
-
return EventDataFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function EventDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'key': json['key'],
|
|
33
|
-
'value': json['value'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function EventDataToJSON(value) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'key': value['key'],
|
|
42
|
-
'value': value['value'],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration Planner API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: undefined
|
|
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 InfraDatastoresInner
|
|
16
|
-
*/
|
|
17
|
-
export interface InfraDatastoresInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof InfraDatastoresInner
|
|
22
|
-
*/
|
|
23
|
-
type: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof InfraDatastoresInner
|
|
28
|
-
*/
|
|
29
|
-
totalCapacityGB: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof InfraDatastoresInner
|
|
34
|
-
*/
|
|
35
|
-
freeCapacityGB: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the InfraDatastoresInner interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfInfraDatastoresInner(value: object): value is InfraDatastoresInner;
|
|
41
|
-
export declare function InfraDatastoresInnerFromJSON(json: any): InfraDatastoresInner;
|
|
42
|
-
export declare function InfraDatastoresInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): InfraDatastoresInner;
|
|
43
|
-
export declare function InfraDatastoresInnerToJSON(value?: InfraDatastoresInner | null): any;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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
|
-
* Check if a given object implements the InfraDatastoresInner interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfInfraDatastoresInner(value) {
|
|
18
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('totalCapacityGB' in value) || value['totalCapacityGB'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('freeCapacityGB' in value) || value['freeCapacityGB'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
export function InfraDatastoresInnerFromJSON(json) {
|
|
27
|
-
return InfraDatastoresInnerFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
export function InfraDatastoresInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json == null) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'type': json['type'],
|
|
35
|
-
'totalCapacityGB': json['totalCapacityGB'],
|
|
36
|
-
'freeCapacityGB': json['freeCapacityGB'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export function InfraDatastoresInnerToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'type': value['type'],
|
|
45
|
-
'totalCapacityGB': value['totalCapacityGB'],
|
|
46
|
-
'freeCapacityGB': value['freeCapacityGB'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration Planner API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: undefined
|
|
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 InfraNetworksInner
|
|
16
|
-
*/
|
|
17
|
-
export interface InfraNetworksInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof InfraNetworksInner
|
|
22
|
-
*/
|
|
23
|
-
type: InfraNetworksInnerTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof InfraNetworksInner
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof InfraNetworksInner
|
|
34
|
-
*/
|
|
35
|
-
vlanId?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof InfraNetworksInner
|
|
40
|
-
*/
|
|
41
|
-
dvswitch?: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const InfraNetworksInnerTypeEnum: {
|
|
47
|
-
readonly Standard: "standard";
|
|
48
|
-
readonly Distributed: "distributed";
|
|
49
|
-
readonly Dvswitch: "dvswitch";
|
|
50
|
-
readonly Unsupported: "unsupported";
|
|
51
|
-
};
|
|
52
|
-
export type InfraNetworksInnerTypeEnum = typeof InfraNetworksInnerTypeEnum[keyof typeof InfraNetworksInnerTypeEnum];
|
|
53
|
-
/**
|
|
54
|
-
* Check if a given object implements the InfraNetworksInner interface.
|
|
55
|
-
*/
|
|
56
|
-
export declare function instanceOfInfraNetworksInner(value: object): value is InfraNetworksInner;
|
|
57
|
-
export declare function InfraNetworksInnerFromJSON(json: any): InfraNetworksInner;
|
|
58
|
-
export declare function InfraNetworksInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): InfraNetworksInner;
|
|
59
|
-
export declare function InfraNetworksInnerToJSON(value?: InfraNetworksInner | null): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const InfraNetworksInnerTypeEnum = {
|
|
18
|
-
Standard: 'standard',
|
|
19
|
-
Distributed: 'distributed',
|
|
20
|
-
Dvswitch: 'dvswitch',
|
|
21
|
-
Unsupported: 'unsupported'
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the InfraNetworksInner interface.
|
|
25
|
-
*/
|
|
26
|
-
export function instanceOfInfraNetworksInner(value) {
|
|
27
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
export function InfraNetworksInnerFromJSON(json) {
|
|
34
|
-
return InfraNetworksInnerFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function InfraNetworksInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'type': json['type'],
|
|
42
|
-
'name': json['name'],
|
|
43
|
-
'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
|
|
44
|
-
'dvswitch': json['dvswitch'] == null ? undefined : json['dvswitch'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
export function InfraNetworksInnerToJSON(value) {
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'type': value['type'],
|
|
53
|
-
'name': value['name'],
|
|
54
|
-
'vlanId': value['vlanId'],
|
|
55
|
-
'dvswitch': value['dvswitch'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration Planner API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: undefined
|
|
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 MigrationIssuesInner
|
|
16
|
-
*/
|
|
17
|
-
export interface MigrationIssuesInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MigrationIssuesInner
|
|
22
|
-
*/
|
|
23
|
-
label: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof MigrationIssuesInner
|
|
28
|
-
*/
|
|
29
|
-
assessment: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof MigrationIssuesInner
|
|
34
|
-
*/
|
|
35
|
-
count: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the MigrationIssuesInner interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfMigrationIssuesInner(value: object): value is MigrationIssuesInner;
|
|
41
|
-
export declare function MigrationIssuesInnerFromJSON(json: any): MigrationIssuesInner;
|
|
42
|
-
export declare function MigrationIssuesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationIssuesInner;
|
|
43
|
-
export declare function MigrationIssuesInnerToJSON(value?: MigrationIssuesInner | null): any;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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
|
-
* Check if a given object implements the MigrationIssuesInner interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfMigrationIssuesInner(value) {
|
|
18
|
-
if (!('label' in value) || value['label'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('assessment' in value) || value['assessment'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('count' in value) || value['count'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
export function MigrationIssuesInnerFromJSON(json) {
|
|
27
|
-
return MigrationIssuesInnerFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
export function MigrationIssuesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json == null) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'label': json['label'],
|
|
35
|
-
'assessment': json['assessment'],
|
|
36
|
-
'count': json['count'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export function MigrationIssuesInnerToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'label': value['label'],
|
|
45
|
-
'assessment': value['assessment'],
|
|
46
|
-
'count': value['count'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration Planner API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: undefined
|
|
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 SourceAgentItem
|
|
16
|
-
*/
|
|
17
|
-
export interface SourceAgentItem {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SourceAgentItem
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof SourceAgentItem
|
|
28
|
-
*/
|
|
29
|
-
associated: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the SourceAgentItem interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfSourceAgentItem(value: object): value is SourceAgentItem;
|
|
35
|
-
export declare function SourceAgentItemFromJSON(json: any): SourceAgentItem;
|
|
36
|
-
export declare function SourceAgentItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceAgentItem;
|
|
37
|
-
export declare function SourceAgentItemToJSON(value?: SourceAgentItem | null): any;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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
|
-
* Check if a given object implements the SourceAgentItem interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfSourceAgentItem(value) {
|
|
18
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('associated' in value) || value['associated'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function SourceAgentItemFromJSON(json) {
|
|
25
|
-
return SourceAgentItemFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function SourceAgentItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'id': json['id'],
|
|
33
|
-
'associated': json['associated'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function SourceAgentItemToJSON(value) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'id': value['id'],
|
|
42
|
-
'associated': value['associated'],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration Planner API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: undefined
|
|
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
|
-
import type { Inventory } from './Inventory';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SourceUpdateOnPrem
|
|
17
|
-
*/
|
|
18
|
-
export interface SourceUpdateOnPrem {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof SourceUpdateOnPrem
|
|
23
|
-
*/
|
|
24
|
-
agentId: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Inventory}
|
|
28
|
-
* @memberof SourceUpdateOnPrem
|
|
29
|
-
*/
|
|
30
|
-
inventory: Inventory;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the SourceUpdateOnPrem interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfSourceUpdateOnPrem(value: object): value is SourceUpdateOnPrem;
|
|
36
|
-
export declare function SourceUpdateOnPremFromJSON(json: any): SourceUpdateOnPrem;
|
|
37
|
-
export declare function SourceUpdateOnPremFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceUpdateOnPrem;
|
|
38
|
-
export declare function SourceUpdateOnPremToJSON(value?: SourceUpdateOnPrem | null): any;
|