@openshift-migration-advisor/agent-sdk 0.12.0-73dd4924f11b → 0.12.0-8eb0d1134c4d

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 (49) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +8 -2
  3. package/dist/apis/DefaultApi.d.ts +72 -0
  4. package/dist/apis/DefaultApi.js +78 -0
  5. package/dist/esm/apis/DefaultApi.d.ts +72 -0
  6. package/dist/esm/apis/DefaultApi.js +78 -0
  7. package/dist/esm/models/CapabilityStatus.d.ts +33 -0
  8. package/dist/esm/models/CapabilityStatus.js +44 -0
  9. package/dist/esm/models/CapabilityStatusCapabilities.d.ts +45 -0
  10. package/dist/esm/models/CapabilityStatusCapabilities.js +52 -0
  11. package/dist/esm/models/CredentialStatus.d.ts +6 -0
  12. package/dist/esm/models/CredentialStatus.js +4 -0
  13. package/dist/esm/models/ExportInventory400Response.d.ts +32 -0
  14. package/dist/esm/models/ExportInventory400Response.js +41 -0
  15. package/dist/esm/models/OperationCapability.d.ts +38 -0
  16. package/dist/esm/models/OperationCapability.js +45 -0
  17. package/dist/esm/models/StartInspectionRequest.d.ts +1 -1
  18. package/dist/esm/models/StartInspectionRequest.js +1 -3
  19. package/dist/esm/models/index.d.ts +4 -0
  20. package/dist/esm/models/index.js +4 -0
  21. package/dist/models/CapabilityStatus.d.ts +33 -0
  22. package/dist/models/CapabilityStatus.js +51 -0
  23. package/dist/models/CapabilityStatusCapabilities.d.ts +45 -0
  24. package/dist/models/CapabilityStatusCapabilities.js +59 -0
  25. package/dist/models/CredentialStatus.d.ts +6 -0
  26. package/dist/models/CredentialStatus.js +4 -0
  27. package/dist/models/ExportInventory400Response.d.ts +32 -0
  28. package/dist/models/ExportInventory400Response.js +48 -0
  29. package/dist/models/OperationCapability.d.ts +38 -0
  30. package/dist/models/OperationCapability.js +52 -0
  31. package/dist/models/StartInspectionRequest.d.ts +1 -1
  32. package/dist/models/StartInspectionRequest.js +1 -3
  33. package/dist/models/index.d.ts +4 -0
  34. package/dist/models/index.js +4 -0
  35. package/docs/CapabilityStatus.md +34 -0
  36. package/docs/CapabilityStatusCapabilities.md +38 -0
  37. package/docs/CredentialStatus.md +2 -0
  38. package/docs/DefaultApi.md +135 -3
  39. package/docs/ExportInventory400Response.md +34 -0
  40. package/docs/OperationCapability.md +36 -0
  41. package/package.json +1 -1
  42. package/src/apis/DefaultApi.ts +142 -0
  43. package/src/models/CapabilityStatus.ts +74 -0
  44. package/src/models/CapabilityStatusCapabilities.ts +92 -0
  45. package/src/models/CredentialStatus.ts +9 -0
  46. package/src/models/ExportInventory400Response.ts +65 -0
  47. package/src/models/OperationCapability.ts +74 -0
  48. package/src/models/StartInspectionRequest.ts +2 -3
  49. package/src/models/index.ts +4 -0
@@ -8,6 +8,8 @@ docs/ApplicationListResponse.md
8
8
  docs/ApplicationOverview.md
9
9
  docs/ApplicationVM.md
10
10
  docs/BenchmarkRun.md
11
+ docs/CapabilityStatus.md
12
+ docs/CapabilityStatusCapabilities.md
11
13
  docs/ClusterFeatures.md
12
14
  docs/ClusterUtilization.md
13
15
  docs/CollectorStartRequest.md
@@ -22,6 +24,7 @@ docs/DeleteLabelGloballyResponse.md
22
24
  docs/DiskSizeTierSummary.md
