@openshift-migration-advisor/agent-sdk 0.19.0 → 0.20.0
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 +2 -2
- package/dist/apis/DefaultApi.d.ts +161 -0
- package/dist/apis/DefaultApi.js +11 -1
- package/dist/esm/apis/DefaultApi.d.ts +161 -0
- package/dist/esm/apis/DefaultApi.js +10 -0
- package/dist/esm/models/AgentModeRequest.d.ts +0 -2
- package/dist/esm/models/AgentStatus.d.ts +0 -6
- package/dist/esm/models/ApplicationListResponse.d.ts +0 -2
- package/dist/esm/models/ApplicationOverview.d.ts +0 -8
- package/dist/esm/models/ApplicationVM.d.ts +0 -4
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +0 -4
- package/dist/esm/models/BenchmarkRun.d.ts +0 -26
- package/dist/esm/models/CapabilityStatus.d.ts +0 -2
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +0 -6
- package/dist/esm/models/ClusterFeatures.d.ts +0 -6
- package/dist/esm/models/ClusterUtilization.d.ts +0 -14
- package/dist/esm/models/CollectorStartRequest.d.ts +0 -10
- package/dist/esm/models/CollectorStatus.d.ts +0 -4
- package/dist/esm/models/CreateGroupRequest.d.ts +0 -6
- package/dist/esm/models/CredentialStatus.d.ts +0 -6
- package/dist/esm/models/Datastore.d.ts +0 -20
- package/dist/esm/models/DatastoreDetail.d.ts +0 -18
- package/dist/esm/models/DatastorePair.d.ts +0 -8
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +0 -4
- package/dist/esm/models/DiskSizeTierSummary.d.ts +0 -4
- package/dist/esm/models/DiskTypeSummary.d.ts +0 -4
- package/dist/esm/models/EstimateRange.d.ts +0 -6
- package/dist/esm/models/ExportInventory400Response.d.ts +0 -2
- package/dist/esm/models/ExportInventory500Response.d.ts +0 -2
- package/dist/esm/models/ForecastStats.d.ts +0 -20
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -2
- package/dist/esm/models/ForecasterPairStatus.d.ts +0 -20
- package/dist/esm/models/ForecasterStartRequest.d.ts +0 -10
- package/dist/esm/models/ForecasterStatus.d.ts +0 -4
- package/dist/esm/models/Group.d.ts +0 -12
- package/dist/esm/models/GroupListResponse.d.ts +0 -8
- package/dist/esm/models/GroupResponse.d.ts +0 -12
- package/dist/esm/models/GuestNetwork.d.ts +0 -10
- package/dist/esm/models/Histogram.d.ts +0 -6
- package/dist/esm/models/Host.d.ts +0 -12
- package/dist/esm/models/Infra.d.ts +0 -24
- package/dist/esm/models/InspectorStatus.d.ts +0 -4
- package/dist/esm/models/Inventory.d.ts +0 -8
- package/dist/esm/models/InventoryData.d.ts +0 -10
- package/dist/esm/models/IssuesBreakdown.d.ts +0 -10
- package/dist/esm/models/MigrationIssue.d.ts +0 -8
- package/dist/esm/models/Network.d.ts +0 -10
- package/dist/esm/models/OperationCapability.d.ts +0 -4
- package/dist/esm/models/OsInfo.d.ts +0 -8
- package/dist/esm/models/PairCapability.d.ts +0 -8
- package/dist/esm/models/PairCapabilityRequest.d.ts +0 -4
- package/dist/esm/models/Process.d.ts +0 -4
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +0 -4
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -4
- package/dist/esm/models/RightsizingClusterResponse.d.ts +0 -4
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +0 -28
- package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -14
- package/dist/esm/models/RightsizingMetricStats.d.ts +0 -12
- package/dist/esm/models/RightsizingReport.d.ts +0 -18
- package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -4
- package/dist/esm/models/RightsizingReportSummary.d.ts +0 -16
- package/dist/esm/models/RightsizingVMReport.d.ts +0 -8
- package/dist/esm/models/StartInspectionRequest.d.ts +0 -4
- package/dist/esm/models/StopForecasterPair202Response.d.ts +0 -4
- package/dist/esm/models/StorageIoConfiguration.d.ts +0 -8
- package/dist/esm/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/esm/models/UpdateInventory.d.ts +0 -4
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +0 -4
- package/dist/esm/models/VCenter.d.ts +0 -2
- package/dist/esm/models/VMDevice.d.ts +0 -2
- package/dist/esm/models/VMDisk.d.ts +0 -14
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +0 -10
- package/dist/esm/models/VMIssue.d.ts +0 -6
- package/dist/esm/models/VMLabelsResponse.d.ts +0 -4
- package/dist/esm/models/VMNIC.d.ts +0 -10
- package/dist/esm/models/VMResourceBreakdown.d.ts +0 -10
- package/dist/esm/models/VMs.d.ts +0 -46
- package/dist/esm/models/VcenterCredentials.d.ts +0 -10
- package/dist/esm/models/VddkProperties.d.ts +0 -6
- package/dist/esm/models/VersionInfo.d.ts +0 -6
- package/dist/esm/models/VirtualMachine.d.ts +0 -42
- package/dist/esm/models/VirtualMachineDetail.d.ts +0 -70
- package/dist/esm/models/VirtualMachineListResponse.d.ts +0 -8
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +0 -4
- package/dist/esm/models/VmInspectionConcern.d.ts +0 -6
- package/dist/esm/models/VmInspectionResults.d.ts +0 -2
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -8
- package/dist/esm/models/VmUtilizationDetails.d.ts +0 -30
- package/dist/models/AgentModeRequest.d.ts +0 -2
- package/dist/models/AgentStatus.d.ts +0 -6
- package/dist/models/ApplicationListResponse.d.ts +0 -2
- package/dist/models/ApplicationOverview.d.ts +0 -8
- package/dist/models/ApplicationVM.d.ts +0 -4
- package/dist/models/BatchUpdateExclusionRequest.d.ts +0 -4
- package/dist/models/BenchmarkRun.d.ts +0 -26
- package/dist/models/CapabilityStatus.d.ts +0 -2
- package/dist/models/CapabilityStatusCapabilities.d.ts +0 -6
- package/dist/models/ClusterFeatures.d.ts +0 -6
- package/dist/models/ClusterUtilization.d.ts +0 -14
- package/dist/models/CollectorStartRequest.d.ts +0 -10
- package/dist/models/CollectorStatus.d.ts +0 -4
- package/dist/models/CreateGroupRequest.d.ts +0 -6
- package/dist/models/CredentialStatus.d.ts +0 -6
- package/dist/models/Datastore.d.ts +0 -20
- package/dist/models/DatastoreDetail.d.ts +0 -18
- package/dist/models/DatastorePair.d.ts +0 -8
- package/dist/models/DeleteLabelGloballyResponse.d.ts +0 -4
- package/dist/models/DiskSizeTierSummary.d.ts +0 -4
- package/dist/models/DiskTypeSummary.d.ts +0 -4
- package/dist/models/EstimateRange.d.ts +0 -6
- package/dist/models/ExportInventory400Response.d.ts +0 -2
- package/dist/models/ExportInventory500Response.d.ts +0 -2
- package/dist/models/ForecastStats.d.ts +0 -20
- package/dist/models/ForecasterDatastoresRequest.d.ts +0 -2
- package/dist/models/ForecasterPairStatus.d.ts +0 -20
- package/dist/models/ForecasterStartRequest.d.ts +0 -10
- package/dist/models/ForecasterStatus.d.ts +0 -4
- package/dist/models/Group.d.ts +0 -12
- package/dist/models/GroupListResponse.d.ts +0 -8
- package/dist/models/GroupResponse.d.ts +0 -12
- package/dist/models/GuestNetwork.d.ts +0 -10
- package/dist/models/Histogram.d.ts +0 -6
- package/dist/models/Host.d.ts +0 -12
- package/dist/models/Infra.d.ts +0 -24
- package/dist/models/InspectorStatus.d.ts +0 -4
- package/dist/models/Inventory.d.ts +0 -8
- package/dist/models/InventoryData.d.ts +0 -10
- package/dist/models/IssuesBreakdown.d.ts +0 -10
- package/dist/models/MigrationIssue.d.ts +0 -8
- package/dist/models/Network.d.ts +0 -10
- package/dist/models/OperationCapability.d.ts +0 -4
- package/dist/models/OsInfo.d.ts +0 -8
- package/dist/models/PairCapability.d.ts +0 -8
- package/dist/models/PairCapabilityRequest.d.ts +0 -4
- package/dist/models/Process.d.ts +0 -4
- package/dist/models/PutForecasterCredentials403Response.d.ts +0 -4
- package/dist/models/RightsizingClusterListResponse.d.ts +0 -4
- package/dist/models/RightsizingClusterResponse.d.ts +0 -4
- package/dist/models/RightsizingClusterUtilization.d.ts +0 -28
- package/dist/models/RightsizingCollectRequest.d.ts +0 -14
- package/dist/models/RightsizingMetricStats.d.ts +0 -12
- package/dist/models/RightsizingReport.d.ts +0 -18
- package/dist/models/RightsizingReportListResponse.d.ts +0 -4
- package/dist/models/RightsizingReportSummary.d.ts +0 -16
- package/dist/models/RightsizingVMReport.d.ts +0 -8
- package/dist/models/StartInspectionRequest.d.ts +0 -4
- package/dist/models/StopForecasterPair202Response.d.ts +0 -4
- package/dist/models/StorageIoConfiguration.d.ts +0 -8
- package/dist/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/models/UpdateInventory.d.ts +0 -4
- package/dist/models/UpdateLabelVMsRequest.d.ts +0 -4
- package/dist/models/VCenter.d.ts +0 -2
- package/dist/models/VMDevice.d.ts +0 -2
- package/dist/models/VMDisk.d.ts +0 -14
- package/dist/models/VMFilterOptionsResponse.d.ts +0 -10
- package/dist/models/VMIssue.d.ts +0 -6
- package/dist/models/VMLabelsResponse.d.ts +0 -4
- package/dist/models/VMNIC.d.ts +0 -10
- package/dist/models/VMResourceBreakdown.d.ts +0 -10
- package/dist/models/VMs.d.ts +0 -46
- package/dist/models/VcenterCredentials.d.ts +0 -10
- package/dist/models/VddkProperties.d.ts +0 -6
- package/dist/models/VersionInfo.d.ts +0 -6
- package/dist/models/VirtualMachine.d.ts +0 -42
- package/dist/models/VirtualMachineDetail.d.ts +0 -70
- package/dist/models/VirtualMachineListResponse.d.ts +0 -8
- package/dist/models/VirtualMachineUpdateRequest.d.ts +0 -4
- package/dist/models/VmInspectionConcern.d.ts +0 -6
- package/dist/models/VmInspectionResults.d.ts +0 -2
- package/dist/models/VmInspectionStatus.d.ts +0 -8
- package/dist/models/VmUtilizationDetails.d.ts +0 -30
- package/docs/DefaultApi.md +6 -3
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +166 -0
- package/src/models/AgentModeRequest.ts +0 -2
- package/src/models/AgentStatus.ts +0 -6
- package/src/models/ApplicationListResponse.ts +0 -2
- package/src/models/ApplicationOverview.ts +0 -8
- package/src/models/ApplicationVM.ts +0 -4
- package/src/models/BatchUpdateExclusionRequest.ts +0 -4
- package/src/models/BenchmarkRun.ts +0 -26
- package/src/models/CapabilityStatus.ts +0 -2
- package/src/models/CapabilityStatusCapabilities.ts +0 -6
- package/src/models/ClusterFeatures.ts +0 -6
- package/src/models/ClusterUtilization.ts +0 -14
- package/src/models/CollectorStartRequest.ts +0 -10
- package/src/models/CollectorStatus.ts +0 -4
- package/src/models/CreateGroupRequest.ts +0 -6
- package/src/models/CredentialStatus.ts +0 -6
- package/src/models/Datastore.ts +0 -20
- package/src/models/DatastoreDetail.ts +0 -18
- package/src/models/DatastorePair.ts +0 -8
- package/src/models/DeleteLabelGloballyResponse.ts +0 -4
- package/src/models/DiskSizeTierSummary.ts +0 -4
- package/src/models/DiskTypeSummary.ts +0 -4
- package/src/models/EstimateRange.ts +0 -6
- package/src/models/ExportInventory400Response.ts +0 -2
- package/src/models/ExportInventory500Response.ts +0 -2
- package/src/models/ForecastStats.ts +0 -20
- package/src/models/ForecasterDatastoresRequest.ts +0 -2
- package/src/models/ForecasterPairStatus.ts +0 -20
- package/src/models/ForecasterStartRequest.ts +0 -10
- package/src/models/ForecasterStatus.ts +0 -4
- package/src/models/Group.ts +0 -12
- package/src/models/GroupListResponse.ts +0 -8
- package/src/models/GroupResponse.ts +0 -12
- package/src/models/GuestNetwork.ts +0 -10
- package/src/models/Histogram.ts +0 -6
- package/src/models/Host.ts +0 -12
- package/src/models/Infra.ts +0 -24
- package/src/models/InspectorStatus.ts +0 -4
- package/src/models/Inventory.ts +0 -8
- package/src/models/InventoryData.ts +0 -10
- package/src/models/IssuesBreakdown.ts +0 -10
- package/src/models/MigrationIssue.ts +0 -8
- package/src/models/Network.ts +0 -10
- package/src/models/OperationCapability.ts +0 -4
- package/src/models/OsInfo.ts +0 -8
- package/src/models/PairCapability.ts +0 -8
- package/src/models/PairCapabilityRequest.ts +0 -4
- package/src/models/Process.ts +0 -4
- package/src/models/PutForecasterCredentials403Response.ts +0 -4
- package/src/models/RightsizingClusterListResponse.ts +0 -4
- package/src/models/RightsizingClusterResponse.ts +0 -4
- package/src/models/RightsizingClusterUtilization.ts +0 -28
- package/src/models/RightsizingCollectRequest.ts +0 -14
- package/src/models/RightsizingMetricStats.ts +0 -12
- package/src/models/RightsizingReport.ts +0 -18
- package/src/models/RightsizingReportListResponse.ts +0 -4
- package/src/models/RightsizingReportSummary.ts +0 -16
- package/src/models/RightsizingVMReport.ts +0 -8
- package/src/models/StartInspectionRequest.ts +0 -4
- package/src/models/StopForecasterPair202Response.ts +0 -4
- package/src/models/StorageIoConfiguration.ts +0 -8
- package/src/models/UpdateGroupRequest.ts +0 -6
- package/src/models/UpdateInventory.ts +0 -4
- package/src/models/UpdateLabelVMsRequest.ts +0 -4
- package/src/models/VCenter.ts +0 -2
- package/src/models/VMDevice.ts +0 -2
- package/src/models/VMDisk.ts +0 -14
- package/src/models/VMFilterOptionsResponse.ts +0 -10
- package/src/models/VMIssue.ts +0 -6
- package/src/models/VMLabelsResponse.ts +0 -4
- package/src/models/VMNIC.ts +0 -10
- package/src/models/VMResourceBreakdown.ts +0 -10
- package/src/models/VMs.ts +0 -46
- package/src/models/VcenterCredentials.ts +0 -10
- package/src/models/VddkProperties.ts +0 -6
- package/src/models/VersionInfo.ts +0 -6
- package/src/models/VirtualMachine.ts +0 -42
- package/src/models/VirtualMachineDetail.ts +0 -70
- package/src/models/VirtualMachineListResponse.ts +0 -8
- package/src/models/VirtualMachineUpdateRequest.ts +0 -4
- package/src/models/VmInspectionConcern.ts +0 -6
- package/src/models/VmInspectionResults.ts +0 -2
- package/src/models/VmInspectionStatus.ts +0 -8
- package/src/models/VmUtilizationDetails.ts +0 -30
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/agent-sdk@0.
|
|
1
|
+
# @openshift-migration-advisor/agent-sdk@0.20.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -201,7 +201,7 @@ and is automatically generated by the
|
|
|
201
201
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
202
202
|
|
|
203
203
|
- API version: `v1`
|
|
204
|
-
- Package version: `0.
|
|
204
|
+
- Package version: `0.20.0`
|
|
205
205
|
- Generator version: `7.25.0-SNAPSHOT`
|
|
206
206
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
207
207
|
|
|
@@ -54,122 +54,273 @@ import { type VirtualMachineUpdateRequest } from '../models/VirtualMachineUpdate
|
|
|
54
54
|
import { type VmInspectionStatus } from '../models/VmInspectionStatus.js';
|
|
55
55
|
import { type VmUtilizationDetails } from '../models/VmUtilizationDetails.js';
|
|
56
56
|
export interface BatchUpdateVMExclusionRequest {
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
57
60
|
batchUpdateExclusionRequest: BatchUpdateExclusionRequest;
|
|
58
61
|
}
|
|
59
62
|
export interface CreateGroupOperationRequest {
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
60
66
|
createGroupRequest: CreateGroupRequest;
|
|
61
67
|
}
|
|
62
68
|
export interface DeleteForecasterRunRequest {
|
|
69
|
+
/**
|
|
70
|
+
* Run ID
|
|
71
|
+
*/
|
|
63
72
|
id: number;
|
|
64
73
|
}
|
|
65
74
|
export interface DeleteGroupRequest {
|
|
75
|
+
/**
|
|
76
|
+
* Group ID
|
|
77
|
+
*/
|
|
66
78
|
id: string;
|
|
67
79
|
}
|
|
68
80
|
export interface DeleteLabelGloballyRequest {
|
|
81
|
+
/**
|
|
82
|
+
* The label to remove from all VMs
|
|
83
|
+
*/
|
|
69
84
|
label: string;
|
|
70
85
|
}
|
|
71
86
|
export interface ExportInventoryRequest {
|
|
87
|
+
/**
|
|
88
|
+
* Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
|
|
89
|
+
*/
|
|
72
90
|
scope?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
93
|
+
*/
|
|
94
|
+
format?: ExportInventoryFormatEnum;
|
|
73
95
|
}
|
|
74
96
|
export interface GetClusterUtilizationRequest {
|
|
97
|
+
/**
|
|
98
|
+
* vSphere MoRef (e.g. "domain-c123") or generated cluster ID (e.g. "cluster-a3f7b2c1d4e89012")
|
|
99
|
+
*/
|
|
75
100
|
clusterId: string;
|
|
76
101
|
}
|
|
77
102
|
export interface GetForecasterDatastoresRequest {
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
*/
|
|
78
106
|
forecasterDatastoresRequest?: ForecasterDatastoresRequest;
|
|
79
107
|
}
|
|
80
108
|
export interface GetForecasterRunsRequest {
|
|
109
|
+
/**
|
|
110
|
+
* Filter runs by pair name
|
|
111
|
+
*/
|
|
81
112
|
pairName?: string;
|
|
82
113
|
}
|
|
83
114
|
export interface GetForecasterStatsRequest {
|
|
115
|
+
/**
|
|
116
|
+
* Pair name to get statistics for
|
|
117
|
+
*/
|
|
84
118
|
pairName: string;
|
|
85
119
|
}
|
|
86
120
|
export interface GetGroupRequest {
|
|
121
|
+
/**
|
|
122
|
+
* Group ID
|
|
123
|
+
*/
|
|
87
124
|
id: string;
|
|
125
|
+
/**
|
|
126
|
+
* Sort fields with direction (e.g., "name:asc" or "cluster:desc,name:asc"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
127
|
+
*/
|
|
88
128
|
sort?: Array<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Page number for pagination
|
|
131
|
+
*/
|
|
89
132
|
page?: number;
|
|
133
|
+
/**
|
|
134
|
+
* Number of items per page
|
|
135
|
+
*/
|
|
90
136
|
pageSize?: number;
|
|
91
137
|
}
|
|
92
138
|
export interface GetInspectorStatusRequest {
|
|
139
|
+
/**
|
|
140
|
+
* If true, include uploaded VDDK metadata (`version`, `md5`) when present. omitted if VDDK was never uploaded.
|
|
141
|
+
*/
|
|
93
142
|
includeVddk?: boolean;
|
|
94
143
|
}
|
|
95
144
|
export interface GetInventoryRequest {
|
|
145
|
+
/**
|
|
146
|
+
* If true, include the agentId in the response (Compatible with manual inventory upload).
|
|
147
|
+
*/
|
|
96
148
|
withAgentId?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Filter inventory to VMs matching this group's filter expression
|
|
151
|
+
*/
|
|
97
152
|
groupId?: string;
|
|
98
153
|
}
|
|
99
154
|
export interface GetRightsizingReportRequest {
|
|
155
|
+
/**
|
|
156
|
+
* Report UUID
|
|
157
|
+
*/
|
|
100
158
|
reportId: string;
|
|
101
159
|
}
|
|
102
160
|
export interface GetRightsizingReportClusterRequest {
|
|
161
|
+
/**
|
|
162
|
+
* Rightsizing report UUID
|
|
163
|
+
*/
|
|
103
164
|
reportId: string;
|
|
165
|
+
/**
|
|
166
|
+
* vSphere MoRef (e.g. "domain-c123") or generated cluster ID (e.g. "cluster-a3f7b2c1d4e89012")
|
|
167
|
+
*/
|
|
104
168
|
clusterId: string;
|
|
105
169
|
}
|
|
106
170
|
export interface GetVMRequest {
|
|
171
|
+
/**
|
|
172
|
+
* VirtualMachine id
|
|
173
|
+
*/
|
|
107
174
|
id: string;
|
|
108
175
|
}
|
|
109
176
|
export interface GetVMUtilizationRequest {
|
|
177
|
+
/**
|
|
178
|
+
* VirtualMachine MoRef ID
|
|
179
|
+
*/
|
|
110
180
|
id: string;
|
|
111
181
|
}
|
|
112
182
|
export interface GetVMsRequest {
|
|
183
|
+
/**
|
|
184
|
+
* Filter by expression (matches VMs with the provided expression)
|
|
185
|
+
*/
|
|
113
186
|
byExpression?: string;
|
|
187
|
+
/**
|
|
188
|
+
* Sort fields with direction (e.g., "name:asc" or "cluster:desc,name:asc"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
189
|
+
*/
|
|
114
190
|
sort?: Array<string>;
|
|
191
|
+
/**
|
|
192
|
+
* Page number for pagination
|
|
193
|
+
*/
|
|
115
194
|
page?: number;
|
|
195
|
+
/**
|
|
196
|
+
* Number of items per page
|
|
197
|
+
*/
|
|
116
198
|
pageSize?: number;
|
|
117
199
|
}
|
|
118
200
|
export interface ListGroupsRequest {
|
|
201
|
+
/**
|
|
202
|
+
* Filter groups by name (case-insensitive substring match)
|
|
203
|
+
*/
|
|
119
204
|
byName?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Page number (1-indexed)
|
|
207
|
+
*/
|
|
120
208
|
page?: number;
|
|
209
|
+
/**
|
|
210
|
+
* Number of groups per page
|
|
211
|
+
*/
|
|
121
212
|
pageSize?: number;
|
|
122
213
|
}
|
|
123
214
|
export interface ListRightsizingReportClustersRequest {
|
|
215
|
+
/**
|
|
216
|
+
* Rightsizing report UUID
|
|
217
|
+
*/
|
|
124
218
|
reportId: string;
|
|
219
|
+
/**
|
|
220
|
+
* Filter DSL expression (e.g. "cluster_id = 'domain-c123'"). Omit to return all clusters.
|
|
221
|
+
*/
|
|
125
222
|
byExpression?: string;
|
|
126
223
|
}
|
|
127
224
|
export interface PostForecasterPairCapabilitiesRequest {
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
*/
|
|
128
228
|
pairCapabilityRequest: PairCapabilityRequest;
|
|
129
229
|
}
|
|
130
230
|
export interface PutCredentialsRequest {
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
*/
|
|
131
234
|
vcenterCredentials: VcenterCredentials;
|
|
132
235
|
}
|
|
133
236
|
export interface PutForecasterCredentialsRequest {
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
*/
|
|
134
240
|
vcenterCredentials: VcenterCredentials;
|
|
135
241
|
}
|
|
136
242
|
export interface PutInspectorVddkRequest {
|
|
243
|
+
/**
|
|
244
|
+
* VDDK tarball
|
|
245
|
+
*/
|
|
137
246
|
file: Blob;
|
|
138
247
|
}
|
|
139
248
|
export interface RemoveVMFromInspectionRequest {
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
*/
|
|
140
252
|
id: string;
|
|
141
253
|
}
|
|
142
254
|
export interface SetAgentModeRequest {
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
143
258
|
agentModeRequest: AgentModeRequest;
|
|
144
259
|
}
|
|
145
260
|
export interface StartCollectorRequest {
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
*/
|
|
146
264
|
collectorStartRequest: CollectorStartRequest;
|
|
147
265
|
}
|
|
148
266
|
export interface StartForecasterRequest {
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
*/
|
|
149
270
|
forecasterStartRequest: ForecasterStartRequest;
|
|
150
271
|
}
|
|
151
272
|
export interface StartInspectionOperationRequest {
|
|
273
|
+
/**
|
|
274
|
+
*
|
|
275
|
+
*/
|
|
152
276
|
startInspectionRequest: StartInspectionRequest;
|
|
153
277
|
}
|
|
154
278
|
export interface StopForecasterPairRequest {
|
|
279
|
+
/**
|
|
280
|
+
* Pair name as specified in the start request
|
|
281
|
+
*/
|
|
155
282
|
name: string;
|
|
156
283
|
}
|
|
157
284
|
export interface TriggerRightsizingCollectionRequest {
|
|
285
|
+
/**
|
|
286
|
+
*
|
|
287
|
+
*/
|
|
158
288
|
rightsizingCollectRequest: RightsizingCollectRequest;
|
|
159
289
|
}
|
|
160
290
|
export interface UpdateGroupOperationRequest {
|
|
291
|
+
/**
|
|
292
|
+
* Group ID
|
|
293
|
+
*/
|
|
161
294
|
id: string;
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
*/
|
|
162
298
|
updateGroupRequest: UpdateGroupRequest;
|
|
163
299
|
}
|
|
164
300
|
export interface UpdateLabelVMsOperationRequest {
|
|
301
|
+
/**
|
|
302
|
+
* The label to modify
|
|
303
|
+
*/
|
|
165
304
|
label: string;
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
*/
|
|
166
308
|
updateLabelVMsRequest: UpdateLabelVMsRequest;
|
|
167
309
|
}
|
|
168
310
|
export interface UpdateVMRequest {
|
|
311
|
+
/**
|
|
312
|
+
* VirtualMachine id
|
|
313
|
+
*/
|
|
169
314
|
id: string;
|
|
315
|
+
/**
|
|
316
|
+
*
|
|
317
|
+
*/
|
|
170
318
|
virtualMachineUpdateRequest: VirtualMachineUpdateRequest;
|
|
171
319
|
}
|
|
172
320
|
export interface ValidateInspectorCredentialsRequest {
|
|
321
|
+
/**
|
|
322
|
+
*
|
|
323
|
+
*/
|
|
173
324
|
vcenterCredentials: VcenterCredentials;
|
|
174
325
|
}
|
|
175
326
|
/**
|
|
@@ -301,6 +452,7 @@ export interface DefaultApiInterface {
|
|
|
301
452
|
/**
|
|
302
453
|
* Creates request options for exportInventory without sending the request
|
|
303
454
|
* @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
|
|
455
|
+
* @param {'zip' | 'xlsx'} [format] Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
304
456
|
* @throws {RequiredError}
|
|
305
457
|
* @memberof DefaultApiInterface
|
|
306
458
|
*/
|
|
@@ -309,6 +461,7 @@ export interface DefaultApiInterface {
|
|
|
309
461
|
* Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
|
|
310
462
|
* @summary Export VM inventory and migration planning data
|
|
311
463
|
* @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
|
|
464
|
+
* @param {'zip' | 'xlsx'} [format] Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
312
465
|
* @param {*} [options] Override http request option.
|
|
313
466
|
* @throws {RequiredError}
|
|
314
467
|
* @memberof DefaultApiInterface
|
|
@@ -1825,3 +1978,11 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1825
1978
|
*/
|
|
1826
1979
|
validateInspectorCredentials(requestParameters: ValidateInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1827
1980
|
}
|
|
1981
|
+
/**
|
|
1982
|
+
* @export
|
|
1983
|
+
*/
|
|
1984
|
+
export declare const ExportInventoryFormatEnum: {
|
|
1985
|
+
readonly Zip: "zip";
|
|
1986
|
+
readonly Xlsx: "xlsx";
|
|
1987
|
+
};
|
|
1988
|
+
export type ExportInventoryFormatEnum = typeof ExportInventoryFormatEnum[keyof typeof ExportInventoryFormatEnum];
|
package/dist/apis/DefaultApi.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.DefaultApi = void 0;
|
|
25
|
+
exports.ExportInventoryFormatEnum = exports.DefaultApi = void 0;
|
|
26
26
|
const runtime = require("../runtime.js");
|
|
27
27
|
const AgentModeRequest_js_1 = require("../models/AgentModeRequest.js");
|
|
28
28
|
const AgentStatus_js_1 = require("../models/AgentStatus.js");
|
|
@@ -310,6 +310,9 @@ class DefaultApi extends runtime.BaseAPI {
|
|
|
310
310
|
if (requestParameters['scope'] != null) {
|
|
311
311
|
queryParameters['scope'] = requestParameters['scope'];
|
|
312
312
|
}
|
|
313
|
+
if (requestParameters['format'] != null) {
|
|
314
|
+
queryParameters['format'] = requestParameters['format'];
|
|
315
|
+
}
|
|
313
316
|
const headerParameters = {};
|
|
314
317
|
let urlPath = `/export`;
|
|
315
318
|
return {
|
|
@@ -2054,3 +2057,10 @@ class DefaultApi extends runtime.BaseAPI {
|
|
|
2054
2057
|
}
|
|
2055
2058
|
}
|
|
2056
2059
|
exports.DefaultApi = DefaultApi;
|
|
2060
|
+
/**
|
|
2061
|
+
* @export
|
|
2062
|
+
*/
|
|
2063
|
+
exports.ExportInventoryFormatEnum = {
|
|
2064
|
+
Zip: 'zip',
|
|
2065
|
+
Xlsx: 'xlsx'
|
|
2066
|
+
};
|
|
@@ -54,122 +54,273 @@ import { type VirtualMachineUpdateRequest } from '../models/VirtualMachineUpdate
|
|
|
54
54
|
import { type VmInspectionStatus } from '../models/VmInspectionStatus.js';
|
|
55
55
|
import { type VmUtilizationDetails } from '../models/VmUtilizationDetails.js';
|
|
56
56
|
export interface BatchUpdateVMExclusionRequest {
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
57
60
|
batchUpdateExclusionRequest: BatchUpdateExclusionRequest;
|
|
58
61
|
}
|
|
59
62
|
export interface CreateGroupOperationRequest {
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
60
66
|
createGroupRequest: CreateGroupRequest;
|
|
61
67
|
}
|
|
62
68
|
export interface DeleteForecasterRunRequest {
|
|
69
|
+
/**
|
|
70
|
+
* Run ID
|
|
71
|
+
*/
|
|
63
72
|
id: number;
|
|
64
73
|
}
|
|
65
74
|
export interface DeleteGroupRequest {
|
|
75
|
+
/**
|
|
76
|
+
* Group ID
|
|
77
|
+
*/
|
|
66
78
|
id: string;
|
|
67
79
|
}
|
|
68
80
|
export interface DeleteLabelGloballyRequest {
|
|
81
|
+
/**
|
|
82
|
+
* The label to remove from all VMs
|
|
83
|
+
*/
|
|
69
84
|
label: string;
|
|
70
85
|
}
|
|
71
86
|
export interface ExportInventoryRequest {
|
|
87
|
+
/**
|
|
88
|
+
* Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
|
|
89
|
+
*/
|
|
72
90
|
scope?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
93
|
+
*/
|
|
94
|
+
format?: ExportInventoryFormatEnum;
|
|
73
95
|
}
|
|
74
96
|
export interface GetClusterUtilizationRequest {
|
|
97
|
+
/**
|
|
98
|
+
* vSphere MoRef (e.g. "domain-c123") or generated cluster ID (e.g. "cluster-a3f7b2c1d4e89012")
|
|
99
|
+
*/
|
|
75
100
|
clusterId: string;
|
|
76
101
|
}
|
|
77
102
|
export interface GetForecasterDatastoresRequest {
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
*/
|
|
78
106
|
forecasterDatastoresRequest?: ForecasterDatastoresRequest;
|
|
79
107
|
}
|
|
80
108
|
export interface GetForecasterRunsRequest {
|
|
109
|
+
/**
|
|
110
|
+
* Filter runs by pair name
|
|
111
|
+
*/
|
|
81
112
|
pairName?: string;
|
|
82
113
|
}
|
|
83
114
|
export interface GetForecasterStatsRequest {
|
|
115
|
+
/**
|
|
116
|
+
* Pair name to get statistics for
|
|
117
|
+
*/
|
|
84
118
|
pairName: string;
|
|
85
119
|
}
|
|
86
120
|
export interface GetGroupRequest {
|
|
121
|
+
/**
|
|
122
|
+
* Group ID
|
|
123
|
+
*/
|
|
87
124
|
id: string;
|
|
125
|
+
/**
|
|
126
|
+
* Sort fields with direction (e.g., "name:asc" or "cluster:desc,name:asc"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
127
|
+
*/
|
|
88
128
|
sort?: Array<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Page number for pagination
|
|
131
|
+
*/
|
|
89
132
|
page?: number;
|
|
133
|
+
/**
|
|
134
|
+
* Number of items per page
|
|
135
|
+
*/
|
|
90
136
|
pageSize?: number;
|
|
91
137
|
}
|
|
92
138
|
export interface GetInspectorStatusRequest {
|
|
139
|
+
/**
|
|
140
|
+
* If true, include uploaded VDDK metadata (`version`, `md5`) when present. omitted if VDDK was never uploaded.
|
|
141
|
+
*/
|
|
93
142
|
includeVddk?: boolean;
|
|
94
143
|
}
|
|
95
144
|
export interface GetInventoryRequest {
|
|
145
|
+
/**
|
|
146
|
+
* If true, include the agentId in the response (Compatible with manual inventory upload).
|
|
147
|
+
*/
|
|
96
148
|
withAgentId?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Filter inventory to VMs matching this group's filter expression
|
|
151
|
+
*/
|
|
97
152
|
groupId?: string;
|
|
98
153
|
}
|
|
99
154
|
export interface GetRightsizingReportRequest {
|
|
155
|
+
/**
|
|
156
|
+
* Report UUID
|
|
157
|
+
*/
|
|
100
158
|
reportId: string;
|
|
101
159
|
}
|
|
102
160
|
export interface GetRightsizingReportClusterRequest {
|
|
161
|
+
/**
|
|
162
|
+
* Rightsizing report UUID
|
|
163
|
+
*/
|
|
103
164
|
reportId: string;
|
|
165
|
+
/**
|
|
166
|
+
* vSphere MoRef (e.g. "domain-c123") or generated cluster ID (e.g. "cluster-a3f7b2c1d4e89012")
|
|
167
|
+
*/
|
|
104
168
|
clusterId: string;
|
|
105
169
|
}
|
|
106
170
|
export interface GetVMRequest {
|
|
171
|
+
/**
|
|
172
|
+
* VirtualMachine id
|
|
173
|
+
*/
|
|
107
174
|
id: string;
|
|
108
175
|
}
|
|
109
176
|
export interface GetVMUtilizationRequest {
|
|
177
|
+
/**
|
|
178
|
+
* VirtualMachine MoRef ID
|
|
179
|
+
*/
|
|
110
180
|
id: string;
|
|
111
181
|
}
|
|
112
182
|
export interface GetVMsRequest {
|
|
183
|
+
/**
|
|
184
|
+
* Filter by expression (matches VMs with the provided expression)
|
|
185
|
+
*/
|
|
113
186
|
byExpression?: string;
|
|
187
|
+
/**
|
|
188
|
+
* Sort fields with direction (e.g., "name:asc" or "cluster:desc,name:asc"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
189
|
+
*/
|
|
114
190
|
sort?: Array<string>;
|
|
191
|
+
/**
|
|
192
|
+
* Page number for pagination
|
|
193
|
+
*/
|
|
115
194
|
page?: number;
|
|
195
|
+
/**
|
|
196
|
+
* Number of items per page
|
|
197
|
+
*/
|
|
116
198
|
pageSize?: number;
|
|
117
199
|
}
|
|
118
200
|
export interface ListGroupsRequest {
|
|
201
|
+
/**
|
|
202
|
+
* Filter groups by name (case-insensitive substring match)
|
|
203
|
+
*/
|
|
119
204
|
byName?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Page number (1-indexed)
|
|
207
|
+
*/
|
|
120
208
|
page?: number;
|
|
209
|
+
/**
|
|
210
|
+
* Number of groups per page
|
|
211
|
+
*/
|
|
121
212
|
pageSize?: number;
|
|
122
213
|
}
|
|
123
214
|
export interface ListRightsizingReportClustersRequest {
|
|
215
|
+
/**
|
|
216
|
+
* Rightsizing report UUID
|
|
217
|
+
*/
|
|
124
218
|
reportId: string;
|
|
219
|
+
/**
|
|
220
|
+
* Filter DSL expression (e.g. "cluster_id = 'domain-c123'"). Omit to return all clusters.
|
|
221
|
+
*/
|
|
125
222
|
byExpression?: string;
|
|
126
223
|
}
|
|
127
224
|
export interface PostForecasterPairCapabilitiesRequest {
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
*/
|
|
128
228
|
pairCapabilityRequest: PairCapabilityRequest;
|
|
129
229
|
}
|
|
130
230
|
export interface PutCredentialsRequest {
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
*/
|
|
131
234
|
vcenterCredentials: VcenterCredentials;
|
|
132
235
|
}
|
|
133
236
|
export interface PutForecasterCredentialsRequest {
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
*/
|
|
134
240
|
vcenterCredentials: VcenterCredentials;
|
|
135
241
|
}
|
|
136
242
|
export interface PutInspectorVddkRequest {
|
|
243
|
+
/**
|
|
244
|
+
* VDDK tarball
|
|
245
|
+
*/
|
|
137
246
|
file: Blob;
|
|
138
247
|
}
|
|
139
248
|
export interface RemoveVMFromInspectionRequest {
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
*/
|
|
140
252
|
id: string;
|
|
141
253
|
}
|
|
142
254
|
export interface SetAgentModeRequest {
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
143
258
|
agentModeRequest: AgentModeRequest;
|
|
144
259
|
}
|
|
145
260
|
export interface StartCollectorRequest {
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
*/
|
|
146
264
|
collectorStartRequest: CollectorStartRequest;
|
|
147
265
|
}
|
|
148
266
|
export interface StartForecasterRequest {
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
*/
|
|
149
270
|
forecasterStartRequest: ForecasterStartRequest;
|
|
150
271
|
}
|
|
151
272
|
export interface StartInspectionOperationRequest {
|
|
273
|
+
/**
|
|
274
|
+
*
|
|
275
|
+
*/
|
|
152
276
|
startInspectionRequest: StartInspectionRequest;
|
|
153
277
|
}
|
|
154
278
|
export interface StopForecasterPairRequest {
|
|
279
|
+
/**
|
|
280
|
+
* Pair name as specified in the start request
|
|
281
|
+
*/
|
|
155
282
|
name: string;
|
|
156
283
|
}
|
|
157
284
|
export interface TriggerRightsizingCollectionRequest {
|
|
285
|
+
/**
|
|
286
|
+
*
|
|
287
|
+
*/
|
|
158
288
|
rightsizingCollectRequest: RightsizingCollectRequest;
|
|
159
289
|
}
|
|
160
290
|
export interface UpdateGroupOperationRequest {
|
|
291
|
+
/**
|
|
292
|
+
* Group ID
|
|
293
|
+
*/
|
|
161
294
|
id: string;
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
*/
|
|
162
298
|
updateGroupRequest: UpdateGroupRequest;
|
|
163
299
|
}
|
|
164
300
|
export interface UpdateLabelVMsOperationRequest {
|
|
301
|
+
/**
|
|
302
|
+
* The label to modify
|
|
303
|
+
*/
|
|
165
304
|
label: string;
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
*/
|
|
166
308
|
updateLabelVMsRequest: UpdateLabelVMsRequest;
|
|
167
309
|
}
|
|
168
310
|
export interface UpdateVMRequest {
|
|
311
|
+
/**
|
|
312
|
+
* VirtualMachine id
|
|
313
|
+
*/
|
|
169
314
|
id: string;
|
|
315
|
+
/**
|
|
316
|
+
*
|
|
317
|
+
*/
|
|
170
318
|
virtualMachineUpdateRequest: VirtualMachineUpdateRequest;
|
|
171
319
|
}
|
|
172
320
|
export interface ValidateInspectorCredentialsRequest {
|
|
321
|
+
/**
|
|
322
|
+
*
|
|
323
|
+
*/
|
|
173
324
|
vcenterCredentials: VcenterCredentials;
|
|
174
325
|
}
|
|
175
326
|
/**
|
|
@@ -301,6 +452,7 @@ export interface DefaultApiInterface {
|
|
|
301
452
|
/**
|
|
302
453
|
* Creates request options for exportInventory without sending the request
|
|
303
454
|
* @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
|
|
455
|
+
* @param {'zip' | 'xlsx'} [format] Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
304
456
|
* @throws {RequiredError}
|
|
305
457
|
* @memberof DefaultApiInterface
|
|
306
458
|
*/
|
|
@@ -309,6 +461,7 @@ export interface DefaultApiInterface {
|
|
|
309
461
|
* Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
|
|
310
462
|
* @summary Export VM inventory and migration planning data
|
|
311
463
|
* @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
|
|
464
|
+
* @param {'zip' | 'xlsx'} [format] Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
312
465
|
* @param {*} [options] Override http request option.
|
|
313
466
|
* @throws {RequiredError}
|
|
314
467
|
* @memberof DefaultApiInterface
|
|
@@ -1825,3 +1978,11 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
1825
1978
|
*/
|
|
1826
1979
|
validateInspectorCredentials(requestParameters: ValidateInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1827
1980
|
}
|
|
1981
|
+
/**
|
|
1982
|
+
* @export
|
|
1983
|
+
*/
|
|
1984
|
+
export declare const ExportInventoryFormatEnum: {
|
|
1985
|
+
readonly Zip: "zip";
|
|
1986
|
+
readonly Xlsx: "xlsx";
|
|
1987
|
+
};
|
|
1988
|
+
export type ExportInventoryFormatEnum = typeof ExportInventoryFormatEnum[keyof typeof ExportInventoryFormatEnum];
|
|
@@ -307,6 +307,9 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
307
307
|
if (requestParameters['scope'] != null) {
|
|
308
308
|
queryParameters['scope'] = requestParameters['scope'];
|
|
309
309
|
}
|
|
310
|
+
if (requestParameters['format'] != null) {
|
|
311
|
+
queryParameters['format'] = requestParameters['format'];
|
|
312
|
+
}
|
|
310
313
|
const headerParameters = {};
|
|
311
314
|
let urlPath = `/export`;
|
|
312
315
|
return {
|
|
@@ -2050,3 +2053,10 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
2050
2053
|
});
|
|
2051
2054
|
}
|
|
2052
2055
|
}
|
|
2056
|
+
/**
|
|
2057
|
+
* @export
|
|
2058
|
+
*/
|
|
2059
|
+
export const ExportInventoryFormatEnum = {
|
|
2060
|
+
Zip: 'zip',
|
|
2061
|
+
Xlsx: 'xlsx'
|
|
2062
|
+
};
|
|
@@ -17,20 +17,14 @@
|
|
|
17
17
|
export interface AgentStatus {
|
|
18
18
|
/**
|
|
19
19
|
* Target mode for the agent
|
|
20
|
-
* @type {AgentStatusModeEnum}
|
|
21
|
-
* @memberof AgentStatus
|
|
22
20
|
*/
|
|
23
21
|
mode: AgentStatusModeEnum;
|
|
24
22
|
/**
|
|
25
23
|
* Current console connection status
|
|
26
|
-
* @type {AgentStatusConsoleConnectionEnum}
|
|
27
|
-
* @memberof AgentStatus
|
|
28
24
|
*/
|
|
29
25
|
console_connection: AgentStatusConsoleConnectionEnum;
|
|
30
26
|
/**
|
|
31
27
|
* Connection error description
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AgentStatus
|
|
34
28
|
*/
|
|
35
29
|
error?: string;
|
|
36
30
|
}
|
|
@@ -18,8 +18,6 @@ import type { ApplicationOverview } from './ApplicationOverview.js';
|
|
|
18
18
|
export interface ApplicationListResponse {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {Array<ApplicationOverview>}
|
|
22
|
-
* @memberof ApplicationListResponse
|
|
23
21
|
*/
|
|
24
22
|
applications: Array<ApplicationOverview>;
|
|
25
23
|
}
|