@migration-planner-ui/agent-client 0.0.37 → 0.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/apis/DefaultApi.d.ts +381 -0
  2. package/dist/apis/DefaultApi.d.ts.map +1 -0
  3. package/dist/apis/DefaultApi.js +502 -0
  4. package/dist/apis/index.d.ts +1 -1
  5. package/dist/apis/index.js +1 -1
  6. package/dist/models/AgentModeRequest.d.ts +41 -0
  7. package/dist/models/AgentModeRequest.d.ts.map +1 -0
  8. package/dist/models/AgentModeRequest.js +50 -0
  9. package/dist/models/AgentStatus.d.ts +61 -0
  10. package/dist/models/AgentStatus.d.ts.map +1 -0
  11. package/dist/models/AgentStatus.js +63 -0
  12. package/dist/models/CollectorStartRequest.d.ts +45 -0
  13. package/dist/models/CollectorStartRequest.d.ts.map +1 -0
  14. package/dist/models/{Credentials.js → CollectorStartRequest.js} +11 -13
  15. package/dist/models/CollectorStatus.d.ts +52 -0
  16. package/dist/models/CollectorStatus.d.ts.map +1 -0
  17. package/dist/models/CollectorStatus.js +57 -0
  18. package/dist/models/Datastore.d.ts +3 -3
  19. package/dist/models/Datastore.js +3 -3
  20. package/dist/models/DiskSizeTierSummary.d.ts +3 -3
  21. package/dist/models/DiskSizeTierSummary.js +3 -3
  22. package/dist/models/DiskTypeSummary.d.ts +3 -3
  23. package/dist/models/DiskTypeSummary.js +3 -3
  24. package/dist/models/GuestNetwork.d.ts +57 -0
  25. package/dist/models/GuestNetwork.d.ts.map +1 -0
  26. package/dist/models/GuestNetwork.js +49 -0
  27. package/dist/models/Histogram.d.ts +3 -3
  28. package/dist/models/Histogram.js +3 -3
  29. package/dist/models/Host.d.ts +3 -3
  30. package/dist/models/Host.js +3 -3
  31. package/dist/models/Infra.d.ts +3 -3
  32. package/dist/models/Infra.js +3 -3
  33. package/dist/models/InspectorStartRequest.d.ts +40 -0
  34. package/dist/models/InspectorStartRequest.d.ts.map +1 -0
  35. package/dist/models/InspectorStartRequest.js +48 -0
  36. package/dist/models/InspectorStatus.d.ts +52 -0
  37. package/dist/models/InspectorStatus.d.ts.map +1 -0
  38. package/dist/models/InspectorStatus.js +57 -0
  39. package/dist/models/Inventory.d.ts +3 -3
  40. package/dist/models/Inventory.js +3 -3
  41. package/dist/models/InventoryData.d.ts +3 -3
  42. package/dist/models/InventoryData.js +3 -3
  43. package/dist/models/MigrationIssue.d.ts +3 -3
  44. package/dist/models/MigrationIssue.js +3 -3
  45. package/dist/models/Network.d.ts +3 -3
  46. package/dist/models/Network.js +3 -3
  47. package/dist/models/OsInfo.d.ts +3 -3
  48. package/dist/models/OsInfo.js +3 -3
  49. package/dist/models/VCenter.d.ts +3 -3
  50. package/dist/models/VCenter.js +3 -3
  51. package/dist/models/VM.d.ts +76 -0
  52. package/dist/models/VM.d.ts.map +1 -0
  53. package/dist/models/VM.js +72 -0
  54. package/dist/models/VMDetails.d.ts +212 -0
  55. package/dist/models/VMDetails.d.ts.map +1 -0
  56. package/dist/models/VMDetails.js +122 -0
  57. package/dist/models/VMDevice.d.ts +33 -0
  58. package/dist/models/VMDevice.d.ts.map +1 -0
  59. package/dist/models/VMDevice.js +41 -0
  60. package/dist/models/VMDisk.d.ts +69 -0
  61. package/dist/models/VMDisk.d.ts.map +1 -0
  62. package/dist/models/VMDisk.js +53 -0
  63. package/dist/models/VMListResponse.d.ts +52 -0
  64. package/dist/models/VMListResponse.d.ts.map +1 -0
  65. package/dist/models/VMListResponse.js +56 -0
  66. package/dist/models/VMNIC.d.ts +45 -0
  67. package/dist/models/VMNIC.d.ts.map +1 -0
  68. package/dist/models/VMNIC.js +45 -0
  69. package/dist/models/VMResourceBreakdown.d.ts +3 -3
  70. package/dist/models/VMResourceBreakdown.js +3 -3
  71. package/dist/models/VMs.d.ts +17 -3
  72. package/dist/models/VMs.d.ts.map +1 -1
  73. package/dist/models/VMs.js +7 -3
  74. package/dist/models/VcenterCredentials.d.ts +45 -0
  75. package/dist/models/VcenterCredentials.d.ts.map +1 -0
  76. package/dist/models/VcenterCredentials.js +51 -0
  77. package/dist/models/VddkPost200Response.d.ts +39 -0
  78. package/dist/models/VddkPost200Response.d.ts.map +1 -0
  79. package/dist/models/VddkPost200Response.js +47 -0
  80. package/dist/models/VmInspectionStatus.d.ts +57 -0
  81. package/dist/models/VmInspectionStatus.d.ts.map +1 -0
  82. package/dist/models/VmInspectionStatus.js +58 -0
  83. package/dist/models/index.d.ts +16 -6
  84. package/dist/models/index.d.ts.map +1 -1
  85. package/dist/models/index.js +16 -6
  86. package/dist/runtime.d.ts +3 -3
  87. package/dist/runtime.d.ts.map +1 -1
  88. package/dist/runtime.js +4 -4
  89. package/package.json +2 -5
  90. package/dist/apis/AgentUiApi.d.ts +0 -126
  91. package/dist/apis/AgentUiApi.d.ts.map +0 -1
  92. package/dist/apis/AgentUiApi.js +0 -163
  93. package/dist/models/Credentials.d.ts +0 -51
  94. package/dist/models/Credentials.d.ts.map +0 -1
  95. package/dist/models/InventoryReply.d.ts +0 -40
  96. package/dist/models/InventoryReply.d.ts.map +0 -1
  97. package/dist/models/InventoryReply.js +0 -48
  98. package/dist/models/ModelError.d.ts +0 -33
  99. package/dist/models/ModelError.d.ts.map +0 -1
  100. package/dist/models/ModelError.js +0 -43
  101. package/dist/models/ServiceUIReply.d.ts +0 -33
  102. package/dist/models/ServiceUIReply.d.ts.map +0 -1
  103. package/dist/models/ServiceUIReply.js +0 -43
  104. package/dist/models/StatusReply.d.ts +0 -81
  105. package/dist/models/StatusReply.d.ts.map +0 -1
  106. package/dist/models/StatusReply.js +0 -70
  107. package/dist/models/VersionReply.d.ts +0 -33
  108. package/dist/models/VersionReply.d.ts.map +0 -1
  109. package/dist/models/VersionReply.js +0 -43
