@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/src/models/Source.ts
DELETED
|
@@ -1,154 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { SourceInfra } from './SourceInfra';
|
|
17
|
-
import {
|
|
18
|
-
SourceInfraFromJSON,
|
|
19
|
-
SourceInfraFromJSONTyped,
|
|
20
|
-
SourceInfraToJSON,
|
|
21
|
-
} from './SourceInfra';
|
|
22
|
-
import type { Agent } from './Agent';
|
|
23
|
-
import {
|
|
24
|
-
AgentFromJSON,
|
|
25
|
-
AgentFromJSONTyped,
|
|
26
|
-
AgentToJSON,
|
|
27
|
-
} from './Agent';
|
|
28
|
-
import type { Label } from './Label';
|
|
29
|
-
import {
|
|
30
|
-
LabelFromJSON,
|
|
31
|
-
LabelFromJSONTyped,
|
|
32
|
-
LabelToJSON,
|
|
33
|
-
} from './Label';
|
|
34
|
-
import type { Inventory } from './Inventory';
|
|
35
|
-
import {
|
|
36
|
-
InventoryFromJSON,
|
|
37
|
-
InventoryFromJSONTyped,
|
|
38
|
-
InventoryToJSON,
|
|
39
|
-
} from './Inventory';
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
* @interface Source
|
|
45
|
-
*/
|
|
46
|
-
export interface Source {
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof Source
|
|
51
|
-
*/
|
|
52
|
-
id: string;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof Source
|
|
57
|
-
*/
|
|
58
|
-
name: string;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {Inventory}
|
|
62
|
-
* @memberof Source
|
|
63
|
-
*/
|
|
64
|
-
inventory?: Inventory;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {Date}
|
|
68
|
-
* @memberof Source
|
|
69
|
-
*/
|
|
70
|
-
createdAt: Date;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {Date}
|
|
74
|
-
* @memberof Source
|
|
75
|
-
*/
|
|
76
|
-
updatedAt: Date;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {boolean}
|
|
80
|
-
* @memberof Source
|
|
81
|
-
*/
|
|
82
|
-
onPremises: boolean;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {Agent}
|
|
86
|
-
* @memberof Source
|
|
87
|
-
*/
|
|
88
|
-
agent?: Agent;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {Array<Label>}
|
|
92
|
-
* @memberof Source
|
|
93
|
-
*/
|
|
94
|
-
labels?: Array<Label>;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {SourceInfra}
|
|
98
|
-
* @memberof Source
|
|
99
|
-
*/
|
|
100
|
-
infra?: SourceInfra;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Check if a given object implements the Source interface.
|
|
105
|
-
*/
|
|
106
|
-
export function instanceOfSource(value: object): value is Source {
|
|
107
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
108
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
109
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
110
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
111
|
-
if (!('onPremises' in value) || value['onPremises'] === undefined) return false;
|
|
112
|
-
return true;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export function SourceFromJSON(json: any): Source {
|
|
116
|
-
return SourceFromJSONTyped(json, false);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Source {
|
|
120
|
-
if (json == null) {
|
|
121
|
-
return json;
|
|
122
|
-
}
|
|
123
|
-
return {
|
|
124
|
-
|
|
125
|
-
'id': json['id'],
|
|
126
|
-
'name': json['name'],
|
|
127
|
-
'inventory': json['inventory'] == null ? undefined : InventoryFromJSON(json['inventory']),
|
|
128
|
-
'createdAt': (new Date(json['createdAt'])),
|
|
129
|
-
'updatedAt': (new Date(json['updatedAt'])),
|
|
130
|
-
'onPremises': json['onPremises'],
|
|
131
|
-
'agent': json['agent'] == null ? undefined : AgentFromJSON(json['agent']),
|
|
132
|
-
'labels': json['labels'] == null ? undefined : ((json['labels'] as Array<any>).map(LabelFromJSON)),
|
|
133
|
-
'infra': json['infra'] == null ? undefined : SourceInfraFromJSON(json['infra']),
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export function SourceToJSON(value?: Source | null): any {
|
|
138
|
-
if (value == null) {
|
|
139
|
-
return value;
|
|
140
|
-
}
|
|
141
|
-
return {
|
|
142
|
-
|
|
143
|
-
'id': value['id'],
|
|
144
|
-
'name': value['name'],
|
|
145
|
-
'inventory': InventoryToJSON(value['inventory']),
|
|
146
|
-
'createdAt': ((value['createdAt']).toISOString()),
|
|
147
|
-
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
148
|
-
'onPremises': value['onPremises'],
|
|
149
|
-
'agent': AgentToJSON(value['agent']),
|
|
150
|
-
'labels': value['labels'] == null ? undefined : ((value['labels'] as Array<any>).map(LabelToJSON)),
|
|
151
|
-
'infra': SourceInfraToJSON(value['infra']),
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
|
|
@@ -1,70 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface SourceAgentItem
|
|
20
|
-
*/
|
|
21
|
-
export interface SourceAgentItem {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SourceAgentItem
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
* @memberof SourceAgentItem
|
|
32
|
-
*/
|
|
33
|
-
associated: boolean;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the SourceAgentItem interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfSourceAgentItem(value: object): value is SourceAgentItem {
|
|
40
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
41
|
-
if (!('associated' in value) || value['associated'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function SourceAgentItemFromJSON(json: any): SourceAgentItem {
|
|
46
|
-
return SourceAgentItemFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function SourceAgentItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceAgentItem {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'id': json['id'],
|
|
56
|
-
'associated': json['associated'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function SourceAgentItemToJSON(value?: SourceAgentItem | null): any {
|
|
61
|
-
if (value == null) {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
|
|
66
|
-
'id': value['id'],
|
|
67
|
-
'associated': value['associated'],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|
|
@@ -1,120 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { VmNetwork } from './VmNetwork';
|
|
17
|
-
import {
|
|
18
|
-
VmNetworkFromJSON,
|
|
19
|
-
VmNetworkFromJSONTyped,
|
|
20
|
-
VmNetworkToJSON,
|
|
21
|
-
} from './VmNetwork';
|
|
22
|
-
import type { AgentProxy } from './AgentProxy';
|
|
23
|
-
import {
|
|
24
|
-
AgentProxyFromJSON,
|
|
25
|
-
AgentProxyFromJSONTyped,
|
|
26
|
-
AgentProxyToJSON,
|
|
27
|
-
} from './AgentProxy';
|
|
28
|
-
import type { Label } from './Label';
|
|
29
|
-
import {
|
|
30
|
-
LabelFromJSON,
|
|
31
|
-
LabelFromJSONTyped,
|
|
32
|
-
LabelToJSON,
|
|
33
|
-
} from './Label';
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface SourceCreate
|
|
39
|
-
*/
|
|
40
|
-
export interface SourceCreate {
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof SourceCreate
|
|
45
|
-
*/
|
|
46
|
-
name: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof SourceCreate
|
|
51
|
-
*/
|
|
52
|
-
sshPublicKey?: string | null;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {AgentProxy}
|
|
56
|
-
* @memberof SourceCreate
|
|
57
|
-
*/
|
|
58
|
-
proxy?: AgentProxy;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof SourceCreate
|
|
63
|
-
*/
|
|
64
|
-
certificateChain?: string | null;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {VmNetwork}
|
|
68
|
-
* @memberof SourceCreate
|
|
69
|
-
*/
|
|
70
|
-
network?: VmNetwork;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {Array<Label>}
|
|
74
|
-
* @memberof SourceCreate
|
|
75
|
-
*/
|
|
76
|
-
labels?: Array<Label>;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Check if a given object implements the SourceCreate interface.
|
|
81
|
-
*/
|
|
82
|
-
export function instanceOfSourceCreate(value: object): value is SourceCreate {
|
|
83
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
84
|
-
return true;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export function SourceCreateFromJSON(json: any): SourceCreate {
|
|
88
|
-
return SourceCreateFromJSONTyped(json, false);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export function SourceCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceCreate {
|
|
92
|
-
if (json == null) {
|
|
93
|
-
return json;
|
|
94
|
-
}
|
|
95
|
-
return {
|
|
96
|
-
|
|
97
|
-
'name': json['name'],
|
|
98
|
-
'sshPublicKey': json['sshPublicKey'] == null ? undefined : json['sshPublicKey'],
|
|
99
|
-
'proxy': json['proxy'] == null ? undefined : AgentProxyFromJSON(json['proxy']),
|
|
100
|
-
'certificateChain': json['certificateChain'] == null ? undefined : json['certificateChain'],
|
|
101
|
-
'network': json['network'] == null ? undefined : VmNetworkFromJSON(json['network']),
|
|
102
|
-
'labels': json['labels'] == null ? undefined : ((json['labels'] as Array<any>).map(LabelFromJSON)),
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export function SourceCreateToJSON(value?: SourceCreate | null): any {
|
|
107
|
-
if (value == null) {
|
|
108
|
-
return value;
|
|
109
|
-
}
|
|
110
|
-
return {
|
|
111
|
-
|
|
112
|
-
'name': value['name'],
|
|
113
|
-
'sshPublicKey': value['sshPublicKey'],
|
|
114
|
-
'proxy': AgentProxyToJSON(value['proxy']),
|
|
115
|
-
'certificateChain': value['certificateChain'],
|
|
116
|
-
'network': VmNetworkToJSON(value['network']),
|
|
117
|
-
'labels': value['labels'] == null ? undefined : ((value['labels'] as Array<any>).map(LabelToJSON)),
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
|
|
@@ -1,89 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { VmNetwork } from './VmNetwork';
|
|
17
|
-
import {
|
|
18
|
-
VmNetworkFromJSON,
|
|
19
|
-
VmNetworkFromJSONTyped,
|
|
20
|
-
VmNetworkToJSON,
|
|
21
|
-
} from './VmNetwork';
|
|
22
|
-
import type { AgentProxy } from './AgentProxy';
|
|
23
|
-
import {
|
|
24
|
-
AgentProxyFromJSON,
|
|
25
|
-
AgentProxyFromJSONTyped,
|
|
26
|
-
AgentProxyToJSON,
|
|
27
|
-
} from './AgentProxy';
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @export
|
|
32
|
-
* @interface SourceInfra
|
|
33
|
-
*/
|
|
34
|
-
export interface SourceInfra {
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {AgentProxy}
|
|
38
|
-
* @memberof SourceInfra
|
|
39
|
-
*/
|
|
40
|
-
proxy?: AgentProxy;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof SourceInfra
|
|
45
|
-
*/
|
|
46
|
-
sshPublicKey?: string | null;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {VmNetwork}
|
|
50
|
-
* @memberof SourceInfra
|
|
51
|
-
*/
|
|
52
|
-
vmNetwork?: VmNetwork;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Check if a given object implements the SourceInfra interface.
|
|
57
|
-
*/
|
|
58
|
-
export function instanceOfSourceInfra(value: object): value is SourceInfra {
|
|
59
|
-
return true;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function SourceInfraFromJSON(json: any): SourceInfra {
|
|
63
|
-
return SourceInfraFromJSONTyped(json, false);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function SourceInfraFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceInfra {
|
|
67
|
-
if (json == null) {
|
|
68
|
-
return json;
|
|
69
|
-
}
|
|
70
|
-
return {
|
|
71
|
-
|
|
72
|
-
'proxy': json['proxy'] == null ? undefined : AgentProxyFromJSON(json['proxy']),
|
|
73
|
-
'sshPublicKey': json['sshPublicKey'] == null ? undefined : json['sshPublicKey'],
|
|
74
|
-
'vmNetwork': json['vmNetwork'] == null ? undefined : VmNetworkFromJSON(json['vmNetwork']),
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function SourceInfraToJSON(value?: SourceInfra | null): any {
|
|
79
|
-
if (value == null) {
|
|
80
|
-
return value;
|
|
81
|
-
}
|
|
82
|
-
return {
|
|
83
|
-
|
|
84
|
-
'proxy': AgentProxyToJSON(value['proxy']),
|
|
85
|
-
'sshPublicKey': value['sshPublicKey'],
|
|
86
|
-
'vmNetwork': VmNetworkToJSON(value['vmNetwork']),
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
|
|
@@ -1,119 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { VmNetwork } from './VmNetwork';
|
|
17
|
-
import {
|
|
18
|
-
VmNetworkFromJSON,
|
|
19
|
-
VmNetworkFromJSONTyped,
|
|
20
|
-
VmNetworkToJSON,
|
|
21
|
-
} from './VmNetwork';
|
|
22
|
-
import type { AgentProxy } from './AgentProxy';
|
|
23
|
-
import {
|
|
24
|
-
AgentProxyFromJSON,
|
|
25
|
-
AgentProxyFromJSONTyped,
|
|
26
|
-
AgentProxyToJSON,
|
|
27
|
-
} from './AgentProxy';
|
|
28
|
-
import type { Label } from './Label';
|
|
29
|
-
import {
|
|
30
|
-
LabelFromJSON,
|
|
31
|
-
LabelFromJSONTyped,
|
|
32
|
-
LabelToJSON,
|
|
33
|
-
} from './Label';
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface SourceUpdate
|
|
39
|
-
*/
|
|
40
|
-
export interface SourceUpdate {
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof SourceUpdate
|
|
45
|
-
*/
|
|
46
|
-
name?: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {Array<Label>}
|
|
50
|
-
* @memberof SourceUpdate
|
|
51
|
-
*/
|
|
52
|
-
labels?: Array<Label>;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof SourceUpdate
|
|
57
|
-
*/
|
|
58
|
-
sshPublicKey?: string | null;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof SourceUpdate
|
|
63
|
-
*/
|
|
64
|
-
certificateChain?: string | null;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {AgentProxy}
|
|
68
|
-
* @memberof SourceUpdate
|
|
69
|
-
*/
|
|
70
|
-
proxy?: AgentProxy;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {VmNetwork}
|
|
74
|
-
* @memberof SourceUpdate
|
|
75
|
-
*/
|
|
76
|
-
network?: VmNetwork;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Check if a given object implements the SourceUpdate interface.
|
|
81
|
-
*/
|
|
82
|
-
export function instanceOfSourceUpdate(value: object): value is SourceUpdate {
|
|
83
|
-
return true;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export function SourceUpdateFromJSON(json: any): SourceUpdate {
|
|
87
|
-
return SourceUpdateFromJSONTyped(json, false);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export function SourceUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceUpdate {
|
|
91
|
-
if (json == null) {
|
|
92
|
-
return json;
|
|
93
|
-
}
|
|
94
|
-
return {
|
|
95
|
-
|
|
96
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
97
|
-
'labels': json['labels'] == null ? undefined : ((json['labels'] as Array<any>).map(LabelFromJSON)),
|
|
98
|
-
'sshPublicKey': json['sshPublicKey'] == null ? undefined : json['sshPublicKey'],
|
|
99
|
-
'certificateChain': json['certificateChain'] == null ? undefined : json['certificateChain'],
|
|
100
|
-
'proxy': json['proxy'] == null ? undefined : AgentProxyFromJSON(json['proxy']),
|
|
101
|
-
'network': json['network'] == null ? undefined : VmNetworkFromJSON(json['network']),
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export function SourceUpdateToJSON(value?: SourceUpdate | null): any {
|
|
106
|
-
if (value == null) {
|
|
107
|
-
return value;
|
|
108
|
-
}
|
|
109
|
-
return {
|
|
110
|
-
|
|
111
|
-
'name': value['name'],
|
|
112
|
-
'labels': value['labels'] == null ? undefined : ((value['labels'] as Array<any>).map(LabelToJSON)),
|
|
113
|
-
'sshPublicKey': value['sshPublicKey'],
|
|
114
|
-
'certificateChain': value['certificateChain'],
|
|
115
|
-
'proxy': AgentProxyToJSON(value['proxy']),
|
|
116
|
-
'network': VmNetworkToJSON(value['network']),
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
|
|
@@ -1,77 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { Inventory } from './Inventory';
|
|
17
|
-
import {
|
|
18
|
-
InventoryFromJSON,
|
|
19
|
-
InventoryFromJSONTyped,
|
|
20
|
-
InventoryToJSON,
|
|
21
|
-
} from './Inventory';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface SourceUpdateOnPrem
|
|
27
|
-
*/
|
|
28
|
-
export interface SourceUpdateOnPrem {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof SourceUpdateOnPrem
|
|
33
|
-
*/
|
|
34
|
-
agentId: string;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {Inventory}
|
|
38
|
-
* @memberof SourceUpdateOnPrem
|
|
39
|
-
*/
|
|
40
|
-
inventory: Inventory;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the SourceUpdateOnPrem interface.
|
|
45
|
-
*/
|
|
46
|
-
export function instanceOfSourceUpdateOnPrem(value: object): value is SourceUpdateOnPrem {
|
|
47
|
-
if (!('agentId' in value) || value['agentId'] === undefined) return false;
|
|
48
|
-
if (!('inventory' in value) || value['inventory'] === undefined) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function SourceUpdateOnPremFromJSON(json: any): SourceUpdateOnPrem {
|
|
53
|
-
return SourceUpdateOnPremFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function SourceUpdateOnPremFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceUpdateOnPrem {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'agentId': json['agentId'],
|
|
63
|
-
'inventory': InventoryFromJSON(json['inventory']),
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function SourceUpdateOnPremToJSON(value?: SourceUpdateOnPrem | null): any {
|
|
68
|
-
if (value == null) {
|
|
69
|
-
return value;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
|
|
73
|
-
'agentId': value['agentId'],
|
|
74
|
-
'inventory': InventoryToJSON(value['inventory']),
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
|
package/src/models/Status.ts
DELETED
|
@@ -1,76 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* Status is a return value for calls that don't return other objects.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface Status
|
|
20
|
-
*/
|
|
21
|
-
export interface Status {
|
|
22
|
-
/**
|
|
23
|
-
* A human-readable description of the status of this operation.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Status
|
|
26
|
-
*/
|
|
27
|
-
message?: string;
|
|
28
|
-
/**
|
|
29
|
-
* A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Status
|
|
32
|
-
*/
|
|
33
|
-
reason?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Status
|
|
38
|
-
*/
|
|
39
|
-
status?: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the Status interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfStatus(value: object): value is Status {
|
|
46
|
-
return true;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function StatusFromJSON(json: any): Status {
|
|
50
|
-
return StatusFromJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function StatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): Status {
|
|
54
|
-
if (json == null) {
|
|
55
|
-
return json;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
|
|
59
|
-
'message': json['message'] == null ? undefined : json['message'],
|
|
60
|
-
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
61
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function StatusToJSON(value?: Status | null): any {
|
|
66
|
-
if (value == null) {
|
|
67
|
-
return value;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'message': value['message'],
|
|
72
|
-
'reason': value['reason'],
|
|
73
|
-
'status': value['status'],
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|