23
25
  docs/DiskTypeSummary.md
24
26
  docs/EstimateRange.md
27
+ docs/ExportInventory400Response.md
25
28
  docs/ForecastStats.md
26
29
  docs/ForecasterDatastoresRequest.md
27
30
  docs/ForecasterPairStatus.md
@@ -40,6 +43,7 @@ docs/Inventory.md
40
43
  docs/InventoryData.md
41
44
  docs/MigrationIssue.md
42
45
  docs/Network.md
46
+ docs/OperationCapability.md
43
47
  docs/OsInfo.md
44
48
  docs/PairCapability.md
45
49
  docs/PairCapabilityRequest.md
@@ -88,6 +92,8 @@ src/models/ApplicationListResponse.ts
88
92
  src/models/ApplicationOverview.ts
89
93
  src/models/ApplicationVM.ts
90
94
  src/models/BenchmarkRun.ts
95
+ src/models/CapabilityStatus.ts
96
+ src/models/CapabilityStatusCapabilities.ts
91
97
  src/models/ClusterFeatures.ts
92
98
  src/models/ClusterUtilization.ts
93
99
  src/models/CollectorStartRequest.ts
@@ -101,6 +107,7 @@ src/models/DeleteLabelGloballyResponse.ts
101
107
  src/models/DiskSizeTierSummary.ts
102
108
  src/models/DiskTypeSummary.ts
103
109
  src/models/EstimateRange.ts
110
+ src/models/ExportInventory400Response.ts
104
111
  src/models/ForecastStats.ts
105
112
  src/models/ForecasterDatastoresRequest.ts
106
113
  src/models/ForecasterPairStatus.ts
@@ -119,6 +126,7 @@ src/models/Inventory.ts
119
126
  src/models/InventoryData.ts
120
127
  src/models/MigrationIssue.ts
121
128
  src/models/Network.ts
129
+ src/models/OperationCapability.ts
122
130
  src/models/OsInfo.ts
123
131
  src/models/PairCapability.ts
124
132
  src/models/PairCapabilityRequest.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/agent-sdk@0.12.0-73dd4924f11b
