@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
|
@@ -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;
|
|
@@ -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 { InventoryFromJSON, InventoryToJSON, } from './Inventory';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the SourceUpdateOnPrem interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfSourceUpdateOnPrem(value) {
|
|
19
|
-
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
if (!('inventory' in value) || value['inventory'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
export function SourceUpdateOnPremFromJSON(json) {
|
|
26
|
-
return SourceUpdateOnPremFromJSONTyped(json, false);
|
|
27
|
-
}
|
|
28
|
-
export function SourceUpdateOnPremFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'agentId': json['agentId'],
|
|
34
|
-
'inventory': InventoryFromJSON(json['inventory']),
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export function SourceUpdateOnPremToJSON(value) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'agentId': value['agentId'],
|
|
43
|
-
'inventory': InventoryToJSON(value['inventory']),
|
|
44
|
-
};
|
|
45
|
-
}
|
|
@@ -1,31 +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 UploadRvtoolsFile200Response
|
|
16
|
-
*/
|
|
17
|
-
export interface UploadRvtoolsFile200Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UploadRvtoolsFile200Response
|
|
22
|
-
*/
|
|
23
|
-
message?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the UploadRvtoolsFile200Response interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfUploadRvtoolsFile200Response(value: object): value is UploadRvtoolsFile200Response;
|
|
29
|
-
export declare function UploadRvtoolsFile200ResponseFromJSON(json: any): UploadRvtoolsFile200Response;
|
|
30
|
-
export declare function UploadRvtoolsFile200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadRvtoolsFile200Response;
|
|
31
|
-
export declare function UploadRvtoolsFile200ResponseToJSON(value?: UploadRvtoolsFile200Response | null): any;
|
|
@@ -1,38 +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 UploadRvtoolsFile200Response interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfUploadRvtoolsFile200Response(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function UploadRvtoolsFile200ResponseFromJSON(json) {
|
|
21
|
-
return UploadRvtoolsFile200ResponseFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function UploadRvtoolsFile200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'message': json['message'] == null ? undefined : json['message'],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export function UploadRvtoolsFile200ResponseToJSON(value) {
|
|
32
|
-
if (value == null) {
|
|
33
|
-
return value;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'message': value['message'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
@@ -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 VMResourceBreakdownHistogram
|
|
16
|
-
*/
|
|
17
|
-
export interface VMResourceBreakdownHistogram {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof VMResourceBreakdownHistogram
|
|
22
|
-
*/
|
|
23
|
-
minValue: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof VMResourceBreakdownHistogram
|
|
28
|
-
*/
|
|
29
|
-
step: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<number>}
|
|
33
|
-
* @memberof VMResourceBreakdownHistogram
|
|
34
|
-
*/
|
|
35
|
-
data: Array<number>;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the VMResourceBreakdownHistogram interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfVMResourceBreakdownHistogram(value: object): value is VMResourceBreakdownHistogram;
|
|
41
|
-
export declare function VMResourceBreakdownHistogramFromJSON(json: any): VMResourceBreakdownHistogram;
|
|
42
|
-
export declare function VMResourceBreakdownHistogramFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMResourceBreakdownHistogram;
|
|
43
|
-
export declare function VMResourceBreakdownHistogramToJSON(value?: VMResourceBreakdownHistogram | 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 VMResourceBreakdownHistogram interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfVMResourceBreakdownHistogram(value) {
|
|
18
|
-
if (!('minValue' in value) || value['minValue'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('step' in value) || value['step'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
export function VMResourceBreakdownHistogramFromJSON(json) {
|
|
27
|
-
return VMResourceBreakdownHistogramFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
export function VMResourceBreakdownHistogramFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json == null) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'minValue': json['minValue'],
|
|
35
|
-
'step': json['step'],
|
|
36
|
-
'data': json['data'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export function VMResourceBreakdownHistogramToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'minValue': value['minValue'],
|
|
45
|
-
'step': value['step'],
|
|
46
|
-
'data': value['data'],
|
|
47
|
-
};
|
|
48
|
-
}
|
package/src/apis/AgentApi.ts
DELETED
|
@@ -1,131 +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
|
-
|
|
16
|
-
import * as runtime from '../runtime';
|
|
17
|
-
import type {
|
|
18
|
-
Agent,
|
|
19
|
-
} from '../models/index';
|
|
20
|
-
import {
|
|
21
|
-
AgentFromJSON,
|
|
22
|
-
} from '../models/index';
|
|
23
|
-
|
|
24
|
-
export interface DeleteAgentRequest {
|
|
25
|
-
id: string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* AgentApi - interface
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface AgentApiInterface
|
|
35
|
-
*/
|
|
36
|
-
export interface AgentApiInterface {
|
|
37
|
-
/**
|
|
38
|
-
* delete an agent
|
|
39
|
-
* @param {string} id ID of the agent
|
|
40
|
-
* @param {*} [options] Override http request option.
|
|
41
|
-
* @throws {RequiredError}
|
|
42
|
-
* @memberof AgentApiInterface
|
|
43
|
-
*/
|
|
44
|
-
deleteAgentRaw(requestParameters: DeleteAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Agent>>;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* delete an agent
|
|
48
|
-
*/
|
|
49
|
-
deleteAgent(requestParameters: DeleteAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Agent>;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* list agents
|
|
53
|
-
* @param {boolean} [includeDefault] control whatever the default report should be added to the result
|
|
54
|
-
* @param {*} [options] Override http request option.
|
|
55
|
-
* @throws {RequiredError}
|
|
56
|
-
* @memberof AgentApiInterface
|
|
57
|
-
*/
|
|
58
|
-
listAgentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Agent>>>;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* list agents
|
|
62
|
-
*/
|
|
63
|
-
listAgents( initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Agent>>;
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
*/
|
|
70
|
-
export class AgentApi extends runtime.BaseAPI implements AgentApiInterface {
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* delete an agent
|
|
74
|
-
*/
|
|
75
|
-
async deleteAgentRaw(requestParameters: DeleteAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Agent>> {
|
|
76
|
-
if (requestParameters['id'] == null) {
|
|
77
|
-
throw new runtime.RequiredError(
|
|
78
|
-
'id',
|
|
79
|
-
'Required parameter "id" was null or undefined when calling deleteAgent().'
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
const queryParameters: any = {};
|
|
84
|
-
|
|
85
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
86
|
-
|
|
87
|
-
const response = await this.request({
|
|
88
|
-
path: `/api/v1/agents/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
89
|
-
method: 'DELETE',
|
|
90
|
-
headers: headerParameters,
|
|
91
|
-
query: queryParameters,
|
|
92
|
-
}, initOverrides);
|
|
93
|
-
|
|
94
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => AgentFromJSON(jsonValue));
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* delete an agent
|
|
99
|
-
*/
|
|
100
|
-
async deleteAgent(requestParameters: DeleteAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Agent> {
|
|
101
|
-
const response = await this.deleteAgentRaw(requestParameters, initOverrides);
|
|
102
|
-
return await response.value();
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* list agents
|
|
107
|
-
*/
|
|
108
|
-
async listAgentsRaw( initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Agent>>> {
|
|
109
|
-
const queryParameters: any = {};
|
|
110
|
-
|
|
111
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
112
|
-
|
|
113
|
-
const response = await this.request({
|
|
114
|
-
path: `/api/v1/agents`,
|
|
115
|
-
method: 'GET',
|
|
116
|
-
headers: headerParameters,
|
|
117
|
-
query: queryParameters,
|
|
118
|
-
}, initOverrides);
|
|
119
|
-
|
|
120
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(AgentFromJSON));
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* list agents
|
|
125
|
-
*/
|
|
126
|
-
async listAgents( initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Agent>> {
|
|
127
|
-
const response = await this.listAgentsRaw(initOverrides);
|
|
128
|
-
return await response.value();
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
}
|