@openshift-migration-advisor/agent-sdk 0.0.0-e4821863b141 → 0.7.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 CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/agent-sdk@0.0.0-e4821863b141
1
+ # @openshift-migration-advisor/agent-sdk@0.7.0
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -51,25 +51,25 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
51
51
  | Class | Method | HTTP request | Description
52
52
  | ----- | ------ | ------------ | -------------
53
53
  *DefaultApi* | [**addVMsToInspection**](docs/DefaultApi.md#addvmstoinspection) | **PATCH** /vms/inspector | Add more VMs to inspection queue
54
- *DefaultApi* | [**createGroup**](docs/DefaultApi.md#creategroupoperation) | **POST** /groups | Create a new group
55
- *DefaultApi* | [**deleteGroup**](docs/DefaultApi.md#deletegroup) | **DELETE** /groups/{id} | Delete group
54
+ *DefaultApi* | [**createGroup**](docs/DefaultApi.md#creategroupoperation) | **POST** /vms/groups | Create a new group
55
+ *DefaultApi* | [**deleteGroup**](docs/DefaultApi.md#deletegroup) | **DELETE** /vms/groups/{id} | Delete group
56
56
  *DefaultApi* | [**getAgentStatus**](docs/DefaultApi.md#getagentstatus) | **GET** /agent | Get agent status
57
57
  *DefaultApi* | [**getCollectorStatus**](docs/DefaultApi.md#getcollectorstatus) | **GET** /collector | Get collector status
58
- *DefaultApi* | [**getGroup**](docs/DefaultApi.md#getgroup) | **GET** /groups/{id} | Get group by ID with its VMs
58
+ *DefaultApi* | [**getGroup**](docs/DefaultApi.md#getgroup) | **GET** /vms/groups/{id} | Get group by ID with its VMs
59
59
  *DefaultApi* | [**getInspectorStatus**](docs/DefaultApi.md#getinspectorstatus) | **GET** /vms/inspector | Get inspector status
60
60
  *DefaultApi* | [**getInventory**](docs/DefaultApi.md#getinventory) | **GET** /inventory | Get collected inventory
61
61
  *DefaultApi* | [**getVM**](docs/DefaultApi.md#getvm) | **GET** /vms/{id} | Get details about a vm
62
62
  *DefaultApi* | [**getVMInspectionStatus**](docs/DefaultApi.md#getvminspectionstatus) | **GET** /vms/{id}/inspector | Get inspection status for a specific VirtualMachine
63
63
  *DefaultApi* | [**getVMs**](docs/DefaultApi.md#getvms) | **GET** /vms | Get list of VMs with filtering and pagination
64
64
  *DefaultApi* | [**getVersion**](docs/DefaultApi.md#getversion) | **GET** /version | Get agent version information
65
- *DefaultApi* | [**listGroups**](docs/DefaultApi.md#listgroups) | **GET** /groups | List all groups
65
+ *DefaultApi* | [**listGroups**](docs/DefaultApi.md#listgroups) | **GET** /vms/groups | List all groups
66
66
  *DefaultApi* | [**removeVMFromInspection**](docs/DefaultApi.md#removevmfrominspection) | **DELETE** /vms/{id}/inspector | Remove VirtualMachine from inspection queue
67
67
  *DefaultApi* | [**setAgentMode**](docs/DefaultApi.md#setagentmode) | **POST** /agent | Change agent mode
68
68
  *DefaultApi* | [**startCollector**](docs/DefaultApi.md#startcollector) | **POST** /collector | Start inventory collection
69
69
  *DefaultApi* | [**startInspection**](docs/DefaultApi.md#startinspection) | **POST** /vms/inspector | Start inspection for VMs
70
70
  *DefaultApi* | [**stopCollector**](docs/DefaultApi.md#stopcollector) | **DELETE** /collector | Stop collection
71
71
  *DefaultApi* | [**stopInspection**](docs/DefaultApi.md#stopinspection) | **DELETE** /vms/inspector | Stop inspector entirely
72
- *DefaultApi* | [**updateGroup**](docs/DefaultApi.md#updategroupoperation) | **PATCH** /groups/{id} | Update group
72
+ *DefaultApi* | [**updateGroup**](docs/DefaultApi.md#updategroupoperation) | **PATCH** /vms/groups/{id} | Update group
73
73
  *DefaultApi* | [**vddkPost**](docs/DefaultApi.md#vddkpost) | **POST** /vddk | Upload VDDK tarball
74
74
 
75
75
 
@@ -127,7 +127,7 @@ and is automatically generated by the
127
127
  [OpenAPI Generator](https://openapi-generator.tech) project:
128
128
 
129
129
  - API version: `v1`
130
- - Package version: `0.0.0-e4821863b141`
130
+ - Package version: `0.7.0`
131
131
  - Generator version: `7.21.0-SNAPSHOT`
132
132
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
133
133
 
@@ -80,7 +80,7 @@ class DefaultApi extends runtime.BaseAPI {
80
80
  const queryParameters = {};
81
81
  const headerParameters = {};
82
82
  headerParameters['Content-Type'] = 'application/json';
83
- let urlPath = `/groups`;
83
+ let urlPath = `/vms/groups`;
84
84
  return {
85
85
  path: urlPath,
86
86
  method: 'POST',
@@ -119,7 +119,7 @@ class DefaultApi extends runtime.BaseAPI {
119
119
  }
120
120
  const queryParameters = {};
121
121
  const headerParameters = {};
122
- let urlPath = `/groups/{id}`;
122
+ let urlPath = `/vms/groups/{id}`;
123
123
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
124
124
  return {
125
125
  path: urlPath,
@@ -236,7 +236,7 @@ class DefaultApi extends runtime.BaseAPI {
236
236
  queryParameters['pageSize'] = requestParameters['pageSize'];
237
237
  }
238
238
  const headerParameters = {};
239
- let urlPath = `/groups/{id}`;
239
+ let urlPath = `/vms/groups/{id}`;
240
240
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
241
241
  return {
242
242
  path: urlPath,
@@ -517,7 +517,7 @@ class DefaultApi extends runtime.BaseAPI {
517
517
  queryParameters['pageSize'] = requestParameters['pageSize'];
518
518
  }
519
519
  const headerParameters = {};
520
- let urlPath = `/groups`;
520
+ let urlPath = `/vms/groups`;
521
521
  return {
522
522
  path: urlPath,
523
523
  method: 'GET',
@@ -787,7 +787,7 @@ class DefaultApi extends runtime.BaseAPI {
787
787
  const queryParameters = {};
788
788
  const headerParameters = {};
789
789
  headerParameters['Content-Type'] = 'application/json';
790
- let urlPath = `/groups/{id}`;
790
+ let urlPath = `/vms/groups/{id}`;
791
791
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
792
792
  return {
793
793
  path: urlPath,
@@ -77,7 +77,7 @@ export class DefaultApi extends runtime.BaseAPI {
77
77
  const queryParameters = {};
78
78
  const headerParameters = {};
79
79
  headerParameters['Content-Type'] = 'application/json';
80
- let urlPath = `/groups`;
80
+ let urlPath = `/vms/groups`;
81
81
  return {
82
82
  path: urlPath,
83
83
  method: 'POST',
@@ -116,7 +116,7 @@ export class DefaultApi extends runtime.BaseAPI {
116
116
  }
117
117
  const queryParameters = {};
118
118
  const headerParameters = {};
119
- let urlPath = `/groups/{id}`;
119
+ let urlPath = `/vms/groups/{id}`;
120
120
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
121
121
  return {
122
122
  path: urlPath,
@@ -233,7 +233,7 @@ export class DefaultApi extends runtime.BaseAPI {
233
233
  queryParameters['pageSize'] = requestParameters['pageSize'];
234
234
  }
235
235
  const headerParameters = {};
236
- let urlPath = `/groups/{id}`;
236
+ let urlPath = `/vms/groups/{id}`;
237
237
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
238
238
  return {
239
239
  path: urlPath,
@@ -514,7 +514,7 @@ export class DefaultApi extends runtime.BaseAPI {
514
514
  queryParameters['pageSize'] = requestParameters['pageSize'];
515
515
  }
516
516
  const headerParameters = {};
517
- let urlPath = `/groups`;
517
+ let urlPath = `/vms/groups`;
518
518
  return {
519
519
  path: urlPath,
520
520
  method: 'GET',
@@ -784,7 +784,7 @@ export class DefaultApi extends runtime.BaseAPI {
784
784
  const queryParameters = {};
785
785
  const headerParameters = {};
786
786
  headerParameters['Content-Type'] = 'application/json';
787
- let urlPath = `/groups/{id}`;
787
+ let urlPath = `/vms/groups/{id}`;
788
788
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
789
789
  return {
790
790
  path: urlPath,
@@ -38,8 +38,8 @@ export interface AgentStatus {
38
38
  * @export
39
39
  */
40
40
  export declare const AgentStatusModeEnum: {
41
- readonly AgentStatusModeConnected: "connected";
42
- readonly AgentStatusModeDisconnected: "disconnected";
41
+ readonly Connected: "connected";
42
+ readonly Disconnected: "disconnected";
43
43
  };
44
44
  export type AgentStatusModeEnum = typeof AgentStatusModeEnum[keyof typeof AgentStatusModeEnum];
45
45
  /**
@@ -15,8 +15,8 @@
15
15
  * @export
16
16
  */
17
17
  export const AgentStatusModeEnum = {
18
- AgentStatusModeConnected: 'connected',
19
- AgentStatusModeDisconnected: 'disconnected'
18
+ Connected: 'connected',
19
+ Disconnected: 'disconnected'
20
20
  };
21
21
  /**
22
22
  * @export
@@ -32,12 +32,13 @@ export interface CollectorStatus {
32
32
  * @export
33
33
  */
34
34
  export declare const CollectorStatusStatusEnum: {
35
- readonly CollectorStatusStatusReady: "ready";
36
- readonly CollectorStatusStatusConnecting: "connecting";
37
- readonly CollectorStatusStatusCollecting: "collecting";
38
- readonly CollectorStatusStatusParsing: "parsing";
39
- readonly CollectorStatusStatusCollected: "collected";
40
- readonly CollectorStatusStatusError: "error";
35
+ readonly Ready: "ready";
36
+ readonly Connecting: "connecting";
37
+ readonly Connected: "connected";
38
+ readonly Collecting: "collecting";
39
+ readonly Parsing: "parsing";
40
+ readonly Collected: "collected";
41
+ readonly Error: "error";
41
42
  };
42
43
  export type CollectorStatusStatusEnum = typeof CollectorStatusStatusEnum[keyof typeof CollectorStatusStatusEnum];
43
44
  /**
@@ -15,12 +15,13 @@
15
15
  * @export
16
16
  */
17
17
  export const CollectorStatusStatusEnum = {
18
- CollectorStatusStatusReady: 'ready',
19
- CollectorStatusStatusConnecting: 'connecting',
20
- CollectorStatusStatusCollecting: 'collecting',
21
- CollectorStatusStatusParsing: 'parsing',
22
- CollectorStatusStatusCollected: 'collected',
23
- CollectorStatusStatusError: 'error'
18
+ Ready: 'ready',
19
+ Connecting: 'connecting',
20
+ Connected: 'connected',
21
+ Collecting: 'collecting',
22
+ Parsing: 'parsing',
23
+ Collected: 'collected',
24
+ Error: 'error'
24
25
  };
25
26
  /**
26
27
  * Check if a given object implements the CollectorStatus interface.
@@ -32,13 +32,13 @@ export interface InspectorStatus {
32
32
  * @export
33
33
  */
34
34
  export declare const InspectorStatusStateEnum: {
35
- readonly InspectorStatusStateCanceled: "ready";
36
- readonly InspectorStatusStateCanceling: "Initiating";
37
- readonly InspectorStatusStateCompleted: "running";
38
- readonly InspectorStatusStateError: "canceling";
39
- readonly InspectorStatusStateInitiating: "canceled";
40
- readonly InspectorStatusStateReady: "completed";
41
- readonly InspectorStatusStateRunning: "error";
35
+ readonly Ready: "ready";
36
+ readonly Initiating: "Initiating";
37
+ readonly Running: "running";
38
+ readonly Canceling: "canceling";
39
+ readonly Canceled: "canceled";
40
+ readonly Completed: "completed";
41
+ readonly Error: "error";
42
42
  };
43
43
  export type InspectorStatusStateEnum = typeof InspectorStatusStateEnum[keyof typeof InspectorStatusStateEnum];
44
44
  /**
@@ -15,13 +15,13 @@
15
15
  * @export
16
16
  */
17
17
  export const InspectorStatusStateEnum = {
18
- InspectorStatusStateCanceled: 'ready',
19
- InspectorStatusStateCanceling: 'Initiating',
20
- InspectorStatusStateCompleted: 'running',
21
- InspectorStatusStateError: 'canceling',
22
- InspectorStatusStateInitiating: 'canceled',
23
- InspectorStatusStateReady: 'completed',
24
- InspectorStatusStateRunning: 'error'
18
+ Ready: 'ready',
19
+ Initiating: 'Initiating',
20
+ Running: 'running',
21
+ Canceling: 'canceling',
22
+ Canceled: 'canceled',
23
+ Completed: 'completed',
24
+ Error: 'error'
25
25
  };
26
26
  /**
27
27
  * Check if a given object implements the InspectorStatus interface.
@@ -38,12 +38,12 @@ export interface VMIssue {
38
38
  * @export
39
39
  */
40
40
  export declare const VMIssueCategoryEnum: {
41
- readonly VMIssueCategoryCritical: "Critical";
42
- readonly VMIssueCategoryWarning: "Warning";
43
- readonly VMIssueCategoryInformation: "Information";
44
- readonly VMIssueCategoryAdvisory: "Advisory";
45
- readonly VMIssueCategoryError: "Error";
46
- readonly VMIssueCategoryOther: "Other";
41
+ readonly Critical: "Critical";
42
+ readonly Warning: "Warning";
43
+ readonly Information: "Information";
44
+ readonly Advisory: "Advisory";
45
+ readonly Error: "Error";
46
+ readonly Other: "Other";
47
47
  };
48
48
  export type VMIssueCategoryEnum = typeof VMIssueCategoryEnum[keyof typeof VMIssueCategoryEnum];
49
49
  /**
@@ -15,12 +15,12 @@
15
15
  * @export
16
16
  */
17
17
  export const VMIssueCategoryEnum = {
18
- VMIssueCategoryCritical: 'Critical',
19
- VMIssueCategoryWarning: 'Warning',
20
- VMIssueCategoryInformation: 'Information',
21
- VMIssueCategoryAdvisory: 'Advisory',
22
- VMIssueCategoryError: 'Error',
23
- VMIssueCategoryOther: 'Other'
18
+ Critical: 'Critical',
19
+ Warning: 'Warning',
20
+ Information: 'Information',
21
+ Advisory: 'Advisory',
22
+ Error: 'Error',
23
+ Other: 'Other'
24
24
  };
25
25
  /**
26
26
  * Check if a given object implements the VMIssue interface.
@@ -38,8 +38,8 @@ export interface AgentStatus {
38
38
  * @export
39
39
  */
40
40
  export declare const AgentStatusModeEnum: {
41
- readonly AgentStatusModeConnected: "connected";
42
- readonly AgentStatusModeDisconnected: "disconnected";
41
+ readonly Connected: "connected";
42
+ readonly Disconnected: "disconnected";
43
43
  };
44
44
  export type AgentStatusModeEnum = typeof AgentStatusModeEnum[keyof typeof AgentStatusModeEnum];
45
45
  /**
@@ -23,8 +23,8 @@ exports.AgentStatusToJSONTyped = AgentStatusToJSONTyped;
23
23
  * @export
24
24
  */
25
25
  exports.AgentStatusModeEnum = {
26
- AgentStatusModeConnected: 'connected',
27
- AgentStatusModeDisconnected: 'disconnected'
26
+ Connected: 'connected',
27
+ Disconnected: 'disconnected'
28
28
  };
29
29
  /**
30
30
  * @export
@@ -32,12 +32,13 @@ export interface CollectorStatus {
32
32
  * @export
33
33
  */
34
34
  export declare const CollectorStatusStatusEnum: {
35
- readonly CollectorStatusStatusReady: "ready";
36
- readonly CollectorStatusStatusConnecting: "connecting";
37
- readonly CollectorStatusStatusCollecting: "collecting";
38
- readonly CollectorStatusStatusParsing: "parsing";
39
- readonly CollectorStatusStatusCollected: "collected";
40
- readonly CollectorStatusStatusError: "error";
35
+ readonly Ready: "ready";
36
+ readonly Connecting: "connecting";
37
+ readonly Connected: "connected";
38
+ readonly Collecting: "collecting";
39
+ readonly Parsing: "parsing";
40
+ readonly Collected: "collected";
41
+ readonly Error: "error";
41
42
  };
42
43
  export type CollectorStatusStatusEnum = typeof CollectorStatusStatusEnum[keyof typeof CollectorStatusStatusEnum];
43
44
  /**
@@ -23,12 +23,13 @@ exports.CollectorStatusToJSONTyped = CollectorStatusToJSONTyped;
23
23
  * @export
24
24
  */
25
25
  exports.CollectorStatusStatusEnum = {
26
- CollectorStatusStatusReady: 'ready',
27
- CollectorStatusStatusConnecting: 'connecting',
28
- CollectorStatusStatusCollecting: 'collecting',
29
- CollectorStatusStatusParsing: 'parsing',
30
- CollectorStatusStatusCollected: 'collected',
31
- CollectorStatusStatusError: 'error'
26
+ Ready: 'ready',
27
+ Connecting: 'connecting',
28
+ Connected: 'connected',
29
+ Collecting: 'collecting',
30
+ Parsing: 'parsing',
31
+ Collected: 'collected',
32
+ Error: 'error'
32
33
  };
33
34
  /**
34
35
  * Check if a given object implements the CollectorStatus interface.
@@ -32,13 +32,13 @@ export interface InspectorStatus {
32
32
  * @export
33
33
  */
34
34
  export declare const InspectorStatusStateEnum: {
35
- readonly InspectorStatusStateCanceled: "ready";
36
- readonly InspectorStatusStateCanceling: "Initiating";
37
- readonly InspectorStatusStateCompleted: "running";
38
- readonly InspectorStatusStateError: "canceling";
39
- readonly InspectorStatusStateInitiating: "canceled";
40
- readonly InspectorStatusStateReady: "completed";
41
- readonly InspectorStatusStateRunning: "error";
35
+ readonly Ready: "ready";
36
+ readonly Initiating: "Initiating";
37
+ readonly Running: "running";
38
+ readonly Canceling: "canceling";
39
+ readonly Canceled: "canceled";
40
+ readonly Completed: "completed";
41
+ readonly Error: "error";
42
42
  };
43
43
  export type InspectorStatusStateEnum = typeof InspectorStatusStateEnum[keyof typeof InspectorStatusStateEnum];
44
44
  /**
@@ -23,13 +23,13 @@ exports.InspectorStatusToJSONTyped = InspectorStatusToJSONTyped;
23
23
  * @export
24
24
  */
25
25
  exports.InspectorStatusStateEnum = {
26
- InspectorStatusStateCanceled: 'ready',
27
- InspectorStatusStateCanceling: 'Initiating',
28
- InspectorStatusStateCompleted: 'running',
29
- InspectorStatusStateError: 'canceling',
30
- InspectorStatusStateInitiating: 'canceled',
31
- InspectorStatusStateReady: 'completed',
32
- InspectorStatusStateRunning: 'error'
26
+ Ready: 'ready',
27
+ Initiating: 'Initiating',
28
+ Running: 'running',
29
+ Canceling: 'canceling',
30
+ Canceled: 'canceled',
31
+ Completed: 'completed',
32
+ Error: 'error'
33
33
  };
34
34
  /**
35
35
  * Check if a given object implements the InspectorStatus interface.
@@ -38,12 +38,12 @@ export interface VMIssue {
38
38
  * @export
39
39
  */
40
40
  export declare const VMIssueCategoryEnum: {
41
- readonly VMIssueCategoryCritical: "Critical";
42
- readonly VMIssueCategoryWarning: "Warning";
43
- readonly VMIssueCategoryInformation: "Information";
44
- readonly VMIssueCategoryAdvisory: "Advisory";
45
- readonly VMIssueCategoryError: "Error";
46
- readonly VMIssueCategoryOther: "Other";
41
+ readonly Critical: "Critical";
42
+ readonly Warning: "Warning";
43
+ readonly Information: "Information";
44
+ readonly Advisory: "Advisory";
45
+ readonly Error: "Error";
46
+ readonly Other: "Other";
47
47
  };
48
48
  export type VMIssueCategoryEnum = typeof VMIssueCategoryEnum[keyof typeof VMIssueCategoryEnum];
49
49
  /**
@@ -23,12 +23,12 @@ exports.VMIssueToJSONTyped = VMIssueToJSONTyped;
23
23
  * @export
24
24
  */
25
25
  exports.VMIssueCategoryEnum = {
26
- VMIssueCategoryCritical: 'Critical',
27
- VMIssueCategoryWarning: 'Warning',
28
- VMIssueCategoryInformation: 'Information',
29
- VMIssueCategoryAdvisory: 'Advisory',
30
- VMIssueCategoryError: 'Error',
31
- VMIssueCategoryOther: 'Other'
26
+ Critical: 'Critical',
27
+ Warning: 'Warning',
28
+ Information: 'Information',
29
+ Advisory: 'Advisory',
30
+ Error: 'Error',
31
+ Other: 'Other'
32
32
  };
33
33
  /**
34
34
  * Check if a given object implements the VMIssue interface.
@@ -5,25 +5,25 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
7
  | [**addVMsToInspection**](DefaultApi.md#addvmstoinspection) | **PATCH** /vms/inspector | Add more VMs to inspection queue |
8
- | [**createGroup**](DefaultApi.md#creategroupoperation) | **POST** /groups | Create a new group |
9
- | [**deleteGroup**](DefaultApi.md#deletegroup) | **DELETE** /groups/{id} | Delete group |
8
+ | [**createGroup**](DefaultApi.md#creategroupoperation) | **POST** /vms/groups | Create a new group |
9
+ | [**deleteGroup**](DefaultApi.md#deletegroup) | **DELETE** /vms/groups/{id} | Delete group |
10
10
  | [**getAgentStatus**](DefaultApi.md#getagentstatus) | **GET** /agent | Get agent status |
11
11
  | [**getCollectorStatus**](DefaultApi.md#getcollectorstatus) | **GET** /collector | Get collector status |
12
- | [**getGroup**](DefaultApi.md#getgroup) | **GET** /groups/{id} | Get group by ID with its VMs |
12
+ | [**getGroup**](DefaultApi.md#getgroup) | **GET** /vms/groups/{id} | Get group by ID with its VMs |
13
13
  | [**getInspectorStatus**](DefaultApi.md#getinspectorstatus) | **GET** /vms/inspector | Get inspector status |
14
14
  | [**getInventory**](DefaultApi.md#getinventory) | **GET** /inventory | Get collected inventory |
15
15
  | [**getVM**](DefaultApi.md#getvm) | **GET** /vms/{id} | Get details about a vm |
16
16
  | [**getVMInspectionStatus**](DefaultApi.md#getvminspectionstatus) | **GET** /vms/{id}/inspector | Get inspection status for a specific VirtualMachine |
17
17
  | [**getVMs**](DefaultApi.md#getvms) | **GET** /vms | Get list of VMs with filtering and pagination |
18
18
  | [**getVersion**](DefaultApi.md#getversion) | **GET** /version | Get agent version information |
19
- | [**listGroups**](DefaultApi.md#listgroups) | **GET** /groups | List all groups |
19
+ | [**listGroups**](DefaultApi.md#listgroups) | **GET** /vms/groups | List all groups |
20
20
  | [**removeVMFromInspection**](DefaultApi.md#removevmfrominspection) | **DELETE** /vms/{id}/inspector | Remove VirtualMachine from inspection queue |
21
21
  | [**setAgentMode**](DefaultApi.md#setagentmode) | **POST** /agent | Change agent mode |
22
22
  | [**startCollector**](DefaultApi.md#startcollector) | **POST** /collector | Start inventory collection |
23
23
  | [**startInspection**](DefaultApi.md#startinspection) | **POST** /vms/inspector | Start inspection for VMs |
24
24
  | [**stopCollector**](DefaultApi.md#stopcollector) | **DELETE** /collector | Stop collection |
25
25
  | [**stopInspection**](DefaultApi.md#stopinspection) | **DELETE** /vms/inspector | Stop inspector entirely |
26
- | [**updateGroup**](DefaultApi.md#updategroupoperation) | **PATCH** /groups/{id} | Update group |
26
+ | [**updateGroup**](DefaultApi.md#updategroupoperation) | **PATCH** /vms/groups/{id} | Update group |
27
27
  | [**vddkPost**](DefaultApi.md#vddkpost) | **POST** /vddk | Upload VDDK tarball |
28
28
 
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/agent-sdk",
3
- "version": "0.0.0-e4821863b141",
3
+ "version": "0.7.0",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/agent-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -710,7 +710,7 @@ export class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
710
710
  headerParameters['Content-Type'] = 'application/json';
711
711
 
712
712
 
713
- let urlPath = `/groups`;
713
+ let urlPath = `/vms/groups`;
714
714
 
715
715
  return {
716
716
  path: urlPath,
@@ -755,7 +755,7 @@ export class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
755
755
  const headerParameters: runtime.HTTPHeaders = {};
756
756
 
757
757
 
758
- let urlPath = `/groups/{id}`;
758
+ let urlPath = `/vms/groups/{id}`;
759
759
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
760
760
 
761
761
  return {
@@ -885,7 +885,7 @@ export class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
885
885
  const headerParameters: runtime.HTTPHeaders = {};
886
886
 
887
887
 
888
- let urlPath = `/groups/{id}`;
888
+ let urlPath = `/vms/groups/{id}`;
889
889
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
890
890
 
891
891
  return {
@@ -1197,7 +1197,7 @@ export class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
1197
1197
  const headerParameters: runtime.HTTPHeaders = {};
1198
1198
 
1199
1199
 
1200
- let urlPath = `/groups`;
1200
+ let urlPath = `/vms/groups`;
1201
1201
 
1202
1202
  return {
1203
1203
  path: urlPath,
@@ -1509,7 +1509,7 @@ export class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
1509
1509
  headerParameters['Content-Type'] = 'application/json';
1510
1510
 
1511
1511
 
1512
- let urlPath = `/groups/{id}`;
1512
+ let urlPath = `/vms/groups/{id}`;
1513
1513
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
1514
1514
 
1515
1515
  return {
@@ -44,8 +44,8 @@ export interface AgentStatus {
44
44
  * @export
45
45
  */
46
46
  export const AgentStatusModeEnum = {
47
- AgentStatusModeConnected: 'connected',
48
- AgentStatusModeDisconnected: 'disconnected'
47
+ Connected: 'connected',
48
+ Disconnected: 'disconnected'
49
49
  } as const;
50
50
  export type AgentStatusModeEnum = typeof AgentStatusModeEnum[keyof typeof AgentStatusModeEnum];
51
51
 
@@ -38,12 +38,13 @@ export interface CollectorStatus {
38
38
  * @export
39
39
  */
40
40
  export const CollectorStatusStatusEnum = {
41
- CollectorStatusStatusReady: 'ready',
42
- CollectorStatusStatusConnecting: 'connecting',
43
- CollectorStatusStatusCollecting: 'collecting',
44
- CollectorStatusStatusParsing: 'parsing',
45
- CollectorStatusStatusCollected: 'collected',
46
- CollectorStatusStatusError: 'error'
41
+ Ready: 'ready',
42
+ Connecting: 'connecting',
43
+ Connected: 'connected',
44
+ Collecting: 'collecting',
45
+ Parsing: 'parsing',
46
+ Collected: 'collected',
47
+ Error: 'error'
47
48
  } as const;
48
49
  export type CollectorStatusStatusEnum = typeof CollectorStatusStatusEnum[keyof typeof CollectorStatusStatusEnum];
49
50
 
@@ -38,13 +38,13 @@ export interface InspectorStatus {
38
38
  * @export
39
39
  */
40
40
  export const InspectorStatusStateEnum = {
41
- InspectorStatusStateCanceled: 'ready',
42
- InspectorStatusStateCanceling: 'Initiating',
43
- InspectorStatusStateCompleted: 'running',
44
- InspectorStatusStateError: 'canceling',
45
- InspectorStatusStateInitiating: 'canceled',
46
- InspectorStatusStateReady: 'completed',
47
- InspectorStatusStateRunning: 'error'
41
+ Ready: 'ready',
42
+ Initiating: 'Initiating',
43
+ Running: 'running',
44
+ Canceling: 'canceling',
45
+ Canceled: 'canceled',
46
+ Completed: 'completed',
47
+ Error: 'error'
48
48
  } as const;
49
49
  export type InspectorStatusStateEnum = typeof InspectorStatusStateEnum[keyof typeof InspectorStatusStateEnum];
50
50
 
@@ -44,12 +44,12 @@ export interface VMIssue {
44
44
  * @export
45
45
  */
46
46
  export const VMIssueCategoryEnum = {
47
- VMIssueCategoryCritical: 'Critical',
48
- VMIssueCategoryWarning: 'Warning',
49
- VMIssueCategoryInformation: 'Information',
50
- VMIssueCategoryAdvisory: 'Advisory',
51
- VMIssueCategoryError: 'Error',
52
- VMIssueCategoryOther: 'Other'
47
+ Critical: 'Critical',
48
+ Warning: 'Warning',
49
+ Information: 'Information',
50
+ Advisory: 'Advisory',
51
+ Error: 'Error',
52
+ Other: 'Other'
53
53
  } as const;
54
54
  export type VMIssueCategoryEnum = typeof VMIssueCategoryEnum[keyof typeof VMIssueCategoryEnum];
55
55