1
+ # @openshift-migration-advisor/agent-sdk@0.12.0-8eb0d1134c4d
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -55,10 +55,12 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
55
55
  *DefaultApi* | [**deleteForecasterRun**](docs/DefaultApi.md#deleteforecasterrun) | **DELETE** /forecaster/runs/{id} | Delete a benchmark run
56
56
  *DefaultApi* | [**deleteGroup**](docs/DefaultApi.md#deletegroup) | **DELETE** /groups/{id} | Delete group
57
57
  *DefaultApi* | [**deleteLabelGlobally**](docs/DefaultApi.md#deletelabelglobally) | **DELETE** /vms/labels/{label} | Delete label from all VMs
58
+ *DefaultApi* | [**exportInventory**](docs/DefaultApi.md#exportinventory) | **GET** /export | Export VM inventory and migration planning data
58
59
  *DefaultApi* | [**getAgentStatus**](docs/DefaultApi.md#getagentstatus) | **GET** /agent | Get agent status
59
60
  *DefaultApi* | [**getApplications**](docs/DefaultApi.md#getapplications) | **GET** /applications | List detected applications running on VMs
60
61
  *DefaultApi* | [**getClusterUtilization**](docs/DefaultApi.md#getclusterutilization) | **GET** /clusters/{cluster_id}/utilization | Get latest cluster utilization by cluster ID
61
62
  *DefaultApi* | [**getCollectorStatus**](docs/DefaultApi.md#getcollectorstatus) | **GET** /collector | Get collector status
63
+ *DefaultApi* | [**getCredentialCapabilities**](docs/DefaultApi.md#getcredentialcapabilities) | **GET** /credentials/capabilities | Check vSphere operation capabilities
62
64
  *DefaultApi* | [**getCredentials**](docs/DefaultApi.md#getcredentials) | **GET** /credentials | Get stored credential status
63
65
  *DefaultApi* | [**getForecasterDatastores**](docs/DefaultApi.md#getforecasterdatastores) | **POST** /forecaster/datastores | List available datastores
64
66
  *DefaultApi* | [**getForecasterRuns**](docs/DefaultApi.md#getforecasterruns) | **GET** /forecaster/runs | List benchmark runs
@@ -109,6 +111,8 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
109
111
  - [ApplicationOverview](docs/ApplicationOverview.md)
110
112
  - [ApplicationVM](docs/ApplicationVM.md)
111
113
  - [BenchmarkRun](docs/BenchmarkRun.md)
114
+ - [CapabilityStatus](docs/CapabilityStatus.md)
115
+ - [CapabilityStatusCapabilities](docs/CapabilityStatusCapabilities.md)
112
116
  - [ClusterFeatures](docs/ClusterFeatures.md)
113
117
  - [ClusterUtilization](docs/ClusterUtilization.md)
114
118
  - [CollectorStartRequest](docs/CollectorStartRequest.md)
@@ -122,6 +126,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
122
126
  - [DiskSizeTierSummary](docs/DiskSizeTierSummary.md)
123
127
  - [DiskTypeSummary](docs/DiskTypeSummary.md)
124
128
  - [EstimateRange](docs/EstimateRange.md)
129
+ - [ExportInventory400Response](docs/ExportInventory400Response.md)
125
130
  - [ForecastStats](docs/ForecastStats.md)
126
131
  - [ForecasterDatastoresRequest](docs/ForecasterDatastoresRequest.md)
127
132
  - [ForecasterPairStatus](docs/ForecasterPairStatus.md)
@@ -140,6 +145,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
140
145
  - [InventoryData](docs/InventoryData.md)
141
146
  - [MigrationIssue](docs/MigrationIssue.md)
142
147
  - [Network](docs/Network.md)
148
+ - [OperationCapability](docs/OperationCapability.md)
143
149
  - [OsInfo](docs/OsInfo.md)
144
150
  - [PairCapability](docs/PairCapability.md)
145
151
  - [PairCapabilityRequest](docs/PairCapabilityRequest.md)
@@ -191,7 +197,7 @@ and is automatically generated by the
191
197
  [OpenAPI Generator](https://openapi-generator.tech) project:
192
198
 
193
199
  - API version: `v1`
194
- - Package version: `0.12.0-73dd4924f11b`
200
+ - Package version: `0.12.0-8eb0d1134c4d`
195
201
  - Generator version: `7.24.0-SNAPSHOT`
196
202
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
197
203
 
@@ -14,6 +14,7 @@ import { type AgentModeRequest } from '../models/AgentModeRequest.js';
14
14
  import { type AgentStatus } from '../models/AgentStatus.js';
15
15
  import { type ApplicationListResponse } from '../models/ApplicationListResponse.js';
16
16
  import { type BenchmarkRun } from '../models/BenchmarkRun.js';
17
+ import { type CapabilityStatus } from '../models/CapabilityStatus.js';
17
18
  import { type CollectorStartRequest } from '../models/CollectorStartRequest.js';
18
19
  import { type CollectorStatus } from '../models/CollectorStatus.js';
19
20
  import { type CreateGroupRequest } from '../models/CreateGroupRequest.js';
@@ -63,6 +64,9 @@ export interface DeleteGroupRequest {
63
64
  export interface DeleteLabelGloballyRequest {
64
65
  label: string;
65
66
  }
67
+ export interface ExportInventoryRequest {
68
+ scope?: string;
69
+ }
66
70
  export interface GetClusterUtilizationRequest {
67
71
  clusterId: string;
68
72
  }
@@ -277,6 +281,27 @@ export interface DefaultApiInterface {
277
281
  * Delete label from all VMs
278
282
  */
279
283
  deleteLabelGlobally(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteLabelGloballyResponse>;
284
+ /**
285
+ * Creates request options for exportInventory without sending the request
286
+ * @param {string} [scope] Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
287
+ * @throws {RequiredError}
288
+ * @memberof DefaultApiInterface
289
+ */
290
+ exportInventoryRequestOpts(requestParameters: ExportInventoryRequest): Promise<runtime.RequestOpts>;
291
+ /**
292
+ * Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
293
+ * @summary Export VM inventory and migration planning data
294
+ * @param {string} [scope] Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
295
+ * @param {*} [options] Override http request option.
296
+ * @throws {RequiredError}
297
+ * @memberof DefaultApiInterface
298
+ */
299
+ exportInventoryRaw(requestParameters: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
300
+ /**
301
+ * Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
302
+ * Export VM inventory and migration planning data
303
+ */
304
+ exportInventory(requestParameters: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
280
305
  /**
281
306
  * Creates request options for getAgentStatus without sending the request
282
307
  * @throws {RequiredError}
@@ -351,6 +376,25 @@ export interface DefaultApiInterface {
351
376
  * Get collector status
352
377
  */
353
378
  getCollectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
379
+ /**
380
+ * Creates request options for getCredentialCapabilities without sending the request
381
+ * @throws {RequiredError}
382
+ * @memberof DefaultApiInterface
383
+ */
384
+ getCredentialCapabilitiesRequestOpts(): Promise<runtime.RequestOpts>;
385
+ /**
386
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
387
+ * @summary Check vSphere operation capabilities
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ * @memberof DefaultApiInterface
391
+ */
392
+ getCredentialCapabilitiesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityStatus>>;
393
+ /**
394
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
395
+ * Check vSphere operation capabilities
396
+ */
397
+ getCredentialCapabilities(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityStatus>;
354
398
  /**
355
399
  * Creates request options for getCredentials without sending the request
356
400
  * @throws {RequiredError}
@@ -1245,6 +1289,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1245
1289
  * Delete label from all VMs
1246
1290
  */
1247
1291
  deleteLabelGlobally(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteLabelGloballyResponse>;
1292
+ /**
1293
+ * Creates request options for exportInventory without sending the request
1294
+ */
1295
+ exportInventoryRequestOpts(requestParameters: ExportInventoryRequest): Promise<runtime.RequestOpts>;
1296
+ /**
1297
+ * Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
1298
+ * Export VM inventory and migration planning data
1299
+ */
1300
+ exportInventoryRaw(requestParameters: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
1301
+ /**
1302
+ * Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
1303
+ * Export VM inventory and migration planning data
1304
+ */
1305
+ exportInventory(requestParameters?: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
1248
1306
  /**
1249
1307
  * Creates request options for getAgentStatus without sending the request
1250
1308
  */
@@ -1293,6 +1351,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1293
1351
  * Get collector status
1294
1352
  */
1295
1353
  getCollectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
1354
+ /**
1355
+ * Creates request options for getCredentialCapabilities without sending the request
1356
+ */
1357
+ getCredentialCapabilitiesRequestOpts(): Promise<runtime.RequestOpts>;
1358
+ /**
1359
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
1360
+ * Check vSphere operation capabilities
1361
+ */
1362
+ getCredentialCapabilitiesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityStatus>>;
1363
+ /**
1364
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
1365
+ * Check vSphere operation capabilities
1366
+ */
1367
+ getCredentialCapabilities(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityStatus>;
1296
1368
  /**
1297
1369
  * Creates request options for getCredentials without sending the request
1298
1370
  */
@@ -28,6 +28,7 @@ const AgentModeRequest_js_1 = require("../models/AgentModeRequest.js");
28
28
  const AgentStatus_js_1 = require("../models/AgentStatus.js");
29
29
  const ApplicationListResponse_js_1 = require("../models/ApplicationListResponse.js");
30
30
  const BenchmarkRun_js_1 = require("../models/BenchmarkRun.js");
31
+ const CapabilityStatus_js_1 = require("../models/CapabilityStatus.js");
31
32
  const CollectorStartRequest_js_1 = require("../models/CollectorStartRequest.js");
32
33
  const CollectorStatus_js_1 = require("../models/CollectorStatus.js");
33
34
  const CreateGroupRequest_js_1 = require("../models/CreateGroupRequest.js");
@@ -260,6 +261,46 @@ class DefaultApi extends runtime.BaseAPI {
260
261
  return yield response.value();
261
262
  });
262
263
  }
264
+ /**
265
+ * Creates request options for exportInventory without sending the request
266
+ */
267
+ exportInventoryRequestOpts(requestParameters) {
268
+ return __awaiter(this, void 0, void 0, function* () {
269
+ const queryParameters = {};
270
+ if (requestParameters['scope'] != null) {
271
+ queryParameters['scope'] = requestParameters['scope'];
272
+ }
273
+ const headerParameters = {};
274
+ let urlPath = `/export`;
275
+ return {
276
+ path: urlPath,
277
+ method: 'GET',
278
+ headers: headerParameters,
279
+ query: queryParameters,
280
+ };
281
+ });
282
+ }
283
+ /**
284
+ * Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
285
+ * Export VM inventory and migration planning data
286
+ */
287
+ exportInventoryRaw(requestParameters, initOverrides) {
288
+ return __awaiter(this, void 0, void 0, function* () {
289
+ const requestOptions = yield this.exportInventoryRequestOpts(requestParameters);
290
+ const response = yield this.request(requestOptions, initOverrides);
291
+ return new runtime.BlobApiResponse(response);
292
+ });
293
+ }
294
+ /**
295
+ * Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
296
+ * Export VM inventory and migration planning data
297
+ */
298
+ exportInventory() {
299
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
300
+ const response = yield this.exportInventoryRaw(requestParameters, initOverrides);
301
+ return yield response.value();
302
+ });
303
+ }
263
304
  /**
264
305
  * Creates request options for getAgentStatus without sending the request
265
306
  */
@@ -404,6 +445,43 @@ class DefaultApi extends runtime.BaseAPI {
404
445
  return yield response.value();
405
446
  });
406
447
  }
448
+ /**
449
+ * Creates request options for getCredentialCapabilities without sending the request
450
+ */
451
+ getCredentialCapabilitiesRequestOpts() {
452
+ return __awaiter(this, void 0, void 0, function* () {
453
+ const queryParameters = {};
454
+ const headerParameters = {};
455
+ let urlPath = `/credentials/capabilities`;
456
+ return {
457
+ path: urlPath,
458
+ method: 'GET',
459
+ headers: headerParameters,
460
+ query: queryParameters,
461
+ };
462
+ });
463
+ }
464
+ /**
465
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
466
+ * Check vSphere operation capabilities
467
+ */
468
+ getCredentialCapabilitiesRaw(initOverrides) {
469
+ return __awaiter(this, void 0, void 0, function* () {
470
+ const requestOptions = yield this.getCredentialCapabilitiesRequestOpts();
471
+ const response = yield this.request(requestOptions, initOverrides);
472
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, CapabilityStatus_js_1.CapabilityStatusFromJSON)(jsonValue));
473
+ });
474
+ }
475
+ /**
476
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
477
+ * Check vSphere operation capabilities
478
+ */
479
+ getCredentialCapabilities(initOverrides) {
480
+ return __awaiter(this, void 0, void 0, function* () {
481
+ const response = yield this.getCredentialCapabilitiesRaw(initOverrides);
482
+ return yield response.value();
483
+ });
484
+ }
407
485
  /**
408
486
  * Creates request options for getCredentials without sending the request
409
487
  */
@@ -14,6 +14,7 @@ import { type AgentModeRequest } from '../models/AgentModeRequest.js';
14
14
  import { type AgentStatus } from '../models/AgentStatus.js';
15
15
  import { type ApplicationListResponse } from '../models/ApplicationListResponse.js';
16
16
  import { type BenchmarkRun } from '../models/BenchmarkRun.js';
17
+ import { type CapabilityStatus } from '../models/CapabilityStatus.js';
17
18
  import { type CollectorStartRequest } from '../models/CollectorStartRequest.js';
18
19
  import { type CollectorStatus } from '../models/CollectorStatus.js';
19
20
  import { type CreateGroupRequest } from '../models/CreateGroupRequest.js';
@@ -63,6 +64,9 @@ export interface DeleteGroupRequest {
63
64
  export interface DeleteLabelGloballyRequest {
64
65
  label: string;
65
66
  }
67
+ export interface ExportInventoryRequest {
68
+ scope?: string;
69
+ }
66
70
  export interface GetClusterUtilizationRequest {
67
71
  clusterId: string;
68
72
  }
@@ -277,6 +281,27 @@ export interface DefaultApiInterface {
277
281
  * Delete label from all VMs
278
282
  */
279
283
  deleteLabelGlobally(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteLabelGloballyResponse>;
284
+ /**
285
+ * Creates request options for exportInventory without sending the request
286
+ * @param {string} [scope] Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
287
+ * @throws {RequiredError}
288
+ * @memberof DefaultApiInterface
289
+ */
290
+ exportInventoryRequestOpts(requestParameters: ExportInventoryRequest): Promise<runtime.RequestOpts>;
291
+ /**
292
+ * Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
293
+ * @summary Export VM inventory and migration planning data
294
+ * @param {string} [scope] Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
295
+ * @param {*} [options] Override http request option.
296
+ * @throws {RequiredError}
297
+ * @memberof DefaultApiInterface
298
+ */
299
+ exportInventoryRaw(requestParameters: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
300
+ /**
301
+ * Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
302
+ * Export VM inventory and migration planning data
303
+ */
304
+ exportInventory(requestParameters: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
280
305
  /**
281
306
  * Creates request options for getAgentStatus without sending the request
282
307
  * @throws {RequiredError}
@@ -351,6 +376,25 @@ export interface DefaultApiInterface {
351
376
  * Get collector status
352
377
  */
353
378
  getCollectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
379
+ /**
380
+ * Creates request options for getCredentialCapabilities without sending the request
381
+ * @throws {RequiredError}
382
+ * @memberof DefaultApiInterface
383
+ */
384
+ getCredentialCapabilitiesRequestOpts(): Promise<runtime.RequestOpts>;
385
+ /**
386
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
387
+ * @summary Check vSphere operation capabilities
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ * @memberof DefaultApiInterface
391
+ */
392
+ getCredentialCapabilitiesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityStatus>>;
393
+ /**
394
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
395
+ * Check vSphere operation capabilities
396
+ */
397
+ getCredentialCapabilities(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityStatus>;
354
398
  /**
355
399
  * Creates request options for getCredentials without sending the request
356
400
  * @throws {RequiredError}
@@ -1245,6 +1289,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1245
1289
  * Delete label from all VMs
1246
1290
  */
1247
1291
  deleteLabelGlobally(requestParameters: DeleteLabelGloballyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteLabelGloballyResponse>;
1292
+ /**
1293
+ * Creates request options for exportInventory without sending the request
1294
+ */
1295
+ exportInventoryRequestOpts(requestParameters: ExportInventoryRequest): Promise<runtime.RequestOpts>;
1296
+ /**
1297
+ * Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
1298
+ * Export VM inventory and migration planning data
1299
+ */
1300
+ exportInventoryRaw(requestParameters: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
1301
+ /**
1302
+ * Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
1303
+ * Export VM inventory and migration planning data
1304
+ */
1305
+ exportInventory(requestParameters?: ExportInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
1248
1306
  /**
1249
1307
  * Creates request options for getAgentStatus without sending the request
1250
1308
  */
@@ -1293,6 +1351,20 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1293
1351
  * Get collector status
1294
1352
  */
1295
1353
  getCollectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
1354
+ /**
1355
+ * Creates request options for getCredentialCapabilities without sending the request
1356
+ */
1357
+ getCredentialCapabilitiesRequestOpts(): Promise<runtime.RequestOpts>;
1358
+ /**
1359
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
1360
+ * Check vSphere operation capabilities
1361
+ */
1362
+ getCredentialCapabilitiesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CapabilityStatus>>;
1363
+ /**
1364
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
1365
+ * Check vSphere operation capabilities
1366
+ */
1367
+ getCredentialCapabilities(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CapabilityStatus>;
1296
1368
  /**
1297
1369
  * Creates request options for getCredentials without sending the request
1298
1370
  */
@@ -25,6 +25,7 @@ import { AgentModeRequestToJSON, } from '../models/AgentModeRequest.js';
25
25
  import { AgentStatusFromJSON, } from '../models/AgentStatus.js';
26
26
  import { ApplicationListResponseFromJSON, } from '../models/ApplicationListResponse.js';
27
27
  import { BenchmarkRunFromJSON, } from '../models/BenchmarkRun.js';
28
+ import { CapabilityStatusFromJSON, } from '../models/CapabilityStatus.js';
28
29
  import { CollectorStartRequestToJSON, } from '../models/CollectorStartRequest.js';
29
30
  import { CollectorStatusFromJSON, } from '../models/CollectorStatus.js';
30
31
  import { CreateGroupRequestToJSON, } from '../models/CreateGroupRequest.js';
@@ -257,6 +258,46 @@ export class DefaultApi extends runtime.BaseAPI {
257
258
  return yield response.value();
258
259
  });
259
260
  }
261
+ /**
262
+ * Creates request options for exportInventory without sending the request
263
+ */
264
+ exportInventoryRequestOpts(requestParameters) {
265
+ return __awaiter(this, void 0, void 0, function* () {
266
+ const queryParameters = {};
267
+ if (requestParameters['scope'] != null) {
268
+ queryParameters['scope'] = requestParameters['scope'];
269
+ }
270
+ const headerParameters = {};
271
+ let urlPath = `/export`;
272
+ return {
273
+ path: urlPath,
274
+ method: 'GET',
275
+ headers: headerParameters,
276
+ query: queryParameters,
277
+ };
278
+ });
279
+ }
280
+ /**
281
+ * Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
282
+ * Export VM inventory and migration planning data
283
+ */
284
+ exportInventoryRaw(requestParameters, initOverrides) {
285
+ return __awaiter(this, void 0, void 0, function* () {
286
+ const requestOptions = yield this.exportInventoryRequestOpts(requestParameters);
287
+ const response = yield this.request(requestOptions, initOverrides);
288
+ return new runtime.BlobApiResponse(response);
289
+ });
290
+ }
291
+ /**
292
+ * Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
293
+ * Export VM inventory and migration planning data
294
+ */
295
+ exportInventory() {
296
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
297
+ const response = yield this.exportInventoryRaw(requestParameters, initOverrides);
298
+ return yield response.value();
299
+ });
300
+ }
260
301
  /**
261
302
  * Creates request options for getAgentStatus without sending the request
262
303
  */
@@ -401,6 +442,43 @@ export class DefaultApi extends runtime.BaseAPI {
401
442
  return yield response.value();
402
443
  });
403
444
  }
445
+ /**
446
+ * Creates request options for getCredentialCapabilities without sending the request
447
+ */
448
+ getCredentialCapabilitiesRequestOpts() {
449
+ return __awaiter(this, void 0, void 0, function* () {
450
+ const queryParameters = {};
451
+ const headerParameters = {};
452
+ let urlPath = `/credentials/capabilities`;
453
+ return {
454
+ path: urlPath,
455
+ method: 'GET',
456
+ headers: headerParameters,
457
+ query: queryParameters,
458
+ };
459
+ });
460
+ }
461
+ /**
462
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
463
+ * Check vSphere operation capabilities
464
+ */
465
+ getCredentialCapabilitiesRaw(initOverrides) {
466
+ return __awaiter(this, void 0, void 0, function* () {
467
+ const requestOptions = yield this.getCredentialCapabilitiesRequestOpts();
468
+ const response = yield this.request(requestOptions, initOverrides);
469
+ return new runtime.JSONApiResponse(response, (jsonValue) => CapabilityStatusFromJSON(jsonValue));
470
+ });
471
+ }
472
+ /**
473
+ * Checks vSphere privileges for all operations (collector, inspector, forecaster) using stored credentials. Single live vSphere check, no caching.
474
+ * Check vSphere operation capabilities
475
+ */
476
+ getCredentialCapabilities(initOverrides) {
477
+ return __awaiter(this, void 0, void 0, function* () {
478
+ const response = yield this.getCredentialCapabilitiesRaw(initOverrides);
479
+ return yield response.value();
480
+ });
481
+ }
404
482
  /**
405
483
  * Creates request options for getCredentials without sending the request
406
484
  */
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { CapabilityStatusCapabilities } from './CapabilityStatusCapabilities.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CapabilityStatus
17
+ */
18
+ export interface CapabilityStatus {
19
+ /**
20
+ *
21
+ * @type {CapabilityStatusCapabilities}
22
+ * @memberof CapabilityStatus
23
+ */
24
+ capabilities: CapabilityStatusCapabilities;
25
+ }
26
+ /**
27
+ * Check if a given object implements the CapabilityStatus interface.
28
+ */
29
+ export declare function instanceOfCapabilityStatus(value: object): value is CapabilityStatus;
30
+ export declare function CapabilityStatusFromJSON(json: any): CapabilityStatus;
31
+ export declare function CapabilityStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CapabilityStatus;
32
+ export declare function CapabilityStatusToJSON(json: any): CapabilityStatus;
33
+ export declare function CapabilityStatusToJSONTyped(value?: CapabilityStatus | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
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 { CapabilityStatusCapabilitiesFromJSON, CapabilityStatusCapabilitiesToJSON, } from './CapabilityStatusCapabilities.js';
15
+ /**
16
+ * Check if a given object implements the CapabilityStatus interface.
17
+ */
18
+ export function instanceOfCapabilityStatus(value) {
19
+ if (!('capabilities' in value) || value['capabilities'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function CapabilityStatusFromJSON(json) {
24
+ return CapabilityStatusFromJSONTyped(json, false);
25
+ }
26
+ export function CapabilityStatusFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'capabilities': CapabilityStatusCapabilitiesFromJSON(json['capabilities']),
32
+ };
33
+ }
34
+ export function CapabilityStatusToJSON(json) {
35
+ return CapabilityStatusToJSONTyped(json, false);
36
+ }
37
+ export function CapabilityStatusToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'capabilities': CapabilityStatusCapabilitiesToJSON(value['capabilities']),
43
+ };
44
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
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 { OperationCapability } from './OperationCapability.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CapabilityStatusCapabilities
17
+ */
18
+ export interface CapabilityStatusCapabilities {
19
+ /**
20
+ *
21
+ * @type {OperationCapability}
22
+ * @memberof CapabilityStatusCapabilities
23
+ */
24
+ collector: OperationCapability;
25
+ /**
26
+ *
27
+ * @type {OperationCapability}
28
+ * @memberof CapabilityStatusCapabilities
29
+ */
30
+ inspector: OperationCapability;
31
+ /**
32
+ *
33
+ * @type {OperationCapability}
34
+ * @memberof CapabilityStatusCapabilities
35
+ */
36
+ forecaster: OperationCapability;
37
+ }
38
+ /**
39
+ * Check if a given object implements the CapabilityStatusCapabilities interface.
40
+ */
41
+ export declare function instanceOfCapabilityStatusCapabilities(value: object): value is CapabilityStatusCapabilities;
42
+ export declare function CapabilityStatusCapabilitiesFromJSON(json: any): CapabilityStatusCapabilities;
43
+ export declare function CapabilityStatusCapabilitiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): CapabilityStatusCapabilities;
44
+ export declare function CapabilityStatusCapabilitiesToJSON(json: any): CapabilityStatusCapabilities;
45
+ export declare function CapabilityStatusCapabilitiesToJSONTyped(value?: CapabilityStatusCapabilities | null, ignoreDiscriminator?: boolean): any;