@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.
Files changed (212) hide show
  1. package/README.md +145 -28
  2. package/dist/apis/AssessmentApi.d.ts +5 -4
  3. package/dist/apis/AssessmentApi.d.ts.map +1 -0
  4. package/dist/apis/AssessmentApi.js +17 -9
  5. package/dist/apis/HealthApi.d.ts +4 -3
  6. package/dist/apis/HealthApi.d.ts.map +1 -0
  7. package/dist/apis/HealthApi.js +5 -4
  8. package/dist/apis/ImageApi.d.ts +5 -4
  9. package/dist/apis/ImageApi.d.ts.map +1 -0
  10. package/dist/apis/ImageApi.js +10 -6
  11. package/dist/apis/InfoApi.d.ts +5 -4
  12. package/dist/apis/InfoApi.d.ts.map +1 -0
  13. package/dist/apis/InfoApi.js +6 -5
  14. package/dist/apis/JobApi.d.ts +5 -4
  15. package/dist/apis/JobApi.d.ts.map +1 -0
  16. package/dist/apis/JobApi.js +12 -7
  17. package/dist/apis/SourceApi.d.ts +5 -4
  18. package/dist/apis/SourceApi.d.ts.map +1 -0
  19. package/dist/apis/SourceApi.js +22 -11
  20. package/dist/apis/index.d.ts +7 -7
  21. package/dist/apis/index.d.ts.map +1 -0
  22. package/dist/apis/index.js +6 -7
  23. package/dist/index.d.ts +4 -3
  24. package/dist/index.d.ts.map +1 -0
  25. package/dist/index.js +3 -3
  26. package/dist/models/Agent.d.ts +5 -3
  27. package/dist/models/Agent.d.ts.map +1 -0
  28. package/dist/models/Agent.js +8 -5
  29. package/dist/models/AgentProxy.d.ts +5 -3
  30. package/dist/models/AgentProxy.d.ts.map +1 -0
  31. package/dist/models/AgentProxy.js +6 -3
  32. package/dist/models/Assessment.d.ts +7 -5
  33. package/dist/models/Assessment.d.ts.map +1 -0
  34. package/dist/models/Assessment.js +10 -7
  35. package/dist/models/AssessmentForm.d.ts +6 -4
  36. package/dist/models/AssessmentForm.d.ts.map +1 -0
  37. package/dist/models/AssessmentForm.js +7 -4
  38. package/dist/models/AssessmentUpdate.d.ts +5 -3
  39. package/dist/models/AssessmentUpdate.d.ts.map +1 -0
  40. package/dist/models/AssessmentUpdate.js +6 -3
  41. package/dist/models/Datastore.d.ts +5 -3
  42. package/dist/models/Datastore.d.ts.map +1 -0
  43. package/dist/models/Datastore.js +6 -3
  44. package/dist/models/DiskSizeTierSummary.d.ts +5 -3
  45. package/dist/models/DiskSizeTierSummary.d.ts.map +1 -0
  46. package/dist/models/DiskSizeTierSummary.js +6 -3
  47. package/dist/models/DiskTypeSummary.d.ts +5 -3
  48. package/dist/models/DiskTypeSummary.d.ts.map +1 -0
  49. package/dist/models/DiskTypeSummary.js +6 -3
  50. package/dist/models/Histogram.d.ts +5 -3
  51. package/dist/models/Histogram.d.ts.map +1 -0
  52. package/dist/models/Histogram.js +6 -3
  53. package/dist/models/Host.d.ts +5 -3
  54. package/dist/models/Host.d.ts.map +1 -0
  55. package/dist/models/Host.js +6 -3
  56. package/dist/models/Info.d.ts +5 -3
  57. package/dist/models/Info.d.ts.map +1 -0
  58. package/dist/models/Info.js +6 -3
  59. package/dist/models/Infra.d.ts +11 -9
  60. package/dist/models/Infra.d.ts.map +1 -0
  61. package/dist/models/Infra.js +13 -10
  62. package/dist/models/Inventory.d.ts +7 -5
  63. package/dist/models/Inventory.d.ts.map +1 -0
  64. package/dist/models/Inventory.js +10 -7
  65. package/dist/models/InventoryData.d.ts +8 -6
  66. package/dist/models/InventoryData.d.ts.map +1 -0
  67. package/dist/models/InventoryData.js +9 -6
  68. package/dist/models/Ipv4Config.d.ts +5 -3
  69. package/dist/models/Ipv4Config.d.ts.map +1 -0
  70. package/dist/models/Ipv4Config.js +6 -3
  71. package/dist/models/Job.d.ts +6 -4
  72. package/dist/models/Job.d.ts.map +1 -0
  73. package/dist/models/Job.js +7 -4
  74. package/dist/models/JobStatus.d.ts +4 -2
  75. package/dist/models/JobStatus.d.ts.map +1 -0
  76. package/dist/models/JobStatus.js +5 -2
  77. package/dist/models/Label.d.ts +5 -3
  78. package/dist/models/Label.d.ts.map +1 -0
  79. package/dist/models/Label.js +6 -3
  80. package/dist/models/MigrationIssue.d.ts +5 -3
  81. package/dist/models/MigrationIssue.d.ts.map +1 -0
  82. package/dist/models/MigrationIssue.js +6 -3
  83. package/dist/models/ModelError.d.ts +5 -3
  84. package/dist/models/ModelError.d.ts.map +1 -0
  85. package/dist/models/ModelError.js +6 -3
  86. package/dist/models/Network.d.ts +5 -3
  87. package/dist/models/Network.d.ts.map +1 -0
  88. package/dist/models/Network.js +6 -3
  89. package/dist/models/OsInfo.d.ts +5 -3
  90. package/dist/models/OsInfo.d.ts.map +1 -0
  91. package/dist/models/OsInfo.js +6 -3
  92. package/dist/models/PresignedUrl.d.ts +5 -3
  93. package/dist/models/PresignedUrl.d.ts.map +1 -0
  94. package/dist/models/PresignedUrl.js +7 -4
  95. package/dist/models/Snapshot.d.ts +6 -4
  96. package/dist/models/Snapshot.d.ts.map +1 -0
  97. package/dist/models/Snapshot.js +8 -5
  98. package/dist/models/Source.d.ts +9 -7
  99. package/dist/models/Source.d.ts.map +1 -0
  100. package/dist/models/Source.js +12 -9
  101. package/dist/models/SourceCreate.d.ts +8 -6
  102. package/dist/models/SourceCreate.d.ts.map +1 -0
  103. package/dist/models/SourceCreate.js +9 -6
  104. package/dist/models/SourceInfra.d.ts +7 -5
  105. package/dist/models/SourceInfra.d.ts.map +1 -0
  106. package/dist/models/SourceInfra.js +8 -5
  107. package/dist/models/SourceUpdate.d.ts +8 -6
  108. package/dist/models/SourceUpdate.d.ts.map +1 -0
  109. package/dist/models/SourceUpdate.js +9 -6
  110. package/dist/models/Status.d.ts +5 -3
  111. package/dist/models/Status.d.ts.map +1 -0
  112. package/dist/models/Status.js +6 -3
  113. package/dist/models/UpdateInventory.d.ts +6 -4
  114. package/dist/models/UpdateInventory.d.ts.map +1 -0
  115. package/dist/models/UpdateInventory.js +7 -4
  116. package/dist/models/VCenter.d.ts +5 -3
  117. package/dist/models/VCenter.d.ts.map +1 -0
  118. package/dist/models/VCenter.js +6 -3
  119. package/dist/models/VMResourceBreakdown.d.ts +6 -4
  120. package/dist/models/VMResourceBreakdown.d.ts.map +1 -0
  121. package/dist/models/VMResourceBreakdown.js +7 -4
  122. package/dist/models/VMs.d.ts +13 -11
  123. package/dist/models/VMs.d.ts.map +1 -0
  124. package/dist/models/VMs.js +16 -13
  125. package/dist/models/VmNetwork.d.ts +6 -4
  126. package/dist/models/VmNetwork.d.ts.map +1 -0
  127. package/dist/models/VmNetwork.js +7 -4
  128. package/dist/models/index.d.ts +35 -34
  129. package/dist/models/index.d.ts.map +1 -0
  130. package/dist/models/index.js +34 -34
  131. package/dist/runtime.d.ts +7 -3
  132. package/dist/runtime.d.ts.map +1 -0
  133. package/dist/runtime.js +11 -3
  134. package/package.json +19 -9
  135. package/.openapi-generator/FILES +0 -44
  136. package/.openapi-generator/VERSION +0 -1
  137. package/.openapi-generator-ignore +0 -30
  138. package/dist/apis/AgentApi.d.ts +0 -69
  139. package/dist/apis/AgentApi.js +0 -82
  140. package/dist/models/Event.d.ts +0 -38
  141. package/dist/models/Event.js +0 -45
  142. package/dist/models/EventData.d.ts +0 -37
  143. package/dist/models/EventData.js +0 -44
  144. package/dist/models/InfraDatastoresInner.d.ts +0 -43
  145. package/dist/models/InfraDatastoresInner.js +0 -48
  146. package/dist/models/InfraNetworksInner.d.ts +0 -59
  147. package/dist/models/InfraNetworksInner.js +0 -57
  148. package/dist/models/MigrationIssuesInner.d.ts +0 -43
  149. package/dist/models/MigrationIssuesInner.js +0 -48
  150. package/dist/models/SourceAgentItem.d.ts +0 -37
  151. package/dist/models/SourceAgentItem.js +0 -44
  152. package/dist/models/SourceUpdateOnPrem.d.ts +0 -38
  153. package/dist/models/SourceUpdateOnPrem.js +0 -45
  154. package/dist/models/UploadRvtoolsFile200Response.d.ts +0 -31
  155. package/dist/models/UploadRvtoolsFile200Response.js +0 -38
  156. package/dist/models/VMResourceBreakdownHistogram.d.ts +0 -43
  157. package/dist/models/VMResourceBreakdownHistogram.js +0 -48
  158. package/src/apis/AgentApi.ts +0 -131
  159. package/src/apis/AssessmentApi.ts +0 -303
  160. package/src/apis/HealthApi.ts +0 -70
  161. package/src/apis/ImageApi.ts +0 -140
  162. package/src/apis/InfoApi.ts +0 -78
  163. package/src/apis/JobApi.ts +0 -226
  164. package/src/apis/SourceApi.ts +0 -411
  165. package/src/apis/index.ts +0 -50
  166. package/src/index.ts +0 -5
  167. package/src/models/Agent.ts +0 -130
  168. package/src/models/AgentProxy.ts +0 -76
  169. package/src/models/Assessment.ts +0 -140
  170. package/src/models/AssessmentForm.ts +0 -96
  171. package/src/models/AssessmentUpdate.ts +0 -60
  172. package/src/models/Datastore.ts +0 -132
  173. package/src/models/DiskSizeTierSummary.ts +0 -70
  174. package/src/models/DiskTypeSummary.ts +0 -70
  175. package/src/models/Event.ts +0 -77
  176. package/src/models/EventData.ts +0 -70
  177. package/src/models/Histogram.ts +0 -79
  178. package/src/models/Host.ts +0 -102
  179. package/src/models/Info.ts +0 -70
  180. package/src/models/Infra.ts +0 -174
  181. package/src/models/InfraDatastoresInner.ts +0 -79
  182. package/src/models/InfraNetworksInner.ts +0 -99
  183. package/src/models/Inventory.ts +0 -83
  184. package/src/models/InventoryData.ts +0 -97
  185. package/src/models/Ipv4Config.ts +0 -88
  186. package/src/models/Job.ts +0 -95
  187. package/src/models/JobStatus.ts +0 -60
  188. package/src/models/Label.ts +0 -70
  189. package/src/models/MigrationIssue.ts +0 -87
  190. package/src/models/MigrationIssuesInner.ts +0 -79
  191. package/src/models/ModelError.ts +0 -69
  192. package/src/models/Network.ts +0 -107
  193. package/src/models/OsInfo.ts +0 -78
  194. package/src/models/PresignedUrl.ts +0 -69
  195. package/src/models/Snapshot.ts +0 -77
  196. package/src/models/Source.ts +0 -154
  197. package/src/models/SourceAgentItem.ts +0 -70
  198. package/src/models/SourceCreate.ts +0 -120
  199. package/src/models/SourceInfra.ts +0 -89
  200. package/src/models/SourceUpdate.ts +0 -119
  201. package/src/models/SourceUpdateOnPrem.ts +0 -77
  202. package/src/models/Status.ts +0 -76
  203. package/src/models/UpdateInventory.ts +0 -77
  204. package/src/models/UploadRvtoolsFile200Response.ts +0 -60
  205. package/src/models/VCenter.ts +0 -61
  206. package/src/models/VMResourceBreakdown.ts +0 -104
  207. package/src/models/VMResourceBreakdownHistogram.ts +0 -79
  208. package/src/models/VMs.ts +0 -229
  209. package/src/models/VmNetwork.ts +0 -67
  210. package/src/models/index.ts +0 -36
  211. package/src/runtime.ts +0 -426
  212. package/tsconfig.json +0 -14