@@ -1,43 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Migration Planner Agent UI API
5
- * API endpoints for the agent UI to interact with the migration discovery VM
6
- *
7
- * The version of the OpenAPI document: undefined
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the ServiceUIReply interface.
16
- */
17
- export function instanceOfServiceUIReply(value) {
18
- if (!('url' in value) || value['url'] === undefined)
19
- return false;
20
- return true;
21
- }
22
- export function ServiceUIReplyFromJSON(json) {
23
- return ServiceUIReplyFromJSONTyped(json, false);
24
- }
25
- export function ServiceUIReplyFromJSONTyped(json, ignoreDiscriminator) {
26
- if (json == null) {
27
- return json;
28
- }
29
- return {
30
- 'url': json['url'],
31
- };
32
- }
33
- export function ServiceUIReplyToJSON(json) {
34
- return ServiceUIReplyToJSONTyped(json, false);
35
- }
36
- export function ServiceUIReplyToJSONTyped(value, ignoreDiscriminator = false) {
37
- if (value == null) {
38
- return value;
39
- }
40
- return {
41
- 'url': value['url'],
42
- };
43
- }
@@ -1,81 +0,0 @@
1
- /**
2
- * Migration Planner Agent UI API
3
- * API endpoints for the agent UI to interact with the migration discovery VM
4
- *
5
- * The version of the OpenAPI document: undefined
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface StatusReply
16
- */
17
- export interface StatusReply {
18
- /**
19
- * Current status of the agent
20
- * @type {string}
21
- * @memberof StatusReply
22
- */
23
- status: StatusReplyStatusEnum;
24
- /**
25
- * Whether the agent is connected to the planner service
26
- * @type {string}
27
- * @memberof StatusReply
28
- */
29
- connected: string;
30
- /**
31
- * Human-readable status information
32
- * @type {string}
33
- * @memberof StatusReply
34
- */
35
- statusInfo: string;
36
- /**
37
- * Whether the last agent state update was successful
38
- * @type {string}
39
- * @memberof StatusReply
40
- */
41
- agentStateUpdateSuccessful?: string;
42
- /**
43
- * Error message if agent state update failed
44
- * @type {string}
45
- * @memberof StatusReply
46
- */
47
- agentStateUpdateErrMessage?: string;
48
- /**
49
- * Whether the last inventory update was successful
50
- * @type {string}
51
- * @memberof StatusReply
52
- */
53
- inventoryUpdateSuccessful?: string;
54
- /**
55
- * Error message if inventory update failed
56
- * @type {string}
57
- * @memberof StatusReply
58
- */
59
- inventoryUpdateErrMessage?: string;
60
- }
61
- /**
62
- * @export
63
- */
64
- export declare const StatusReplyStatusEnum: {
65
- readonly WaitingForCredentials: "waiting-for-credentials";
66
- readonly GatheringInitialInventory: "gathering-initial-inventory";
67
- readonly UpToDate: "up-to-date";
68
- readonly Error: "error";
69
- readonly NotConnected: "not-connected";
70
- readonly SourceGone: "source-gone";
71
- };
72
- export type StatusReplyStatusEnum = typeof StatusReplyStatusEnum[keyof typeof StatusReplyStatusEnum];
73
- /**
74
- * Check if a given object implements the StatusReply interface.
75
- */
76
- export declare function instanceOfStatusReply(value: object): value is StatusReply;
77
- export declare function StatusReplyFromJSON(json: any): StatusReply;
78
- export declare function StatusReplyFromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusReply;
79
- export declare function StatusReplyToJSON(json: any): StatusReply;
80
- export declare function StatusReplyToJSONTyped(value?: StatusReply | null, ignoreDiscriminator?: boolean): any;
81
- //# sourceMappingURL=StatusReply.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StatusReply.d.ts","sourceRoot":"","sources":["../../src/models/StatusReply.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,MAAM,EAAE,qBAAqB,CAAC;IAC9B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACtC;AAGD;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;CAOxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAGrG;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAKzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAc7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAe5G"}
@@ -1,70 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Migration Planner Agent UI API
5
- * API endpoints for the agent UI to interact with the migration discovery VM
6
- *
7
- * The version of the OpenAPI document: undefined
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * @export
16
- */
17
- export const StatusReplyStatusEnum = {
18
- WaitingForCredentials: 'waiting-for-credentials',
19
- GatheringInitialInventory: 'gathering-initial-inventory',
20
- UpToDate: 'up-to-date',
21
- Error: 'error',
22
- NotConnected: 'not-connected',
23
- SourceGone: 'source-gone'
24
- };
25
- /**
26
- * Check if a given object implements the StatusReply interface.
27
- */
28
- export function instanceOfStatusReply(value) {
29
- if (!('status' in value) || value['status'] === undefined)
30
- return false;
31
- if (!('connected' in value) || value['connected'] === undefined)
32
- return false;
33
- if (!('statusInfo' in value) || value['statusInfo'] === undefined)
34
- return false;
35
- return true;
36
- }
37
- export function StatusReplyFromJSON(json) {
38
- return StatusReplyFromJSONTyped(json, false);
39
- }
40
- export function StatusReplyFromJSONTyped(json, ignoreDiscriminator) {
41
- if (json == null) {
42
- return json;
43
- }
44
- return {
45
- 'status': json['status'],
46
- 'connected': json['connected'],
47
- 'statusInfo': json['statusInfo'],
48
- 'agentStateUpdateSuccessful': json['agentStateUpdateSuccessful'] == null ? undefined : json['agentStateUpdateSuccessful'],
49
- 'agentStateUpdateErrMessage': json['agentStateUpdateErrMessage'] == null ? undefined : json['agentStateUpdateErrMessage'],
50
- 'inventoryUpdateSuccessful': json['inventoryUpdateSuccessful'] == null ? undefined : json['inventoryUpdateSuccessful'],
51
- 'inventoryUpdateErrMessage': json['inventoryUpdateErrMessage'] == null ? undefined : json['inventoryUpdateErrMessage'],
52
- };
53
- }
54
- export function StatusReplyToJSON(json) {
55
- return StatusReplyToJSONTyped(json, false);
56
- }
57
- export function StatusReplyToJSONTyped(value, ignoreDiscriminator = false) {
58
- if (value == null) {
59
- return value;
60
- }
61
- return {
62
- 'status': value['status'],
63
- 'connected': value['connected'],
64
- 'statusInfo': value['statusInfo'],
65
- 'agentStateUpdateSuccessful': value['agentStateUpdateSuccessful'],
66
- 'agentStateUpdateErrMessage': value['agentStateUpdateErrMessage'],
67
- 'inventoryUpdateSuccessful': value['inventoryUpdateSuccessful'],
68
- 'inventoryUpdateErrMessage': value['inventoryUpdateErrMessage'],
69
- };
70
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * Migration Planner Agent UI API
3
- * API endpoints for the agent UI to interact with the migration discovery VM
4
- *
5
- * The version of the OpenAPI document: undefined
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface VersionReply
16
- */
17
- export interface VersionReply {
18
- /**
19
- * Version of the agent
20
- * @type {string}
21
- * @memberof VersionReply
22
- */
23
- version: string;
24
- }
25
- /**
26
- * Check if a given object implements the VersionReply interface.
27
- */
28
- export declare function instanceOfVersionReply(value: object): value is VersionReply;
29
- export declare function VersionReplyFromJSON(json: any): VersionReply;
30
- export declare function VersionReplyFromJSONTyped(json: any, ignoreDiscriminator: boolean): VersionReply;
31
- export declare function VersionReplyToJSON(json: any): VersionReply;
32
- export declare function VersionReplyToJSONTyped(value?: VersionReply | null, ignoreDiscriminator?: boolean): any;
33
- //# sourceMappingURL=VersionReply.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VersionReply.d.ts","sourceRoot":"","sources":["../../src/models/VersionReply.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAG3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAQ/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS9G"}
@@ -1,43 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Migration Planner Agent UI API
5
- * API endpoints for the agent UI to interact with the migration discovery VM
6
- *
7
- * The version of the OpenAPI document: undefined
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the VersionReply interface.
16
- */
17
- export function instanceOfVersionReply(value) {
18
- if (!('version' in value) || value['version'] === undefined)
19
- return false;
20
- return true;
21
- }
22
- export function VersionReplyFromJSON(json) {
23
- return VersionReplyFromJSONTyped(json, false);
24
- }
25
- export function VersionReplyFromJSONTyped(json, ignoreDiscriminator) {
26
- if (json == null) {
27
- return json;
28
- }
29
- return {
30
- 'version': json['version'],
31
- };
32
- }
33
- export function VersionReplyToJSON(json) {
34
- return VersionReplyToJSONTyped(json, false);
35
- }
36
- export function VersionReplyToJSONTyped(value, ignoreDiscriminator = false) {
37
- if (value == null) {
38
- return value;
39
- }
40
- return {
41
- 'version': value['version'],
42
- };
43
- }