@openshift-migration-advisor/agent-sdk 0.19.0-ad34f3b0c020 → 0.20.0-daa6de5c47f5
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/.openapi-generator/FILES +24 -0
- package/README.md +24 -3
- package/dist/apis/CollectionsApi.d.ts +18 -4
- package/dist/apis/CollectionsApi.js +14 -4
- package/dist/apis/CollectorApi.d.ts +38 -0
- package/dist/apis/CollectorApi.js +59 -0
- package/dist/apis/ForecasterApi.d.ts +375 -0
- package/dist/apis/ForecasterApi.js +397 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/CollectionsApi.d.ts +18 -4
- package/dist/esm/apis/CollectionsApi.js +13 -3
- package/dist/esm/apis/CollectorApi.d.ts +38 -0
- package/dist/esm/apis/CollectorApi.js +59 -0
- package/dist/esm/apis/ForecasterApi.d.ts +375 -0
- package/dist/esm/apis/ForecasterApi.js +393 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AgentModeRequest.js +1 -1
- package/dist/esm/models/AgentStatus.d.ts +4 -0
- package/dist/esm/models/AgentStatus.js +3 -1
- package/dist/esm/models/AgentStatusConsoleConnection.js +1 -1
- package/dist/esm/models/BenchmarkRun.d.ts +78 -0
- package/dist/esm/models/BenchmarkRun.js +88 -0
- package/dist/esm/models/ClusterFeatures.d.ts +4 -0
- package/dist/esm/models/ClusterFeatures.js +3 -1
- package/dist/esm/models/Collection.js +3 -2
- package/dist/esm/models/CollectionAggregate.js +3 -2
- package/dist/esm/models/CollectionComparisonDiff.js +1 -1
- package/dist/esm/models/CollectorStatus.js +1 -1
- package/dist/esm/models/DatastoreDetail.d.ts +62 -0
- package/dist/esm/models/DatastoreDetail.js +65 -0
- package/dist/esm/models/DatastorePairRequest.d.ts +42 -0
- package/dist/esm/models/DatastorePairRequest.js +53 -0
- package/dist/esm/models/EstimateRange.d.ts +38 -0
- package/dist/esm/models/EstimateRange.js +51 -0
- package/dist/esm/models/ForecastPairStatus.d.ts +78 -0
- package/dist/esm/models/ForecastPairStatus.js +82 -0
- package/dist/esm/models/ForecastStats.d.ts +67 -0
- package/dist/esm/models/ForecastStats.js +80 -0
- package/dist/esm/models/ForecasterStatus.d.ts +43 -0
- package/dist/esm/models/ForecasterStatus.js +55 -0
- package/dist/esm/models/Group.js +5 -4
- package/dist/esm/models/Host.d.ts +8 -0
- package/dist/esm/models/Host.js +4 -0
- package/dist/esm/models/InspectionStatus.d.ts +4 -0
- package/dist/esm/models/InspectionStatus.js +3 -1
- package/dist/esm/models/InspectorStatus.js +1 -1
- package/dist/esm/models/Inventory1.d.ts +4 -0
- package/dist/esm/models/Inventory1.js +3 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PairCapability.d.ts +42 -0
- package/dist/esm/models/PairCapability.js +55 -0
- package/dist/esm/models/PairCapabilityRequest.d.ts +31 -0
- package/dist/esm/models/PairCapabilityRequest.js +44 -0
- package/dist/esm/models/StartForecasterRequest.d.ts +43 -0
- package/dist/esm/models/StartForecasterRequest.js +50 -0
- package/dist/esm/models/StopForecasterPair202Response.d.ts +41 -0
- package/dist/esm/models/StopForecasterPair202Response.js +49 -0
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- package/dist/esm/models/VirtualMachineDetail.d.ts +5 -0
- package/dist/esm/models/VirtualMachineDetail.js +3 -0
- package/dist/esm/models/VirtualMachineIssue.js +1 -1
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/esm/runtime.d.ts +11 -0
- package/dist/esm/runtime.js +47 -1
- package/dist/models/AgentModeRequest.js +1 -1
- package/dist/models/AgentStatus.d.ts +4 -0
- package/dist/models/AgentStatus.js +3 -1
- package/dist/models/AgentStatusConsoleConnection.js +1 -1
- package/dist/models/BenchmarkRun.d.ts +78 -0
- package/dist/models/BenchmarkRun.js +95 -0
- package/dist/models/ClusterFeatures.d.ts +4 -0
- package/dist/models/ClusterFeatures.js +3 -1
- package/dist/models/Collection.js +3 -2
- package/dist/models/CollectionAggregate.js +3 -2
- package/dist/models/CollectionComparisonDiff.js +1 -1
- package/dist/models/CollectorStatus.js +1 -1
- package/dist/models/DatastoreDetail.d.ts +62 -0
- package/dist/models/DatastoreDetail.js +72 -0
- package/dist/models/DatastorePairRequest.d.ts +42 -0
- package/dist/models/DatastorePairRequest.js +60 -0
- package/dist/models/EstimateRange.d.ts +38 -0
- package/dist/models/EstimateRange.js +58 -0
- package/dist/models/ForecastPairStatus.d.ts +78 -0
- package/dist/models/ForecastPairStatus.js +90 -0
- package/dist/models/ForecastStats.d.ts +67 -0
- package/dist/models/ForecastStats.js +87 -0
- package/dist/models/ForecasterStatus.d.ts +43 -0
- package/dist/models/ForecasterStatus.js +63 -0
- package/dist/models/Group.js +5 -4
- package/dist/models/Host.d.ts +8 -0
- package/dist/models/Host.js +4 -0
- package/dist/models/InspectionStatus.d.ts +4 -0
- package/dist/models/InspectionStatus.js +3 -1
- package/dist/models/InspectorStatus.js +1 -1
- package/dist/models/Inventory1.d.ts +4 -0
- package/dist/models/Inventory1.js +2 -0
- package/dist/models/Network.js +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PairCapability.d.ts +42 -0
- package/dist/models/PairCapability.js +62 -0
- package/dist/models/PairCapabilityRequest.d.ts +31 -0
- package/dist/models/PairCapabilityRequest.js +51 -0
- package/dist/models/StartForecasterRequest.d.ts +43 -0
- package/dist/models/StartForecasterRequest.js +57 -0
- package/dist/models/StopForecasterPair202Response.d.ts +41 -0
- package/dist/models/StopForecasterPair202Response.js +57 -0
- package/dist/models/StorageIoConfiguration.js +1 -1
- package/dist/models/VirtualMachineDetail.d.ts +5 -0
- package/dist/models/VirtualMachineDetail.js +3 -0
- package/dist/models/VirtualMachineIssue.js +1 -1
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/runtime.d.ts +11 -0
- package/dist/runtime.js +51 -1
- package/docs/AgentStatus.md +2 -0
- package/docs/BenchmarkRun.md +58 -0
- package/docs/ClusterFeatures.md +2 -0
- package/docs/CollectionsApi.md +8 -5
- package/docs/CollectorApi.md +70 -0
- package/docs/DatastoreDetail.md +50 -0
- package/docs/DatastorePairRequest.md +40 -0
- package/docs/EstimateRange.md +38 -0
- package/docs/ForecastPairStatus.md +52 -0
- package/docs/ForecastStats.md +52 -0
- package/docs/ForecasterApi.md +612 -0
- package/docs/ForecasterStatus.md +36 -0
- package/docs/Host.md +4 -0
- package/docs/InspectionStatus.md +2 -0
- package/docs/InspectorApi.md +2 -0
- package/docs/Inventory1.md +2 -0
- package/docs/PairCapability.md +40 -0
- package/docs/PairCapabilityRequest.md +34 -0
- package/docs/StartForecasterRequest.md +40 -0
- package/docs/StopForecasterPair202Response.md +36 -0
- package/docs/VirtualMachineDetail.md +2 -0
- package/package.json +1 -1
- package/src/apis/CollectionsApi.ts +23 -5
- package/src/apis/CollectorApi.ts +97 -0
- package/src/apis/ForecasterApi.ts +721 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AgentModeRequest.ts +1 -1
- package/src/models/AgentStatus.ts +7 -1
- package/src/models/AgentStatusConsoleConnection.ts +1 -1
- package/src/models/BenchmarkRun.ts +146 -0
- package/src/models/ClusterFeatures.ts +7 -1
- package/src/models/Collection.ts +3 -3
- package/src/models/CollectionAggregate.ts +3 -3
- package/src/models/CollectionComparisonDiff.ts +1 -1
- package/src/models/CollectorStatus.ts +1 -1
- package/src/models/DatastoreDetail.ts +115 -0
- package/src/models/DatastorePairRequest.ts +84 -0
- package/src/models/EstimateRange.ts +78 -0
- package/src/models/ForecastPairStatus.ts +138 -0
- package/src/models/ForecastStats.ts +135 -0
- package/src/models/ForecasterStatus.ts +90 -0
- package/src/models/Group.ts +5 -5
- package/src/models/Host.ts +12 -0
- package/src/models/InspectionStatus.ts +7 -1
- package/src/models/InspectorStatus.ts +1 -1
- package/src/models/Inventory1.ts +7 -1
- package/src/models/Network.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PairCapability.ts +85 -0
- package/src/models/PairCapabilityRequest.ts +72 -0
- package/src/models/StartForecasterRequest.ts +90 -0
- package/src/models/StopForecasterPair202Response.ts +79 -0
- package/src/models/StorageIoConfiguration.ts +1 -1
- package/src/models/VirtualMachineDetail.ts +13 -0
- package/src/models/VirtualMachineIssue.ts +1 -1
- package/src/models/index.ts +11 -0
- package/src/runtime.ts +52 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -11,6 +11,7 @@ docs/ApplicationOverview.md
|
|
|
11
11
|
docs/ApplicationVM.md
|
|
12
12
|
docs/ApplicationsApi.md
|
|
13
13
|
docs/BatchUpdateExclusionRequest.md
|
|
14
|
+
docs/BenchmarkRun.md
|
|
14
15
|
docs/CapabilityStatus.md
|
|
15
16
|
docs/CapabilityStatusCapabilities.md
|
|
16
17
|
docs/ClusterFeatures.md
|
|
@@ -30,9 +31,16 @@ docs/CreateGroupRequest.md
|
|
|
30
31
|
docs/CredentialStatus.md
|
|
31
32
|
docs/CredentialsApi.md
|
|
32
33
|
docs/Datastore.md
|
|
34
|
+
docs/DatastoreDetail.md
|
|
35
|
+
docs/DatastorePairRequest.md
|
|
33
36
|
docs/DeleteLabelGloballyResponse.md
|
|
34
37
|
docs/DiskSizeTierSummary.md
|
|
35
38
|
docs/DiskTypeSummary.md
|
|
39
|
+
docs/EstimateRange.md
|
|
40
|
+
docs/ForecastPairStatus.md
|
|
41
|
+
docs/ForecastStats.md
|
|
42
|
+
docs/ForecasterApi.md
|
|
43
|
+
docs/ForecasterStatus.md
|
|
36
44
|
docs/Group.md
|
|
37
45
|
docs/GroupListResponse.md
|
|
38
46
|
docs/GroupResponse.md
|
|
@@ -53,11 +61,15 @@ docs/MigrationIssue.md
|
|
|
53
61
|
docs/Network.md
|
|
54
62
|
docs/OperationCapability.md
|
|
55
63
|
docs/OsInfo.md
|
|
64
|
+
docs/PairCapability.md
|
|
65
|
+
docs/PairCapabilityRequest.md
|
|
56
66
|
docs/Process.md
|
|
57
67
|
docs/RightsizingApi.md
|
|
58
68
|
docs/RightsizingClusterResponse.md
|
|
59
69
|
docs/RightsizingClusterUtilization.md
|
|
70
|
+
docs/StartForecasterRequest.md
|
|
60
71
|
docs/StartInspectionRequest.md
|
|
72
|
+
docs/StopForecasterPair202Response.md
|
|
61
73
|
docs/StorageIoConfiguration.md
|
|
62
74
|
docs/UpdateGroupRequest.md
|
|
63
75
|
docs/UpdateInventory.md
|
|
@@ -89,6 +101,7 @@ src/apis/ApplicationsApi.ts
|
|
|
89
101
|
src/apis/CollectionsApi.ts
|
|
90
102
|
src/apis/CollectorApi.ts
|
|
91
103
|
src/apis/CredentialsApi.ts
|
|
104
|
+
src/apis/ForecasterApi.ts
|
|
92
105
|
src/apis/GroupsApi.ts
|
|
93
106
|
src/apis/InspectorApi.ts
|
|
94
107
|
src/apis/InventoriesApi.ts
|
|
@@ -104,6 +117,7 @@ src/models/ApplicationListResponse.ts
|
|
|
104
117
|
src/models/ApplicationOverview.ts
|
|
105
118
|
src/models/ApplicationVM.ts
|
|
106
119
|
src/models/BatchUpdateExclusionRequest.ts
|
|
120
|
+
src/models/BenchmarkRun.ts
|
|
107
121
|
src/models/CapabilityStatus.ts
|
|
108
122
|
src/models/CapabilityStatusCapabilities.ts
|
|
109
123
|
src/models/ClusterFeatures.ts
|
|
@@ -120,9 +134,15 @@ src/models/ComparisonDiffPage.ts
|
|
|
120
134
|
src/models/CreateGroupRequest.ts
|
|
121
135
|
src/models/CredentialStatus.ts
|
|
122
136
|
src/models/Datastore.ts
|
|
137
|
+
src/models/DatastoreDetail.ts
|
|
138
|
+
src/models/DatastorePairRequest.ts
|
|
123
139
|
src/models/DeleteLabelGloballyResponse.ts
|
|
124
140
|
src/models/DiskSizeTierSummary.ts
|
|
125
141
|
src/models/DiskTypeSummary.ts
|
|
142
|
+
src/models/EstimateRange.ts
|
|
143
|
+
src/models/ForecastPairStatus.ts
|
|
144
|
+
src/models/ForecastStats.ts
|
|
145
|
+
src/models/ForecasterStatus.ts
|
|
126
146
|
src/models/Group.ts
|
|
127
147
|
src/models/GroupListResponse.ts
|
|
128
148
|
src/models/GroupResponse.ts
|
|
@@ -140,10 +160,14 @@ src/models/MigrationIssue.ts
|
|
|
140
160
|
src/models/Network.ts
|
|
141
161
|
src/models/OperationCapability.ts
|
|
142
162
|
src/models/OsInfo.ts
|
|
163
|
+
src/models/PairCapability.ts
|
|
164
|
+
src/models/PairCapabilityRequest.ts
|
|
143
165
|
src/models/Process.ts
|
|
144
166
|
src/models/RightsizingClusterResponse.ts
|
|
145
167
|
src/models/RightsizingClusterUtilization.ts
|
|
168
|
+
src/models/StartForecasterRequest.ts
|
|
146
169
|
src/models/StartInspectionRequest.ts
|
|
170
|
+
src/models/StopForecasterPair202Response.ts
|
|
147
171
|
src/models/StorageIoConfiguration.ts
|
|
148
172
|
src/models/UpdateGroupRequest.ts
|
|
149
173
|
src/models/UpdateInventory.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/agent-sdk@0.
|
|
1
|
+
# @openshift-migration-advisor/agent-sdk@0.20.0-daa6de5c47f5
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -50,15 +50,25 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
50
50
|
*ApplicationsApi* | [**listApplications**](docs/ApplicationsApi.md#listapplications) | **GET** /collections/{id}/applications | List detected applications in a collection
|
|
51
51
|
*CollectionsApi* | [**compareCollections**](docs/CollectionsApi.md#comparecollections) | **GET** /collections/compare/{aId}/{bId} | Compare two collections — returns aggregates and diffs
|
|
52
52
|
*CollectionsApi* | [**compareCollectionsDiff**](docs/CollectionsApi.md#comparecollectionsdiff) | **GET** /collections/compare/{aId}/{bId}/{dimension} | Drill down — VM IDs that differ between two collections for a given dimension
|
|
53
|
-
*CollectionsApi* | [**exportCollection**](docs/CollectionsApi.md#exportcollection) | **GET** /collections/{id}/export | Export collection data as CSV ZIP archive
|
|
53
|
+
*CollectionsApi* | [**exportCollection**](docs/CollectionsApi.md#exportcollection) | **GET** /collections/{id}/export | Export collection data as CSV ZIP archive or Excel workbook
|
|
54
54
|
*CollectionsApi* | [**listCollections**](docs/CollectionsApi.md#listcollections) | **GET** /collections | List all collections
|
|
55
55
|
*CollectorApi* | [**getCollectorStatus**](docs/CollectorApi.md#getcollectorstatus) | **GET** /collector | Get collector status
|
|
56
56
|
*CollectorApi* | [**startCollector**](docs/CollectorApi.md#startcollector) | **POST** /collector | Start a collection
|
|
57
|
+
*CollectorApi* | [**startRvtoolsCollector**](docs/CollectorApi.md#startrvtoolscollector) | **POST** /collector/rvtools | Start a collection from RVTools files
|
|
57
58
|
*CollectorApi* | [**stopCollector**](docs/CollectorApi.md#stopcollector) | **DELETE** /collector | Stop collector
|
|
58
59
|
*CredentialsApi* | [**deleteCredentials**](docs/CredentialsApi.md#deletecredentials) | **DELETE** /credentials | Delete stored credentials
|
|
59
60
|
*CredentialsApi* | [**getCredentialCapabilities**](docs/CredentialsApi.md#getcredentialcapabilities) | **GET** /credentials/capabilities | Check vSphere operation capabilities
|
|
60
61
|
*CredentialsApi* | [**getCredentials**](docs/CredentialsApi.md#getcredentials) | **GET** /credentials | Get stored credential status
|
|
61
62
|
*CredentialsApi* | [**putCredentials**](docs/CredentialsApi.md#putcredentials) | **PUT** /credentials | Store vCenter credentials
|
|
63
|
+
*ForecasterApi* | [**deleteForecasterRun**](docs/ForecasterApi.md#deleteforecasterrun) | **DELETE** /forecaster/runs/{id} | Delete a benchmark run
|
|
64
|
+
*ForecasterApi* | [**getForecasterDatastores**](docs/ForecasterApi.md#getforecasterdatastores) | **GET** /forecaster/datastores | List available datastores
|
|
65
|
+
*ForecasterApi* | [**getForecasterRuns**](docs/ForecasterApi.md#getforecasterruns) | **GET** /forecaster/runs | List benchmark runs
|
|
66
|
+
*ForecasterApi* | [**getForecasterStats**](docs/ForecasterApi.md#getforecasterstats) | **GET** /forecaster/stats | Get throughput statistics
|
|
67
|
+
*ForecasterApi* | [**getForecasterStatus**](docs/ForecasterApi.md#getforecasterstatus) | **GET** /forecaster | Poll forecaster status
|
|
68
|
+
*ForecasterApi* | [**postForecasterPairCapabilities**](docs/ForecasterApi.md#postforecasterpaircapabilities) | **POST** /forecaster/capabilities | Compute pair capabilities
|
|
69
|
+
*ForecasterApi* | [**startForecaster**](docs/ForecasterApi.md#startforecasteroperation) | **POST** /forecaster | Start benchmark
|
|
70
|
+
*ForecasterApi* | [**stopForecaster**](docs/ForecasterApi.md#stopforecaster) | **DELETE** /forecaster | Cancel benchmark
|
|
71
|
+
*ForecasterApi* | [**stopForecasterPair**](docs/ForecasterApi.md#stopforecasterpair) | **DELETE** /forecaster/pairs/{name} | Cancel a single pair
|
|
62
72
|
*GroupsApi* | [**createLatestGroup**](docs/GroupsApi.md#createlatestgroup) | **POST** /groups | Create a new group in the latest collection
|
|
63
73
|
*GroupsApi* | [**deleteLatestGroup**](docs/GroupsApi.md#deletelatestgroup) | **DELETE** /groups/{groupId} | Delete group from the latest collection
|
|
64
74
|
*GroupsApi* | [**getGroup**](docs/GroupsApi.md#getgroup) | **GET** /collections/{id}/groups/{groupId} | Get group by ID with its VirtualMachines
|
|
@@ -100,6 +110,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
100
110
|
- [ApplicationOverview](docs/ApplicationOverview.md)
|
|
101
111
|
- [ApplicationVM](docs/ApplicationVM.md)
|
|
102
112
|
- [BatchUpdateExclusionRequest](docs/BatchUpdateExclusionRequest.md)
|
|
113
|
+
- [BenchmarkRun](docs/BenchmarkRun.md)
|
|
103
114
|
- [CapabilityStatus](docs/CapabilityStatus.md)
|
|
104
115
|
- [CapabilityStatusCapabilities](docs/CapabilityStatusCapabilities.md)
|
|
105
116
|
- [ClusterFeatures](docs/ClusterFeatures.md)
|
|
@@ -116,9 +127,15 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
116
127
|
- [CreateGroupRequest](docs/CreateGroupRequest.md)
|
|
117
128
|
- [CredentialStatus](docs/CredentialStatus.md)
|
|
118
129
|
- [Datastore](docs/Datastore.md)
|
|
130
|
+
- [DatastoreDetail](docs/DatastoreDetail.md)
|
|
131
|
+
- [DatastorePairRequest](docs/DatastorePairRequest.md)
|
|
119
132
|
- [DeleteLabelGloballyResponse](docs/DeleteLabelGloballyResponse.md)
|
|
120
133
|
- [DiskSizeTierSummary](docs/DiskSizeTierSummary.md)
|
|
121
134
|
- [DiskTypeSummary](docs/DiskTypeSummary.md)
|
|
135
|
+
- [EstimateRange](docs/EstimateRange.md)
|
|
136
|
+
- [ForecastPairStatus](docs/ForecastPairStatus.md)
|
|
137
|
+
- [ForecastStats](docs/ForecastStats.md)
|
|
138
|
+
- [ForecasterStatus](docs/ForecasterStatus.md)
|
|
122
139
|
- [Group](docs/Group.md)
|
|
123
140
|
- [GroupListResponse](docs/GroupListResponse.md)
|
|
124
141
|
- [GroupResponse](docs/GroupResponse.md)
|
|
@@ -136,10 +153,14 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
136
153
|
- [Network](docs/Network.md)
|
|
137
154
|
- [OperationCapability](docs/OperationCapability.md)
|
|
138
155
|
- [OsInfo](docs/OsInfo.md)
|
|
156
|
+
- [PairCapability](docs/PairCapability.md)
|
|
157
|
+
- [PairCapabilityRequest](docs/PairCapabilityRequest.md)
|
|
139
158
|
- [Process](docs/Process.md)
|
|
140
159
|
- [RightsizingClusterResponse](docs/RightsizingClusterResponse.md)
|
|
141
160
|
- [RightsizingClusterUtilization](docs/RightsizingClusterUtilization.md)
|
|
161
|
+
- [StartForecasterRequest](docs/StartForecasterRequest.md)
|
|
142
162
|
- [StartInspectionRequest](docs/StartInspectionRequest.md)
|
|
163
|
+
- [StopForecasterPair202Response](docs/StopForecasterPair202Response.md)
|
|
143
164
|
- [StorageIoConfiguration](docs/StorageIoConfiguration.md)
|
|
144
165
|
- [UpdateGroupRequest](docs/UpdateGroupRequest.md)
|
|
145
166
|
- [UpdateInventory](docs/UpdateInventory.md)
|
|
@@ -176,7 +197,7 @@ and is automatically generated by the
|
|
|
176
197
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
177
198
|
|
|
178
199
|
- API version: `v2`
|
|
179
|
-
- Package version: `0.
|
|
200
|
+
- Package version: `0.20.0-daa6de5c47f5`
|
|
180
201
|
- Generator version: `7.25.0-SNAPSHOT`
|
|
181
202
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
182
203
|
|
|
@@ -54,6 +54,10 @@ export interface ExportCollectionRequest {
|
|
|
54
54
|
* Comma-separated export scopes (e.g., "overview,vms,groups"). Defaults to "overview".
|
|
55
55
|
*/
|
|
56
56
|
scope?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
59
|
+
*/
|
|
60
|
+
format?: ExportCollectionFormatEnum;
|
|
57
61
|
}
|
|
58
62
|
/**
|
|
59
63
|
* CollectionsApi - interface
|
|
@@ -116,22 +120,24 @@ export interface CollectionsApiInterface {
|
|
|
116
120
|
* Creates request options for exportCollection without sending the request
|
|
117
121
|
* @param {string} id Collection ID
|
|
118
122
|
* @param {string} [scope] Comma-separated export scopes (e.g., \"overview,vms,groups\"). Defaults to \"overview\".
|
|
123
|
+
* @param {'zip' | 'xlsx'} [format] Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
119
124
|
* @throws {RequiredError}
|
|
120
125
|
* @memberof CollectionsApiInterface
|
|
121
126
|
*/
|
|
122
127
|
exportCollectionRequestOpts(requestParameters: ExportCollectionRequest): Promise<runtime.RequestOpts>;
|
|
123
128
|
/**
|
|
124
129
|
*
|
|
125
|
-
* @summary Export collection data as CSV ZIP archive
|
|
130
|
+
* @summary Export collection data as CSV ZIP archive or Excel workbook
|
|
126
131
|
* @param {string} id Collection ID
|
|
127
132
|
* @param {string} [scope] Comma-separated export scopes (e.g., \"overview,vms,groups\"). Defaults to \"overview\".
|
|
133
|
+
* @param {'zip' | 'xlsx'} [format] Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
128
134
|
* @param {*} [options] Override http request option.
|
|
129
135
|
* @throws {RequiredError}
|
|
130
136
|
* @memberof CollectionsApiInterface
|
|
131
137
|
*/
|
|
132
138
|
exportCollectionRaw(requestParameters: ExportCollectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
133
139
|
/**
|
|
134
|
-
* Export collection data as CSV ZIP archive
|
|
140
|
+
* Export collection data as CSV ZIP archive or Excel workbook
|
|
135
141
|
*/
|
|
136
142
|
exportCollection(requestParameters: ExportCollectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
137
143
|
/**
|
|
@@ -186,11 +192,11 @@ export declare class CollectionsApi extends runtime.BaseAPI implements Collectio
|
|
|
186
192
|
*/
|
|
187
193
|
exportCollectionRequestOpts(requestParameters: ExportCollectionRequest): Promise<runtime.RequestOpts>;
|
|
188
194
|
/**
|
|
189
|
-
* Export collection data as CSV ZIP archive
|
|
195
|
+
* Export collection data as CSV ZIP archive or Excel workbook
|
|
190
196
|
*/
|
|
191
197
|
exportCollectionRaw(requestParameters: ExportCollectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
192
198
|
/**
|
|
193
|
-
* Export collection data as CSV ZIP archive
|
|
199
|
+
* Export collection data as CSV ZIP archive or Excel workbook
|
|
194
200
|
*/
|
|
195
201
|
exportCollection(requestParameters: ExportCollectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
196
202
|
/**
|
|
@@ -215,3 +221,11 @@ export declare const CompareCollectionsDiffDimensionEnum: {
|
|
|
215
221
|
readonly NonMigratable: "non-migratable";
|
|
216
222
|
};
|
|
217
223
|
export type CompareCollectionsDiffDimensionEnum = typeof CompareCollectionsDiffDimensionEnum[keyof typeof CompareCollectionsDiffDimensionEnum];
|
|
224
|
+
/**
|
|
225
|
+
* @export
|
|
226
|
+
*/
|
|
227
|
+
export declare const ExportCollectionFormatEnum: {
|
|
228
|
+
readonly Zip: "zip";
|
|
229
|
+
readonly Xlsx: "xlsx";
|
|
230
|
+
};
|
|
231
|
+
export type ExportCollectionFormatEnum = typeof ExportCollectionFormatEnum[keyof typeof ExportCollectionFormatEnum];
|
|
@@ -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.CompareCollectionsDiffDimensionEnum = exports.CollectionsApi = void 0;
|
|
25
|
+
exports.ExportCollectionFormatEnum = exports.CompareCollectionsDiffDimensionEnum = exports.CollectionsApi = void 0;
|
|
26
26
|
const runtime = require("../runtime.js");
|
|
27
27
|
const CollectionComparisonDiff_js_1 = require("../models/CollectionComparisonDiff.js");
|
|
28
28
|
const CollectionComparisonSummary_js_1 = require("../models/CollectionComparisonSummary.js");
|
|
@@ -139,6 +139,9 @@ class CollectionsApi extends runtime.BaseAPI {
|
|
|
139
139
|
if (requestParameters['scope'] != null) {
|
|
140
140
|
queryParameters['scope'] = requestParameters['scope'];
|
|
141
141
|
}
|
|
142
|
+
if (requestParameters['format'] != null) {
|
|
143
|
+
queryParameters['format'] = requestParameters['format'];
|
|
144
|
+
}
|
|
142
145
|
const headerParameters = {};
|
|
143
146
|
let urlPath = `/collections/{id}/export`;
|
|
144
147
|
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
@@ -151,7 +154,7 @@ class CollectionsApi extends runtime.BaseAPI {
|
|
|
151
154
|
});
|
|
152
155
|
}
|
|
153
156
|
/**
|
|
154
|
-
* Export collection data as CSV ZIP archive
|
|
157
|
+
* Export collection data as CSV ZIP archive or Excel workbook
|
|
155
158
|
*/
|
|
156
159
|
exportCollectionRaw(requestParameters, initOverrides) {
|
|
157
160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -161,7 +164,7 @@ class CollectionsApi extends runtime.BaseAPI {
|
|
|
161
164
|
});
|
|
162
165
|
}
|
|
163
166
|
/**
|
|
164
|
-
* Export collection data as CSV ZIP archive
|
|
167
|
+
* Export collection data as CSV ZIP archive or Excel workbook
|
|
165
168
|
*/
|
|
166
169
|
exportCollection(requestParameters, initOverrides) {
|
|
167
170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -212,5 +215,12 @@ exports.CollectionsApi = CollectionsApi;
|
|
|
212
215
|
exports.CompareCollectionsDiffDimensionEnum = {
|
|
213
216
|
Total: 'total',
|
|
214
217
|
Migratable: 'migratable',
|
|
215
|
-
NonMigratable: 'non-migratable'
|
|
218
|
+
NonMigratable: 'non-migratable',
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* @export
|
|
222
|
+
*/
|
|
223
|
+
exports.ExportCollectionFormatEnum = {
|
|
224
|
+
Zip: 'zip',
|
|
225
|
+
Xlsx: 'xlsx',
|
|
216
226
|
};
|
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
13
|
import { type CollectorStatus } from '../models/CollectorStatus.js';
|
|
14
|
+
export interface StartRvtoolsCollectorRequest {
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
files: Array<Blob>;
|
|
19
|
+
}
|
|
14
20
|
/**
|
|
15
21
|
* CollectorApi - interface
|
|
16
22
|
*
|
|
@@ -54,6 +60,26 @@ export interface CollectorApiInterface {
|
|
|
54
60
|
* Start a collection
|
|
55
61
|
*/
|
|
56
62
|
startCollector(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
63
|
+
/**
|
|
64
|
+
* Creates request options for startRvtoolsCollector without sending the request
|
|
65
|
+
* @param {Array<Blob>} files
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
* @memberof CollectorApiInterface
|
|
68
|
+
*/
|
|
69
|
+
startRvtoolsCollectorRequestOpts(requestParameters: StartRvtoolsCollectorRequest): Promise<runtime.RequestOpts>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary Start a collection from RVTools files
|
|
73
|
+
* @param {Array<Blob>} files
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
* @memberof CollectorApiInterface
|
|
77
|
+
*/
|
|
78
|
+
startRvtoolsCollectorRaw(requestParameters: StartRvtoolsCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectorStatus>>;
|
|
79
|
+
/**
|
|
80
|
+
* Start a collection from RVTools files
|
|
81
|
+
*/
|
|
82
|
+
startRvtoolsCollector(requestParameters: StartRvtoolsCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
57
83
|
/**
|
|
58
84
|
* Creates request options for stopCollector without sending the request
|
|
59
85
|
* @throws {RequiredError}
|
|
@@ -101,6 +127,18 @@ export declare class CollectorApi extends runtime.BaseAPI implements CollectorAp
|
|
|
101
127
|
* Start a collection
|
|
102
128
|
*/
|
|
103
129
|
startCollector(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
130
|
+
/**
|
|
131
|
+
* Creates request options for startRvtoolsCollector without sending the request
|
|
132
|
+
*/
|
|
133
|
+
startRvtoolsCollectorRequestOpts(requestParameters: StartRvtoolsCollectorRequest): Promise<runtime.RequestOpts>;
|
|
134
|
+
/**
|
|
135
|
+
* Start a collection from RVTools files
|
|
136
|
+
*/
|
|
137
|
+
startRvtoolsCollectorRaw(requestParameters: StartRvtoolsCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectorStatus>>;
|
|
138
|
+
/**
|
|
139
|
+
* Start a collection from RVTools files
|
|
140
|
+
*/
|
|
141
|
+
startRvtoolsCollector(requestParameters: StartRvtoolsCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
104
142
|
/**
|
|
105
143
|
* Creates request options for stopCollector without sending the request
|
|
106
144
|
*/
|
|
@@ -99,6 +99,65 @@ class CollectorApi extends runtime.BaseAPI {
|
|
|
99
99
|
return yield response.value();
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* Creates request options for startRvtoolsCollector without sending the request
|
|
104
|
+
*/
|
|
105
|
+
startRvtoolsCollectorRequestOpts(requestParameters) {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
if (requestParameters['files'] == null) {
|
|
108
|
+
throw new runtime.RequiredError('files', 'Required parameter "files" was null or undefined when calling startRvtoolsCollector().');
|
|
109
|
+
}
|
|
110
|
+
const queryParameters = {};
|
|
111
|
+
const headerParameters = {};
|
|
112
|
+
const consumes = [
|
|
113
|
+
{ contentType: 'multipart/form-data' },
|
|
114
|
+
];
|
|
115
|
+
// @ts-ignore: canConsumeForm may be unused
|
|
116
|
+
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
117
|
+
let formParams;
|
|
118
|
+
let useForm = false;
|
|
119
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
120
|
+
useForm = canConsumeForm;
|
|
121
|
+
if (useForm) {
|
|
122
|
+
formParams = new FormData();
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
formParams = new URLSearchParams();
|
|
126
|
+
}
|
|
127
|
+
if (requestParameters['files'] != null) {
|
|
128
|
+
requestParameters['files'].forEach((element) => {
|
|
129
|
+
formParams.append('files', element);
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
let urlPath = `/collector/rvtools`;
|
|
133
|
+
return {
|
|
134
|
+
path: urlPath,
|
|
135
|
+
method: 'POST',
|
|
136
|
+
headers: headerParameters,
|
|
137
|
+
query: queryParameters,
|
|
138
|
+
body: formParams,
|
|
139
|
+
};
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Start a collection from RVTools files
|
|
144
|
+
*/
|
|
145
|
+
startRvtoolsCollectorRaw(requestParameters, initOverrides) {
|
|
146
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
147
|
+
const requestOptions = yield this.startRvtoolsCollectorRequestOpts(requestParameters);
|
|
148
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
149
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, CollectorStatus_js_1.CollectorStatusFromJSON)(jsonValue));
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Start a collection from RVTools files
|
|
154
|
+
*/
|
|
155
|
+
startRvtoolsCollector(requestParameters, initOverrides) {
|
|
156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
157
|
+
const response = yield this.startRvtoolsCollectorRaw(requestParameters, initOverrides);
|
|
158
|
+
return yield response.value();
|
|
159
|
+
});
|
|
160
|
+
}
|
|
102
161
|
/**
|
|
103
162
|
* Creates request options for stopCollector without sending the request
|
|
104
163
|
*/
|