@@ -1,130 +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 Agent
20
- */
21
- export interface Agent {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof Agent
26
- */
27
- id: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof Agent
32
- */
33
- status: AgentStatusEnum;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof Agent
38
- */
39
- statusInfo: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof Agent
44
- */
45
- credentialUrl: string;
46
- /**
47
- *
48
- * @type {Date}
49
- * @memberof Agent
50
- */
51
- createdAt: Date;
52
- /**
53
- *
54
- * @type {Date}
55
- * @memberof Agent
56
- */
57
- updatedAt: Date;
58
- /**
59
- *
60
- * @type {string}
61
- * @memberof Agent
62
- */
63
- version: string;
64
- }
65
-
66
-
67
- /**
68
- * @export
69
- */
70
- export const AgentStatusEnum = {
71
- NotConnected: 'not-connected',
72
- WaitingForCredentials: 'waiting-for-credentials',
73
- Error: 'error',
74
- GatheringInitialInventory: 'gathering-initial-inventory',
75
- UpToDate: 'up-to-date',
76
- SourceGone: 'source-gone'
77
- } as const;
78
- export type AgentStatusEnum = typeof AgentStatusEnum[keyof typeof AgentStatusEnum];
79
-
80
-
81
- /**
82
- * Check if a given object implements the Agent interface.
83
- */
84
- export function instanceOfAgent(value: object): value is Agent {
85
- if (!('id' in value) || value['id'] === undefined) return false;
86
- if (!('status' in value) || value['status'] === undefined) return false;
87
- if (!('statusInfo' in value) || value['statusInfo'] === undefined) return false;
88
- if (!('credentialUrl' in value) || value['credentialUrl'] === undefined) return false;
89
- if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
90
- if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
91
- if (!('version' in value) || value['version'] === undefined) return false;
92
- return true;
93
- }
94
-
95
- export function AgentFromJSON(json: any): Agent {
96
- return AgentFromJSONTyped(json, false);
97
- }
98
-
99
- export function AgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Agent {
100
- if (json == null) {
101
- return json;
102
- }
103
- return {
104
-
105
- 'id': json['id'],
106
- 'status': json['status'],
107
- 'statusInfo': json['statusInfo'],
108
- 'credentialUrl': json['credentialUrl'],
109
- 'createdAt': (new Date(json['createdAt'])),
110
- 'updatedAt': (new Date(json['updatedAt'])),
111
- 'version': json['version'],
112
- };
113
- }
114
-
115
- export function AgentToJSON(value?: Agent | null): any {
116
- if (value == null) {
117
- return value;
118
- }
119
- return {
120
-
121
- 'id': value['id'],
122
- 'status': value['status'],
123
- 'statusInfo': value['statusInfo'],
124
- 'credentialUrl': value['credentialUrl'],
125
- 'createdAt': ((value['createdAt']).toISOString()),
126
- 'updatedAt': ((value['updatedAt']).toISOString()),
127
- 'version': value['version'],
128
- };
129
- }
130
-
@@ -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
- *
18
- * @export
19
- * @interface AgentProxy
20
- */
21
- export interface AgentProxy {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof AgentProxy
26
- */
27
- httpUrl?: string | null;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof AgentProxy
32
- */
33
- httpsUrl?: string | null;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof AgentProxy
38
- */
39
- noProxy?: string | null;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the AgentProxy interface.
44
- */
45
- export function instanceOfAgentProxy(value: object): value is AgentProxy {
46
- return true;
47
- }
48
-
49
- export function AgentProxyFromJSON(json: any): AgentProxy {
50
- return AgentProxyFromJSONTyped(json, false);
51
- }
52
-
53
- export function AgentProxyFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentProxy {
54
- if (json == null) {
55
- return json;
56
- }
57
- return {
58
-
59
- 'httpUrl': json['httpUrl'] == null ? undefined : json['httpUrl'],
60
- 'httpsUrl': json['httpsUrl'] == null ? undefined : json['httpsUrl'],
61
- 'noProxy': json['noProxy'] == null ? undefined : json['noProxy'],
62
- };
63
- }
64
-
65
- export function AgentProxyToJSON(value?: AgentProxy | null): any {
66
- if (value == null) {
67
- return value;
68
- }
69
- return {
70
-
71
- 'httpUrl': value['httpUrl'],
72
- 'httpsUrl': value['httpsUrl'],
73
- 'noProxy': value['noProxy'],
74
- };
75
- }
76
-
@@ -1,140 +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 { Snapshot } from './Snapshot';
17
- import {
18
- SnapshotFromJSON,
19
- SnapshotFromJSONTyped,
20
- SnapshotToJSON,
21
- } from './Snapshot';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface Assessment
27
- */
28
- export interface Assessment {
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof Assessment
33
- */
34
- id: string;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof Assessment
39
- */
40
- name: string;
41
- /**
42
- * Owner's first name
43
- * @type {string}
44
- * @memberof Assessment
45
- */
46
- ownerFirstName?: string;
47
- /**
48
- * Owner's last name
49
- * @type {string}
50
- * @memberof Assessment
51
- */
52
- ownerLastName?: string;
53
- /**
54
- *
55
- * @type {string}
56
- * @memberof Assessment
57
- */
58
- sourceType: AssessmentSourceTypeEnum;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof Assessment
63
- */
64
- sourceId?: string;
65
- /**
66
- *
67
- * @type {Date}
68
- * @memberof Assessment
69
- */
70
- createdAt: Date;
71
- /**
72
- *
73
- * @type {Array<Snapshot>}
74
- * @memberof Assessment
75
- */
76
- snapshots: Array<Snapshot>;
77
- }
78
-
79
-
80
- /**
81
- * @export
82
- */
83
- export const AssessmentSourceTypeEnum = {
84
- Inventory: 'inventory',
85
- Rvtools: 'rvtools',
86
- Source: 'source'
87
- } as const;
88
- export type AssessmentSourceTypeEnum = typeof AssessmentSourceTypeEnum[keyof typeof AssessmentSourceTypeEnum];
89
-
90
-
91
- /**
92
- * Check if a given object implements the Assessment interface.
93
- */
94
- export function instanceOfAssessment(value: object): value is Assessment {
95
- if (!('id' in value) || value['id'] === undefined) return false;
96
- if (!('name' in value) || value['name'] === undefined) return false;
97
- if (!('sourceType' in value) || value['sourceType'] === undefined) return false;
98
- if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
99
- if (!('snapshots' in value) || value['snapshots'] === undefined) return false;
100
- return true;
101
- }
102
-
103
- export function AssessmentFromJSON(json: any): Assessment {
104
- return AssessmentFromJSONTyped(json, false);
105
- }
106
-
107
- export function AssessmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Assessment {
108
- if (json == null) {
109
- return json;
110
- }
111
- return {
112
-
113
- 'id': json['id'],
114
- 'name': json['name'],
115
- 'ownerFirstName': json['ownerFirstName'] == null ? undefined : json['ownerFirstName'],
116
- 'ownerLastName': json['ownerLastName'] == null ? undefined : json['ownerLastName'],
117
- 'sourceType': json['sourceType'],
118
- 'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
119
- 'createdAt': (new Date(json['createdAt'])),
120
- 'snapshots': json['snapshots'] == null ? undefined : ((json['snapshots'] as Array<any>).map(SnapshotFromJSON)),
121
- };
122
- }
123
-
124
- export function AssessmentToJSON(value?: Assessment | null): any {
125
- if (value == null) {
126
- return value;
127
- }
128
- return {
129
-
130
- 'id': value['id'],
131
- 'name': value['name'],
132
- 'ownerFirstName': value['ownerFirstName'],
133
- 'ownerLastName': value['ownerLastName'],
134
- 'sourceType': value['sourceType'],
135
- 'sourceId': value['sourceId'],
136
- 'createdAt': ((value['createdAt']).toISOString()),
137
- 'snapshots': ((value['snapshots'] as Array<any>).map(SnapshotToJSON)),
138
- };
139
- }
140
-
@@ -1,96 +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 AssessmentForm
27
- */
28
- export interface AssessmentForm {
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof AssessmentForm
33
- */
34
- name: string;
35
- /**
36
- * Source of the assessment data:
37
- * * `inventory` - Manual inventory upload via JSON
38
- * * `agent` - Collected by migration planner agent
39
- *
40
- * @type {string}
41
- * @memberof AssessmentForm
42
- */
43
- sourceType: string;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof AssessmentForm
48
- */
49
- sourceId?: string;
50
- /**
51
- *
52
- * @type {Inventory}
53
- * @memberof AssessmentForm
54
- */
55
- inventory?: Inventory;
56
- }
57
-
58
- /**
59
- * Check if a given object implements the AssessmentForm interface.
60
- */
61
- export function instanceOfAssessmentForm(value: object): value is AssessmentForm {
62
- if (!('name' in value) || value['name'] === undefined) return false;
63
- if (!('sourceType' in value) || value['sourceType'] === undefined) return false;
64
- return true;
65
- }
66
-
67
- export function AssessmentFormFromJSON(json: any): AssessmentForm {
68
- return AssessmentFormFromJSONTyped(json, false);
69
- }
70
-
71
- export function AssessmentFormFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssessmentForm {
72
- if (json == null) {
73
- return json;
74
- }
75
- return {
76
-
77
- 'name': json['name'],
78
- 'sourceType': json['sourceType'],
79
- 'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
80
- 'inventory': json['inventory'] == null ? undefined : InventoryFromJSON(json['inventory']),
81
- };
82
- }
83
-
84
- export function AssessmentFormToJSON(value?: AssessmentForm | null): any {
85
- if (value == null) {
86
- return value;
87
- }
88
- return {
89
-
90
- 'name': value['name'],
91
- 'sourceType': value['sourceType'],
92
- 'sourceId': value['sourceId'],
93
- 'inventory': InventoryToJSON(value['inventory']),
94
- };
95
- }
96
-
@@ -1,60 +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
- * Update form of the assessment.
18
- * @export
19
- * @interface AssessmentUpdate
20
- */
21
- export interface AssessmentUpdate {
22
- /**
23
- * Name of the assessment
24
- * @type {string}
25
- * @memberof AssessmentUpdate
26
- */
27
- name?: string;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the AssessmentUpdate interface.
32
- */
33
- export function instanceOfAssessmentUpdate(value: object): value is AssessmentUpdate {
34
- return true;
35
- }
36
-
37
- export function AssessmentUpdateFromJSON(json: any): AssessmentUpdate {
38
- return AssessmentUpdateFromJSONTyped(json, false);
39
- }
40
-
41
- export function AssessmentUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssessmentUpdate {
42
- if (json == null) {
43
- return json;
44
- }
45
- return {
46
-
47
- 'name': json['name'] == null ? undefined : json['name'],
48
- };
49
- }
50
-
51
- export function AssessmentUpdateToJSON(value?: AssessmentUpdate | null): any {
52
- if (value == null) {
53
- return value;
54
- }
55
- return {
56
-
57
- 'name': value['name'],
58
- };
59
- }
60
-
@@ -1,132 +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 Datastore
20
- */
21
- export interface Datastore {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof Datastore
26
- */
27
- type: string;
28
- /**
29
- *
30
- * @type {number}
31
- * @memberof Datastore
32
- */
33
- totalCapacityGB: number;
34
- /**
35
- *
36
- * @type {number}
37
- * @memberof Datastore
38
- */
39
- freeCapacityGB: number;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof Datastore
44
- */
45
- vendor: string;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof Datastore
50
- */
51
- diskId: string;
52
- /**
53
- *
54
- * @type {boolean}
55
- * @memberof Datastore
56
- */
57
- hardwareAcceleratedMove: boolean;
58
- /**
59
- *
60
- * @type {string}
61
- * @memberof Datastore
62
- */
63
- protocolType: string;
64
- /**
65
- *
66
- * @type {string}
67
- * @memberof Datastore
68
- */
69
- model: string;
70
- /**
71
- * Identifier of the host where this datastore is attached
72
- * @type {string}
73
- * @memberof Datastore
74
- */
75
- hostId?: string | null;
76
- }
77
-
78
- /**
79
- * Check if a given object implements the Datastore interface.
80
- */
81
- export function instanceOfDatastore(value: object): value is Datastore {
82
- if (!('type' in value) || value['type'] === undefined) return false;
83
- if (!('totalCapacityGB' in value) || value['totalCapacityGB'] === undefined) return false;
84
- if (!('freeCapacityGB' in value) || value['freeCapacityGB'] === undefined) return false;
85
- if (!('vendor' in value) || value['vendor'] === undefined) return false;
86
- if (!('diskId' in value) || value['diskId'] === undefined) return false;
87
- if (!('hardwareAcceleratedMove' in value) || value['hardwareAcceleratedMove'] === undefined) return false;
88
- if (!('protocolType' in value) || value['protocolType'] === undefined) return false;
89
- if (!('model' in value) || value['model'] === undefined) return false;
90
- return true;
91
- }
92
-
93
- export function DatastoreFromJSON(json: any): Datastore {
94
- return DatastoreFromJSONTyped(json, false);
95
- }
96
-
97
- export function DatastoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): Datastore {
98
- if (json == null) {
99
- return json;
100
- }
101
- return {
102
-
103
- 'type': json['type'],
104
- 'totalCapacityGB': json['totalCapacityGB'],
105
- 'freeCapacityGB': json['freeCapacityGB'],
106
- 'vendor': json['vendor'],
107
- 'diskId': json['diskId'],
108
- 'hardwareAcceleratedMove': json['hardwareAcceleratedMove'],
109
- 'protocolType': json['protocolType'],
110
- 'model': json['model'],
111
- 'hostId': json['hostId'] == null ? undefined : json['hostId'],
112
- };
113
- }
114
-
115
- export function DatastoreToJSON(value?: Datastore | null): any {
116
- if (value == null) {
117
- return value;
118
- }
119
- return {
120
-
121
- 'type': value['type'],
122
- 'totalCapacityGB': value['totalCapacityGB'],
123
- 'freeCapacityGB': value['freeCapacityGB'],
124
- 'vendor': value['vendor'],
125
- 'diskId': value['diskId'],
126
- 'hardwareAcceleratedMove': value['hardwareAcceleratedMove'],
127
- 'protocolType': value['protocolType'],
128
- 'model': value['model'],
129
- 'hostId': value['hostId'],
130
- };
131
- }
132
-
@@ -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 DiskSizeTierSummary
20
- */
21
- export interface DiskSizeTierSummary {
22
- /**
23
- * Total disk size in TB for this tier
24
- * @type {number}
25
- * @memberof DiskSizeTierSummary
26
- */
27
- totalSizeTB: number;
28
- /**
29
- * Number of VMs in this tier
30
- * @type {number}
31
- * @memberof DiskSizeTierSummary
32
- */
33
- vmCount: number;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the DiskSizeTierSummary interface.
38
- */
39
- export function instanceOfDiskSizeTierSummary(value: object): value is DiskSizeTierSummary {
40
- if (!('totalSizeTB' in value) || value['totalSizeTB'] === undefined) return false;
41
- if (!('vmCount' in value) || value['vmCount'] === undefined) return false;
42
- return true;
43
- }
44
-
45
- export function DiskSizeTierSummaryFromJSON(json: any): DiskSizeTierSummary {
46
- return DiskSizeTierSummaryFromJSONTyped(json, false);
47
- }
48
-
49
- export function DiskSizeTierSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): DiskSizeTierSummary {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'totalSizeTB': json['totalSizeTB'],
56
- 'vmCount': json['vmCount'],
57
- };
58
- }
59
-
60
- export function DiskSizeTierSummaryToJSON(value?: DiskSizeTierSummary | null): any {
61
- if (value == null) {
62
- return value;
63
- }
64
- return {
65
-
66
- 'totalSizeTB': value['totalSizeTB'],
67
- 'vmCount': value['vmCount'],
68
- };
69
- }
70
-